Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp438 unsigned NumDefs = 0; in EmitInlineAsm() local
439 for (; MI->getOperand(NumDefs).isReg() && MI->getOperand(NumDefs).isDef(); in EmitInlineAsm()
440 ++NumDefs) in EmitInlineAsm()
441 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?"); in EmitInlineAsm()
443 assert(MI->getOperand(NumDefs).isSymbol() && "No asm string?"); in EmitInlineAsm()
446 const char *AsmStr = MI->getOperand(NumDefs).getSymbolName(); in EmitInlineAsm()
/external/llvm/include/llvm/MC/
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()
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp749 unsigned NumDefs = II.getNumDefs(); in EmitMachineNode() local
760 NumDefs = NumResults; in EmitMachineNode()
767 countOperands(Node, II.getNumOperands() - NumDefs, NumImpUses); in EmitMachineNode()
768 bool HasPhysRegOuts = NumResults > NumDefs && II.getImplicitDefs()!=nullptr; in EmitMachineNode()
791 bool HasOptPRefs = NumDefs > NumResults; in EmitMachineNode()
794 unsigned NumSkip = HasOptPRefs ? NumDefs - NumResults : 0; in EmitMachineNode()
796 AddOperand(MIB, Node->getOperand(i), i-NumSkip+NumDefs, &II, in EmitMachineNode()
833 for (unsigned i = NumDefs; i < NumResults; ++i) { in EmitMachineNode()
834 unsigned Reg = II.getImplicitDefs()[i - NumDefs]; in EmitMachineNode()
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 …]
DDAGCombiner.cpp6711 unsigned NumDefs = 0; in visitTRUNCATE() local
6718 NumDefs++; in visitTRUNCATE()
6721 if (NumDefs > 1) in visitTRUNCATE()
6728 if (NumDefs == 0) in visitTRUNCATE()
6731 if (NumDefs == 1) { in visitTRUNCATE()
11272 unsigned NumDefs = 0; in reduceBuildVecConvertToConvertBuildVec() local
11298 NumDefs++; in reduceBuildVecConvertToConvertBuildVec()
11303 if (NumDefs < 2) in reduceBuildVecConvertToConvertBuildVec()
/external/llvm/lib/CodeGen/
DMachineCSE.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()
DMachineLICM.cpp1085 unsigned NumDefs = MI.getDesc().getNumDefs(); in IsCheapInstruction() local
1086 for (unsigned i = 0, e = MI.getNumOperands(); NumDefs && i != e; ++i) { in IsCheapInstruction()
1090 --NumDefs; in IsCheapInstruction()
/external/llvm/utils/TableGen/
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()
DCodeGenInstruction.h133 unsigned NumDefs; variable
DInstrInfoEmitter.cpp477 << Inst.Operands.NumDefs << ",\t" in emitRecord()
DCodeGenDAGPatterns.cpp1199 unsigned NumDefsToAdd = InstInfo.Operands.NumDefs; in GetNumNodeResults()
1202 for (unsigned i = 0; i != InstInfo.Operands.NumDefs; ++i) { in GetNumNodeResults()
1785 unsigned NumResultsToAdd = std::min(InstInfo.Operands.NumDefs, in ApplyTypeConstraints()
3088 for (unsigned j = 0, e = InstInfo.Operands.NumDefs; j < e; ++j) in ParseInstructions()
3092 for (unsigned j = InstInfo.Operands.NumDefs, in ParseInstructions()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp4587 unsigned NumDefs = Desc.getNumDefs(); in parseMSInlineAsm() local
4589 if (NumDefs && Operand.getMCOperandNum() < NumDefs) in parseMSInlineAsm()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp5531 unsigned NumDefs = MCID.NumDefs; in unfoldMemoryOperand() local
5539 if (i >= Index-NumDefs && i < Index-NumDefs + X86::AddrNumOperands) in unfoldMemoryOperand()
5541 else if (i < Index-NumDefs) in unfoldMemoryOperand()
5543 else if (i > Index-NumDefs) in unfoldMemoryOperand()