Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86EvexToVex.cpp163 MachineOperand &Imm = MI.getOperand(MI.getNumExplicitOperands()-1); in performCustomAdjustments()
178 MachineOperand &Imm = MI.getOperand(MI.getNumExplicitOperands()-1); in performCustomAdjustments()
200 const MachineOperand &Imm = MI.getOperand(MI.getNumExplicitOperands()-1); in performCustomAdjustments()
H A DX86FixupBWInsts.cpp321 assert(MI->getNumExplicitOperands() == 2); in tryReplaceCopy()
/llvm-project-15.0.7/llvm/tools/llvm-reduce/deltas/
H A DReduceRegisterUses.cpp30 int NumRequiredOps = MI.getNumExplicitOperands() + in removeUsesFromFunction()
H A DReduceRegisterDefs.cpp41 int NumRequiredOps = MI.getNumExplicitOperands() + in removeDefsFromFunction()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineInstr.h583 return getNumOperands() - getNumExplicitOperands();
601 unsigned getNumExplicitOperands() const;
624 operands_begin() + getNumExplicitOperands());
628 operands_begin() + getNumExplicitOperands());
673 operands_begin() + getNumExplicitOperands());
677 operands_begin() + getNumExplicitOperands());
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVPreLegalizer.cpp276 MI.getNumExplicitOperands() - MI.getNumExplicitDefs(); in generateAssignInstrs()
461 unsigned NumOp = MI.getNumExplicitOperands(); in processSwitches()
471 for (unsigned i = MI.getNumExplicitOperands() - 1; i > 1; i--) in processSwitches()
H A DSPIRVInstructionSelector.cpp229 if (I.getNumOperands() != I.getNumExplicitOperands()) { in select()
816 for (unsigned i = I.getNumExplicitDefs(); i < I.getNumExplicitOperands(); ++i) in selectConstVector()
1142 for (unsigned i = 4; i < I.getNumExplicitOperands(); ++i) in selectGEP()
1176 MachineInstr *Init = I.getNumExplicitOperands() > 2 in selectIntrinsic()
1184 bool IsNull = I.getNumExplicitDefs() + 1 == I.getNumExplicitOperands(); in selectIntrinsic()
1193 i < I.getNumExplicitOperands(); ++i) { in selectIntrinsic()
1203 i < I.getNumExplicitOperands(); ++i) { in selectIntrinsic()
1210 for (unsigned i = 1; i < I.getNumExplicitOperands(); ++i) { in selectIntrinsic()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixIrreducibleControlFlow.cpp381 unsigned Index = MIB.getInstr()->getNumExplicitOperands() - 1; in makeSingleEntryLoop()
479 ->getOperand(MIB.getInstr()->getNumExplicitOperands() - 1) in makeSingleEntryLoop()
H A DWebAssemblyFixBrTableDefaults.cpp133 MI.removeOperand(MI.getNumExplicitOperands() - 1); in fixBrTableDefault()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyUtilities.cpp119 return MI.getOperand(MI.getNumExplicitOperands() - 1); in getCalleeOp()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInstrInfo.cpp370 DefExplicitOpNum = DefMBBI->getNumExplicitOperands(); in copyPhysReg()
1003 int NumOp = MI.getNumExplicitOperands(); in getBranchDestBlock()
1171 if (LdSt.getNumExplicitOperands() != 3) in getMemOperandWithOffsetWidth()
1434 unsigned NumOperands = MI.getNumExplicitOperands(); in createMIROperandComment()
1508 if ((MI.getOperand(MI.getNumExplicitOperands() - 1).getImm() & 1) == 0) in findCommutedOpIndices()
1528 if ((MI.getOperand(MI.getNumExplicitOperands() - 1).getImm() & 1) == 0) in findCommutedOpIndices()
1772 MI.getNumExplicitOperands() == 6); in convertToThreeAddress()
H A DRISCVMCInstLower.cpp152 unsigned NumOps = MI->getNumExplicitOperands(); in lowerRISCVVMachineInstrToMCInst()
H A DRISCVExpandPseudoInsts.cpp244 assert(MBBI->getNumExplicitOperands() == 3 && MBBI->getNumOperands() >= 5 && in expandVSetVL()
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZElimCompare.cpp438 FirstOpNum = CCUserMI->getNumExplicitOperands() - 2; in adjustCCMasksForInstr()
510 return Compare.getNumExplicitOperands() == 2 && in isCompareZero()
H A DSystemZInstrInfo.cpp525 if (MI.getNumExplicitOperands() == 2 && MI.getOperand(0).isReg() && in analyzeCompare()
1194 unsigned NumOps = MI.getNumExplicitOperands(); in foldMemoryOperandImpl()
1906 0 : CCUsers[Idx]->getNumExplicitOperands() - 2); in prepareCompareSwapOperands()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMFixCortexA57AES1742098Pass.cpp288 assert(MI.getNumExplicitOperands() == 3 && MI.getNumExplicitDefs() == 1 && in analyzeMF()
H A DARMSLSHardening.cpp311 for (unsigned OpIdx = BL->getNumExplicitOperands(); in ConvertIndirectCallToIndirectJump()
H A DA15SDOptimizer.cpp293 for (unsigned I = 1; I < MI->getNumExplicitOperands(); ++I) { in optimizeSDPattern()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64SLSHardening.cpp349 for (unsigned OpIdx = BL->getNumExplicitOperands(); in ConvertBLRToBL()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIWholeQuadMode.cpp1448 assert(MI->getNumExplicitOperands() == 2); in lowerCopyInstrs()
1488 assert(MI->getNumExplicitOperands() == 3); in lowerCopyInstrs()
1496 assert(MI->getNumExplicitOperands() == 2); in lowerCopyInstrs()
H A DSIShrinkInstructions.cpp685 MIB->removeOperand(MIB->getNumExplicitOperands()); in matchSwap()
698 unsigned OpNo = MovT.getNumExplicitOperands() + I; in matchSwap()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCBranchCoalescing.cpp263 if (I.getNumOperands() != I.getNumExplicitOperands()) { in canCoalesceBranch()
/llvm-project-15.0.7/llvm/lib/Target/CSKY/
H A DCSKYConstantIslandPass.cpp1319 BMI->getOperand(BMI->getNumExplicitOperands() - 1).setMBB(DestBB); in fixupConditionalBr()
1320 MI->getOperand(MI->getNumExplicitOperands() - 1).setMBB(NewDest); in fixupConditionalBr()
H A DCSKYInstrInfo.cpp149 int NumOp = MI.getNumExplicitOperands(); in getBranchDestBlock()
/llvm-project-15.0.7/llvm/lib/Target/M68k/
H A DM68kInstrInfo.cpp621 if (OperandNo == MI->getNumExplicitOperands() - 1) in isPCRelRegisterOperandLegal()

12