Home
last modified time | relevance | path

Searched refs:PreserveLCSSA (Results 1 – 25 of 52) sorted by relevance

123

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp72 LoopInfo *LI, bool PreserveLCSSA) { in ConnectProlog() argument
144 nullptr, PreserveLCSSA); in ConnectProlog()
163 nullptr, PreserveLCSSA); in ConnectProlog()
187 LoopInfo *LI, bool PreserveLCSSA) { in ConnectEpilog() argument
278 PreserveLCSSA); in ConnectEpilog()
288 PreserveLCSSA); in ConnectEpilog()
429 bool PreserveLCSSA, in canSafelyUnrollMultiExitLoop() argument
436 if (!PreserveLCSSA) in canSafelyUnrollMultiExitLoop()
464 bool PreserveLCSSA, bool UseEpilogRemainder) { in canProfitablyUnrollMultiExitLoop() argument
467 assert(canSafelyUnrollMultiExitLoop(L, LatchExit, PreserveLCSSA, in canProfitablyUnrollMultiExitLoop()
[all …]
DLoopSimplify.cpp125 bool PreserveLCSSA) { in InsertPreheaderForLoop() argument
148 LI, MSSAU, PreserveLCSSA); in InsertPreheaderForLoop()
227 ScalarEvolution *SE, bool PreserveLCSSA, in separateNestedLoop() argument
262 DT, LI, MSSAU, PreserveLCSSA); in separateNestedLoop()
325 formDedicatedExitBlocks(L, DT, LI, MSSAU, PreserveLCSSA); in separateNestedLoop()
327 if (PreserveLCSSA) { in separateNestedLoop()
475 MemorySSAUpdater *MSSAU, bool PreserveLCSSA) { in simplifyOneLoop() argument
506 changeToUnreachable(TI, /*UseLLVMTrap=*/false, PreserveLCSSA, in simplifyOneLoop()
539 Preheader = InsertPreheaderForLoop(L, DT, LI, MSSAU, PreserveLCSSA); in simplifyOneLoop()
548 if (formDedicatedExitBlocks(L, DT, LI, MSSAU, PreserveLCSSA)) in simplifyOneLoop()
[all …]
DLoopUnroll.cpp281 bool PreserveLCSSA, Loop **RemainderLoop) { in UnrollLoop() argument
383 bool NeedToFixLCSSA = PreserveLCSSA && CompletelyUnroll && in UnrollLoop()
400 Peeled = peelLoop(L, ULO.PeelCount, LI, SE, DT, AC, PreserveLCSSA); in UnrollLoop()
439 PreserveLCSSA, RemainderLoop)) { in UnrollLoop()
918 if (PreserveLCSSA && OuterL && CompletelyUnroll && !NeedToFixLCSSA) in UnrollLoop()
941 } else if (PreserveLCSSA) { in UnrollLoop()
948 simplifyLoop(OuterL, DT, LI, SE, AC, nullptr, PreserveLCSSA); in UnrollLoop()
952 simplifyLoop(SubLoop, DT, LI, SE, AC, nullptr, PreserveLCSSA); in UnrollLoop()
DBasicBlockUtils.cpp556 bool PreserveLCSSA, bool &HasLoopExit) { in UpdateAnalysisInformation() argument
592 if (PreserveLCSSA) in UpdateAnalysisInformation()
713 bool PreserveLCSSA) { in SplitBlockPredecessors() argument
725 LI, MSSAU, PreserveLCSSA); in SplitBlockPredecessors()
767 UpdateAnalysisInformation(BB, NewBB, Preds, DT, LI, MSSAU, PreserveLCSSA, in SplitBlockPredecessors()
784 bool PreserveLCSSA) { in SplitLandingPadPredecessors() argument
809 UpdateAnalysisInformation(OrigBB, NewBB1, Preds, DT, LI, MSSAU, PreserveLCSSA, in SplitLandingPadPredecessors()
846 PreserveLCSSA, HasLoopExit); in SplitLandingPadPredecessors()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp125 bool PreserveLCSSA) { in InsertPreheaderForLoop() argument
148 LI, MSSAU, PreserveLCSSA); in InsertPreheaderForLoop()
226 ScalarEvolution *SE, bool PreserveLCSSA, in separateNestedLoop() argument
282 DT, LI, MSSAU, PreserveLCSSA); in separateNestedLoop()
344 formDedicatedExitBlocks(L, DT, LI, MSSAU, PreserveLCSSA); in separateNestedLoop()
346 if (PreserveLCSSA) { in separateNestedLoop()
494 MemorySSAUpdater *MSSAU, bool PreserveLCSSA) { in simplifyOneLoop() argument
525 changeToUnreachable(TI, /*UseLLVMTrap=*/false, PreserveLCSSA, in simplifyOneLoop()
558 Preheader = InsertPreheaderForLoop(L, DT, LI, MSSAU, PreserveLCSSA); in simplifyOneLoop()
567 if (formDedicatedExitBlocks(L, DT, LI, MSSAU, PreserveLCSSA)) in simplifyOneLoop()
[all …]
DLoopUnrollRuntime.cpp73 LoopInfo *LI, bool PreserveLCSSA) { in ConnectProlog() argument
145 nullptr, PreserveLCSSA); in ConnectProlog()
164 nullptr, PreserveLCSSA); in ConnectProlog()
188 LoopInfo *LI, bool PreserveLCSSA) { in ConnectEpilog() argument
279 PreserveLCSSA); in ConnectEpilog()
289 PreserveLCSSA); in ConnectEpilog()
430 bool PreserveLCSSA, in canSafelyUnrollMultiExitLoop() argument
437 if (!PreserveLCSSA) in canSafelyUnrollMultiExitLoop()
465 bool PreserveLCSSA, bool UseEpilogRemainder) { in canProfitablyUnrollMultiExitLoop() argument
468 assert(canSafelyUnrollMultiExitLoop(L, LatchExit, PreserveLCSSA, in canProfitablyUnrollMultiExitLoop()
[all …]
DLoopUnroll.cpp289 bool PreserveLCSSA, Loop **RemainderLoop) { in UnrollLoop() argument
378 bool NeedToFixLCSSA = PreserveLCSSA && CompletelyUnroll && in UnrollLoop()
395 Peeled = peelLoop(L, ULO.PeelCount, LI, SE, DT, AC, PreserveLCSSA); in UnrollLoop()
434 PreserveLCSSA, RemainderLoop)) { in UnrollLoop()
898 if (PreserveLCSSA && OuterL && CompletelyUnroll && !NeedToFixLCSSA) in UnrollLoop()
921 } else if (PreserveLCSSA) { in UnrollLoop()
928 simplifyLoop(OuterL, DT, LI, SE, AC, nullptr, PreserveLCSSA); in UnrollLoop()
932 simplifyLoop(SubLoop, DT, LI, SE, AC, nullptr, PreserveLCSSA); in UnrollLoop()
/external/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp119 LoopInfo *LI, bool PreserveLCSSA) { in InsertPreheaderForLoop() argument
141 LI, PreserveLCSSA); in InsertPreheaderForLoop()
161 bool PreserveLCSSA) { in rewriteLoopExitBlock() argument
177 PreserveLCSSA); in rewriteLoopExitBlock()
251 ScalarEvolution *SE, bool PreserveLCSSA, in separateNestedLoop() argument
286 DT, LI, PreserveLCSSA); in separateNestedLoop()
467 bool PreserveLCSSA) { in simplifyOneLoop() argument
527 Preheader = InsertPreheaderForLoop(L, DT, LI, PreserveLCSSA); in simplifyOneLoop()
549 if (rewriteLoopExitBlock(L, ExitBlock, DT, LI, PreserveLCSSA)) { in simplifyOneLoop()
566 separateNestedLoop(L, Preheader, DT, LI, SE, PreserveLCSSA, AC)) { in simplifyOneLoop()
[all …]
DLoopUnrollRuntime.cpp65 DominatorTree *DT, LoopInfo *LI, bool PreserveLCSSA) { in ConnectProlog() argument
133 PreserveLCSSA); in ConnectProlog()
155 LoopInfo *LI, bool PreserveLCSSA) { in ConnectEpilog() argument
254 PreserveLCSSA); in ConnectEpilog()
435 DominatorTree *DT, bool PreserveLCSSA) { in UnrollRuntimeLoopRemainder() argument
511 DT, LI, PreserveLCSSA); in UnrollRuntimeLoopRemainder()
649 PreserveLCSSA); in UnrollRuntimeLoopRemainder()
674 VMap, DT, LI, PreserveLCSSA); in UnrollRuntimeLoopRemainder()
DBasicBlockUtils.cpp281 bool PreserveLCSSA, bool &HasLoopExit) { in UpdateAnalysisInformation() argument
299 if (PreserveLCSSA) in UpdateAnalysisInformation()
419 LoopInfo *LI, bool PreserveLCSSA) { in SplitBlockPredecessors() argument
431 LI, PreserveLCSSA); in SplitBlockPredecessors()
466 UpdateAnalysisInformation(BB, NewBB, Preds, DT, LI, PreserveLCSSA, in SplitBlockPredecessors()
479 bool PreserveLCSSA) { in SplitLandingPadPredecessors() argument
504 UpdateAnalysisInformation(OrigBB, NewBB1, Preds, DT, LI, PreserveLCSSA, in SplitLandingPadPredecessors()
541 PreserveLCSSA, HasLoopExit); in SplitLandingPadPredecessors()
DBreakCriticalEdges.cpp276 if (Options.PreserveLCSSA) { in SplitCriticalEdge()
305 DestBB, LoopPreds, "split", DT, LI, Options.PreserveLCSSA); in SplitCriticalEdge()
306 if (Options.PreserveLCSSA) in SplitCriticalEdge()
DLoopUnroll.cpp207 bool PreserveLCSSA) { in UnrollLoop() argument
274 bool NeedToFixLCSSA = PreserveLCSSA && CompletelyUnroll && in UnrollLoop()
302 PreserveLCSSA)) { in UnrollLoop()
655 if (PreserveLCSSA && OuterL && CompletelyUnroll && !NeedToFixLCSSA) in UnrollLoop()
666 simplifyLoop(OuterL, DT, LI, SE, AC, PreserveLCSSA); in UnrollLoop()
/external/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h81 bool PreserveLCSSA; member
86 DontDeleteUselessPHIs(false), PreserveLCSSA(false) {} in DT()
99 PreserveLCSSA = true; in setPreserveLCSSA()
201 bool PreserveLCSSA = false);
221 bool PreserveLCSSA = false);
DUnrollLoop.h35 DominatorTree *DT, AssumptionCache *AC, bool PreserveLCSSA);
41 bool PreserveLCSSA);
DLoopSimplify.h61 AssumptionCache *AC, bool PreserveLCSSA);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h128 bool PreserveLCSSA = false; member
148 PreserveLCSSA = true; in setPreserveLCSSA()
257 bool PreserveLCSSA = false);
274 MemorySSAUpdater *MSSAU = nullptr, bool PreserveLCSSA = false);
DUnrollLoop.h84 bool PreserveLCSSA, Loop **RemainderLoop = nullptr);
91 AssumptionCache *AC, bool PreserveLCSSA,
101 DominatorTree *DT, AssumptionCache *AC, bool PreserveLCSSA);
DLoopSimplify.h64 bool PreserveLCSSA);
/external/llvm-project/llvm/unittests/Transforms/Utils/
DUnrollLoopTest.cpp71 bool PreserveLCSSA = L->isRecursivelyLCSSAForm(DT,LI); in TEST() local
75 &AC, /*TTI=*/nullptr, PreserveLCSSA); in TEST()
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h142 bool PreserveLCSSA = false; member
166 PreserveLCSSA = true; in setPreserveLCSSA()
280 bool PreserveLCSSA = false);
297 MemorySSAUpdater *MSSAU = nullptr, bool PreserveLCSSA = false);
DUnrollLoop.h85 OptimizationRemarkEmitter *ORE, bool PreserveLCSSA,
92 const TargetTransformInfo *TTI, bool PreserveLCSSA,
DScalarEvolutionExpander.h69 bool PreserveLCSSA; variable
170 const char *name, bool PreserveLCSSA = true)
171 : SE(se), DL(DL), IVName(name), PreserveLCSSA(PreserveLCSSA),
DLoopSimplify.h66 bool PreserveLCSSA);
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopRerollPass.cpp184 TargetLibraryInfo *TLI, DominatorTree *DT, bool PreserveLCSSA) in LoopReroll() argument
186 PreserveLCSSA(PreserveLCSSA) {} in LoopReroll()
195 bool PreserveLCSSA; member in __anon6b8d516b0111::LoopReroll
392 bool PreserveLCSSA, in DAGRootTracker()
396 PreserveLCSSA(PreserveLCSSA), IV(IV), IVToIncMap(IncrMap), in DAGRootTracker()
449 bool PreserveLCSSA; member
1635 DAGRootTracker DAGRoots(this, L, IV, SE, AA, TLI, DT, LI, PreserveLCSSA, in reroll()
1717 bool PreserveLCSSA = mustPreserveAnalysisID(LCSSAID); in runOnLoop() local
1719 return LoopReroll(AA, LI, SE, TLI, DT, PreserveLCSSA).runOnLoop(L); in runOnLoop()
/external/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp333 LoopInfo *LI, DominatorTree *DT, bool PreserveLCSSA) in LoopInterchangeLegality() argument
335 PreserveLCSSA(PreserveLCSSA), InnerLoopHasReduction(false) {} in LoopInterchangeLegality()
362 bool PreserveLCSSA; member in __anon64106c9e0111::LoopInterchangeLegality
431 bool PreserveLCSSA; member
456 PreserveLCSSA = mustPreserveAnalysisID(LCSSAID); in runOnFunction()
580 PreserveLCSSA); in processLoop()
873 InsertPreheaderForLoop(OuterLoop, DT, LI, PreserveLCSSA); in canInterchangeLoops()
879 InsertPreheaderForLoop(InnerLoop, DT, LI, PreserveLCSSA); in canInterchangeLoops()

123