Searched refs:FoldList (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIFoldOperands.cpp | 87 bool tryAddToFoldList(SmallVectorImpl<FoldCandidate> &FoldList, 97 SmallVectorImpl<FoldCandidate> &FoldList) const; 101 SmallVectorImpl<FoldCandidate> &FoldList, 449 static bool isUseMIInFoldList(ArrayRef<FoldCandidate> FoldList, in isUseMIInFoldList() argument 451 return any_of(FoldList, [&](const auto &C) { return C.UseMI == MI; }); in isUseMIInFoldList() 454 static void appendFoldCandidate(SmallVectorImpl<FoldCandidate> &FoldList, in appendFoldCandidate() argument 459 for (FoldCandidate &Fold : FoldList) in appendFoldCandidate() 464 FoldList.emplace_back(MI, OpNo, FoldOp, Commuted, ShrinkOp); in appendFoldCandidate() 467 bool SIFoldOperands::tryAddToFoldList(SmallVectorImpl<FoldCandidate> &FoldList, in tryAddToFoldList() argument 482 tryAddToFoldList(FoldList, MI, TryAK ? 3 : 2, OpToFold); in tryAddToFoldList() [all …]
|