| /freebsd-14.2/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
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
| H A D | LegalizationArtifactCombiner.h | 410 const unsigned NumDefs = MI.getNumOperands() - 1; in tryFoldUnmergeCast() local 443 for (unsigned I = 0; I != NumDefs; ++I) { in tryFoldUnmergeCast() 474 if (Idx < NumDefs) in tryFoldUnmergeCast() 874 unsigned NumDefs = MI.getNumDefs(); in tryCombineUnmergeDefs() local 877 SmallBitVector DeadDefs(NumDefs); in tryCombineUnmergeDefs() 1041 unsigned NumDefs = MI.getNumDefs(); in tryCombineUnmergeValues() local 1091 for (unsigned I = 0; I != NumDefs; ++I) { in tryCombineUnmergeValues() 1120 if (NumMergeRegs < NumDefs) { in tryCombineUnmergeValues() 1121 if (NumDefs % NumMergeRegs != 0) in tryCombineUnmergeValues() 1170 } else if (NumMergeRegs > NumDefs) { in tryCombineUnmergeValues() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/utils/TableGen/ |
| 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() 362 if (DestOp.first >= Ops.NumDefs) in ParseConstraint() 366 if (SrcOp.first < Ops.NumDefs) in ParseConstraint()
|
| H A D | InstrDocsEmitter.cpp | 151 bool IsDef = i < II->Operands.NumDefs; in EmitInstrDocs()
|
| H A D | CodeGenInstruction.h | 148 unsigned NumDefs; variable
|
| H A D | GlobalISelEmitter.cpp | 1502 const unsigned DstNumDefs = DstI->Operands.NumDefs; in importExplicitDefRenderers() 1637 unsigned DstINumUses = OrigDstI->Operands.size() - OrigDstI->Operands.NumDefs; in importExplicitUseRenderers() 1645 unsigned NumResults = OrigDstI->Operands.NumDefs; in importExplicitUseRenderers() 1672 unsigned InstOpNo = DstI->Operands.NumDefs + I; in importExplicitUseRenderers() 1796 if (Inst.Operands.NumDefs > 1) in inferRegClassFromPattern() 1996 unsigned DstNumDefs = DstI.Operands.NumDefs, in runOnPattern()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | InstrEmitter.cpp | 1001 unsigned NumDefs = II.getNumDefs(); in EmitMachineNode() local 1012 NumDefs = NumResults; in EmitMachineNode() 1016 NumDefs = NumResults; in EmitMachineNode() 1021 countOperands(Node, II.getNumOperands() - NumDefs, NumImpUses); in EmitMachineNode() 1088 bool HasOptPRefs = NumDefs > NumResults; in EmitMachineNode() 1091 unsigned NumSkip = HasOptPRefs ? NumDefs - NumResults : 0; in EmitMachineNode() 1093 AddOperand(MIB, Node->getOperand(i), i-NumSkip+NumDefs, &II, in EmitMachineNode() 1133 for (unsigned i = NumDefs; i < NumResults; ++i) { in EmitMachineNode() 1134 Register Reg = II.implicit_defs()[i - NumDefs]; in EmitMachineNode() 1180 if (Opc == TargetOpcode::STATEPOINT && NumDefs > 0) { 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-14.2/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/ |
| H A D | Patterns.cpp | 239 unsigned NumDefs = getNumInstDefs(); in checkSemantics() local 241 Op.setIsDef(OpIdx++ < NumDefs); in checkSemantics() 356 return I.Operands.NumDefs; in getNumInstDefs() 357 unsigned NumOuts = I.Operands.size() - I.Operands.NumDefs; in getNumInstDefs() 359 return std::max<unsigned>(I.Operands.NumDefs, Operands.size() - NumOuts); in getNumInstDefs()
|
| H A D | Patterns.h | 658 unsigned NumDefs; member 675 unsigned getNumInstDefs() const override { return I.NumDefs; } in getNumInstDefs()
|
| /freebsd-14.2/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 | 769 unsigned NumDefs = MCID->getNumDefs(); in getNumExplicitDefs() local 771 return NumDefs; in getNumExplicitDefs() 773 for (unsigned I = NumDefs, E = getNumOperands(); I != E; ++I) { in getNumExplicitDefs() 777 ++NumDefs; in getNumExplicitDefs() 779 return NumDefs; in getNumExplicitDefs() 1176 unsigned NumDefs = getNumDefs(); in findTiedOperandIdx() local 1177 for (unsigned CurDefIdx = 0; CurDefIdx < NumDefs; ++CurDefIdx) { in findTiedOperandIdx()
|
| H A D | PeepholeOptimizer.cpp | 929 unsigned NumDefs; ///< Number of defs in the bitcast. member in __anon139b6b7f0211::UncoalescableRewriter 933 NumDefs = MI.getDesc().getNumDefs(); in UncoalescableRewriter() 943 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource() 948 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource()
|
| 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()
|
| H A D | MachineLICM.cpp | 1123 unsigned NumDefs = MI.getDesc().getNumDefs(); in IsCheapInstruction() local 1124 for (unsigned i = 0, e = MI.getNumOperands(); NumDefs && i != e; ++i) { in IsCheapInstruction() 1128 --NumDefs; in IsCheapInstruction()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/MC/ |
| H A D | MCInstrDesc.cpp | 42 for (int i = 0, e = NumDefs; i != e; ++i) in hasDefOfPhysReg()
|
| /freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVMCTargetDesc.cpp | 176 auto NumDefs = Info->get(Inst.getOpcode()).getNumDefs(); in updateState() local 177 for (unsigned I = 0; I < NumDefs; ++I) { in updateState()
|
| /freebsd-14.2/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 | 969 unsigned NumDefs = Desc.getNumDefs(); in getOperandBias() local 971 switch (NumDefs) { in getOperandBias()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | LegalizerHelper.cpp | 368 SmallVector<Register, 8> UnmergeDefs(NumDefs); in buildWidenedRemergeToDst() 370 for (unsigned I = 1; I != NumDefs; ++I) in buildWidenedRemergeToDst() 4083 unsigned NumDefs = MI.getNumDefs(); in fewerElementsVectorMultiEltType() local 4091 for (unsigned i = 0; i < NumDefs; ++i) { in fewerElementsVectorMultiEltType() 4134 for (unsigned i = 0; i < NumDefs; ++i) in fewerElementsVectorMultiEltType() 4137 for (unsigned i = 0; i < NumDefs; ++i) in fewerElementsVectorMultiEltType() 4151 unsigned NumDefs = MI.getNumDefs(); in fewerElementsVectorPhi() local 5562 unsigned NumDefs = MI.getNumExplicitDefs(); in narrowScalarAddSub() local 5563 Register Src1 = MI.getOperand(NumDefs).getReg(); in narrowScalarAddSub() 5566 if (NumDefs == 2) in narrowScalarAddSub() [all …]
|
| /freebsd-14.2/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()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.cpp | 1321 unsigned NumDefs = 0; in beginInstruction() local 1323 const MachineOperand &MO = MI->getOperand(NumDefs); in beginInstruction() 1325 ++NumDefs; in beginInstruction()
|