Home
last modified time | relevance | path

Searched refs:getNumExplicitDefs (Results 1 – 25 of 25) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineInstr.h570 return getNumExplicitDefs() + MCID->getNumImplicitDefs();
604 unsigned getNumExplicitDefs() const;
655 operands_begin() + getNumExplicitDefs());
660 operands_begin() + getNumExplicitDefs());
665 return make_range(operands_begin() + getNumExplicitDefs(), operands_end());
669 return make_range(operands_begin() + getNumExplicitDefs(), operands_end());
672 return make_range(operands_begin() + getNumExplicitDefs(),
676 return make_range(operands_begin() + getNumExplicitDefs(),
1822 return getOperand(getNumExplicitDefs()).getIntrinsicID();
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIPostRABundler.cpp145 if (I->getNumExplicitDefs() != 0) in runOnMachineFunction()
157 if (I->getNumExplicitDefs() != 0) in runOnMachineFunction()
H A DSIFixSGPRCopies.cpp1075 } else if (Inst->getNumExplicitDefs() != 0) { in lowerVGPR2SGPRCopies()
H A DAMDGPULegalizerInfo.cpp3664 const unsigned FirstSrcOpIdx = MI.getNumExplicitDefs(); in legalizeUnsignedDIV_REM()
3690 const unsigned FirstSrcOpIdx = MI.getNumExplicitDefs(); in legalizeSignedDIV_REM()
4684 const bool HasReturn = MI.getNumExplicitDefs() != 0; in legalizeBufferAtomic()
4865 const unsigned NumDefs = MI.getNumExplicitDefs(); in legalizeImageIntrinsic()
H A DAMDGPURegisterBankInfo.cpp312 for (unsigned I = 0, E = MI.getNumExplicitDefs(); I != E; ++I) { in addMappingFromTable()
1211 const int NumDefs = MI.getNumExplicitDefs(); in applyMappingImage()
3410 RsrcIdx += MI.getNumExplicitDefs() + 1; in getImageMapping()
H A DSIFoldOperands.cpp1646 if (!ST->hasGFX90AInsts() || MI.getNumExplicitDefs() != 1) in tryFoldLoad()
H A DAMDGPUInstructionSelector.cpp1560 const unsigned ArgOffset = MI.getNumExplicitDefs() + 1; in selectImageIntrinsic()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMCInstLower.cpp172 unsigned NumVariadicDefs = MI->getNumExplicitDefs() - Desc.getNumDefs(); in lower()
270 OutMI.insert(OutMI.begin(), MCOperand::createImm(MI->getNumExplicitDefs())); in lower()
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.cpp84 if (MI.getNumExplicitDefs() > 0 && in buildDepsGraph()
H A DSPIRVPreLegalizer.cpp104 unsigned NumOp = MI.getNumExplicitDefs() + AssignNameOperandShift; in foldConstantsIntoIntrinsics()
276 MI.getNumExplicitOperands() - MI.getNumExplicitDefs(); in generateAssignInstrs()
H A DSPIRVInstructionSelector.cpp816 for (unsigned i = I.getNumExplicitDefs(); i < I.getNumExplicitOperands(); ++i) in selectConstVector()
1184 bool IsNull = I.getNumExplicitDefs() + 1 == I.getNumExplicitOperands(); in selectIntrinsic()
1192 for (unsigned i = I.getNumExplicitDefs() + 1; in selectIntrinsic()
1201 MIB.addUse(I.getOperand(I.getNumExplicitDefs() + 1).getReg()); in selectIntrinsic()
1202 for (unsigned i = I.getNumExplicitDefs() + 2; in selectIntrinsic()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyUtilities.cpp114 return MI.getOperand(MI.getNumExplicitDefs()); in getCalleeOp()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVMCInstLower.cpp171 assert(MI->getNumExplicitDefs() == 1U + hasVLOutput); in lowerRISCVVMachineInstrToMCInst()
H A DRISCVInsertVSETVLI.cpp387 if (RISCVII::hasSEWOp(TSFlags) && MI.getNumExplicitDefs() == 0) { in getDemanded()
H A DRISCVInstrInfo.cpp2025 return MI.getNumExplicitDefs() == 2 && MI.modifiesRegister(RISCV::VL) && in isFaultFirstLoad()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMFixCortexA57AES1742098Pass.cpp288 assert(MI.getNumExplicitOperands() == 3 && MI.getNumExplicitDefs() == 1 && in analyzeMF()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineCSE.cpp794 MI->getNumExplicitDefs() != 1) in isPRECandidate()
H A DTwoAddressInstructionPass.cpp692 assert(mi->getNumExplicitDefs() == 1); in convertInstTo3Addr()
693 assert(NewMI->getNumExplicitDefs() == 1); in convertInstTo3Addr()
H A DTargetInstrInfo.cpp1238 if (MI.getNumExplicitDefs() != 1) in describeLoadedValue()
H A DMachineInstr.cpp698 unsigned MachineInstr::getNumExplicitDefs() const { in getNumExplicitDefs() function in MachineInstr
H A DMachineVerifier.cpp1432 const MachineOperand &IntrIDOp = MI->getOperand(MI->getNumExplicitDefs()); in verifyPreISelGenericInstruction()
/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DGISelKnownBits.cpp57 assert(MI.getNumExplicitDefs() == 1 && in getKnownBits()
H A DCombinerHelper.cpp2458 assert(MI.getNumExplicitDefs() == 1 && "Expected one explicit def?"); in replaceSingleDefInstWithOperand()
2469 assert(MI.getNumExplicitDefs() == 1 && "Expected one explicit def?"); in replaceSingleDefInstWithReg()
H A DLegalizerHelper.cpp5073 unsigned NumDefs = MI.getNumExplicitDefs(); in narrowScalarAddSub()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp8644 assert(Inst.getNumExplicitOperands() == 3 && Inst.getNumExplicitDefs() == 1 && in hasReassociableOperands()