llvm::AAResults::getModRefInfoMask

getModRefInfoMask overloads

Synopses

Declared in <llvm/Analysis/AliasAnalysis.h>

Return a ModRef bitmask for a memory location.

ModRefInfo
getModRefInfoMask(
    MemoryLocation const& Loc,
    bool IgnoreLocals = false);
» more...

A convenience wrapper around the primary getModRefInfoMask interface.

ModRefInfo
getModRefInfoMask(
    Value const* P,
    bool IgnoreLocals = false);
» more...

Return a ModRef bitmask for Loc using query state AAQI.

ModRefInfo
getModRefInfoMask(
    MemoryLocation const& Loc,
    AAQueryInfo& AAQI,
    bool IgnoreLocals = false);
» more...

Return Value

  • A ModRef bitmask that can be applied to ModRef info for Loc.
  • A ModRef bitmask that can be applied to ModRef info for P.

Parameters

NameDescription
LocMemory location whose ModRef mask is requested.
IgnoreLocalsWhen true, treat local allocas as NoModRef.
PPointer value whose ModRef mask is requested.
AAQIQuery state and caches for this query.