Lines Matching refs:FoldableDef

30 struct FoldableDef {  struct
49 FoldableDef() = delete;
50 FoldableDef(MachineOperand &FoldOp, const TargetRegisterClass *DefRC, in FoldableDef() function
66 FoldableDef(int64_t FoldImm, const TargetRegisterClass *DefRC, in FoldableDef() function
72 FoldableDef getWithSubReg(const SIRegisterInfo &TRI, unsigned SubReg) const { in getWithSubReg() argument
73 FoldableDef Copy(*this); in getWithSubReg()
146 FoldableDef Def;
151 FoldCandidate(MachineInstr *MI, unsigned OpNo, FoldableDef Def, in FoldCandidate()
183 const FoldableDef &OpToFold) const;
218 const FoldableDef &OpToFold) const;
237 bool tryToFoldACImm(const FoldableDef &OpToFold, MachineInstr *UseMI,
240 void foldOperand(FoldableDef OpToFold, MachineInstr *UseMI, int UseOpIdx,
248 bool foldInstOperand(MachineInstr &MI, const FoldableDef &OpToFold) const;
340 const FoldableDef &OpToFold) const { in frameIndexMayFold()
729 const FoldableDef &FoldOp, in appendFoldCandidate()
737 const FoldableDef &OpToFold) const { in tryAddToFoldList()
1086 const FoldableDef &OpToFold, MachineInstr *UseMI, unsigned UseOpIdx, in tryToFoldACImm()
1123 FoldableDef FoldableImm(DefOp.getImm(), OpToFold.DefRC, in tryToFoldACImm()
1134 FoldableDef OpToFold, MachineInstr *UseMI, int UseOpIdx, in foldOperand()
1173 FoldableDef SplatDef(SplatVal, SplatRC); in foldOperand()
1719 const FoldableDef &OpToFold) const { in foldInstOperand()
1751 FoldableDef SubOpToFold = OpToFold.getWithSubReg(*TRI, U->getSubReg()); in foldInstOperand()
2010 FoldableDef Def(OpToFold, DstRC); in tryFoldFoldableCopy()