Recursively clone the specified loop and all of its children, mapping the blocks with the specified map.

Synopsis

Declared in <llvm/Transforms/Utils/LoopUtils.h>

Loop*
cloneLoop(
    Loop* L,
    Loop* PL,
    ValueToValueMapTy& VM,
    LoopInfo* LI,
    LPPassManager* LPM);

Return Value

Represents a single loop in the control flow graph. Note that not all SCCs in the CFG are necessarily loops.

Parameters

Name

Description

L

Represents a single loop in the control flow graph. Note that not all SCCs in the CFG are necessarily loops.

PL

Represents a single loop in the control flow graph. Note that not all SCCs in the CFG are necessarily loops.

Created with MrDocs