Create a pass that inserts preheader blocks into the CFG for every loop.

Synopsis

Declared in <llvm/Transforms/Utils.h>

Pass*
createLoopSimplifyPass();

Description

This pass updates dominator information and loop information, and does not add critical edges to the CFG.

Return Value

An owning pointer to the newly created Pass.

Created with MrDocs