Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVVectorPeephole.cpp432 True->getOperand(TrueMaskedInfo->MaskOpIdx + True->getNumExplicitDefs()); in convertSameMaskVMergeToVMv()
483 MI.getOperand(I->MaskOpIdx + MI.getNumExplicitDefs()).getReg()))) in convertToUnmasked()
510 unsigned MaskOpIdx = I->MaskOpIdx + MI.getNumExplicitDefs(); in convertToUnmasked()
519 unsigned PassthruOpIdx = MI.getNumExplicitDefs(); in convertToUnmasked()
658 MachineOperand &SrcPassthru = Src->getOperand(Src->getNumExplicitDefs()); in foldVMV_V_V()
749 Register TruePassthru = True.getOperand(True.getNumExplicitDefs()).getReg(); in foldVMergeToMask()
803 True.getNumExplicitDefs(), in foldVMergeToMask()
807 True.getOperand(True.getNumExplicitDefs()).setReg(FalseReg); in foldVMergeToMask()
H A DRISCVVLOptimizer.cpp212 (HasPassthru && MO.getOperandNo() == MI.getNumExplicitDefs()); in getOperandLog2EEW()
1240 if (MI.getNumExplicitDefs() != 1) in isCandidate()
1308 assert(UserOp.getOperandNo() == UserMI.getNumExplicitDefs() && in getMinimumVLForUser()
H A DRISCVOptWInstrs.cpp137 if (MI->getNumExplicitDefs() != 1) in hasAllNBitUsers()
H A DRISCVAsmPrinter.cpp1105 if (OpNo == MI->getNumExplicitDefs() && MO.isReg() && MO.isTied()) { in lowerRISCVVMachineInstrToMCInst()
H A DRISCVInsertVSETVLI.cpp372 if (RISCVII::hasSEWOp(TSFlags) && MI.getNumExplicitDefs() == 0) { in getDemanded()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstrInfo.cpp26 return I.getOperand(I.getNumExplicitDefs()).getIntrinsicID(); in getIntrinsicID()
H A DSIPostRABundler.cpp172 if (I->getNumExplicitDefs() != 0) in run()
184 if (I->getNumExplicitDefs() != 0) in run()
H A DSIFixSGPRCopies.cpp971 } else if (Inst->getNumExplicitDefs() != 0) { in analyzeVGPRToSGPRCopy()
H A DAMDGPULegalizerInfo.cpp4750 const unsigned FirstSrcOpIdx = MI.getNumExplicitDefs(); in legalizeUnsignedDIV_REM()
4776 const unsigned FirstSrcOpIdx = MI.getNumExplicitDefs(); in legalizeSignedDIV_REM()
6044 assert(MI.getNumExplicitDefs() == 1 || MI.getNumExplicitDefs() == 2); in legalizeBufferLoad()
6045 bool IsTFE = MI.getNumExplicitDefs() == 2; in legalizeBufferLoad()
6451 const unsigned NumDefs = MI.getNumExplicitDefs(); in legalizeImageIntrinsic()
H A DSIRegisterInfo.cpp1062 int Src0Idx = MI.getNumExplicitDefs(); in resolveFrameIndex()
2595 unsigned NumDefs = MI->getNumExplicitDefs(); in eliminateFrameIndex()
H A DAMDGPURegisterBankInfo.cpp324 for (unsigned I = 0, E = MI.getNumExplicitDefs(); I != E; ++I) { in addMappingFromTable()
1230 const int NumDefs = MI.getNumExplicitDefs(); in applyMappingImage()
3664 RsrcIdx += MI.getNumExplicitDefs() + 1; in getImageMapping()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstr.h636 return getNumExplicitDefs() + MCID->implicit_defs().size();
670 LLVM_ABI unsigned getNumExplicitDefs() const;
722 mop_range defs() { return operands_impl().take_front(getNumExplicitDefs()); }
725 return operands_impl().take_front(getNumExplicitDefs());
729 mop_range uses() { return operands_impl().drop_front(getNumExplicitDefs()); }
732 return operands_impl().drop_front(getNumExplicitDefs());
737 .drop_front(getNumExplicitDefs());
742 .drop_front(getNumExplicitDefs());
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMCInstLower.cpp170 unsigned NumVariadicDefs = MI->getNumExplicitDefs() - Desc.getNumDefs(); in lower()
290 OutMI.insert(OutMI.begin(), MCOperand::createImm(MI->getNumExplicitDefs())); in lower()
H A DWebAssemblyUtilities.cpp93 return MI.getOperand(MI.getNumExplicitDefs()); in getCalleeOp()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyUtilities.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMFixCortexA57AES1742098Pass.cpp282 assert(MI.getNumExplicitOperands() == 3 && MI.getNumExplicitDefs() == 1 && in analyzeMF()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp442 for (unsigned i = OpDef->getNumExplicitDefs(); i < OpDef->getNumOperands(); in isConstReg()
2367 if (I.getNumExplicitOperands() - I.getNumExplicitDefs() != N) in selectBuildVector()
2372 for (unsigned i = I.getNumExplicitDefs(); in selectBuildVector()
2387 for (unsigned i = I.getNumExplicitDefs(); i < I.getNumExplicitOperands(); ++i) in selectBuildVector()
2403 unsigned OpIdx = I.getNumExplicitDefs(); in selectSplatVector()
2837 for (unsigned i = I.getNumExplicitDefs() + 1; i < Lim; ++i) { in wrapIntoSpecConstantOp()
2922 bool IsNull = I.getNumExplicitDefs() + 1 == I.getNumExplicitOperands(); in selectIntrinsic()
2950 MIB.addUse(I.getOperand(I.getNumExplicitDefs() + 1).getReg()); in selectIntrinsic()
2951 for (unsigned i = I.getNumExplicitDefs() + 2; in selectIntrinsic()
3155 Register PtrReg = I.getOperand(I.getNumExplicitDefs() + 1).getReg(); in selectIntrinsic()
[all …]
H A DSPIRVPreLegalizer.cpp647 ElemTy, MI.getNumExplicitOperands() - MI.getNumExplicitDefs(), in generateAssignInstrs()
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/
H A DLoongArchOptWInstrs.cpp116 if (MI->getNumExplicitDefs() != 1) in hasAllNBitUsers()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGenericMachineInstrs.h532 return getOperand(getNumExplicitDefs()).getIntrinsicID(); in getIntrinsicID()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineCSE.cpp807 MI->getNumExplicitDefs() != 1) in isPRECandidate()
H A DTwoAddressInstructionPass.cpp802 assert(mi->getNumExplicitDefs() == 1); in convertInstTo3Addr()
803 assert(NewMI->getNumExplicitDefs() == 1); in convertInstTo3Addr()
H A DTargetInstrInfo.cpp1918 if (MI.getNumExplicitDefs() != 1) in describeLoadedValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64RegisterBankInfo.cpp1143 Idx += MI.getNumExplicitDefs(); in getInstrMapping()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelValueTracking.cpp78 assert(MI.getNumExplicitDefs() == 1 && in getKnownBits()

12