Insert a for (int i = 0; i < End; i++) loop structure (with the exception that End is assumed > 0, and thus not checked on entry) at SplitBefore. Returns the first insert point in the loop body, and the PHINode for the induction variable (i.e. "i" above).
Declared in <llvm/Transforms/Utils/BasicBlockUtils.h>
std::pair<Instruction*, Value*>
SplitBlockAndInsertSimpleForLoop(
Value* End,
BasicBlock::iterator SplitBefore);
Struct holding two objects of arbitrary type.
| Name | Description |
|---|---|
| End | LLVM Value Representation |
| SplitBefore | Instruction iterators... |