Home
last modified time | relevance | path

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

/external/llvm/lib/CodeGen/SelectionDAG/
DInstrEmitter.cpp134 if (i+II.getNumDefs() < II.getNumOperands()) { in EmitCopyFromReg()
136 TII->getRegClass(II, i+II.getNumDefs(), TRI, *MF)); in EmitCopyFromReg()
214 for (unsigned i = 0; i < II.getNumDefs(); ++i) { in CreateVirtualRegisters()
721 countOperands(Node, II.getNumOperands() - II.getNumDefs(), NumImpUses); in EmitMachineNode()
722 bool HasPhysRegOuts = NumResults > II.getNumDefs() && II.getImplicitDefs()!=0; in EmitMachineNode()
745 bool HasOptPRefs = II.getNumDefs() > NumResults; in EmitMachineNode()
748 unsigned NumSkip = HasOptPRefs ? II.getNumDefs() - NumResults : 0; in EmitMachineNode()
750 AddOperand(MIB, Node->getOperand(i), i-NumSkip+II.getNumDefs(), &II, in EmitMachineNode()
781 for (unsigned i = II.getNumDefs(); i < NumResults; ++i) { in EmitMachineNode()
782 unsigned Reg = II.getImplicitDefs()[i - II.getNumDefs()]; in EmitMachineNode()
DFastISel.cpp1211 if (II.getNumDefs() >= 1) in FastEmitInst_r()
1231 if (II.getNumDefs() >= 1) in FastEmitInst_rr()
1253 if (II.getNumDefs() >= 1) in FastEmitInst_rrr()
1276 if (II.getNumDefs() >= 1) in FastEmitInst_ri()
1297 if (II.getNumDefs() >= 1) in FastEmitInst_rii()
1320 if (II.getNumDefs() >= 1) in FastEmitInst_rf()
1342 if (II.getNumDefs() >= 1) in FastEmitInst_rri()
1366 if (II.getNumDefs() >= 1) in FastEmitInst_rrii()
1388 if (II.getNumDefs() >= 1) in FastEmitInst_i()
1404 if (II.getNumDefs() >= 1) in FastEmitInst_ii()
DScheduleDAGSDNodes.cpp124 if (ResNo >= II.getNumDefs() && in CheckForPhysRegDependency()
125 II.ImplicitDefs[ResNo - II.getNumDefs()] == Reg) { in CheckForPhysRegDependency()
453 if (NumUsed > TII->get(N->getMachineOpcode()).getNumDefs()) in AddSchedEdges()
544 unsigned NRegDefs = SchedDAG->TII->get(Node->getMachineOpcode()).getNumDefs(); in InitNodeNumDefs()
631 OpIdx += TII->get(Use->getMachineOpcode()).getNumDefs(); in computeOperandLatency()
DScheduleDAGRRList.cpp1194 unsigned NumRes = MCID.getNumDefs(); in getPhysicalRegisterVT()
1977 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in MayReduceRegPressure()
2024 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in RegPressureDiff()
2154 unsigned NumDefs = TII->get(PN->getMachineOpcode()).getNumDefs(); in unscheduledNode()
2171 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in unscheduledNode()
2691 unsigned NumRes = MCID.getNumDefs(); in canClobber()
2749 unsigned NumDefs = TII->get(N->getMachineOpcode()).getNumDefs(); in canClobberPhysRegDefs()
2918 unsigned NumRes = MCID.getNumDefs(); in AddPseudoTwoAddrDeps()
DResourcePriorityQueue.cpp559 NodeNumDefs = std::min(N->getNumValues(), TID.getNumDefs()); in initNumRegDefsLeft()
DScheduleDAGFast.cpp437 unsigned NumRes = MCID.getNumDefs(); in getPhysicalRegisterVT()
/external/llvm/lib/CodeGen/
DPeepholeOptimizer.cpp313 unsigned NumDefs = MI->getDesc().getNumDefs(); in optimizeBitcastInstr()
343 NumDefs = DefMI->getDesc().getNumDefs(); in optimizeBitcastInstr()
422 if (MCID.getNumDefs() != 1) in isLoadFoldable()
444 if (MCID.getNumDefs() != 1) in isMoveImmediate()
DExecutionDepsFix.cpp457 e = MI->isVariadic() ? MI->getNumOperands() : MCID.getNumDefs(); in processDefs()
511 for (unsigned i = mi->getDesc().getNumDefs(), in visitHardInstr()
521 for (unsigned i = 0, e = mi->getDesc().getNumDefs(); i != e; ++i) { in visitHardInstr()
540 for (unsigned i = mi->getDesc().getNumDefs(), in visitSoftInstr()
DTargetInstrInfo.cpp121 bool HasDef = MCID.getNumDefs(); in commuteInstruction()
190 SrcOpIdx1 = MCID.getNumDefs(); in findCommutedOpIndices()
DMachineLICM.cpp1049 unsigned NumDefs = MI.getDesc().getNumDefs(); in IsCheapInstruction()
1262 if (MID.getNumDefs() != 1) return 0; in ExtractHoistableLoad()
DMachineCSE.cpp514 unsigned NumDefs = MI->getDesc().getNumDefs() + in ProcessBlock()
DMachineVerifier.cpp807 if (MONum < MCID.getNumDefs()) { in visitMachineOperand()
861 if (MONum < MCID.getNumDefs()) { in visitMachineOperand()
DRegAllocFast.cpp954 (hasTiedOps && (hasPhysDefs || MCID.getNumDefs() > 1))) { in AllocateBasicBlock()
DTwoAddressInstructionPass.cpp1189 if (UnfoldMCID.getNumDefs() == 1) { in tryInstructionTransform()
DRegisterCoalescer.cpp759 if (MCID.getNumDefs() != 1) in reMaterializeTrivialDef()
/external/llvm/include/llvm/MC/
DMCInstrDesc.h179 unsigned getNumDefs() const { in getNumDefs() function
/external/llvm/lib/Target/R600/
DSIISelLowering.cpp556 unsigned NumDefs = Desc->getNumDefs(); in PostISelFolding()
563 assert(!DescE64 || DescE64->getNumDefs() == NumDefs); in PostISelFolding()
/external/llvm/lib/Target/ARM/
DARMFastISel.cpp308 if (II.getNumDefs() >= 1) { in FastEmitInst_r()
328 if (II.getNumDefs() >= 1) { in FastEmitInst_rr()
351 if (II.getNumDefs() >= 1) { in FastEmitInst_rrr()
375 if (II.getNumDefs() >= 1) { in FastEmitInst_ri()
397 if (II.getNumDefs() >= 1) { in FastEmitInst_rf()
420 if (II.getNumDefs() >= 1) { in FastEmitInst_rri()
443 if (II.getNumDefs() >= 1) { in FastEmitInst_i()
462 if (II.getNumDefs() >= 1) { in FastEmitInst_ii()
DARMCodeEmitter.cpp1114 unsigned NumDefs = MCID.getNumDefs(); in emitDataProcessingInstruction()
1428 if (MCID.getNumDefs() == 2) in emitMulFrmInstruction()
DARMBaseInstrInfo.cpp2936 if (DefIdx < DefMCID.getNumDefs() && UseIdx < UseMCID.getNumOperands()) in getOperandLatency()
4094 assert(MI && OpNum < MI->getDesc().getNumDefs() && "OpNum is not a def"); in breakPartialRegDependency()
DARMISelLowering.cpp1122 if (MCID.getNumDefs() == 0) in getSchedulingPreference()
/external/llvm/lib/MC/MCParser/
DAsmParser.cpp4117 unsigned NumDefs = Desc.getNumDefs(); in parseMSInlineAsm()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp4285 if (MCID.getNumDefs() > 0) { in unfoldMemoryOperand()
4291 if (VT != MVT::Other && i >= (unsigned)MCID.getNumDefs()) in unfoldMemoryOperand()