Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonMCChecker.cpp98 for (unsigned i = MCID.getNumDefs(); i < MCID.getNumOperands(); ++i) in init()
135 for (unsigned i = 0; i < MCID.getNumDefs(); ++i) { in init()
188 for (unsigned i = MCID.getNumDefs(); i < MCID.getNumOperands(); ++i) in init()
530 unsigned Defs = HexagonMCInstrInfo::getDesc(MCII, Inst).getNumDefs(); in checkRegistersReadOnly()
547 for (unsigned j = HexagonMCInstrInfo::getDesc(MCII, I).getNumDefs(), in registerUsed()
567 for (unsigned J = 0, N = Desc.getNumDefs(); J < N; ++J) in registerProducer()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExecutionDomainFix.cpp239 e = MI->isVariadic() ? MI->getNumOperands() : MCID.getNumDefs(); in processDefs()
259 for (unsigned i = mi->getDesc().getNumDefs(), in visitHardInstr()
271 for (unsigned i = 0, e = mi->getDesc().getNumDefs(); i != e; ++i) { in visitHardInstr()
290 for (unsigned i = mi->getDesc().getNumDefs(), in visitSoftInstr()
H A DBreakFalseDeps.cpp196 for (unsigned i = MCID.getNumDefs(), e = MCID.getNumOperands(); i != e; ++i) { in processDefs()
218 e = MI->isVariadic() ? MI->getNumOperands() : MCID.getNumDefs(); in processDefs()
H A DPeepholeOptimizer.cpp933 NumDefs = MI.getDesc().getNumDefs(); in UncoalescableRewriter()
1233 assert(MI.getDesc().getNumDefs() == 1 && in optimizeCoalescableCopy()
1379 if (MCID.getNumDefs() != 1) in isLoadFoldable()
1398 if (MCID.getNumDefs() != 1 || !MI.getOperand(0).isReg()) in isMoveImmediate()
1584 if (MI.getDesc().getNumDefs() != 1) in findTargetRecurrence()
1829 for (unsigned i = MIDesc.getNumDefs(); i != MI->getNumOperands(); in runOnMachineFunction()
1911 if (Def->getDesc().getNumDefs() != 1) in getNextSourceFromBitcast()
2127 (DefIdx < Def->getDesc().getNumDefs() || in getNextSourceImpl()
H A DImplicitNullChecks.cpp369 if (MI.getDesc().getNumDefs() > 1) in isSuitableMemoryOp()
713 unsigned NumDefs = MI->getDesc().getNumDefs(); in insertFaultingInstr()
H A DDetectDeadLanes.cpp197 if (MI.getDesc().getNumDefs() != 1) in transferDefinedLanesStep()
345 assert(UseMI.getDesc().getNumDefs() == 1); in determineInitialUsedLanes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp2010 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_r()
2012 if (II.getNumDefs() >= 1) in fastEmitInst_r()
2032 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_rr()
2035 if (II.getNumDefs() >= 1) in fastEmitInst_rr()
2056 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_rrr()
2060 if (II.getNumDefs() >= 1) in fastEmitInst_rrr()
2085 if (II.getNumDefs() >= 1) in fastEmitInst_ri()
2108 if (II.getNumDefs() >= 1) in fastEmitInst_rii()
2132 if (II.getNumDefs() >= 1) in fastEmitInst_f()
2154 if (II.getNumDefs() >= 1) in fastEmitInst_rri()
[all …]
H A DScheduleDAGSDNodes.cpp131 if (ResNo >= II.getNumDefs() && II.hasImplicitDefOfPhysReg(Reg)) in CheckForPhysRegDependency()
472 if (NumUsed > TII->get(N->getMachineOpcode()).getNumDefs()) in AddSchedEdges()
574 unsigned NRegDefs = SchedDAG->TII->get(Node->getMachineOpcode()).getNumDefs(); in InitNodeNumDefs()
661 OpIdx += TII->get(Use->getMachineOpcode()).getNumDefs(); in computeOperandLatency()
H A DScheduleDAGRRList.cpp1283 NumRes = MCID.getNumDefs(); in getPhysicalRegisterVT()
1428 for (unsigned i = 0; i < MCID.getNumDefs(); ++i) in DelayForLiveRegsBottomUp()
2124 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in MayReduceRegPressure()
2170 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in RegPressureDiff()
2308 unsigned NumDefs = TII->get(PN->getMachineOpcode()).getNumDefs(); in unscheduledNode()
2325 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in unscheduledNode()
2839 unsigned NumRes = MCID.getNumDefs(); in canClobber()
2896 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in canClobberPhysRegDefs()
3079 unsigned NumRes = MCID.getNumDefs(); in AddPseudoTwoAddrDeps()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVDeadRegisterDefinitions.cpp71 for (int I = 0, E = Desc.getNumDefs(); I != E; ++I) { in runOnMachineFunction()
H A DRISCVRVVInitUndef.cpp253 if (MI.getNumDefs() != 0 && MI.isRegTiedToUseOperand(0, &UseOpIdx)) { in processBasicBlock()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MCA/
H A DInstrBuilder.cpp239 unsigned NumExplicitDefs = MCDesc.getNumDefs(); in verifyOperands()
314 unsigned NumExplicitDefs = MCDesc.getNumDefs(); in populateWrites()
437 unsigned NumExplicitUses = MCDesc.getNumOperands() - MCDesc.getNumDefs(); in populateReads()
446 for (unsigned I = 0, OpIndex = MCDesc.getNumDefs(); I < NumExplicitUses; in populateReads()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyInstPrinter.cpp300 else if (OpNo >= Desc.getNumDefs() && !IsVariadicDef) in printOperand()
307 if (OpNo < MII.get(MI->getOpcode()).getNumDefs() || IsVariadicDef) in printOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVMCCodeEmitter.cpp66 if (MCDesc.getNumDefs() == 1 && MCDesc.getNumOperands() >= 2) { in hasType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVDuplicatesTracker.cpp53 for (auto i = MI->getNumDefs(); i < MI->getNumOperands(); i++) { in buildDepsGraph()
H A DSPIRVInstrInfo.cpp51 if (MI.getNumDefs() >= 1 && MI.getOperand(0).isReg()) { in isTypeDeclInstr()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DGenericMachineInstrs.h234 unsigned getNumDefs() const { return getNumOperands() - 1; } in getNumDefs() function
236 Register getSourceReg() const { return getOperand(getNumDefs()).getReg(); } in getSourceReg()
H A DLegalizationArtifactCombiner.h874 unsigned NumDefs = MI.getNumDefs(); in tryCombineUnmergeDefs()
1012 unsigned NumElts = Unmerge->getNumDefs(); in tryCombineMergeLike()
1018 if ((!UnmergeI) || (UnmergeI->getNumDefs() != NumElts) || in tryCombineMergeLike()
1041 unsigned NumDefs = MI.getNumDefs(); in tryCombineUnmergeValues()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.h249 return Desc.getNumDefs() < Desc.getNumOperands() && in isFirstDefTiedToFirstUse()
250 Desc.getOperandConstraint(Desc.getNumDefs(), MCOI::TIED_TO) == 0; in isFirstDefTiedToFirstUse()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmTypeCheck.cpp401 for (unsigned I = II.getNumOperands(); I > II.getNumDefs(); I--) { in typeCheck()
410 for (unsigned I = 0; I < II.getNumDefs(); I++) { in typeCheck()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64DeadRegisterDefinitionsPass.cpp142 for (int I = 0, E = Desc.getNumDefs(); I != E; ++I) { in processMachineBasicBlock()
H A DAArch64FastISel.cpp1327 LHSReg = constrainOperandRegClass(II, LHSReg, II.getNumDefs()); in emitAddSub_rr()
1328 RHSReg = constrainOperandRegClass(II, RHSReg, II.getNumDefs() + 1); in emitAddSub_rr()
1372 LHSReg = constrainOperandRegClass(II, LHSReg, II.getNumDefs()); in emitAddSub_ri()
1413 LHSReg = constrainOperandRegClass(II, LHSReg, II.getNumDefs()); in emitAddSub_rs()
1414 RHSReg = constrainOperandRegClass(II, RHSReg, II.getNumDefs() + 1); in emitAddSub_rs()
1457 LHSReg = constrainOperandRegClass(II, LHSReg, II.getNumDefs()); in emitAddSub_rx()
2136 SrcReg = constrainOperandRegClass(II, SrcReg, II.getNumDefs()); in emitStore()
2371 SrcReg = constrainOperandRegClass(II, SrcReg, II.getNumDefs()); in emitCompareAndBranch()
2502 = constrainOperandRegClass(II, CondReg, II.getNumDefs()); in selectBranch()
2520 AddrReg = constrainOperandRegClass(II, AddrReg, II.getNumDefs()); in selectIndirectBr()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLocalizer.cpp91 assert(MI.getDesc().getNumDefs() == 1 && in localizeInterBlock()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrDesc.h248 unsigned getNumDefs() const { return NumDefs; } in getNumDefs() function
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DStackMaps.h174 NumDefs = MI->getNumDefs(); in StatepointOpers()

123