/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | StackMaps.h | 174 NumDefs = MI->getNumDefs(); in StatepointOpers() 178 unsigned getIDPos() const { return NumDefs + IDPos; } in getIDPos() 181 unsigned getNBytesPos() const { return NumDefs + NBytesPos; } in getNBytesPos() 184 unsigned getNCallArgsPos() const { return NumDefs + NCallArgsPos; } in getNCallArgsPos() 189 return MI->getOperand(NumDefs + NCallArgsPos).getImm() + MetaEnd + NumDefs; in getVarIdx() 204 uint64_t getID() const { return MI->getOperand(NumDefs + IDPos).getImm(); } in getID() 208 return MI->getOperand(NumDefs + NBytesPos).getImm(); in getNumPatchBytes() 213 return MI->getOperand(NumDefs + CallTargetPos); in getCallTarget() 256 unsigned NumDefs; variable [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | LegalizationArtifactCombiner.h | 424 const unsigned NumDefs = MI.getNumOperands() - 1; in tryFoldUnmergeCast() local 429 const LLT SrcTy = MRI.getType(MI.getOperand(NumDefs).getReg()); in tryFoldUnmergeCast() 446 DestTy.isVector() ? CastSrcTy.getNumElements() / NumDefs : 1; in tryFoldUnmergeCast() 461 for (unsigned I = 0; I != NumDefs; ++I) { in tryFoldUnmergeCast() 492 if (Idx < NumDefs) in tryFoldUnmergeCast() 892 unsigned NumDefs = MI.getNumDefs(); in tryCombineUnmergeDefs() local 895 SmallBitVector DeadDefs(NumDefs); in tryCombineUnmergeDefs() 896 for (unsigned DefIdx = 0; DefIdx < NumDefs; ++DefIdx) { in tryCombineUnmergeDefs() 1060 unsigned NumDefs = MI.getNumDefs(); in tryCombineUnmergeValues() local 1110 for (unsigned I = 0; I != NumDefs; ++I) { in tryCombineUnmergeValues() [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/ |
H A D | CodeGenInstruction.cpp | 41 NumDefs = OutDI->getNumArgs(); in CGIOperandList() 61 if (i < NumDefs) { in CGIOperandList() 65 ArgInit = InDI->getArg(i - NumDefs); in CGIOperandList() 66 ArgName = InDI->getArgNameStr(i - NumDefs); in CGIOperandList() 115 if (i < NumDefs) in CGIOperandList() 192 --NumDefs; in CGIOperandList() 361 if (DestOp.first >= Ops.NumDefs) in ParseConstraint() 365 if (SrcOp.first < Ops.NumDefs) in ParseConstraint()
|
H A D | CodeGenInstruction.h | 146 unsigned NumDefs; variable
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | InstrEmitter.cpp | 1028 unsigned NumDefs = II.getNumDefs(); in EmitMachineNode() local 1039 NumDefs = NumResults; in EmitMachineNode() 1043 NumDefs = NumResults; in EmitMachineNode() 1048 countOperands(Node, II.getNumOperands() - NumDefs, NumImpUses); in EmitMachineNode() 1051 bool HasPhysRegOuts = NumResults > NumDefs && !II.implicit_defs().empty() && in EmitMachineNode() 1115 bool HasOptPRefs = NumDefs > NumResults; in EmitMachineNode() 1118 unsigned NumSkip = HasOptPRefs ? NumDefs - NumResults : 0; in EmitMachineNode() 1120 AddOperand(MIB, Node->getOperand(i), i-NumSkip+NumDefs, &II, in EmitMachineNode() 1160 for (unsigned i = NumDefs; i < NumResults; ++i) { in EmitMachineNode() 1161 Register Reg = II.implicit_defs()[i - NumDefs]; in EmitMachineNode() [all …]
|
H A D | ScheduleDAGRRList.cpp | 2124 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in MayReduceRegPressure() local 2125 for (unsigned i = 0; i != NumDefs; ++i) { in MayReduceRegPressure() 2170 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in RegPressureDiff() local 2171 for (unsigned i = 0; i != NumDefs; ++i) { in RegPressureDiff() 2308 unsigned NumDefs = TII->get(PN->getMachineOpcode()).getNumDefs(); in unscheduledNode() local 2309 for (unsigned i = 0; i != NumDefs; ++i) { in unscheduledNode() 2325 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in unscheduledNode() local 2326 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in unscheduledNode() 2896 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in canClobberPhysRegDefs() local 2908 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in canClobberPhysRegDefs() [all …]
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/ |
H A D | Patterns.cpp | 240 unsigned NumDefs = getNumInstDefs(); in checkSemantics() local 242 Op.setIsDef(OpIdx++ < NumDefs); in checkSemantics() 360 return I.Operands.NumDefs; in getNumInstDefs() 361 unsigned NumOuts = I.Operands.size() - I.Operands.NumDefs; in getNumInstDefs() 363 return std::max<unsigned>(I.Operands.NumDefs, Operands.size() - NumOuts); in getNumInstDefs()
|
H A D | Patterns.h | 678 unsigned NumDefs; member 695 unsigned getNumInstDefs() const override { return I.NumDefs; } in getNumInstDefs()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
H A D | GIMatchDagOperands.cpp |
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ImplicitNullChecks.cpp | 713 unsigned NumDefs = MI->getDesc().getNumDefs(); in insertFaultingInstr() local 714 assert(NumDefs <= 1 && "other cases unhandled!"); in insertFaultingInstr() 717 if (NumDefs != 0) { in insertFaultingInstr() 719 assert(NumDefs == 1 && "expected exactly one def!"); in insertFaultingInstr()
|
H A D | FixupStatepointCallerSaved.cpp | 484 unsigned NumDefs = MI.getNumDefs(); in rewriteStatepoint() local 485 for (unsigned I = 0; I < NumDefs; ++I) { in rewriteStatepoint() 517 for (unsigned I = NumDefs; I < MI.getNumOperands(); ++I) { in rewriteStatepoint() 532 assert(OldDef < NumDefs); in rewriteStatepoint()
|
H A D | MachineCSE.cpp | 629 unsigned NumDefs = MI.getNumDefs(); in ProcessBlockCSE() local 631 for (unsigned i = 0, e = MI.getNumOperands(); NumDefs && i != e; ++i) { in ProcessBlockCSE() 649 --NumDefs; in ProcessBlockCSE() 673 --NumDefs; in ProcessBlockCSE()
|
H A D | MachineInstr.cpp | 810 unsigned NumDefs = MCID->getNumDefs(); in getNumExplicitDefs() local 812 return NumDefs; in getNumExplicitDefs() 814 for (unsigned I = NumDefs, E = getNumOperands(); I != E; ++I) { in getNumExplicitDefs() 818 ++NumDefs; in getNumExplicitDefs() 820 return NumDefs; in getNumExplicitDefs() 1217 unsigned NumDefs = getNumDefs(); in findTiedOperandIdx() local 1218 for (unsigned CurDefIdx = 0; CurDefIdx < NumDefs; ++CurDefIdx) { in findTiedOperandIdx()
|
H A D | PeepholeOptimizer.cpp | 928 unsigned NumDefs; ///< Number of defs in the bitcast. member in __anon776574090211::UncoalescableRewriter 932 NumDefs = MI.getDesc().getNumDefs(); in UncoalescableRewriter() 942 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource() 947 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource()
|
H A D | MachineLICM.cpp | 1192 unsigned NumDefs = MI.getDesc().getNumDefs(); in IsCheapInstruction() local 1193 for (unsigned i = 0, e = MI.getNumOperands(); NumDefs && i != e; ++i) { in IsCheapInstruction() 1197 --NumDefs; in IsCheapInstruction()
|
H A D | TargetInstrInfo.cpp | 507 unsigned NumDefs = 0; in foldPatchpoint() local 509 std::tie(NumDefs, StartIdx) = TII.getPatchpointUnfoldableRange(MI); in foldPatchpoint() 516 if (Op < NumDefs) { in foldPatchpoint() 558 assert(TiedTo < NumDefs && "Bad tied operand"); in foldPatchpoint()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCInstrDesc.h | 207 unsigned char NumDefs; // Num of args that are definitions variable 248 unsigned getNumDefs() const { return NumDefs; } in getNumDefs()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCInstrDesc.cpp | 42 for (int i = 0, e = NumDefs; i != e; ++i) in hasDefOfPhysReg()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMCTargetDesc.cpp | 184 auto NumDefs = Info->get(Inst.getOpcode()).getNumDefs(); in updateState() local 185 for (unsigned I = 0; I < NumDefs; ++I) { in updateState()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MCTargetDesc.cpp | 436 unsigned NumDefs = Desc.getNumDefs(); in clearsSuperRegisters() local 438 assert(Mask.getBitWidth() == NumDefs + NumImplicitDefs && in clearsSuperRegisters() 467 for (unsigned I = 0, E = NumDefs; I < E; ++I) { in clearsSuperRegisters() 476 Mask.setBit(NumDefs + I); in clearsSuperRegisters()
|
/freebsd/contrib/llvm-project/llvm/utils/TableGen/ |
H A D | InstrDocsEmitter.cpp | 161 bool IsDef = i < II->Operands.NumDefs; in EmitInstrDocs()
|
H A D | GlobalISelEmitter.cpp | 296 if (!InstInfo.Operands.NumDefs) in getInstResultType() 1397 if (DstMIBuilder.getCGI()->Operands.NumDefs > 1) { in createAndImportSubInstructionRenderer() 1535 const unsigned DstNumDefs = DstI->Operands.NumDefs; in importExplicitDefRenderers() 1669 unsigned DstINumUses = OrigDstI->Operands.size() - OrigDstI->Operands.NumDefs; in importExplicitUseRenderers() 1677 unsigned NumResults = OrigDstI->Operands.NumDefs; in importExplicitUseRenderers() 1704 unsigned InstOpNo = DstI->Operands.NumDefs + I; in importExplicitUseRenderers() 2021 unsigned DstNumDefs = DstI.Operands.NumDefs, in runOnPattern()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86MCTargetDesc.cpp | 537 unsigned NumDefs = Desc.getNumDefs(); in clearsSuperRegisters() local 539 assert(Mask.getBitWidth() == NumDefs + NumImplicitDefs && in clearsSuperRegisters() 570 for (unsigned I = 0, E = NumDefs; I < E; ++I) { in clearsSuperRegisters() 579 Mask.setBit(NumDefs + I); in clearsSuperRegisters()
|
H A D | X86BaseInfo.h | 966 unsigned NumDefs = Desc.getNumDefs(); in getOperandBias() local 968 switch (NumDefs) { in getOperandBias()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonBitTracker.cpp | 190 unsigned NumDefs = 0; in evaluate() local 196 NumDefs++; in evaluate() 200 if (NumDefs == 0) in evaluate()
|