Home
last modified time | relevance | path

Searched refs:MLI (Results 1 – 25 of 54) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyCFGSort.cpp80 const MachineLoopInfo &MLI; member in __anon4c1e8f320111::RegionInfo
87 RegionInfo(const MachineLoopInfo &MLI, const WebAssemblyExceptionInfo &WEI) in RegionInfo() argument
88 : MLI(MLI), WEI(WEI) {} in RegionInfo()
92 const auto *ML = MLI.getLoopFor(MBB); in getRegionFor()
241 static void sortBlocks(MachineFunction &MF, const MachineLoopInfo &MLI, in sortBlocks() argument
250 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in sortBlocks()
273 RegionInfo RI(MLI, WEI); in sortBlocks()
296 if (MachineLoop *SuccL = MLI.getLoopFor(Succ)) in sortBlocks()
411 const auto &MLI = getAnalysis<MachineLoopInfo>(); in runOnMachineFunction() local
418 sortBlocks(MF, MLI, WEI, MDT); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DShrinkWrap.cpp132 MachineLoopInfo *MLI; member in __anona388d7060111::ShrinkWrap
195 MLI = &getAnalysis<MachineLoopInfo>(); in init()
404 MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints()
416 (MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints()
417 if (MLI->getLoopDepth(Save) > MLI->getLoopDepth(Restore)) { in updateSaveRestorePoints()
427 MLI->getLoopFor(Restore)->getExitingBlocks(ExitBlocks); in updateSaveRestorePoints()
439 if (IPdom && MLI->getLoopDepth(IPdom) < MLI->getLoopDepth(Restore)) in updateSaveRestorePoints()
472 if (containsIrreducibleCFG<MachineBasicBlock *>(RPOT, *MLI)) { in runOnMachineFunction()
DLazyMachineBlockFrequencyInfo.cpp65 auto *MLI = getAnalysisIfAvailable<MachineLoopInfo>(); in calculateIfNotAvailable() local
68 LLVM_DEBUG(if (MLI) dbgs() << "LoopInfo is available\n"); in calculateIfNotAvailable()
70 if (!MLI) { in calculateIfNotAvailable()
85 MLI = OwnedMLI.get(); in calculateIfNotAvailable()
89 OwnedMBFI->calculate(*MF, MBPI, *MLI); in calculateIfNotAvailable()
DMachineBlockFrequencyInfo.cpp179 MachineLoopInfo &MLI) : MachineFunctionPass(ID) { in MachineBlockFrequencyInfo() argument
180 calculate(F, MBPI, MLI); in MachineBlockFrequencyInfo()
194 const MachineLoopInfo &MLI) { in calculate() argument
197 MBFI->calculate(F, MBPI, MLI); in calculate()
213 MachineLoopInfo &MLI = getAnalysis<MachineLoopInfo>(); in runOnMachineFunction() local
214 calculate(F, MBPI, MLI); in runOnMachineFunction()
DXRayInstrumentation.cpp173 auto *MLI = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction() local
175 if (!MLI) { in runOnMachineFunction()
177 MLI = &ComputedMLI; in runOnMachineFunction()
183 if (MLI->empty() && MICount < XRayThreshold) in runOnMachineFunction()
DPHIElimination.cpp99 MachineLoopInfo *MLI);
159 MachineLoopInfo *MLI = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction() local
161 Changed |= SplitPHIEdges(MF, MBB, MLI); in runOnMachineFunction()
564 MachineLoopInfo *MLI) { in SplitPHIEdges() argument
568 const MachineLoop *CurLoop = MLI ? MLI->getLoopFor(&MBB) : nullptr; in SplitPHIEdges()
585 const MachineLoop *PreLoop = MLI ? MLI->getLoopFor(PreMBB) : nullptr; in SplitPHIEdges()
DUnreachableBlockElim.cpp110 MachineLoopInfo *MLI = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction() local
127 if (MLI) MLI->removeBlock(BB); in runOnMachineFunction()
DDFAPacketizer.cpp112 DefaultVLIWScheduler(MachineFunction &MF, MachineLoopInfo &MLI,
130 MachineLoopInfo &MLI, in DefaultVLIWScheduler() argument
132 : ScheduleDAGInstrs(MF, &MLI), AA(AA) { in DefaultVLIWScheduler()
DPostRASchedulerList.cpp148 MachineFunction &MF, MachineLoopInfo &MLI, AliasAnalysis *AA,
207 MachineFunction &MF, MachineLoopInfo &MLI, AliasAnalysis *AA, in SchedulePostRATDList() argument
211 : ScheduleDAGInstrs(MF, &MLI), AA(AA), EndIndex(0) { in SchedulePostRATDList()
287 MachineLoopInfo &MLI = getAnalysis<MachineLoopInfo>(); in runOnMachineFunction() local
314 SchedulePostRATDList Scheduler(Fn, MLI, AA, RegClassInfo, AntiDepMode, in runOnMachineFunction()
DBranchFolding.cpp179 if (MLI) in RemoveDeadBlock()
180 MLI->removeBlock(MBB); in RemoveDeadBlock()
197 MLI = mli; in OptimizeFunction()
422 if (MLI) in SplitMBBAt()
423 if (MachineLoop *ML = MLI->getLoopFor(&CurMBB)) in SplitMBBAt()
424 ML->addBasicBlockToLoop(NewMBB, MLI->getBase()); in SplitMBBAt()
1106 if (AfterBlockPlacement && MLI) { in TailMergeBlocks()
1107 ML = MLI->getLoopFor(IBB); in TailMergeBlocks()
1134 if (AfterBlockPlacement && MLI) in TailMergeBlocks()
1135 if (ML != MLI->getLoopFor(PBB)) in TailMergeBlocks()
DMachineBasicBlock.cpp1075 if (MachineLoopInfo *MLI = P.getAnalysisIfAvailable<MachineLoopInfo>()) in SplitCriticalEdge() local
1076 if (MachineLoop *TIL = MLI->getLoopFor(this)) { in SplitCriticalEdge()
1079 if (MachineLoop *DestLoop = MLI->getLoopFor(Succ)) { in SplitCriticalEdge()
1082 DestLoop->addBasicBlockToLoop(NMBB, MLI->getBase()); in SplitCriticalEdge()
1085 TIL->addBasicBlockToLoop(NMBB, MLI->getBase()); in SplitCriticalEdge()
1088 DestLoop->addBasicBlockToLoop(NMBB, MLI->getBase()); in SplitCriticalEdge()
1097 P->addBasicBlockToLoop(NMBB, MLI->getBase()); in SplitCriticalEdge()
DMachineLICM.cpp131 MachineLoopInfo *MLI; // Current MachineLoopInfo member in __anoneaaf3df70111::MachineLICMBase
372 MLI = &getAnalysis<MachineLoopInfo>(); in runOnMachineFunction()
376 SmallVector<MachineLoop *, 8> Worklist(MLI->begin(), MLI->end()); in runOnMachineFunction()
541 const MachineLoop *ML = MLI->getLoopFor(BB); in HoistRegionPostRA()
725 const MachineLoop *ML = MLI->getLoopFor(BB); in HoistOutOfLoop()
DCalcSpillWeights.cpp34 const MachineLoopInfo &MLI, in calculateSpillWeightsAndHints() argument
41 VirtRegAuxInfo VRAI(MF, LIS, VRM, MLI, MBFI, norm); in calculateSpillWeightsAndHints()
DMachineCombiner.cpp70 MachineLoopInfo *MLI; // Current MachineLoopInfo member in __anonff2420e10111::MachineCombiner
512 const MachineLoop *ML = MLI->getLoopFor(MBB); in combineInstructions()
651 MLI = &getAnalysis<MachineLoopInfo>(); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLowOverheadLoops.cpp159 MachineLoopInfo *MLI);
169 MachineLoopInfo *MLI);
206 MachineLoopInfo *MLI = nullptr; member in __anon0229be0b0111::ARMLowOverheadLoops
327 ReachingDefAnalysis *RDA, MachineLoopInfo *MLI) { in ValidateTailPredicate() argument
407 MachineBasicBlock *MBB = MLI->findLoopPreheader(ML, true); in ValidateTailPredicate()
428 MachineLoopInfo *MLI) { in CheckLegality() argument
478 CannotTailPredicate = !ValidateTailPredicate(InsertPt, RDA, MLI); in CheckLegality()
562 MLI = &getAnalysis<MachineLoopInfo>(); in runOnMachineFunction()
573 for (auto ML : *MLI) { in runOnMachineFunction()
589 else if (auto *Preheader = MLI->findLoopPreheader(ML)) in ProcessLoop()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZMachineScheduler.cpp88 LLVM_DEBUG(const MachineLoop *Loop = MLI->getLoopFor(MBB); in enterMBB()
95 getSingleSchedPred(MBB, MLI->getLoopFor(MBB)); in enterMBB()
130 : MLI(C->MLI), in SystemZPostRASchedStrategy()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h43 MachineLoopInfo &MLI);
53 const MachineLoopInfo &MLI);
DCalcSpillWeights.h100 const MachineLoopInfo &MLI,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp161 MLI = &getAnalysis<MachineLoopInfo>(); in runOnMachineFunction()
162 LLVM_DEBUG(dbgs() << "LoopInfo:\n"; PrintLoopinfo(*MLI);); in runOnMachineFunction()
176 MachineLoopInfo *MLI; member in __anonf67ae3590111::AMDGPUCFGStructurizer
361 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in hasBackEdge()
376 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in isActiveLoophead()
719 for (MachineLoopInfo::iterator It = MLI->begin(), in prepare()
720 E = MLI->end(); It != E; ++It) { in prepare()
1016 for (auto &It: *MLI) in loopendPatternMatch()
1073 MLI->changeLoopFor(LoopHeader, ParentLoop); in mergeLoop()
1075 MLI->removeBlock(LoopHeader); in mergeLoop()
[all …]
DR600Packetizer.cpp148 MachineLoopInfo &MLI) in R600PacketizerList() argument
149 : VLIWPacketizerList(MF, MLI, nullptr), in R600PacketizerList()
329 MachineLoopInfo &MLI = getAnalysis<MachineLoopInfo>(); in runOnMachineFunction() local
332 R600PacketizerList Packetizer(Fn, ST, MLI); in runOnMachineFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp218 MachineLoopInfo *MLI = nullptr; member in __anondde147d40111::HexagonEarlyIfConversion
234 MachineLoop *L = MLI->getLoopFor(SB); in isPreheader()
294 bool TOk = (TNP == 1 && TNS == 1 && MLI->getLoopFor(TB) == L); in matchFlowPattern()
295 bool FOk = (FNP == 1 && FNS == 1 && MLI->getLoopFor(FB) == L); in matchFlowPattern()
299 if (SkipExitBranches && MLI->getLoopFor(TB) != MLI->getLoopFor(FB)) in matchFlowPattern()
623 if (MLI->getLoopFor(B) != L) in visitBlock()
1058 MLI = &getAnalysis<MachineLoopInfo>(); in runOnMachineFunction()
1065 for (MachineLoopInfo::iterator I = MLI->begin(), E = MLI->end(); I != E; ++I) in runOnMachineFunction()
DHexagonVLIWPacketizer.h63 const MachineLoopInfo *MLI; variable
71 HexagonPacketizerList(MachineFunction &MF, MachineLoopInfo &MLI,
DHexagonVLIWPacketizer.cpp134 MachineLoopInfo &MLI, AAResults *AA, in INITIALIZE_PASS_DEPENDENCY()
136 : VLIWPacketizerList(MF, MLI, AA), MBPI(MBPI), MLI(&MLI), in INITIALIZE_PASS_DEPENDENCY()
209 auto &MLI = getAnalysis<MachineLoopInfo>(); in runOnMachineFunction() local
219 HexagonPacketizerList Packetizer(MF, MLI, AA, MBPI, MinOnly); in runOnMachineFunction()
1832 if (MLI->getLoopFor(OldBB) != MLI->getLoopFor(ThisBB)) in producesStall()
DHexagonHardwareLoops.cpp102 MachineLoopInfo *MLI; member
385 MLI = &getAnalysis<MachineLoopInfo>(); in runOnMachineFunction()
392 for (auto &L : *MLI) in runOnMachineFunction()
408 MachineBasicBlock *Preheader = MLI->findLoopPreheader(L, SpecPreheader); in findInductionRegister()
602 MachineBasicBlock *Preheader = MLI->findLoopPreheader(L, SpecPreheader); in getLoopTripCount()
829 MachineBasicBlock *PH = MLI->findLoopPreheader(Loop, SpecPreheader); in computeCount()
1194 MachineBasicBlock *Preheader = MLI->findLoopPreheader(L, SpecPreheader); in convertToHardwareLoop()
1851 if (MachineBasicBlock *TmpPH = MLI->findLoopPreheader(L, SpecPreheader)) in createPreheaderForLoop()
1994 ParentLoop->addBasicBlockToLoop(NewPH, MLI->getBase()); in createPreheaderForLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86FixupBWInsts.cpp144 MachineLoopInfo *MLI = nullptr; member in __anon85c792200111::FixupBWInstPass
165 MLI = &getAnalysis<MachineLoopInfo>(); in runOnMachineFunction()
382 if (MachineLoop *ML = MLI->getLoopFor(&MBB)) in tryReplaceInstr()

123