/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LICM.cpp | 67 struct LICM : public LoopPass { struct 69 LICM() : LoopPass(ID) { in LICM() function 175 char LICM::ID = 0; 176 INITIALIZE_PASS_BEGIN(LICM, "licm", "Loop Invariant Code Motion", false, false) 181 INITIALIZE_PASS_END(LICM, "licm", "Loop Invariant Code Motion", false, false) in INITIALIZE_PASS_DEPENDENCY() 183 Pass *llvm::createLICMPass() { return new LICM(); } in INITIALIZE_PASS_DEPENDENCY() 189 bool LICM::runOnLoop(Loop *L, LPPassManager &LPM) { in runOnLoop() 273 void LICM::SinkRegion(DomTreeNode *N) { in SinkRegion() 320 void LICM::HoistRegion(DomTreeNode *N) { in HoistRegion() 362 bool LICM::canSinkOrHoistInst(Instruction &I) { in canSinkOrHoistInst() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LICM/ |
D | sink.ll | 1 ; RUN: opt -S -licm < %s | FileCheck %s --check-prefix=CHECK-LICM 27 ; CHECK-LICM: .lr.ph.preheader: 28 ; CHECK-LICM: load i32, i32* @g 29 ; CHECK-LICM: br label %.lr.ph
|
D | alias-set-tracker-loss.ll | 5 ; loop. Because of how LICM works, when this middle loop is unrolled and 6 ; removed, its alias set tracker is destroyed and no longer available when LICM
|
D | 2003-02-27-StoreSinkPHIs.ll | 1 ; LICM is adding stores before phi nodes. bad.
|
D | bisect-state.ll | 1 ; Make sure we don't crash in LICM.
|
D | int_sideeffect.ll | 5 ; LICM across a @llvm.sideeffect.
|
D | 2003-05-02-LoadHoist.ll | 1 ; This testcase tests for a problem where LICM hoists loads out of a loop
|
/external/llvm/test/Transforms/LICM/ |
D | alias-set-tracker-loss.ll | 5 ; loop. Because of how LICM works, when this middle loop is unrolled and 6 ; removed, its alias set tracker is destroyed and no longer available when LICM
|
D | 2003-02-27-StoreSinkPHIs.ll | 1 ; LICM is adding stores before phi nodes. bad.
|
D | 2003-05-02-LoadHoist.ll | 1 ; This testcase tests for a problem where LICM hoists loads out of a loop
|
D | no-preheader-test.ll | 1 ; Test that LICM works when there is not a loop-preheader
|
D | 2003-02-27-PreheaderProblem.ll | 1 ; Here we have a case where there are two loops and LICM is hoisting an
|
/external/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 135 return LICM.runOnLoop(L, in runOnLoop() 155 assert(LICM.getLoopToAliasSetMap().empty() && in doFinalization() 161 LoopInvariantCodeMotion LICM; member 188 LoopInvariantCodeMotion LICM; in run() local 190 if (!LICM.runOnLoop(&L, AA, LI, DT, TLI, SE, true)) in run() 1130 AliasSetTracker *AST = LICM.getLoopToAliasSetMap().lookup(L); in cloneBasicBlockAnalysis() 1140 AliasSetTracker *AST = LICM.getLoopToAliasSetMap().lookup(L); in deleteAnalysisValue() 1150 AliasSetTracker *AST = LICM.getLoopToAliasSetMap().lookup(L); in deleteAnalysisLoop() 1155 LICM.getLoopToAliasSetMap().erase(L); in deleteAnalysisLoop()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LICM.cpp | 145 for (auto <AS : LICM.getLoopToAliasSetMap()) in runOnLoop() 147 LICM.getLoopToAliasSetMap().clear(); in runOnLoop() 159 return LICM.runOnLoop(L, in runOnLoop() 185 assert(LICM.getLoopToAliasSetMap().empty() && in doFinalization() 191 LoopInvariantCodeMotion LICM; member 218 LoopInvariantCodeMotion LICM; in run() local 219 if (!LICM.runOnLoop(&L, &AR.AA, &AR.LI, &AR.DT, &AR.TLI, &AR.TTI, &AR.SE, in run() 1520 AliasSetTracker *AST = LICM.getLoopToAliasSetMap().lookup(L); in cloneBasicBlockAnalysis() 1530 AliasSetTracker *AST = LICM.getLoopToAliasSetMap().lookup(L); in deleteAnalysisValue() 1540 AliasSetTracker *AST = LICM.getLoopToAliasSetMap().lookup(L); in deleteAnalysisLoop() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/TypeBasedAliasAnalysis/ |
D | licm.ll | 3 ; LICM should be able to hoist the address load out of the loop 36 ; LICM shouldn't hoist anything here.
|
/external/llvm/test/Analysis/TypeBasedAliasAnalysis/ |
D | licm.ll | 3 ; LICM should be able to hoist the address load out of the loop 36 ; LICM shouldn't hoist anything here.
|
/external/swiftshader/third_party/LLVM/test/Analysis/TypeBasedAliasAnalysis/ |
D | licm.ll | 3 ; LICM should be able to hoist the address load out of the loop 36 ; LICM shouldn't hoist anything here.
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/ |
D | licm-tocReg.ll | 5 ; LICM due to BCTRL_LDinto_toc in bb2.if.then. This call causes the compiler 7 ; after. By communicating to Machine LICM that X2 is guaranteed to have the 11 ; Pre Machine LICM MIR
|
/external/swiftshader/third_party/LLVM/test/Analysis/BasicAA/ |
D | store-promote.ll | 1 ; Test that LICM uses basicaa to do alias analysis, which is capable of 2 ; disambiguating some obvious cases. If LICM is able to disambiguate the
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/BasicAA/ |
D | store-promote.ll | 1 ; Test that LICM uses basicaa to do alias analysis, which is capable of 2 ; disambiguating some obvious cases. If LICM is able to disambiguate the
|
/external/llvm/test/Analysis/BasicAA/ |
D | store-promote.ll | 1 ; Test that LICM uses basicaa to do alias analysis, which is capable of 2 ; disambiguating some obvious cases. If LICM is able to disambiguate the
|
/external/swiftshader/third_party/LLVM/test/Transforms/LICM/ |
D | 2003-02-27-StoreSinkPHIs.ll | 1 ; LICM is adding stores before phi nodes. bad.
|
D | no-preheader-test.ll | 1 ; Test that LICM works when there is not a loop-preheader
|
D | 2003-05-02-LoadHoist.ll | 1 ; This testcase tests for a problem where LICM hoists loads out of a loop
|
D | 2003-02-27-PreheaderProblem.ll | 1 ; Here we have a case where there are two loops and LICM is hoisting an
|