class MemDepResult
Declaration
class MemDepResult { /* full declaration omitted */ };
Description
A memory dependence query can return one of three different answers.
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:49
Method Overview
- public MemDepResult()
- public static llvm::MemDepResult getClobber(llvm::Instruction * Inst)
- public static llvm::MemDepResult getDef(llvm::Instruction * Inst)
- public llvm::Instruction * getInst() const
- public static llvm::MemDepResult getNonFuncLocal()
- public static llvm::MemDepResult getNonLocal()
- public static llvm::MemDepResult getUnknown()
- public bool isClobber() const
- public bool isDef() const
- public bool isNonFuncLocal() const
- public bool isNonLocal() const
- public bool isUnknown() const
Methods
¶MemDepResult()
MemDepResult()
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:127
¶static llvm::MemDepResult getClobber(
llvm::Instruction* Inst)
static llvm::MemDepResult getClobber(
llvm::Instruction* Inst)
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:135
Parameters
- llvm::Instruction* Inst
¶static llvm::MemDepResult getDef(
llvm::Instruction* Inst)
static llvm::MemDepResult getDef(
llvm::Instruction* Inst)
Description
get methods: These are static ctor methods for creating various MemDepResult kinds.
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:131
Parameters
- llvm::Instruction* Inst
¶llvm::Instruction* getInst() const
llvm::Instruction* getInst() const
Description
If this is a normal dependency, returns the instruction that is depended on. Otherwise, returns null.
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:177
¶static llvm::MemDepResult getNonFuncLocal()
static llvm::MemDepResult getNonFuncLocal()
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:142
¶static llvm::MemDepResult getNonLocal()
static llvm::MemDepResult getNonLocal()
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:139
¶static llvm::MemDepResult getUnknown()
static llvm::MemDepResult getUnknown()
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:145
¶bool isClobber() const
bool isClobber() const
Description
Tests if this MemDepResult represents a query that is an instruction clobber dependency.
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:151
¶bool isDef() const
bool isDef() const
Description
Tests if this MemDepResult represents a query that is an instruction definition dependency.
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:155
¶bool isNonFuncLocal() const
bool isNonFuncLocal() const
Description
Tests if this MemDepResult represents a query that is transparent to the start of the function.
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:165
¶bool isNonLocal() const
bool isNonLocal() const
Description
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.
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:159
¶bool isUnknown() const
bool isUnknown() const
Description
Tests if this MemDepResult represents a query which cannot and/or will not be computed.
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:171