| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | GenericMachineInstrs.h | 143 unsigned getNumDefs() const { return getNumOperands() - 1; } in getNumDefs() function 145 Register getSourceReg() const { return getOperand(getNumDefs()).getReg(); } in getSourceReg()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonMCChecker.cpp | 95 for (unsigned i = MCID.getNumDefs(); i < MCID.getNumOperands(); ++i) in init() 131 for (unsigned i = 0; i < MCID.getNumDefs(); ++i) { in init() 188 for (unsigned i = MCID.getNumDefs(); i < MCID.getNumOperands(); ++i) in init() 506 unsigned Defs = HexagonMCInstrInfo::getDesc(MCII, Inst).getNumDefs(); in checkRegistersReadOnly() 523 for (unsigned j = HexagonMCInstrInfo::getDesc(MCII, I).getNumDefs(), in registerUsed() 541 for (unsigned J = 0, N = Desc.getNumDefs(); J < N; ++J) in registerProducer()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExecutionDomainFix.cpp | 239 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 D | BreakFalseDeps.cpp | 193 for (unsigned i = MCID.getNumDefs(), e = MCID.getNumOperands(); i != e; ++i) { in processDefs() 215 e = MI->isVariadic() ? MI->getNumOperands() : MCID.getNumDefs(); in processDefs()
|
| H A D | PeepholeOptimizer.cpp | 890 NumDefs = MI.getDesc().getNumDefs(); in UncoalescableRewriter() 1190 assert(MI.getDesc().getNumDefs() == 1 && in optimizeCoalescableCopy() 1337 if (MCID.getNumDefs() != 1) in isLoadFoldable() 1358 if (MCID.getNumDefs() != 1) in isMoveImmediate() 1531 if (MI.getDesc().getNumDefs() != 1) in findTargetRecurrence() 1771 for (unsigned i = MIDesc.getNumDefs(); i != MI->getNumOperands(); in runOnMachineFunction() 1852 if (Def->getDesc().getNumDefs() != 1) in getNextSourceFromBitcast() 2068 (DefIdx < Def->getDesc().getNumDefs() || in getNextSourceImpl()
|
| H A D | ImplicitNullChecks.cpp | 371 if (MI.getDesc().getNumDefs() > 1) in isSuitableMemoryOp() 715 unsigned NumDefs = MI->getDesc().getNumDefs(); in insertFaultingInstr()
|
| H A D | DetectDeadLanes.cpp | 278 if (MI.getDesc().getNumDefs() != 1) in transferDefinedLanesStep() 426 assert(UseMI.getDesc().getNumDefs() == 1); in determineInitialUsedLanes()
|
| H A D | MachineCSE.cpp | 610 unsigned NumDefs = MI->getNumDefs(); in ProcessBlockCSE() 792 MI->getNumDefs() != 1 || in isPRECandidate()
|
| H A D | TargetInstrInfo.cpp | 171 bool HasDef = MCID.getNumDefs(); in commuteInstructionImpl() 308 unsigned CommutableOpIdx1 = MCID.getNumDefs(); in findCommutedOpIndices() 489 return std::make_pair(MI.getNumDefs(), StatepointOpers(&MI).getVarIdx()); in getPatchpointUnfoldableRange()
|
| H A D | LiveRangeEdit.cpp | 295 MI->getDesc().getNumDefs() == 1) { in eliminateDeadDef()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | FastISel.cpp | 1947 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_r() 1949 if (II.getNumDefs() >= 1) in fastEmitInst_r() 1968 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_rr() 1971 if (II.getNumDefs() >= 1) in fastEmitInst_rr() 1991 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_rrr() 1995 if (II.getNumDefs() >= 1) in fastEmitInst_rrr() 2019 if (II.getNumDefs() >= 1) in fastEmitInst_ri() 2041 if (II.getNumDefs() >= 1) in fastEmitInst_rii() 2064 if (II.getNumDefs() >= 1) in fastEmitInst_f() 2085 if (II.getNumDefs() >= 1) in fastEmitInst_rri() [all …]
|
| H A D | ScheduleDAGSDNodes.cpp | 128 if (ResNo >= II.getNumDefs() && II.hasImplicitDefOfPhysReg(Reg)) in CheckForPhysRegDependency() 471 if (NumUsed > TII->get(N->getMachineOpcode()).getNumDefs()) in AddSchedEdges() 571 unsigned NRegDefs = SchedDAG->TII->get(Node->getMachineOpcode()).getNumDefs(); in InitNodeNumDefs() 658 OpIdx += TII->get(Use->getMachineOpcode()).getNumDefs(); in computeOperandLatency()
|
| H A D | ScheduleDAGRRList.cpp | 1285 NumRes = MCID.getNumDefs(); in getPhysicalRegisterVT() 1418 for (unsigned i = 0; i < MCID.getNumDefs(); ++i) in DelayForLiveRegsBottomUp() 2117 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in MayReduceRegPressure() 2163 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in RegPressureDiff() 2292 unsigned NumDefs = TII->get(PN->getMachineOpcode()).getNumDefs(); in unscheduledNode() 2309 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in unscheduledNode() 2823 unsigned NumRes = MCID.getNumDefs(); in canClobber() 2880 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in canClobberPhysRegDefs() 3068 unsigned NumRes = MCID.getNumDefs(); in AddPseudoTwoAddrDeps()
|
| H A D | InstrEmitter.cpp | 137 if (i+II.getNumDefs() < II.getNumOperands()) { in EmitCopyFromReg() 139 TII->getRegClass(II, i+II.getNumDefs(), TRI, *MF)); in EmitCopyFromReg() 202 unsigned NumVRegs = HasVRegVariadicDefs ? NumResults : II.getNumDefs(); in CreateVirtualRegisters() 943 unsigned NumDefs = II.getNumDefs(); in EmitMachineNode()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/ |
| H A D | WebAssemblyAsmTypeCheck.cpp | 244 for (unsigned I = II.getNumOperands(); I > II.getNumDefs(); I--) { in typeCheck() 253 for (unsigned I = 0; I < II.getNumDefs(); I++) { in typeCheck()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/MCA/ |
| H A D | InstrBuilder.cpp | 265 unsigned NumExplicitDefs = MCDesc.getNumDefs(); in verifyOperands() 340 unsigned NumExplicitDefs = MCDesc.getNumDefs(); in populateWrites() 463 unsigned NumExplicitUses = MCDesc.getNumOperands() - MCDesc.getNumDefs(); in populateReads() 472 for (unsigned I = 0, OpIndex = MCDesc.getNumDefs(); I < NumExplicitUses; in populateReads()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyInstPrinter.cpp | 300 else if (OpNo >= Desc.getNumDefs() && !IsVariadicDef) in printOperand() 307 if (OpNo < MII.get(MI->getOpcode()).getNumDefs() || IsVariadicDef) in printOperand()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64DeadRegisterDefinitionsPass.cpp | 142 for (int I = 0, E = Desc.getNumDefs(); I != E; ++I) { in processMachineBasicBlock()
|
| H A D | AArch64FastISel.cpp | 1309 LHSReg = constrainOperandRegClass(II, LHSReg, II.getNumDefs()); in emitAddSub_rr() 1310 RHSReg = constrainOperandRegClass(II, RHSReg, II.getNumDefs() + 1); in emitAddSub_rr() 1354 LHSReg = constrainOperandRegClass(II, LHSReg, II.getNumDefs()); in emitAddSub_ri() 1395 LHSReg = constrainOperandRegClass(II, LHSReg, II.getNumDefs()); in emitAddSub_rs() 1396 RHSReg = constrainOperandRegClass(II, RHSReg, II.getNumDefs() + 1); in emitAddSub_rs() 1439 LHSReg = constrainOperandRegClass(II, LHSReg, II.getNumDefs()); in emitAddSub_rx() 2118 SrcReg = constrainOperandRegClass(II, SrcReg, II.getNumDefs()); in emitStore() 2353 SrcReg = constrainOperandRegClass(II, SrcReg, II.getNumDefs()); in emitCompareAndBranch() 2484 = constrainOperandRegClass(II, CondReg, II.getNumDefs()); in selectBranch() 2502 AddrReg = constrainOperandRegClass(II, AddrReg, II.getNumDefs()); in selectIndirectBr() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | Localizer.cpp | 89 assert(MI.getDesc().getNumDefs() == 1 && in localizeInterBlock()
|
| H A D | CombinerHelper.cpp | 2025 if (!Unmerge || Unmerge->getNumDefs() != Merge.getNumSources()) in matchCombineMergeUnmerge() 2139 for (unsigned Idx = 1, EndIdx = MI.getNumDefs(); Idx != EndIdx; ++Idx) { in matchCombineUnmergeWithDeadLanesToTrunc() 2148 Register SrcReg = MI.getOperand(MI.getNumDefs()).getReg(); in applyCombineUnmergeWithDeadLanesToTrunc() 2177 Register SrcReg = MI.getOperand(MI.getNumDefs()).getReg(); in matchCombineUnmergeZExtToZExt() 2200 MRI.getVRegDef(MI.getOperand(MI.getNumDefs()).getReg()); in applyCombineUnmergeZExtToZExt() 2219 for (unsigned Idx = 1, EndIdx = MI.getNumDefs(); Idx != EndIdx; ++Idx) { in applyCombineUnmergeZExtToZExt() 2795 assert(MI.getNumDefs() == 1 && "Expected only one def?"); in replaceInstWithFConstant() 2803 assert(MI.getNumDefs() == 1 && "Expected only one def?"); in replaceInstWithConstant() 2811 assert(MI.getNumDefs() == 1 && "Expected only one def?"); in replaceInstWithConstant() 2819 assert(MI.getNumDefs() == 1 && "Expected only one def?"); in replaceInstWithUndef()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCInstrDesc.h | 243 unsigned getNumDefs() const { return NumDefs; } in getNumDefs() function
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | StackMaps.h | 174 NumDefs = MI->getNumDefs(); in StatepointOpers()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZHazardRecognizer.cpp | 126 if (OpIdx >= MID.getNumDefs() && in has4RegOps()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyMCInstLower.cpp | 192 unsigned NumVariadicDefs = MI->getNumExplicitDefs() - Desc.getNumDefs(); in lower()
|