Lines Matching refs:FoldList
122 static bool isUseMIInFoldList(const std::vector<FoldCandidate> &FoldList, in isUseMIInFoldList() argument
124 for (auto Candidate : FoldList) { in isUseMIInFoldList()
131 static bool tryAddToFoldList(std::vector<FoldCandidate> &FoldList, in tryAddToFoldList() argument
144 bool FoldAsMAD = tryAddToFoldList(FoldList, MI, OpNo, OpToFold, TII); in tryAddToFoldList()
155 if (isUseMIInFoldList(FoldList, MI)) in tryAddToFoldList()
187 FoldList.push_back(FoldCandidate(MI, OpNo, OpToFold)); in tryAddToFoldList()
193 std::vector<FoldCandidate> &FoldList, in foldOperand() argument
267 foldOperand(OpToFold, RSUseMI, RSUse.getOperandNo(), FoldList, in foldOperand()
283 tryAddToFoldList(FoldList, UseMI, UseOpIdx, &ImmOp, TII); in foldOperand()
287 tryAddToFoldList(FoldList, UseMI, UseOpIdx, &OpToFold, TII); in foldOperand()
353 std::vector<FoldCandidate> FoldList; in runOnMachineFunction() local
360 foldOperand(OpToFold, UseMI, Use.getOperandNo(), FoldList, in runOnMachineFunction()
368 for (FoldCandidate &Fold : FoldList) { in runOnMachineFunction()