llvm-project/llvm/lib/Passes
Jingu Kang a2a0ac42ab [SimpleLoopBoundSplit] Split Bound of Loop which has conditional branch with IV
This pass transforms loops that contain a conditional branch with induction
variable. For example, it transforms left code to right code:

                             newbound = min(n, c)
 while (iv < n) {            while(iv < newbound) {
   A                           A
   if (iv < c)                 B
     B                         C
   C                         }
 }                           if (iv != n) {
                               while (iv < n) {
                                 A
                                 C
                               }
                             }

Differential Revision: https://reviews.llvm.org/D102234
2021-06-07 10:55:25 +01:00
..
CMakeLists.txt [NewPM] Add C bindings for new pass manager 2021-05-17 11:45:47 -07:00
PassBuilder.cpp [SimpleLoopBoundSplit] Split Bound of Loop which has conditional branch with IV 2021-06-07 10:55:25 +01:00
PassBuilderBindings.cpp [NewPM] Add C bindings for new pass manager 2021-05-17 11:45:47 -07:00
PassPlugin.cpp
PassRegistry.def [SimpleLoopBoundSplit] Split Bound of Loop which has conditional branch with IV 2021-06-07 10:55:25 +01:00
StandardInstrumentations.cpp Reuse temporary files for print-changed=diff 2021-05-27 10:19:13 -04:00