MLIR
20.0.0git
|
The possible results of whether a memory access modifies or references a memory location. More...
#include "mlir/Analysis/AliasAnalysis.h"
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.
|
inlinestatic |
Return a new result that indicates that the memory access may modify the value stored in memory.
Definition at line 119 of file AliasAnalysis.h.
Referenced by mlir::LocalAliasAnalysis::getModRef().
|
inlinestatic |
Return a new result that indicates that the memory access may reference and may modify the value stored in memory.
Definition at line 123 of file AliasAnalysis.h.
Referenced by mlir::AliasAnalysis::getModRef(), and mlir::LocalAliasAnalysis::getModRef().
|
inlinestatic |
Return a new result that indicates that the memory access neither references nor modifies the value stored in memory.
Definition at line 111 of file AliasAnalysis.h.
Referenced by mlir::LocalAliasAnalysis::getModRef().
|
inlinestatic |
Return a new result that indicates that the memory access may reference the value stored in memory.
Definition at line 115 of file AliasAnalysis.h.
Referenced by mlir::LocalAliasAnalysis::getModRef().
|
inline |
Intersect this ModRef result with other
and return the result.
Definition at line 150 of file AliasAnalysis.h.
Referenced by mlir::AliasAnalysis::getModRef().
|
inline |
Returns if this result modifies memory.
Definition at line 129 of file AliasAnalysis.h.
|
inline |
Returns if this result modifies and references memory.
Definition at line 142 of file AliasAnalysis.h.
Referenced by mlir::LocalAliasAnalysis::getModRef().
|
inline |
Returns if this result modifies or references memory.
Definition at line 139 of file AliasAnalysis.h.
|
inline |
Returns if this result does not modify or reference memory.
Definition at line 126 of file AliasAnalysis.h.
Referenced by mlir::AliasAnalysis::getModRef().
|
inline |
Returns if this result references memory.
Definition at line 134 of file AliasAnalysis.h.
|
inline |
Merge this ModRef result with other
and return the result.
Definition at line 145 of file AliasAnalysis.h.
Referenced by mlir::LocalAliasAnalysis::getModRef().
|
inline |
Definition at line 107 of file AliasAnalysis.h.
|
inline |
Definition at line 106 of file AliasAnalysis.h.
void ModRefResult::print | ( | raw_ostream & | os | ) | const |
Print this ModRef result to the provided output stream.
Definition at line 55 of file AliasAnalysis.cpp.
Referenced by mlir::operator<<().