Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DGCNDPPCombine.cpp231 if (TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, SDst)) { in createDPPInst()
277 if (!TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src0)) { in createDPPInst()
301 if (!TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src1)) { in createDPPInst()
321 !TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src2)) { in createDPPInst()
H A DSIFoldOperands.cpp335 if (!TII->isOperandLegal(*MI, OpNo, OpToFold)) { in tryAddToFoldList()
399 if (!TII->isOperandLegal(*MI, CommuteOpNo, OpToFold)) { in tryAddToFoldList()
535 TII->isOperandLegal(*UseMI, UseOpIdx, &OpToFold)) { in tryToFoldACImm()
558 TII->isOperandLegal(*UseMI, UseOpIdx, &DefOp)) { in tryToFoldACImm()
578 !TII->isOperandLegal(*UseMI, UseOpIdx, Op)) in tryToFoldACImm()
1579 if (!TII->isOperandLegal(*UseMI, OpIdx, Op)) { in tryFoldRegSequence()
1682 if (!TII->isOperandLegal(MI, 0, &Def)) { in tryFoldLoad()
H A DSIOptimizeExecMaskingPreRA.cpp492 TII->isOperandLegal(*SingleExecUser, Idx, &I->getOperand(1))) { in runOnMachineFunction()
H A DSIShrinkInstructions.cpp103 if (TII->isOperandLegal(MI, Src0Idx, &MovSrc)) { in foldImmediates()
H A DSIFixSGPRCopies.cpp203 !TII->isOperandLegal(*UseMI, OpIdx, &Src)) in tryChangeVGPRtoSGPRinCopy()
H A DSIInstrInfo.h954 bool isOperandLegal(const MachineInstr &MI, unsigned OpIdx,
H A DSIInstrInfo.cpp2304 if (isOperandLegal(MI, Src1Idx, &Src0)) { in commuteInstructionImpl()
2315 if (isOperandLegal(MI, Src1Idx, &Src0)) in commuteInstructionImpl()
3400 isOperandLegal( in convertToThreeAddress()
4976 bool SIInstrInfo::isOperandLegal(const MachineInstr &MI, unsigned OpIdx, in isOperandLegal() function in SIInstrInfo
5244 !isOperandLegal(MI, Idx, &MO)) { in legalizeOperandsVOP3()
H A DSIRegisterInfo.cpp2174 bool UseSGPR = TII->isOperandLegal(*MI, FIOperandNum, &FIOp); in eliminateFrameIndex()