Lines Matching refs:FoldCandidate
30 struct FoldCandidate {
42 FoldCandidate(MachineInstr *MI, unsigned OpNo, MachineOperand *FoldOp,
97 SmallVectorImpl<FoldCandidate> &FoldList,
184 static bool updateOperand(FoldCandidate &Fold,
309 static bool isUseMIInFoldList(ArrayRef<FoldCandidate> FoldList,
318 static void appendFoldCandidate(SmallVectorImpl<FoldCandidate> &FoldList,
323 for (FoldCandidate &Fold : FoldList)
328 FoldList.push_back(FoldCandidate(MI, OpNo, FoldOp, Commuted, ShrinkOp));
331 static bool tryAddToFoldList(SmallVectorImpl<FoldCandidate> &FoldList,
510 SmallVectorImpl<FoldCandidate> &FoldList) {
534 if (llvm::find_if(FoldList, [UseMI](const FoldCandidate &FC) {
570 SmallVectorImpl<FoldCandidate> &FoldList,
660 SmallVector<FoldCandidate, 4> CopyUses;
665 FoldCandidate FC = FoldCandidate(Use->getParent(),
1172 SmallVector<FoldCandidate, 4> FoldList;
1263 for (FoldCandidate &Fold : FoldList) {