llvm::cloneAndAdaptNoAliasScopes

cloneAndAdaptNoAliasScopes overloads

Synopses

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

Clone noalias scopes and adapt instructions in new blocks.

void
cloneAndAdaptNoAliasScopes(
    ArrayRef<MDNode*> NoAliasDeclScopes,
    ArrayRef<BasicBlock*> NewBlocks,
    LLVMContext& Context,
    StringRef Ext);
» more...

Clone noalias scopes and adapt instructions in a range.

void
cloneAndAdaptNoAliasScopes(
    ArrayRef<MDNode*> NoAliasDeclScopes,
    Instruction* IStart,
    Instruction* IEnd,
    LLVMContext& Context,
    StringRef Ext);
» more...

Parameters

NameDescription
NoAliasDeclScopesNoalias scopes to duplicate.
NewBlocksBlocks whose instructions should use the cloned scopes.
ContextLLVM context used to create and adapt metadata.
ExtSuffix appended to the duplicated scope names.
IStartFirst instruction whose metadata should be adapted.
IEndLast instruction whose metadata should be adapted (inclusive).