llvm::combineAAMetadata

Combine alias-analysis metadata after merging memory accesses.

Synopsis

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

void
combineAAMetadata(
    Instruction* K,
    Instruction const* J);

Description

Combine metadata of two instructions, where instruction J is a memory access that has been merged into K. This will intersect alias-analysis metadata, while preserving other known metadata.

Parameters

NameDescription
KSurviving memory-access instruction.
JMemory-access instruction merged into K.