Lines Matching refs:isOperandLegal
113 bool isOperandLegal(const SIInstrInfo &TII, const MachineInstr &MI, in isOperandLegal() function
124 return TII.isOperandLegal(MI, OpIdx, &TmpOp); in isOperandLegal()
130 return TII.isOperandLegal(MI, OpIdx, &TmpOp); in isOperandLegal()
137 return TII.isOperandLegal(MI, OpIdx, OpToFold); in isOperandLegal()
625 if (!TII->isOperandLegal(*MI, OpNo, &New)) in updateOperand()
687 if (!TII->isOperandLegal(*MI, OpNo, &New)) in updateOperand()
774 bool IsLegal = OpToFold.isOperandLegal(*TII, *MI, OpNo); in tryAddToFoldList()
850 if (!OpToFold.isOperandLegal(*TII, *MI, CommuteOpNo)) { in tryAddToFoldList()
1079 if (!TII->isOperandLegal(*UseMI, UseOpIdx, &TmpOp)) in tryFoldRegSeqSplat()
1097 if (OpToFold.isImm() && OpToFold.isOperandLegal(*TII, *UseMI, UseOpIdx)) { in tryToFoldACImm()
1122 if (DefOp.isImm() && TII->isOperandLegal(*UseMI, UseOpIdx, &DefOp)) { in tryToFoldACImm()
2383 if (!TII->isOperandLegal(*UseMI, OpIdx, Op)) { in tryFoldRegSequence()
2610 if (!TII->isOperandLegal(MI, 0, &Def)) { in tryFoldLoad()