ΒΆvoid cloneNoAliasScopes(
    ArrayRef<llvm::MDNode*> NoAliasDeclScopes,
    DenseMap<llvm::MDNode*, llvm::MDNode*>&
        ClonedScopes,
    llvm::StringRef Ext,
    llvm::LLVMContext& Context)

Description

Duplicate the specified list of noalias decl scopes. The 'Ext' string is added as an extension to the name. Afterwards, the ClonedScopes contains the mapping of the original scope MDNode onto the cloned scope. Be aware that the cloned scopes are still part of the original scope domain.

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

Parameters

ArrayRef<llvm::MDNode*> NoAliasDeclScopes
DenseMap<llvm::MDNode*, llvm::MDNode*>& ClonedScopes
llvm::StringRef Ext
llvm::LLVMContext& Context