Lines Matching refs:FoldCandidate
31 struct FoldCandidate { struct
43 FoldCandidate(MachineInstr *MI, unsigned OpNo, MachineOperand *FoldOp, in FoldCandidate() function
95 SmallVectorImpl<FoldCandidate> &FoldList,
167 static bool updateOperand(FoldCandidate &Fold, in updateOperand()
272 static bool isUseMIInFoldList(ArrayRef<FoldCandidate> FoldList, in isUseMIInFoldList()
281 static bool tryAddToFoldList(SmallVectorImpl<FoldCandidate> &FoldList, in tryAddToFoldList()
311 FoldList.push_back(FoldCandidate(MI, OpNo, OpToFold)); in tryAddToFoldList()
370 FoldList.push_back(FoldCandidate(MI, CommuteOpNo, OpToFold, true, in tryAddToFoldList()
379 FoldList.push_back(FoldCandidate(MI, CommuteOpNo, OpToFold, true)); in tryAddToFoldList()
383 FoldList.push_back(FoldCandidate(MI, OpNo, OpToFold)); in tryAddToFoldList()
400 SmallVectorImpl<FoldCandidate> &FoldList, in foldOperand()
463 SmallVector<FoldCandidate, 4> CopyUses; in foldOperand()
468 FoldCandidate FC = FoldCandidate(Use->getParent(), in foldOperand()
797 SmallVector<FoldCandidate, 4> FoldList; in foldInstOperand()
885 for (FoldCandidate &Fold : FoldList) { in foldInstOperand()