MLIR: mlir::ModRefResult Class Reference (original) (raw)

The possible results of whether a memory access modifies or references a memory location. More...

#include "[mlir/Analysis/AliasAnalysis.h](AliasAnalysis%5F8h%5Fsource.html)"

Public Member Functions
bool operator== (const ModRefResult &rhs) const
bool operator!= (const ModRefResult &rhs) const
bool isNoModRef () const
Returns if this result does not modify or reference memory. More...
bool isMod () const
Returns if this result modifies memory. More...
bool isRef () const
Returns if this result references memory. More...
bool isModOrRef () const
Returns if this result modifies or references memory. More...
bool isModAndRef () const
Returns if this result modifies and references memory. More...
ModRefResult merge (const ModRefResult &other)
Merge this ModRef result with other and return the result. More...
ModRefResult intersect (const ModRefResult &other)
Intersect this ModRef result with other and return the result. More...
void print (raw_ostream &os) const
Print this ModRef result to the provided output stream. More...
Static Public Member Functions
static ModRefResult getNoModRef ()
Return a new result that indicates that the memory access neither references nor modifies the value stored in memory. More...
static ModRefResult getRef ()
Return a new result that indicates that the memory access may reference the value stored in memory. More...
static ModRefResult getMod ()
Return a new result that indicates that the memory access may modify the value stored in memory. More...
static ModRefResult getModAndRef ()
Return a new result that indicates that the memory access may reference and may modify the value stored in memory. More...

The possible results of whether a memory access modifies or references a memory location.

The possible results are: no access at all, a modification, a reference, or both a modification and a reference.

Definition at line 90 of file AliasAnalysis.h.

getMod()

static ModRefResult mlir::ModRefResult::getMod ( ) inlinestatic

getModAndRef()

static ModRefResult mlir::ModRefResult::getModAndRef ( ) inlinestatic

getNoModRef()

static ModRefResult mlir::ModRefResult::getNoModRef ( ) inlinestatic

getRef()

static ModRefResult mlir::ModRefResult::getRef ( ) inlinestatic

intersect()

isMod()

bool mlir::ModRefResult::isMod ( ) const inline

isModAndRef()

bool mlir::ModRefResult::isModAndRef ( ) const inline

isModOrRef()

bool mlir::ModRefResult::isModOrRef ( ) const inline

Returns if this result modifies or references memory.

Definition at line 139 of file AliasAnalysis.h.

References kind.

isNoModRef()

bool mlir::ModRefResult::isNoModRef ( ) const inline

isRef()

bool mlir::ModRefResult::isRef ( ) const inline

merge()

operator!=()

bool mlir::ModRefResult::operator!= ( const ModRefResult & rhs) const inline

operator==()

bool mlir::ModRefResult::operator== ( const ModRefResult & rhs) const inline

print()

void ModRefResult::print ( raw_ostream & os ) const

The documentation for this class was generated from the following files: