Home
last modified time | relevance | path

Searched refs:getDesc (Results 1 – 25 of 91) sorted by relevance

1234

/external/llvm/lib/Target/
DTargetInstrInfo.cpp54 unsigned Class = MI->getDesc().getSchedClass(); in getNumMicroOps()
71 unsigned DefClass = DefMI->getDesc().getSchedClass(); in getOperandLatency()
72 unsigned UseClass = UseMI->getDesc().getSchedClass(); in getOperandLatency()
99 return ItinData->getStageLatency(MI->getDesc().getSchedClass()); in getInstrLatency()
119 unsigned DefClass = DefMI->getDesc().getSchedClass(); in hasLowDefLatency()
133 const MCInstrDesc &MCID = MI->getDesc(); in isUnpredicatedTerminator()
/external/llvm/lib/CodeGen/
DTargetInstrInfoImpl.cpp62 const MCInstrDesc &MCID = MI->getDesc(); in commuteInstruction()
84 assert(MI->getDesc().getOperandConstraint(0, MCOI::TIED_TO) && in commuteInstruction()
97 return BuildMI(MF, MI->getDebugLoc(), MI->getDesc()) in commuteInstruction()
102 return BuildMI(MF, MI->getDebugLoc(), MI->getDesc()) in commuteInstruction()
122 const MCInstrDesc &MCID = MI->getDesc(); in findCommutedOpIndices()
140 const MCInstrDesc &MCID = MI->getDesc(); in PredicateInstruction()
183 assert(!Orig->getDesc().isNotDuplicable() && in duplicate()
253 NewMI->getDesc().mayStore()) && in foldMemoryOperand()
256 NewMI->getDesc().mayLoad()) && in foldMemoryOperand()
297 assert(LoadMI->getDesc().canFoldAsLoad() && "LoadMI isn't foldable!"); in foldMemoryOperand()
[all …]
DPeepholeOptimizer.cpp269 unsigned NumDefs = MI->getDesc().getNumDefs(); in OptimizeBitcastInstr()
270 unsigned NumSrcs = MI->getDesc().getNumOperands() - NumDefs; in OptimizeBitcastInstr()
295 if (!DefMI || !DefMI->getDesc().isBitcast()) in OptimizeBitcastInstr()
300 NumDefs = DefMI->getDesc().getNumDefs(); in OptimizeBitcastInstr()
301 NumSrcs = DefMI->getDesc().getNumOperands() - NumDefs; in OptimizeBitcastInstr()
356 const MCInstrDesc &MCID = MI->getDesc(); in isMoveImmediate()
377 for (unsigned i = 0, e = MI->getDesc().getNumOperands(); i != e; ++i) { in FoldImmediate()
432 const MCInstrDesc &MCID = MI->getDesc(); in runOnMachineFunction()
DCriticalAntiDepBreaker.cpp57 bool IsReturnBlock = (!BB->empty() && BB->back().getDesc().isReturn()); in StartBlock()
196 bool Special = MI->getDesc().isCall() || in PrescanInstruction()
197 MI->getDesc().hasExtraSrcRegAllocReq() || in PrescanInstruction()
209 if (i < MI->getDesc().getNumOperands()) in PrescanInstruction()
210 NewRC = TII->getRegClass(MI->getDesc(), i, TRI); in PrescanInstruction()
297 if (i < MI->getDesc().getNumOperands()) in ScanInstruction()
298 NewRC = TII->getRegClass(MI->getDesc(), i, TRI); in ScanInstruction()
575 if (MI->getDesc().isCall() || MI->getDesc().hasExtraDefRegAllocReq() || in BreakAntiDependencies()
DScheduleDAGInstrs.cpp159 (ExitMI->getDesc().isCall() || ExitMI->getDesc().isBarrier()); in AddSchedBarrierDeps()
240 const MCInstrDesc &MCID = MI->getDesc(); in BuildSchedGraph()
313 const MCInstrDesc &UseMCID = UseMI->getDesc(); in BuildSchedGraph()
356 const MCInstrDesc &UseMCID = UseMI->getDesc(); in BuildSchedGraph()
578 if (SU->getInstr()->getDesc().mayLoad()) in ComputeLatency()
603 DefIdx >= (int)DefMI->getDesc().getNumOperands()) { in ComputeOperandLatency()
632 unsigned DefClass = DefMI->getDesc().getSchedClass(); in ComputeOperandLatency()
DAggressiveAntiDepBreaker.cpp151 bool IsReturnBlock = (!BB->empty() && BB->back().getDesc().isReturn()); in StartBlock()
387 if (MI->getDesc().isCall() || MI->getDesc().hasExtraDefRegAllocReq() || in PrescanInstruction()
406 if (i < MI->getDesc().getNumOperands()) in PrescanInstruction()
407 RC = TII->getRegClass(MI->getDesc(), i, TRI); in PrescanInstruction()
454 bool Special = MI->getDesc().isCall() || in ScanInstruction()
455 MI->getDesc().hasExtraSrcRegAllocReq() || in ScanInstruction()
481 if (i < MI->getDesc().getNumOperands()) in ScanInstruction()
482 RC = TII->getRegClass(MI->getDesc(), i, TRI); in ScanInstruction()
DMachineVerifier.cpp434 if (!MBB->empty() && MBB->back().getDesc().isBarrier() && in visitMachineBasicBlockBefore()
455 } else if (!MBB->back().getDesc().isBarrier()) { in visitMachineBasicBlockBefore()
458 } else if (!MBB->back().getDesc().isTerminator()) { in visitMachineBasicBlockBefore()
478 } else if (MBB->back().getDesc().isBarrier()) { in visitMachineBasicBlockBefore()
481 } else if (!MBB->back().getDesc().isTerminator()) { in visitMachineBasicBlockBefore()
498 } else if (!MBB->back().getDesc().isBarrier()) { in visitMachineBasicBlockBefore()
501 } else if (!MBB->back().getDesc().isTerminator()) { in visitMachineBasicBlockBefore()
544 const MCInstrDesc &MCID = MI->getDesc(); in visitMachineInstrBefore()
578 const MCInstrDesc &MCID = MI->getDesc(); in visitMachineOperand()
DMachineInstr.cpp545 : MCID(&MI.getDesc()), NumImplicitOps(0), Flags(0), AsmPrinterFlags(0), in MachineInstr()
944 const MCInstrDesc &MCID = getDesc(); in findFirstPredOperandIdx()
1003 const MCInstrDesc &MCID = getDesc(); in isRegTiedToUseOperand()
1063 const MCInstrDesc &MCID = getDesc(); in isRegTiedToDefOperand()
1109 const MCInstrDesc &MCID = MI->getDesc(); in copyPredicates()
1282 if (getDesc().hasUnmodeledSideEffects()) in hasUnmodeledSideEffects()
1309 for (unsigned i = MI->getDesc().getNumOperands(), e = MI->getNumOperands(); in copyImplicitOps()
1375 OS << getDesc().getName(); in print()
1410 if (MF && getDesc().isCall() && in print()
1433 if (i < getDesc().NumOperands) { in print()
[all …]
DMachineCSE.cpp263 const MCInstrDesc &MCID = MI->getDesc(); in isCSECandidate()
290 if (MI->getDesc().isAsCheapAsAMove()) { in isProfitableToCSE()
379 if (!FoundCSE && MI->getDesc().isCommutable()) { in ProcessBlock()
424 unsigned NumDefs = MI->getDesc().getNumDefs(); in ProcessBlock()
DMachineLICM.cpp619 for (unsigned i = 0, e = MI->getDesc().getNumOperands(); i != e; ++i) { in InitRegPressure()
652 for (unsigned i = 0, e = MI->getDesc().getNumOperands(); i != e; ++i) { in UpdateRegPressure()
820 if (MI.getDesc().isAsCheapAsAMove() || MI.isCopyLike()) in IsCheapInstruction()
826 unsigned NumDefs = MI.getDesc().getNumDefs(); in IsCheapInstruction()
874 for (unsigned i = 0, e = MI->getDesc().getNumOperands(); i != e; ++i) { in UpdateBackTraceRegPressure()
937 for (unsigned i = 0, e = MI.getDesc().getNumOperands(); i != e; ++i) { in IsProfitableToHoist()
1004 if (MI->getDesc().canFoldAsLoad()) in ExtractHoistableLoad()
DMachineBasicBlock.cpp158 while (I != begin() && ((--I)->getDesc().isTerminator() || I->isDebugValue())) in getFirstTerminator()
160 while (I != end() && !I->getDesc().isTerminator()) in getFirstTerminator()
481 return empty() || !back().getDesc().isBarrier() || in canFallThrough()
482 back().getDesc().isPredicable(); in canFallThrough()
674 if (!I->getDesc().isTerminator()) break; in ReplaceUsesOfBlockWith()
DExpandISelPseudos.cpp65 const MCInstrDesc &MCID = MI->getDesc(); in runOnMachineFunction()
/external/llvm/lib/Target/Sparc/
DDelaySlotFiller.cpp103 if (I->getDesc().hasDelaySlot()) { in runOnMachineBasicBlock()
152 if (slot->getDesc().isCall()) in findDelayInstr()
173 || I->getDesc().hasDelaySlot() in findDelayInstr()
197 if (candidate->getDesc().mayLoad()) { in delayHasHazard()
203 if (candidate->getDesc().mayStore()) { in delayHasHazard()
301 const MCInstrDesc &prevdesc = (--candidate)->getDesc(); in isDelayFiller()
307 if (!I->getDesc().isCall()) in needsUnimp()
DSparcAsmPrinter.cpp240 while (I != Pred->begin() && !(--I)->getDesc().isTerminator()) in isBlockOnlyReachableByFallthrough()
242 return I == Pred->end() || !I->getDesc().isBarrier(); in isBlockOnlyReachableByFallthrough()
/external/llvm/lib/Target/MBlaze/
DMBlazeDelaySlotFiller.cpp112 MCInstrDesc desc = candidate->getDesc(); in delayHasHazard()
159 if (a_is_memory && m->getDesc().mayStore()) in delayHasHazard()
186 MCInstrDesc brdesc = (--candidate)->getDesc(); in isDelayFiller()
214 MCInstrDesc desc = I->getDesc(); in findDelayInstr()
235 if (I->getDesc().hasDelaySlot()) { in runOnMachineBasicBlock()
DMBlazeAsmPrinter.cpp316 while (I != Pred->begin() && !(--I)->getDesc().isTerminator()) in isBlockOnlyReachableByFallthrough()
318 return I == Pred->end() || !I->getDesc().isBarrier(); in isBlockOnlyReachableByFallthrough()
/external/llvm/lib/Target/ARM/
DARMHazardRecognizer.cpp22 const MCInstrDesc &MCID = MI->getDesc(); in hasRAWHazard()
46 const MCInstrDesc &MCID = MI->getDesc(); in getHazardType()
49 const MCInstrDesc &LastMCID = LastMI->getDesc(); in getHazardType()
DARMCodeEmitter.cpp275 const MCInstrDesc &MCID = MI.getDesc(); in getHiLo16ImmOpValue()
464 const MCInstrDesc &MCID = MI.getDesc(); in getMachineOpValue()
546 switch (MI.getDesc().TSFlags & ARMII::FormMask) { in emitInstruction()
806 const MCInstrDesc &MCID = MI.getDesc(); in emitLEApcrelInstruction()
833 const MCInstrDesc &MCID = MI.getDesc(); in emitLEApcrelJTInstruction()
858 unsigned Opcode = MI.getDesc().Opcode; in emitPseudoMoveInstruction()
903 unsigned Opcode = MI.getDesc().Opcode; in emitPseudoInstruction()
1084 const MCInstrDesc &MCID = MI.getDesc(); in emitDataProcessingInstruction()
1187 const MCInstrDesc &MCID = MI.getDesc(); in emitLoadStoreInstruction()
1271 const MCInstrDesc &MCID = MI.getDesc(); in emitMiscLoadStoreInstruction()
[all …]
DThumb2SizeReduction.cpp272 if (!HasImplicitCPSRDef(MI->getDesc())) in VerifyPredAndCC()
500 const MCInstrDesc &MCID = MI->getDesc(); in ReduceSpecial()
524 const MCInstrDesc &MCID = MI->getDesc(); in ReduceSpecial()
622 const MCInstrDesc &MCID = MI->getDesc(); in ReduceTo2Addr()
680 const MCInstrDesc &MCID = MI->getDesc(); in ReduceToNarrow()
855 if (MI->getDesc().isCall()) in ReduceMBB()
DThumb2ITBlockPass.cpp180 (!MI->getDesc().isBranch() && !MI->getDesc().isReturn()) ; ++MBBI) { in InsertITInstructions()
/external/llvm/lib/Support/
DStatistic.cpp89 return std::strcmp(LHS->getDesc(), RHS->getDesc()) < 0; in operator ()()
134 << " - " << Stats.Stats[i]->getDesc() << "\n"; in PrintStatistics()
/external/llvm/lib/Target/X86/
DSSEDomainFix.cpp308 for (unsigned i = mi->getDesc().getNumDefs(), in visitHardInstr()
309 e = mi->getDesc().getNumOperands(); i != e; ++i) { in visitHardInstr()
318 for (unsigned i = 0, e = mi->getDesc().getNumDefs(); i != e; ++i) { in visitHardInstr()
337 for (unsigned i = mi->getDesc().getNumDefs(), in visitSoftInstr()
338 e = mi->getDesc().getNumOperands(); i != e; ++i) { in visitSoftInstr()
422 for (unsigned i = 0, e = mi->getDesc().getNumOperands(); i != e; ++i) { in visitSoftInstr()
436 for (unsigned i = 0, e = mi->getDesc().getNumDefs(); i != e; ++i) { in visitGenericInstr()
/external/llvm/include/llvm/Support/
DRegistry.h31 const char *getDesc() const { return Desc; } in getDesc() function
48 static const char *descof(const entry &Entry) { return Entry.getDesc(); } in descof()
/external/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp164 const MCInstrDesc &MCID = MI->getDesc(); in isUnpredicatedTerminator()
195 if (!I->getDesc().isBranch()) in AnalyzeBranch()
299 const MCInstrDesc &Desc = MI->getDesc(); in GetInstSizeInBytes()
/external/llvm/lib/Target/Mips/
DMipsDelaySlotFiller.cpp62 const MCInstrDesc& MCid = I->getDesc(); in runOnMachineBasicBlock()

1234