ΒΆllvm::Loop* cloneLoop(llvm::Loop* L,
                      llvm::Loop* PL,
                      llvm::ValueToValueMapTy& VM,
                      llvm::LoopInfo* LI,
                      llvm::LPPassManager* LPM)

Description

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

Declared at: llvm/include/llvm/Transforms/Utils/LoopUtils.h:501

Parameters

llvm::Loop* L
llvm::Loop* PL
llvm::ValueToValueMapTy& VM
llvm::LoopInfo* LI
llvm::LPPassManager* LPM