Home
last modified time | relevance | path

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

123456

/external/llvm/lib/CodeGen/
DShrinkWrap.cpp117 MachineLoopInfo *MLI; member in __anon32454b260111::ShrinkWrap
167 MLI = &getAnalysis<MachineLoopInfo>(); in init()
342 MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints()
354 (MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints()
355 if (MLI->getLoopDepth(Save) > MLI->getLoopDepth(Restore)) { in updateSaveRestorePoints()
365 MLI->getLoopFor(Restore)->getExitingBlocks(ExitBlocks); in updateSaveRestorePoints()
377 if (IPdom && MLI->getLoopDepth(IPdom) < MLI->getLoopDepth(Restore)) in updateSaveRestorePoints()
391 static bool isProperBackedge(const MachineLoopInfo &MLI, in isProperBackedge() argument
394 for (const MachineLoop *Loop = MLI.getLoopFor(SrcBB); Loop; in isProperBackedge()
404 const MachineLoopInfo &MLI) { in isIrreducibleCFG() argument
[all …]
DPHIElimination.cpp86 MachineLoopInfo *MLI);
145 MachineLoopInfo *MLI = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction() local
147 Changed |= SplitPHIEdges(MF, MBB, MLI); in runOnMachineFunction()
549 MachineLoopInfo *MLI) { in SplitPHIEdges() argument
553 const MachineLoop *CurLoop = MLI ? MLI->getLoopFor(&MBB) : nullptr; in SplitPHIEdges()
570 const MachineLoop *PreLoop = MLI ? MLI->getLoopFor(PreMBB) : nullptr; in SplitPHIEdges()
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/
DREADME.md1 # EmbARC MLI Library Based Optimizations of TensorFlow Lite Micro Kernels for ARC Platforms.
11 [embARC MLI Library](https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_mli).
17 embARC MLI Library is used by default to speed up execution of some kernels for
19 ARC specific target implies usage of embARC MLI.
27 In case MLI implementation can’t be used, kernels in this folder fallback to
28 TFLM reference implementations. For applications which may not benefit from MLI
36 For ARC EM SDP board, a pre-compiled MLI library is downloaded and used in the
37 application. For a custom target ARC-based platform, MLI sources are downloaded
45 If an application exclusively uses accelerated MLI kernel implementations, one
56 if you try this and application execution fails, then most probably MLI can’t be
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyCFGStackify.cpp134 static void SortBlocks(MachineFunction &MF, const MachineLoopInfo &MLI, in SortBlocks() argument
142 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in SortBlocks()
165 const MachineLoop *L = MLI.getLoopFor(MBB); in SortBlocks()
184 if (MachineLoop *SuccL = MLI.getLoopFor(Succ)) in SortBlocks()
256 MachineLoop *Loop = MLI.getLoopFor(&MBB); in SortBlocks()
270 assert(OnStack.count(MLI.getLoopFor(&MBB)) && in SortBlocks()
314 const MachineLoopInfo &MLI, in PlaceBlockMarker() argument
354 for (MachineLoop *Loop = MLI.getLoopFor(LayoutPred); in PlaceBlockMarker()
361 MachineLoop *HeaderLoop = MLI.getLoopFor(Header); in PlaceBlockMarker()
401 const WebAssemblyInstrInfo &TII, const MachineLoopInfo &MLI) { in PlaceLoopMarker() argument
[all …]
DWebAssemblyFixIrreducibleControlFlow.cpp65 bool VisitLoop(MachineFunction &MF, MachineLoopInfo &MLI, MachineLoop *Loop);
134 MachineLoopInfo &MLI, in VisitLoop() argument
159 MachineLoop *InnerLoop = MLI.getLoopFor(Next); in VisitLoop()
183 MLI.changeLoopFor(Dispatch, Loop); in VisitLoop()
237 MLI.changeLoopFor(Split, Loop); in VisitLoop()
273 auto &MLI = getAnalysis<MachineLoopInfo>(); in runOnMachineFunction() local
276 Changed |= VisitLoop(MF, MLI, nullptr); in runOnMachineFunction()
279 SmallVector<MachineLoop *, 8> Worklist(MLI.begin(), MLI.end()); in runOnMachineFunction()
283 Changed |= VisitLoop(MF, MLI, CurLoop); in runOnMachineFunction()
292 MLI.runOnMachineFunction(MF); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyCFGSort.cpp80 const MachineLoopInfo &MLI; member in __anon3a09cf740111::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()
/external/llvm-project/llvm/lib/CodeGen/
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()
DShrinkWrap.cpp132 MachineLoopInfo *MLI; member in __anon953222140111::ShrinkWrap
195 MLI = &getAnalysis<MachineLoopInfo>(); in init()
400 MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints()
411 if (Restore && (MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints()
412 if (MLI->getLoopDepth(Save) > MLI->getLoopDepth(Restore)) { in updateSaveRestorePoints()
422 MLI->getLoopFor(Restore)->getExitingBlocks(ExitBlocks); in updateSaveRestorePoints()
434 if (IPdom && MLI->getLoopDepth(IPdom) < MLI->getLoopDepth(Restore)) in updateSaveRestorePoints()
467 if (containsIrreducibleCFG<MachineBasicBlock *>(RPOT, *MLI)) { in runOnMachineFunction()
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.cpp178 auto *MLI = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction() local
180 if (!MLI) { in runOnMachineFunction()
182 MLI = &ComputedMLI; in runOnMachineFunction()
188 if (MLI->empty() && TooFewInstrs) in runOnMachineFunction()
DPHIElimination.cpp99 MachineLoopInfo *MLI,
186 MachineLoopInfo *MLI = getAnalysisIfAvailable<MachineLoopInfo>(); in runOnMachineFunction() local
188 Changed |= SplitPHIEdges(MF, MBB, MLI, (LV ? &LiveInSets : nullptr)); in runOnMachineFunction()
616 MachineLoopInfo *MLI, in SplitPHIEdges() argument
621 const MachineLoop *CurLoop = MLI ? MLI->getLoopFor(&MBB) : nullptr; in SplitPHIEdges()
638 const MachineLoop *PreLoop = MLI ? MLI->getLoopFor(PreMBB) : nullptr; in SplitPHIEdges()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
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()
DShrinkWrap.cpp132 MachineLoopInfo *MLI; member in __anon986d6a880111::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()
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()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblySortRegion.h65 const MachineLoopInfo &MLI; variable
72 SortRegionInfo(const MachineLoopInfo &MLI, in SortRegionInfo() argument
74 : MLI(MLI), WEI(WEI) {} in SortRegionInfo()
DWebAssemblyCFGSort.cpp186 static void sortBlocks(MachineFunction &MF, const MachineLoopInfo &MLI, in sortBlocks() argument
198 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in sortBlocks()
221 SortRegionInfo SRI(MLI, WEI); in sortBlocks()
244 if (MachineLoop *SuccL = MLI.getLoopFor(Succ)) in sortBlocks()
360 const auto &MLI = getAnalysis<MachineLoopInfo>(); in runOnMachineFunction() local
367 sortBlocks(MF, MLI, WEI, MDT); in runOnMachineFunction()
/external/tensorflow/tensorflow/lite/micro/tools/make/ext_libs/
Darc_mli.inc15 # Settings for embARC MLI library for ARC platform.
19 # MLI Library is used by default for ARC platform whenever it is possible.
20 # To use TFLM reference implementation MLI should be intentionally turned off
49 $(error Target for pre compiled ARC MLI library is not defined)
/external/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()
/external/llvm-project/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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLowOverheadLoops.cpp159 MachineLoopInfo *MLI);
169 MachineLoopInfo *MLI);
206 MachineLoopInfo *MLI = nullptr; member in __anon4dc5a48d0111::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()
592 else if (auto *Preheader = MLI->findLoopPreheader(ML)) in ProcessLoop()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineBlockFrequencyInfo.h43 MachineLoopInfo &MLI);
53 const MachineLoopInfo &MLI);
/external/llvm-project/llvm/lib/Target/ARM/
DARMLowOverheadLoops.cpp114 MachineLoopInfo &MLI; member in __anone84e0e190111::PostOrderLoopTraversal
119 PostOrderLoopTraversal(MachineLoop &ML, MachineLoopInfo &MLI) in PostOrderLoopTraversal() argument
120 : ML(ML), MLI(MLI) { } in PostOrderLoopTraversal()
162 else if (auto *Preheader = MLI.findLoopPreheader(&ML, true)) in ProcessLoop()
357 MachineLoopInfo &MLI; member
374 LowOverheadLoop(MachineLoop &ML, MachineLoopInfo &MLI, in LowOverheadLoop()
377 : ML(ML), MLI(MLI), RDA(RDA), TRI(TRI), TII(TII), in LowOverheadLoop()
382 else if (auto *MBB = MLI.findLoopPreheader(&ML, true)) in LowOverheadLoop()
467 MachineLoopInfo *MLI = nullptr; member in __anone84e0e190111::ARMLowOverheadLoops
1202 MLI = &getAnalysis<MachineLoopInfo>(); in runOnMachineFunction()
[all …]
/external/llvm-project/llvm/unittests/Target/X86/
DMachineSizeOptsTest.cpp48 std::unique_ptr<MachineLoopInfo> MLI; member
53 MLI.reset(new MachineLoopInfo(*MDT)); in BFIData()
55 MBFI.reset(new MachineBlockFrequencyInfo(MF, *MBPI, *MLI)); in BFIData()

123456