search for: createloopunrollandjampass

Displaying 2 results from an estimated 2 matches for "createloopunrollandjampass".

2018 Aug 09
3
Legacy Loop Pass Manager question
...t I thought. However for this code snippet: if (EnableUnrollAndJam) { // Unroll and Jam. We do this before unroll but need to be in a separate // loop pass manager in order for the outer loop to be processed by // unroll and jam before the inner loop is unrolled. MPM.add(createLoopUnrollAndJamPass(OptLevel)); } MPM.add(createLoopUnrollPass(OptLevel)); // Unroll small loops I see: Loop-Closed SSA Form Pass Loop Pass Manager Unroll and Jam loops Loop Pass Manager Unroll loops Lazy Branch Probability Analysis Here two different loop pass man...
2019 May 13
2
Is it possible to reproduce the result of opt -O3 manually?
I think this has to do with how the pass manager is populated when we give -O3 vs when we give particular pass names. Some passes have multiple createXYZPass() methods that accept arguments too. These methods call non-default pass constructors, which in turn cause the passes to behave in a different manner. eg: Pass *llvm::createLICMPass() { return new LegacyLICMPass(); } Pass