ΒΆvoid cloneAndAdaptNoAliasScopes(
    ArrayRef<llvm::MDNode*> NoAliasDeclScopes,
    ArrayRef<llvm::BasicBlock*> NewBlocks,
    llvm::LLVMContext& Context,
    llvm::StringRef Ext)

Description

Clone the specified noalias decl scopes. Then adapt all instructions in the NewBlocks basicblocks to the cloned versions. 'Ext' will be added to the duplicate scope names.

Declared at: llvm/include/llvm/Transforms/Utils/Cloning.h:336

Parameters

ArrayRef<llvm::MDNode*> NoAliasDeclScopes
ArrayRef<llvm::BasicBlock*> NewBlocks
llvm::LLVMContext& Context
llvm::StringRef Ext