LLVM
15.0.0git
|
A memory dependence query can return one of three different answers. More...
#include "llvm/Analysis/MemoryDependenceAnalysis.h"
Public Member Functions | |
MemDepResult ()=default | |
bool | isClobber () const |
Tests if this MemDepResult represents a query that is an instruction clobber dependency. More... | |
bool | isDef () const |
Tests if this MemDepResult represents a query that is an instruction definition dependency. More... | |
bool | isNonLocal () const |
Tests if this MemDepResult represents a query that is transparent to the start of the block, but where a non-local hasn't been done. More... | |
bool | isNonFuncLocal () const |
Tests if this MemDepResult represents a query that is transparent to the start of the function. More... | |
bool | isUnknown () const |
Tests if this MemDepResult represents a query which cannot and/or will not be computed. More... | |
Instruction * | getInst () const |
If this is a normal dependency, returns the instruction that is depended on. More... | |
bool | operator== (const MemDepResult &M) const |
bool | operator!= (const MemDepResult &M) const |
bool | operator< (const MemDepResult &M) const |
bool | operator> (const MemDepResult &M) const |
Static Public Member Functions | |
static MemDepResult | getDef (Instruction *Inst) |
get methods: These are static ctor methods for creating various MemDepResult kinds. More... | |
static MemDepResult | getClobber (Instruction *Inst) |
static MemDepResult | getNonLocal () |
static MemDepResult | getNonFuncLocal () |
static MemDepResult | getUnknown () |
Friends | |
class | MemoryDependenceResults |
A memory dependence query can return one of three different answers.
Definition at line 38 of file MemoryDependenceAnalysis.h.
|
default |
Referenced by getClobber(), getDef(), getNonFuncLocal(), getNonLocal(), and getUnknown().
|
inlinestatic |
Definition at line 124 of file MemoryDependenceAnalysis.h.
References assert(), and MemDepResult().
Referenced by llvm::MemoryDependenceResults::getSimplePointerDependencyFrom().
|
inlinestatic |
get methods: These are static ctor methods for creating various MemDepResult kinds.
Definition at line 120 of file MemoryDependenceAnalysis.h.
References assert(), and MemDepResult().
Referenced by llvm::MemoryDependenceResults::getInvariantGroupPointerDependency(), and llvm::MemoryDependenceResults::getSimplePointerDependencyFrom().
|
inline |
If this is a normal dependency, returns the instruction that is depended on.
Otherwise, returns null.
Definition at line 166 of file MemoryDependenceAnalysis.h.
References llvm_unreachable.
Referenced by llvm::MemoryDependenceResults::getDependency(), and reportMayClobberedLoad().
|
inlinestatic |
Definition at line 131 of file MemoryDependenceAnalysis.h.
References MemDepResult().
Referenced by llvm::MemoryDependenceResults::getDependency(), and llvm::MemoryDependenceResults::getSimplePointerDependencyFrom().
|
inlinestatic |
Definition at line 128 of file MemoryDependenceAnalysis.h.
References MemDepResult().
Referenced by llvm::MemoryDependenceResults::getDependency(), llvm::MemoryDependenceResults::getInvariantGroupPointerDependency(), and llvm::MemoryDependenceResults::getSimplePointerDependencyFrom().
|
inlinestatic |
Definition at line 134 of file MemoryDependenceAnalysis.h.
References MemDepResult().
Referenced by llvm::MemoryDependenceResults::getDependency(), llvm::MemoryDependenceResults::getInvariantGroupPointerDependency(), llvm::MemoryDependenceResults::getNonLocalPointerDependency(), llvm::MemoryDependenceResults::getPointerDependencyFrom(), and llvm::MemoryDependenceResults::getSimplePointerDependencyFrom().
|
inline |
Tests if this MemDepResult represents a query that is an instruction clobber dependency.
Definition at line 140 of file MemoryDependenceAnalysis.h.
|
inline |
Tests if this MemDepResult represents a query that is an instruction definition dependency.
Definition at line 144 of file MemoryDependenceAnalysis.h.
Referenced by llvm::MemoryDependenceResults::getPointerDependencyFrom().
|
inline |
Tests if this MemDepResult represents a query that is transparent to the start of the function.
Definition at line 154 of file MemoryDependenceAnalysis.h.
|
inline |
Tests if this MemDepResult represents a query that is transparent to the start of the block, but where a non-local hasn't been done.
Definition at line 148 of file MemoryDependenceAnalysis.h.
Referenced by llvm::MemoryDependenceResults::getPointerDependencyFrom().
|
inline |
Tests if this MemDepResult represents a query which cannot and/or will not be computed.
Definition at line 160 of file MemoryDependenceAnalysis.h.
Referenced by llvm::MemoryDependenceResults::getPointerDependencyFrom().
|
inline |
Definition at line 181 of file MemoryDependenceAnalysis.h.
References M.
|
inline |
Definition at line 182 of file MemoryDependenceAnalysis.h.
References M.
|
inline |
Definition at line 180 of file MemoryDependenceAnalysis.h.
References M.
|
inline |
Definition at line 183 of file MemoryDependenceAnalysis.h.
References M.
|
friend |
Definition at line 186 of file MemoryDependenceAnalysis.h.