1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/include/llvm/Transforms
Fedor Sergeev 3a27395ee7 [New PM][IRCE] port of Inductive Range Check Elimination pass to the new pass manager
There are two nontrivial details here:
* Loop structure update interface is quite different with new pass manager,
  so the code to add new loops was factored out

* BranchProbabilityInfo is not a loop analysis, so it can not be just getResult'ed from
  within the loop pass. It cant even be queried through getCachedResult as LoopCanonicalization
  sequence (e.g. LoopSimplify) might invalidate BPI results.

  Complete solution for BPI will likely take some time to discuss and figure out,
  so for now this was partially solved by making BPI optional in IRCE
  (skipping a couple of profitability checks if it is absent).

Most of the IRCE tests got their corresponding new-pass-manager variant enabled.
Only two of them depend on BPI, both marked with TODO, to be turned on when BPI
starts being available for loop passes.

Reviewers: chandlerc, mkazantsev, sanjoy, asbirlea
Reviewed By: mkazantsev
Differential Revision: https://reviews.llvm.org/D43795

llvm-svn: 327619
2018-03-15 11:01:19 +00:00
..
AggressiveInstCombine Another try to commit 323321 (aggressive instruction combine). 2018-01-25 12:06:32 +00:00
InstCombine
Instrumentation
IPO [ThinLTO] Convert dead alias to declarations 2018-02-05 15:44:27 +00:00
Scalar [New PM][IRCE] port of Inductive Range Check Elimination pass to the new pass manager 2018-03-15 11:01:19 +00:00
Utils Pass a module reference to CloneModule. 2018-02-14 19:50:40 +00:00
Vectorize [SLP] Take user instructions cost into consideration in insertelement vectorization. 2018-02-12 14:54:48 +00:00
Coroutines.h
GCOVProfiler.h
InstrProfiling.h [InstrProfiling] Emit the runtime hook when no counters are lowered 2018-02-28 19:00:08 +00:00
Instrumentation.h [hwasan] Implement -fsanitize-recover=hwaddress. 2017-12-20 19:05:44 +00:00
IPO.h Add missing include to fix the failure caused by r323266 2018-01-23 22:55:28 +00:00
ObjCARC.h
PGOInstrumentation.h
SampleProfile.h
Scalar.h Remove the LoopInstSimplify pass (-loop-instsimplify) 2018-03-12 20:49:42 +00:00
Vectorize.h