Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/llvm/lib/Target/AMDGPU/
DGCNDPPCombine.cpp236 if (TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, SDst)) { in createDPPInst()
281 if (!TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src0)) { in createDPPInst()
304 if (!TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src1)) { in createDPPInst()
324 !TII->isOperandLegal(*DPPInst.getInstr(), NumOperands, Src2)) { in createDPPInst()
DSIFoldOperands.cpp336 if (!TII->isOperandLegal(*MI, OpNo, OpToFold)) { in tryAddToFoldList()
403 if (!TII->isOperandLegal(*MI, CommuteOpNo, OpToFold)) { in tryAddToFoldList()
512 TII->isOperandLegal(*UseMI, UseOpIdx, &OpToFold)) { in tryToFoldACImm()
533 TII->isOperandLegal(*UseMI, UseOpIdx, &DefOp)) { in tryToFoldACImm()
553 !TII->isOperandLegal(*UseMI, UseOpIdx, Op)) in tryToFoldACImm()
1616 if (!TII->isOperandLegal(*UseMI, OpIdx, Op)) { in tryFoldRegSequence()
1721 if (!TII->isOperandLegal(MI, 0, &Def)) { in tryFoldLoad()
DSIOptimizeExecMaskingPreRA.cpp492 TII->isOperandLegal(*SingleExecUser, Idx, &I->getOperand(1))) { in runOnMachineFunction()
DSIShrinkInstructions.cpp106 if (TII->isOperandLegal(MI, Src0Idx, &MovSrc)) { in foldImmediates()
DSIFixSGPRCopies.cpp236 !TII->isOperandLegal(*UseMI, OpIdx, &Src)) in tryChangeVGPRtoSGPRinCopy()
DSIInstrInfo.h958 bool isOperandLegal(const MachineInstr &MI, unsigned OpIdx,
DSIInstrInfo.cpp2419 if (isOperandLegal(MI, Src1Idx, &Src0)) { in commuteInstructionImpl()
2430 if (isOperandLegal(MI, Src1Idx, &Src0)) in commuteInstructionImpl()
3546 isOperandLegal( in convertToThreeAddress()
5093 bool SIInstrInfo::isOperandLegal(const MachineInstr &MI, unsigned OpIdx, in isOperandLegal() function in SIInstrInfo
5361 !isOperandLegal(MI, Idx, &MO)) { in legalizeOperandsVOP3()
DSIRegisterInfo.cpp2264 bool UseSGPR = TII->isOperandLegal(*MI, FIOperandNum, &FIOp); in eliminateFrameIndex()