Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNDPPCombine.cpp246 if (TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, SDst)) { in createDPPInst()
292 if (!TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src0)) { in createDPPInst()
325 if (!TII->isOperandLegal(*DPPInst.getInstr(), OpNum, Src1)) { in createDPPInst()
346 !TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src2)) { in createDPPInst()
H A DSIFoldOperands.cpp368 if (!TII->isOperandLegal(*MI, OpNo, &New)) in updateOperand()
504 bool IsLegal = TII->isOperandLegal(*MI, OpNo, OpToFold); in tryAddToFoldList()
576 if (!TII->isOperandLegal(*MI, CommuteOpNo, OpToFold)) { in tryAddToFoldList()
699 TII->isOperandLegal(*UseMI, UseOpIdx, &OpToFold)) { in tryToFoldACImm()
720 TII->isOperandLegal(*UseMI, UseOpIdx, &DefOp)) { in tryToFoldACImm()
740 !TII->isOperandLegal(*UseMI, UseOpIdx, Op)) in tryToFoldACImm()
1797 if (!TII->isOperandLegal(*UseMI, OpIdx, Op)) { in tryFoldRegSequence()
2025 if (!TII->isOperandLegal(MI, 0, &Def)) { in tryFoldLoad()
H A DSIOptimizeExecMaskingPreRA.cpp463 TII->isOperandLegal(*SingleExecUser, Idx, &I->getOperand(1))) { in runOnMachineFunction()
H A DSIShrinkInstructions.cpp106 if (TII->isOperandLegal(MI, Src0Idx, &MovSrc)) { in foldImmediates()
H A DSIFixSGPRCopies.cpp243 !TII->isOperandLegal(*UseMI, OpIdx, &Src)) in tryChangeVGPRtoSGPRinCopy()
H A DSIInstrInfo.h1125 bool isOperandLegal(const MachineInstr &MI, unsigned OpIdx,
H A DSIInstrInfo.cpp2741 if (isOperandLegal(MI, Src1Idx, &Src0)) { in commuteInstructionImpl()
2752 if (isOperandLegal(MI, Src1Idx, &Src0)) in commuteInstructionImpl()
3935 isOperandLegal( in convertToThreeAddress()
5617 bool SIInstrInfo::isOperandLegal(const MachineInstr &MI, unsigned OpIdx, in isOperandLegal() function in SIInstrInfo
5912 !isOperandLegal(MI, Idx, &MO)) { in legalizeOperandsVOP3()
H A DSIRegisterInfo.cpp2338 bool UseSGPR = TII->isOperandLegal(*MI, FIOperandNum, &FIOp); in eliminateFrameIndex()