Home
last modified time | relevance | path

Searched refs:getNumDefs (Results 1 – 25 of 110) sorted by relevance

12345

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyCallIndirectFixup.cpp114 MI.getDesc().getNumDefs() + 1, in runOnMachineFunction()
118 Ops.push_back(MI.getOperand(MI.getDesc().getNumDefs())); in runOnMachineFunction()
121 while (MI.getNumOperands() > MI.getDesc().getNumDefs()) in runOnMachineFunction()
DWebAssemblyExplicitLocals.cpp268 assert(MI.getDesc().getNumDefs() <= 1); in runOnMachineFunction()
269 if (MI.getDesc().getNumDefs() == 1) { in runOnMachineFunction()
/external/swiftshader/third_party/LLVM/lib/Target/Blackfin/
DBlackfinISelDAGToDAG.cpp154 if (UI.getUse().getResNo() >= DefMCID.getNumDefs()) in FixRegisterClasses()
160 if (UseMCID.getNumDefs()+UI.getOperandNo() >= UseMCID.getNumOperands()) in FixRegisterClasses()
163 TII.getRegClass(UseMCID, UseMCID.getNumDefs()+UI.getOperandNo(), TRI); in FixRegisterClasses()
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp117 if (i+II.getNumDefs() < II.getNumOperands()) in EmitCopyFromReg()
118 RC = TII->getRegClass(II, i+II.getNumDefs(), TRI); in EmitCopyFromReg()
194 for (unsigned i = 0; i < II.getNumDefs(); ++i) { in CreateVirtualRegisters()
688 bool HasPhysRegOuts = NumResults > II.getNumDefs() && II.getImplicitDefs()!=0; in EmitMachineNode()
737 bool HasOptPRefs = II.getNumDefs() > NumResults; in EmitMachineNode()
740 unsigned NumSkip = HasOptPRefs ? II.getNumDefs() - NumResults : 0; in EmitMachineNode()
742 AddOperand(MI, Node->getOperand(i), i-NumSkip+II.getNumDefs(), &II, in EmitMachineNode()
756 for (unsigned i = II.getNumDefs(); i < NumResults; ++i) { in EmitMachineNode()
757 unsigned Reg = II.getImplicitDefs()[i - II.getNumDefs()]; in EmitMachineNode()
774 for (unsigned i = NumResults, e = II.getNumDefs()+II.getNumImplicitDefs(); in EmitMachineNode()
[all …]
DFastISel.cpp1117 if (II.getNumDefs() >= 1) in FastEmitInst_r()
1137 if (II.getNumDefs() >= 1) in FastEmitInst_rr()
1159 if (II.getNumDefs() >= 1) in FastEmitInst_rrr()
1182 if (II.getNumDefs() >= 1) in FastEmitInst_ri()
1203 if (II.getNumDefs() >= 1) in FastEmitInst_rii()
1226 if (II.getNumDefs() >= 1) in FastEmitInst_rf()
1248 if (II.getNumDefs() >= 1) in FastEmitInst_rri()
1270 if (II.getNumDefs() >= 1) in FastEmitInst_i()
1286 if (II.getNumDefs() >= 1) in FastEmitInst_ii()
DScheduleDAGSDNodes.cpp116 if (ResNo >= II.getNumDefs() && in CheckForPhysRegDependency()
117 II.ImplicitDefs[ResNo - II.getNumDefs()] == Reg) { in CheckForPhysRegDependency()
413 if (NumUsed > TII->get(N->getMachineOpcode()).getNumDefs()) in AddSchedEdges()
503 unsigned NRegDefs = SchedDAG->TII->get(Node->getMachineOpcode()).getNumDefs(); in InitNodeNumDefs()
590 OpIdx += TII->get(Use->getMachineOpcode()).getNumDefs(); in ComputeOperandLatency()
/external/llvm/include/llvm/CodeGen/
DMachineInstr.h338 operands_begin() + getDesc().getNumDefs());
343 operands_begin() + getDesc().getNumDefs());
348 return make_range(operands_begin() + getDesc().getNumDefs(),
353 return make_range(operands_begin() + getDesc().getNumDefs(),
357 return make_range(operands_begin() + getDesc().getNumDefs(),
361 return make_range(operands_begin() + getDesc().getNumDefs(),
/external/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp1821 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_r()
1823 if (II.getNumDefs() >= 1) in fastEmitInst_r()
1843 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_rr()
1844 Op1 = constrainOperandRegClass(II, Op1, II.getNumDefs() + 1); in fastEmitInst_rr()
1846 if (II.getNumDefs() >= 1) in fastEmitInst_rr()
1868 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_rrr()
1869 Op1 = constrainOperandRegClass(II, Op1, II.getNumDefs() + 1); in fastEmitInst_rrr()
1870 Op2 = constrainOperandRegClass(II, Op2, II.getNumDefs() + 2); in fastEmitInst_rrr()
1872 if (II.getNumDefs() >= 1) in fastEmitInst_rrr()
1894 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_ri()
[all …]
DScheduleDAGSDNodes.cpp127 if (ResNo >= II.getNumDefs() && in CheckForPhysRegDependency()
128 II.ImplicitDefs[ResNo - II.getNumDefs()] == Reg) in CheckForPhysRegDependency()
451 if (NumUsed > TII->get(N->getMachineOpcode()).getNumDefs()) in AddSchedEdges()
550 unsigned NRegDefs = SchedDAG->TII->get(Node->getMachineOpcode()).getNumDefs(); in InitNodeNumDefs()
637 OpIdx += TII->get(Use->getMachineOpcode()).getNumDefs(); in computeOperandLatency()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCChecker.cpp94 for (unsigned i = MCID.getNumDefs(); i < MCID.getNumOperands(); ++i) in init()
130 for (unsigned i = 0; i < MCID.getNumDefs(); ++i) { in init()
184 for (unsigned i = MCID.getNumDefs(); i < MCID.getNumOperands(); ++i) in init()
498 unsigned Defs = HexagonMCInstrInfo::getDesc(MCII, Inst).getNumDefs(); in checkRegistersReadOnly()
515 for (unsigned j = HexagonMCInstrInfo::getDesc(MCII, I).getNumDefs(), in registerUsed()
533 for (unsigned J = 0, N = Desc.getNumDefs(); J < N; ++J) in registerProducer()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DExecutionDomainFix.cpp239 e = MI->isVariadic() ? MI->getNumOperands() : MCID.getNumDefs(); in processDefs()
259 for (unsigned i = mi->getDesc().getNumDefs(), in visitHardInstr()
271 for (unsigned i = 0, e = mi->getDesc().getNumDefs(); i != e; ++i) { in visitHardInstr()
290 for (unsigned i = mi->getDesc().getNumDefs(), in visitSoftInstr()
DPeepholeOptimizer.cpp870 NumDefs = MI.getDesc().getNumDefs(); in UncoalescableRewriter()
1170 assert(MI.getDesc().getNumDefs() == 1 && in optimizeCoalescableCopy()
1316 if (MCID.getNumDefs() != 1) in isLoadFoldable()
1338 if (MCID.getNumDefs() != 1) in isMoveImmediate()
1520 if (MI.getDesc().getNumDefs() != 1) in findTargetRecurrence()
1759 for (unsigned i = MIDesc.getNumDefs(); i != MI->getNumOperands(); in runOnMachineFunction()
1833 if (Def->getDesc().getNumDefs() != 1) in getNextSourceFromBitcast()
2049 (DefIdx < Def->getDesc().getNumDefs() || in getNextSourceImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DFastISel.cpp2014 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_r()
2016 if (II.getNumDefs() >= 1) in fastEmitInst_r()
2036 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_rr()
2037 Op1 = constrainOperandRegClass(II, Op1, II.getNumDefs() + 1); in fastEmitInst_rr()
2039 if (II.getNumDefs() >= 1) in fastEmitInst_rr()
2061 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_rrr()
2062 Op1 = constrainOperandRegClass(II, Op1, II.getNumDefs() + 1); in fastEmitInst_rrr()
2063 Op2 = constrainOperandRegClass(II, Op2, II.getNumDefs() + 2); in fastEmitInst_rrr()
2065 if (II.getNumDefs() >= 1) in fastEmitInst_rrr()
2087 Op0 = constrainOperandRegClass(II, Op0, II.getNumDefs()); in fastEmitInst_ri()
[all …]
DScheduleDAGSDNodes.cpp128 if (ResNo >= II.getNumDefs() && in CheckForPhysRegDependency()
129 II.ImplicitDefs[ResNo - II.getNumDefs()] == Reg) in CheckForPhysRegDependency()
452 if (NumUsed > TII->get(N->getMachineOpcode()).getNumDefs()) in AddSchedEdges()
551 unsigned NRegDefs = SchedDAG->TII->get(Node->getMachineOpcode()).getNumDefs(); in InitNodeNumDefs()
638 OpIdx += TII->get(Use->getMachineOpcode()).getNumDefs(); in computeOperandLatency()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DExecutionDepsFix.cpp313 for (unsigned i = mi->getDesc().getNumDefs(), in visitHardInstr()
323 for (unsigned i = 0, e = mi->getDesc().getNumDefs(); i != e; ++i) { in visitHardInstr()
342 for (unsigned i = mi->getDesc().getNumDefs(), in visitSoftInstr()
441 for (unsigned i = 0, e = mi->getDesc().getNumDefs(); i != e; ++i) { in visitGenericInstr()
DPeepholeOptimizer.cpp269 unsigned NumDefs = MI->getDesc().getNumDefs(); in OptimizeBitcastInstr()
299 NumDefs = DefMI->getDesc().getNumDefs(); in OptimizeBitcastInstr()
358 if (MCID.getNumDefs() != 1) in isMoveImmediate()
DTargetInstrInfoImpl.cpp63 bool HasDef = MCID.getNumDefs(); in commuteInstruction()
129 SrcOpIdx1 = MCID.getNumDefs(); in findCommutedOpIndices()
/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp375 assert(DefIdx < Def->getDesc().getNumDefs() && in ValueTracker()
892 NumDefs = MI.getDesc().getNumDefs(); in UncoalescableRewriter()
1186 assert(MI->getDesc().getNumDefs() == 1 && in optimizeCoalescableCopy()
1300 if (MCID.getNumDefs() != 1) in isLoadFoldable()
1322 if (MCID.getNumDefs() != 1) in isMoveImmediate()
1626 for (unsigned i = MIDesc.getNumDefs(); i != MIDesc.getNumOperands(); in runOnMachineFunction()
1689 if (Def->getDesc().getNumDefs() != 1) in getNextSourceFromBitcast()
1890 (DefIdx < Def->getDesc().getNumDefs() || in getNextSourceImpl()
DExecutionDepsFix.cpp518 e = MI->isVariadic() ? MI->getNumOperands() : MCID.getNumDefs(); in processDefs()
590 for (unsigned i = mi->getDesc().getNumDefs(), in visitHardInstr()
600 for (unsigned i = 0, e = mi->getDesc().getNumDefs(); i != e; ++i) { in visitHardInstr()
619 for (unsigned i = mi->getDesc().getNumDefs(), in visitSoftInstr()
DImplicitNullChecks.cpp430 Offset < PageSize && MI.getDesc().getNumDefs() <= 1 && in analyzeBlockForNullChecks()
492 unsigned NumDefs = LoadMI->getDesc().getNumDefs(); in insertFaultingLoad()
/external/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp147 else if (OpNo >= MII.get(MI->getOpcode()).getNumDefs()) in printOperand()
154 if (OpNo < MII.get(MI->getOpcode()).getNumDefs()) in printOperand()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/InstPrinter/
DWebAssemblyInstPrinter.cpp150 else if (OpNo >= MII.get(MI->getOpcode()).getNumDefs()) in printOperand()
157 if (OpNo < MII.get(MI->getOpcode()).getNumDefs()) in printOperand()
/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCChecker.cpp62 for (unsigned i = MCID.getNumDefs(); i < MCID.getNumOperands(); ++i) in init()
116 for (unsigned i = 0; i < MCID.getNumDefs(); ++i) { in init()
204 for (unsigned i = MCID.getNumDefs(); i < MCID.getNumOperands(); ++i) in init()
/external/llvm/lib/Target/AArch64/
DAArch64DeadRegisterDefinitionsPass.cpp102 for (int i = 0, e = MI.getDesc().getNumDefs(); i != e; ++i) { in processMachineBasicBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DLocalizer.cpp82 assert(MI.getDesc().getNumDefs() == 1 && in runOnMachineFunction()

12345