Home
last modified time | relevance | path

Searched refs:NumDefs (Results 1 – 16 of 16) sorted by relevance

/NextBSD/contrib/llvm/lib/CodeGen/AsmPrinter/
HDAsmPrinterInlineAsm.cpp440 unsigned NumDefs = 0; in EmitInlineAsm() local
441 for (; MI->getOperand(NumDefs).isReg() && MI->getOperand(NumDefs).isDef(); in EmitInlineAsm()
442 ++NumDefs) in EmitInlineAsm()
443 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?"); in EmitInlineAsm()
445 assert(MI->getOperand(NumDefs).isSymbol() && "No asm string?"); in EmitInlineAsm()
448 const char *AsmStr = MI->getOperand(NumDefs).getSymbolName(); in EmitInlineAsm()
/NextBSD/contrib/llvm/lib/CodeGen/
HDImplicitNullChecks.cpp285 unsigned NumDefs = LoadMI->getDesc().getNumDefs(); in insertFaultingLoad() local
286 assert(NumDefs == 1 && "other cases unhandled!"); in insertFaultingLoad()
287 (void)NumDefs; in insertFaultingLoad()
HDMachineCSE.cpp533 unsigned NumDefs = MI->getDesc().getNumDefs() + in ProcessBlock() local
536 for (unsigned i = 0, e = MI->getNumOperands(); NumDefs && i != e; ++i) { in ProcessBlock()
554 --NumDefs; in ProcessBlock()
578 --NumDefs; in ProcessBlock()
HDMachineLICM.cpp1084 unsigned NumDefs = MI.getDesc().getNumDefs(); in IsCheapInstruction() local
1085 for (unsigned i = 0, e = MI.getNumOperands(); NumDefs && i != e; ++i) { in IsCheapInstruction()
1089 --NumDefs; in IsCheapInstruction()
/NextBSD/contrib/llvm/lib/CodeGen/SelectionDAG/
HDInstrEmitter.cpp751 unsigned NumDefs = II.getNumDefs(); in EmitMachineNode() local
762 NumDefs = NumResults; in EmitMachineNode()
769 countOperands(Node, II.getNumOperands() - NumDefs, NumImpUses); in EmitMachineNode()
770 bool HasPhysRegOuts = NumResults > NumDefs && II.getImplicitDefs()!=nullptr; in EmitMachineNode()
793 bool HasOptPRefs = NumDefs > NumResults; in EmitMachineNode()
796 unsigned NumSkip = HasOptPRefs ? NumDefs - NumResults : 0; in EmitMachineNode()
798 AddOperand(MIB, Node->getOperand(i), i-NumSkip+NumDefs, &II, in EmitMachineNode()
835 for (unsigned i = NumDefs; i < NumResults; ++i) { in EmitMachineNode()
836 unsigned Reg = II.getImplicitDefs()[i - NumDefs]; in EmitMachineNode()
HDScheduleDAGRRList.cpp1985 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in MayReduceRegPressure() local
1986 for (unsigned i = 0; i != NumDefs; ++i) { in MayReduceRegPressure()
2032 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in RegPressureDiff() local
2033 for (unsigned i = 0; i != NumDefs; ++i) { in RegPressureDiff()
2162 unsigned NumDefs = TII->get(PN->getMachineOpcode()).getNumDefs(); in unscheduledNode() local
2163 for (unsigned i = 0; i != NumDefs; ++i) { in unscheduledNode()
2179 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in unscheduledNode() local
2180 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in unscheduledNode()
2758 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in canClobberPhysRegDefs() local
2770 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in canClobberPhysRegDefs()
[all …]
HDDAGCombiner.cpp7026 unsigned NumDefs = 0; in visitTRUNCATE() local
7033 NumDefs++; in visitTRUNCATE()
7036 if (NumDefs > 1) in visitTRUNCATE()
7043 if (NumDefs == 0) in visitTRUNCATE()
7046 if (NumDefs == 1) { in visitTRUNCATE()
11887 unsigned NumDefs = 0; in reduceBuildVecConvertToConvertBuildVec() local
11913 NumDefs++; in reduceBuildVecConvertToConvertBuildVec()
11918 if (NumDefs < 2) in reduceBuildVecConvertToConvertBuildVec()
/NextBSD/contrib/llvm/include/llvm/MC/
HDMCInstrDesc.h142 unsigned char NumDefs; // Num of args that are definitions variable
191 unsigned getNumDefs() const { return NumDefs; } in getNumDefs()
/NextBSD/contrib/llvm/lib/MC/
HDMCInstrDesc.cpp65 for (int i = 0, e = NumDefs; i != e; ++i) in hasDefOfPhysReg()
/NextBSD/contrib/llvm/utils/TableGen/
HDCodeGenInstruction.cpp41 NumDefs = OutDI->getNumArgs(); in CGIOperandList()
55 if (i < NumDefs) { in CGIOperandList()
59 ArgInit = InDI->getArg(i-NumDefs); in CGIOperandList()
60 ArgName = InDI->getArgName(i-NumDefs); in CGIOperandList()
HDCodeGenInstruction.h134 unsigned NumDefs; variable
HDInstrInfoEmitter.cpp477 << Inst.Operands.NumDefs << ",\t" in emitRecord()
HDCodeGenDAGPatterns.cpp1199 unsigned NumDefsToAdd = InstInfo.Operands.NumDefs; in GetNumNodeResults()
1202 for (unsigned i = 0; i != InstInfo.Operands.NumDefs; ++i) { in GetNumNodeResults()
1784 unsigned NumResultsToAdd = std::min(InstInfo.Operands.NumDefs, in ApplyTypeConstraints()
3087 for (unsigned j = 0, e = InstInfo.Operands.NumDefs; j < e; ++j) in ParseInstructions()
3091 for (unsigned j = InstInfo.Operands.NumDefs, in ParseInstructions()
/NextBSD/contrib/llvm/lib/Target/Hexagon/
HDHexagonBitTracker.cpp125 unsigned NumDefs = 0; in evaluate() local
132 NumDefs++; in evaluate()
136 if (NumDefs == 0) in evaluate()
/NextBSD/contrib/llvm/lib/MC/MCParser/
HDAsmParser.cpp4584 unsigned NumDefs = Desc.getNumDefs(); in parseMSInlineAsm() local
4586 if (NumDefs && Operand.getMCOperandNum() < NumDefs) in parseMSInlineAsm()
/NextBSD/contrib/llvm/lib/Target/X86/
HDX86InstrInfo.cpp5661 unsigned NumDefs = MCID.NumDefs; in unfoldMemoryOperand() local
5669 if (i >= Index-NumDefs && i < Index-NumDefs + X86::AddrNumOperands) in unfoldMemoryOperand()
5671 else if (i < Index-NumDefs) in unfoldMemoryOperand()
5673 else if (i > Index-NumDefs) in unfoldMemoryOperand()