Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinterInlineAsm.cpp434 unsigned NumDefs = 0; in EmitInlineAsm() local
435 for (; MI->getOperand(NumDefs).isReg() && MI->getOperand(NumDefs).isDef(); in EmitInlineAsm()
436 ++NumDefs) in EmitInlineAsm()
437 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?"); in EmitInlineAsm()
439 assert(MI->getOperand(NumDefs).isSymbol() && "No asm string?"); in EmitInlineAsm()
442 const char *AsmStr = MI->getOperand(NumDefs).getSymbolName(); in EmitInlineAsm()
/external/llvm/lib/CodeGen/
DImplicitNullChecks.cpp356 unsigned NumDefs = LoadMI->getDesc().getNumDefs(); in insertFaultingLoad() local
357 assert(NumDefs <= 1 && "other cases unhandled!"); in insertFaultingLoad()
360 if (NumDefs != 0) { in insertFaultingLoad()
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()
DPeepholeOptimizer.cpp887 unsigned NumDefs; member in __anone8ceb28c0211::UncoalescableRewriter
893 NumDefs = MI.getDesc().getNumDefs(); in UncoalescableRewriter()
905 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource()
910 if (CurrentSrcIdx == NumDefs) in getNextRewritableSource()
DMachineLICM.cpp1011 unsigned NumDefs = MI.getDesc().getNumDefs(); in IsCheapInstruction() local
1012 for (unsigned i = 0, e = MI.getNumOperands(); NumDefs && i != e; ++i) { in IsCheapInstruction()
1016 --NumDefs; in IsCheapInstruction()
DMachineVerifier.cpp835 unsigned NumDefs = MCID.getNumDefs(); in visitMachineOperand() local
837 NumDefs = (MONum == 0 && MO->isReg()) ? NumDefs : 0; in visitMachineOperand()
840 if (MONum < NumDefs) { in visitMachineOperand()
/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.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()
DScheduleDAGRRList.cpp1987 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in MayReduceRegPressure() local
1988 for (unsigned i = 0; i != NumDefs; ++i) { in MayReduceRegPressure()
2034 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in RegPressureDiff() local
2035 for (unsigned i = 0; i != NumDefs; ++i) { in RegPressureDiff()
2164 unsigned NumDefs = TII->get(PN->getMachineOpcode()).getNumDefs(); in unscheduledNode() local
2165 for (unsigned i = 0; i != NumDefs; ++i) { in unscheduledNode()
2181 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in unscheduledNode() local
2182 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in unscheduledNode()
2760 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in canClobberPhysRegDefs() local
2772 for (unsigned i = NumDefs, e = N->getNumValues(); i != e; ++i) { in canClobberPhysRegDefs()
[all …]
DDAGCombiner.cpp7164 unsigned NumDefs = 0; in visitTRUNCATE() local
7171 NumDefs++; in visitTRUNCATE()
7174 if (NumDefs > 1) in visitTRUNCATE()
7181 if (NumDefs == 0) in visitTRUNCATE()
7184 if (NumDefs == 1) { in visitTRUNCATE()
12459 unsigned NumDefs = 0; in reduceBuildVecConvertToConvertBuildVec() local
12485 NumDefs++; in reduceBuildVecConvertToConvertBuildVec()
12490 if (NumDefs < 2) in reduceBuildVecConvertToConvertBuildVec()
/external/llvm/include/llvm/MC/
DMCInstrDesc.h142 unsigned char NumDefs; // Num of args that are definitions variable
191 unsigned getNumDefs() const { return NumDefs; } in getNumDefs()
/external/llvm/lib/MC/
DMCInstrDesc.cpp65 for (int i = 0, e = NumDefs; i != e; ++i) in hasDefOfPhysReg()
/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.h134 unsigned NumDefs; variable
DInstrInfoEmitter.cpp475 << Inst.Operands.NumDefs << ",\t" in emitRecord()
DCodeGenDAGPatterns.cpp1245 unsigned NumDefsToAdd = InstInfo.Operands.NumDefs; in GetNumNodeResults()
1248 for (unsigned i = 0; i != InstInfo.Operands.NumDefs; ++i) { in GetNumNodeResults()
1830 unsigned NumResultsToAdd = std::min(InstInfo.Operands.NumDefs, in ApplyTypeConstraints()
3132 for (unsigned j = 0, e = InstInfo.Operands.NumDefs; j < e; ++j) in ParseInstructions()
3136 for (unsigned j = InstInfo.Operands.NumDefs, in ParseInstructions()
/external/llvm/lib/Target/Hexagon/
DHexagonBitTracker.cpp126 unsigned NumDefs = 0; in evaluate() local
133 NumDefs++; in evaluate()
137 if (NumDefs == 0) in evaluate()
DHexagonInstrInfo.cpp3693 unsigned NumDefs = 0; in getSize() local
3694 for (; MI->getOperand(NumDefs).isReg() && MI->getOperand(NumDefs).isDef(); in getSize()
3695 ++NumDefs) in getSize()
3696 assert(NumDefs != MI->getNumOperands()-2 && "No asm string?"); in getSize()
3698 assert(MI->getOperand(NumDefs).isSymbol() && "No asm string?"); in getSize()
3700 const char *AsmStr = MI->getOperand(NumDefs).getSymbolName(); in getSize()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp4725 unsigned NumDefs = Desc.getNumDefs(); in parseMSInlineAsm() local
4727 if (NumDefs && Operand.getMCOperandNum() < NumDefs) in parseMSInlineAsm()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp6298 unsigned NumDefs = MCID.NumDefs; in unfoldMemoryOperand() local
6306 if (i >= Index-NumDefs && i < Index-NumDefs + X86::AddrNumOperands) in unfoldMemoryOperand()
6308 else if (i < Index-NumDefs) in unfoldMemoryOperand()
6310 else if (i > Index-NumDefs) in unfoldMemoryOperand()