Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinterInlineAsm.cpp442 unsigned NumDefs = 0; in EmitInlineAsm() local
443 for (; MI->getOperand(NumDefs).isReg() && MI->getOperand(NumDefs).isDef(); in EmitInlineAsm()
444 ++NumDefs) in EmitInlineAsm()
445 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?"); in EmitInlineAsm()
447 assert(MI->getOperand(NumDefs).isSymbol() && "No asm string?"); in EmitInlineAsm()
450 const char *AsmStr = MI->getOperand(NumDefs).getSymbolName(); in EmitInlineAsm()
/minix3/external/bsd/llvm/dist/llvm/include/llvm/MC/
H A DMCInstrDesc.h145 unsigned short NumDefs; // Num of args that are definitions variable
203 return NumDefs; in getNumDefs()
610 for (int i = 0, e = NumDefs; i != e; ++i) in hasDefOfPhysReg()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DInstrEmitter.cpp747 unsigned NumDefs = II.getNumDefs(); in EmitMachineNode() local
758 NumDefs = NumResults; in EmitMachineNode()
765 countOperands(Node, II.getNumOperands() - NumDefs, NumImpUses); in EmitMachineNode()
766 bool HasPhysRegOuts = NumResults > NumDefs && II.getImplicitDefs()!=nullptr; in EmitMachineNode()
789 bool HasOptPRefs = NumDefs > NumResults; in EmitMachineNode()
792 unsigned NumSkip = HasOptPRefs ? NumDefs - NumResults : 0; in EmitMachineNode()
794 AddOperand(MIB, Node->getOperand(i), i-NumSkip+NumDefs, &II, in EmitMachineNode()
831 for (unsigned i = NumDefs; i < NumResults; ++i) { in EmitMachineNode()
832 unsigned Reg = II.getImplicitDefs()[i - NumDefs]; in EmitMachineNode()
H A DScheduleDAGRRList.cpp1978 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in MayReduceRegPressure() local
1979 for (unsigned i = 0; i != NumDefs; ++i) { in MayReduceRegPressure()
2025 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in RegPressureDiff() local
2026 for (unsigned i = 0; i != NumDefs; ++i) { in RegPressureDiff()
2155 unsigned NumDefs = TII->get(PN->getMachineOpcode()).getNumDefs(); in unscheduledNode() local
2156 for (unsigned i = 0; i != NumDefs; ++i) { in unscheduledNode()
2172 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in unscheduledNode() local
2173 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in unscheduledNode()
2751 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in canClobberPhysRegDefs() local
2763 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in canClobberPhysRegDefs()
[all …]
H A DDAGCombiner.cpp6442 unsigned NumDefs = 0; in visitTRUNCATE() local
6449 NumDefs++; in visitTRUNCATE()
6452 if (NumDefs > 1) in visitTRUNCATE()
6459 if (NumDefs == 0) in visitTRUNCATE()
6462 if (NumDefs == 1) { in visitTRUNCATE()
10850 unsigned NumDefs = 0; in reduceBuildVecConvertToConvertBuildVec() local
10876 NumDefs++; in reduceBuildVecConvertToConvertBuildVec()
10881 if (NumDefs < 2) in reduceBuildVecConvertToConvertBuildVec()
/minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DMachineCSE.cpp532 unsigned NumDefs = MI->getDesc().getNumDefs() + in ProcessBlock() local
535 for (unsigned i = 0, e = MI->getNumOperands(); NumDefs && i != e; ++i) { in ProcessBlock()
553 --NumDefs; in ProcessBlock()
577 --NumDefs; in ProcessBlock()
H A DMachineLICM.cpp1049 unsigned NumDefs = MI.getDesc().getNumDefs(); in IsCheapInstruction() local
1050 for (unsigned i = 0, e = MI.getNumOperands(); NumDefs && i != e; ++i) { in IsCheapInstruction()
1054 --NumDefs; in IsCheapInstruction()
/minix3/external/bsd/llvm/dist/llvm/utils/TableGen/
H A DCodeGenInstruction.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()
H A DCodeGenInstruction.h133 unsigned NumDefs; variable
H A DInstrInfoEmitter.cpp475 << Inst.Operands.NumDefs << ",\t" in emitRecord()
H A DCodeGenDAGPatterns.cpp1115 unsigned NumDefsToAdd = InstInfo.Operands.NumDefs ? 1 : 0; in GetNumNodeResults()
1693 unsigned NumResultsToAdd = InstInfo.Operands.NumDefs ? 1 : 0; in ApplyTypeConstraints()
2993 if (InstInfo.Operands.NumDefs == 0) { in ParseInstructions()
/minix3/external/bsd/llvm/dist/llvm/lib/MC/MCParser/
H A DAsmParser.cpp4575 unsigned NumDefs = Desc.getNumDefs(); in parseMSInlineAsm() local
4577 if (NumDefs && Operand.getMCOperandNum() < NumDefs) in parseMSInlineAsm()
/minix3/external/bsd/llvm/dist/llvm/lib/Target/X86/
H A DX86InstrInfo.cpp5052 unsigned NumDefs = MCID.NumDefs; in unfoldMemoryOperand() local
5060 if (i >= Index-NumDefs && i < Index-NumDefs + X86::AddrNumOperands) in unfoldMemoryOperand()
5062 else if (i < Index-NumDefs) in unfoldMemoryOperand()
5064 else if (i > Index-NumDefs) in unfoldMemoryOperand()