Home
last modified time | relevance | path

Searched refs:isOperandLegal (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIFoldOperands.cpp113 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()
[all …]
H A DGCNDPPCombine.cpp253 if (TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, SDst)) { in createDPPInst()
299 if (!TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src0)) { in createDPPInst()
332 if (!TII->isOperandLegal(*DPPInst.getInstr(), OpNum, Src1)) { in createDPPInst()
353 !TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src2)) { in createDPPInst()
H A DSIOptimizeExecMaskingPreRA.cpp485 TII->isOperandLegal(*SingleExecUser, Idx, &I->getOperand(1))) { in run()
H A DSIRegisterInfo.cpp2670 !TII->isOperandLegal(*MI, Src1Idx, OtherOp)) { in eliminateFrameIndex()
2766 if (!TII->isOperandLegal(*MI, Src1Idx) && TII->commuteInstruction(*MI)) { in eliminateFrameIndex()
2775 if (!TII->isOperandLegal(*MI, SrcIdx)) { in eliminateFrameIndex()
2983 bool UseSGPR = TII->isOperandLegal(*MI, FIOperandNum, FIOp); in eliminateFrameIndex()
H A DSIFixSGPRCopies.cpp257 !TII->isOperandLegal(*UseMI, OpIdx, &Src)) in tryChangeVGPRtoSGPRinCopy()
H A DSIShrinkInstructions.cpp112 if (TII->isOperandLegal(MI, Src0Idx, &MovSrc)) { in foldImmediates()
H A DSIInstrInfo.h1250 bool isOperandLegal(const MachineInstr &MI, unsigned OpIdx,
H A DSIInstrInfo.cpp4174 isOperandLegal( in convertToThreeAddress()
6024 bool SIInstrInfo::isOperandLegal(const MachineInstr &MI, unsigned OpIdx, in isOperandLegal() function in SIInstrInfo
6326 !isOperandLegal(MI, Idx, &MO)) { in legalizeOperandsVOP3()