Home
last modified time | relevance | path

Searched refs:LICM (Results 1 – 25 of 109) sorted by relevance

12345

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLICM.cpp67 struct LICM : public LoopPass { struct
69 LICM() : LoopPass(ID) { in LICM() argument
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/
Dsink.ll1 ; 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
Dalias-set-tracker-loss.ll5 ; 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
D2003-02-27-StoreSinkPHIs.ll1 ; LICM is adding stores before phi nodes. bad.
Dbisect-state.ll1 ; Make sure we don't crash in LICM.
Dint_sideeffect.ll5 ; LICM across a @llvm.sideeffect.
D2003-05-02-LoadHoist.ll1 ; This testcase tests for a problem where LICM hoists loads out of a loop
/external/llvm/test/Transforms/LICM/
Dalias-set-tracker-loss.ll5 ; 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
D2003-02-27-StoreSinkPHIs.ll1 ; LICM is adding stores before phi nodes. bad.
D2003-05-02-LoadHoist.ll1 ; This testcase tests for a problem where LICM hoists loads out of a loop
Dno-preheader-test.ll1 ; Test that LICM works when there is not a loop-preheader
D2003-02-27-PreheaderProblem.ll1 ; Here we have a case where there are two loops and LICM is hoisting an
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp135 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/
DLICM.cpp145 for (auto &LTAS : 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/
Dlicm.ll3 ; 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/
Dlicm.ll3 ; 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/
Dlicm.ll3 ; 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/
Dlicm-tocReg.ll5 ; 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/
Dstore-promote.ll1 ; 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/
Dstore-promote.ll1 ; 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/
Dstore-promote.ll1 ; 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/
D2003-02-27-StoreSinkPHIs.ll1 ; LICM is adding stores before phi nodes. bad.
Dno-preheader-test.ll1 ; Test that LICM works when there is not a loop-preheader
D2003-05-02-LoadHoist.ll1 ; This testcase tests for a problem where LICM hoists loads out of a loop
D2003-02-27-PreheaderProblem.ll1 ; Here we have a case where there are two loops and LICM is hoisting an

12345