Displaying 1 result from an estimated 1 matches for "createloopinterchangepass".
2017 Dec 21
2
Pass ordering - GVN vs. loop optimizations
...ifyCfg pass here, but
// that's a separate issue>
MPM.add(createLoopIdiomPass()); // Recognize idioms like
memset.
addExtensionsToPM(EP_LateLoopOptimizations, MPM);
MPM.add(createLoopDeletionPass()); // Delete dead loops
if (EnableLoopInterchange) {
MPM.add(createLoopInterchangePass()); // Interchange loops
MPM.add(createCFGSimplificationPass());
}
if (!DisableUnrollLoops)
MPM.add(createSimpleLoopUnrollPass()); // Unroll small loops
addExtensionsToPM(EP_LoopOptimizerEnd, MPM);
// <GVN is now immediately after loop optimizatons
if (OptLevel > 1) {...