Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp149 unsigned NumDefs = 0; in EmitInlineAsm() local
150 for (; MI->getOperand(NumDefs).isReg() && MI->getOperand(NumDefs).isDef(); in EmitInlineAsm()
151 ++NumDefs) in EmitInlineAsm()
152 assert(NumDefs != NumOperands-2 && "No asm string?"); in EmitInlineAsm()
154 assert(MI->getOperand(NumDefs).isSymbol() && "No asm string?"); in EmitInlineAsm()
157 const char *AsmStr = MI->getOperand(NumDefs).getSymbolName(); in EmitInlineAsm()
/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp269 unsigned NumDefs = MI->getDesc().getNumDefs(); in OptimizeBitcastInstr() local
270 unsigned NumSrcs = MI->getDesc().getNumOperands() - NumDefs; in OptimizeBitcastInstr()
271 if (NumDefs != 1) in OptimizeBitcastInstr()
276 for (unsigned i = 0, e = NumDefs + NumSrcs; i != e; ++i) { in OptimizeBitcastInstr()
300 NumDefs = DefMI->getDesc().getNumDefs(); in OptimizeBitcastInstr()
301 NumSrcs = DefMI->getDesc().getNumOperands() - NumDefs; in OptimizeBitcastInstr()
302 if (NumDefs != 1) in OptimizeBitcastInstr()
304 for (unsigned i = 0, e = NumDefs + NumSrcs; i != e; ++i) { in OptimizeBitcastInstr()
DMachineCSE.cpp424 unsigned NumDefs = MI->getDesc().getNumDefs(); in ProcessBlock() local
425 for (unsigned i = 0, e = MI->getNumOperands(); NumDefs && i != e; ++i) { in ProcessBlock()
441 --NumDefs; in ProcessBlock()
DMachineLICM.cpp826 unsigned NumDefs = MI.getDesc().getNumDefs(); in IsCheapInstruction() local
827 for (unsigned i = 0, e = MI.getNumOperands(); NumDefs && i != e; ++i) { in IsCheapInstruction()
831 --NumDefs; in IsCheapInstruction()
/external/llvm/include/llvm/MC/
DMCInstrDesc.h135 unsigned short NumDefs; // Num of args that are definitions variable
182 return NumDefs; in getNumDefs()
/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.cpp265 << Inst.Operands.NumDefs << ",\t" in emitRecord()
DCodeGenDAGPatterns.cpp1036 unsigned NumDefsToAdd = InstInfo.Operands.NumDefs ? 1 : 0; in GetNumNodeResults()
1531 unsigned NumResultsToAdd = InstInfo.Operands.NumDefs ? 1 : 0; in ApplyTypeConstraints()
2543 if (InstInfo.Operands.NumDefs == 0) { in ParseInstructions()
/external/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp1863 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in MayReduceRegPressure() local
1864 for (unsigned i = 0; i != NumDefs; ++i) { in MayReduceRegPressure()
1910 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in RegPressureDiff() local
1911 for (unsigned i = 0; i != NumDefs; ++i) { in RegPressureDiff()
2040 unsigned NumDefs = TII->get(PN->getMachineOpcode()).getNumDefs(); in UnscheduledNode() local
2041 for (unsigned i = 0; i != NumDefs; ++i) { in UnscheduledNode()
2057 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in UnscheduledNode() local
2058 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in UnscheduledNode()
2630 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in canClobberPhysRegDefs() local
2641 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in canClobberPhysRegDefs()
[all …]
/external/llvm/lib/Target/ARM/Disassembler/
DARMDisassemblerCore.cpp594 unsigned short NumDefs = MCID.getNumDefs(); in DisassembleMulFrm() local
600 assert(NumDefs > 0 && "NumDefs should be greater than 0 for MulFrm"); in DisassembleMulFrm()
612 if (NumDefs == 2) { in DisassembleMulFrm()
982 unsigned short NumDefs = MCID.getNumDefs(); in DisassembleDPFrm() local
990 if (NumDefs && (OpInfo[OpIdx].RegClass == ARM::GPRRegClassID)) { in DisassembleDPFrm()
1095 unsigned short NumDefs = MCID.getNumDefs(); in DisassembleDPSoRegFrm() local
1103 if (NumDefs && (OpInfo[OpIdx].RegClass == ARM::GPRRegClassID)) { in DisassembleDPSoRegFrm()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp2751 unsigned NumDefs = MCID.NumDefs; in unfoldMemoryOperand() local
2759 if (i >= Index-NumDefs && i < Index-NumDefs + X86::AddrNumOperands) in unfoldMemoryOperand()
2761 else if (i < Index-NumDefs) in unfoldMemoryOperand()
2763 else if (i > Index-NumDefs) in unfoldMemoryOperand()
/external/llvm/lib/Target/ARM/
DARMCodeEmitter.cpp1101 unsigned NumDefs = MCID.getNumDefs(); in emitDataProcessingInstruction() local
1103 if (NumDefs) in emitDataProcessingInstruction()