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 DGCNDPPCombine.cpp247 if (TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, SDst)) { in createDPPInst()
293 if (!TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src0)) { in createDPPInst()
326 if (!TII->isOperandLegal(*DPPInst.getInstr(), OpNum, Src1)) { in createDPPInst()
347 !TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src2)) { in createDPPInst()
H A DSIFoldOperands.cpp370 if (!TII->isOperandLegal(*MI, OpNo, &New)) in updateOperand()
506 bool IsLegal = TII->isOperandLegal(*MI, OpNo, OpToFold); in tryAddToFoldList()
578 if (!TII->isOperandLegal(*MI, CommuteOpNo, OpToFold)) { in tryAddToFoldList()
701 TII->isOperandLegal(*UseMI, UseOpIdx, &OpToFold)) { in tryToFoldACImm()
722 TII->isOperandLegal(*UseMI, UseOpIdx, &DefOp)) { in tryToFoldACImm()
742 !TII->isOperandLegal(*UseMI, UseOpIdx, Op)) in tryToFoldACImm()
1837 if (!TII->isOperandLegal(*UseMI, OpIdx, Op)) { in tryFoldRegSequence()
2065 if (!TII->isOperandLegal(MI, 0, &Def)) { in tryFoldLoad()
H A DSIOptimizeExecMaskingPreRA.cpp464 TII->isOperandLegal(*SingleExecUser, Idx, &I->getOperand(1))) { in runOnMachineFunction()
H A DSIShrinkInstructions.cpp105 if (TII->isOperandLegal(MI, Src0Idx, &MovSrc)) { in foldImmediates()
H A DSIFixSGPRCopies.cpp243 !TII->isOperandLegal(*UseMI, OpIdx, &Src)) in tryChangeVGPRtoSGPRinCopy()
H A DSIInstrInfo.h1189 bool isOperandLegal(const MachineInstr &MI, unsigned OpIdx,
H A DSIInstrInfo.cpp2792 if (isOperandLegal(MI, Src1Idx, &Src0)) { in commuteInstructionImpl()
2803 if (isOperandLegal(MI, Src1Idx, &Src0)) in commuteInstructionImpl()
4009 isOperandLegal( in convertToThreeAddress()
5729 bool SIInstrInfo::isOperandLegal(const MachineInstr &MI, unsigned OpIdx, in isOperandLegal() function in SIInstrInfo
6028 !isOperandLegal(MI, Idx, &MO)) { in legalizeOperandsVOP3()
H A DSIRegisterInfo.cpp2346 bool UseSGPR = TII->isOperandLegal(*MI, FIOperandNum, &FIOp); in eliminateFrameIndex()