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:38
Member Variables
- private llvm::MemDepResult::ValueTy Value
Method Overview
- private MemDepResult(llvm::MemDepResult::ValueTy V)
- public MemDepResult()
- public static llvm::MemDepResult getClobber(llvm::Instruction * Inst)
- public static llvm::MemDepResult getDef(llvm::Instruction * Inst)
- private static llvm::MemDepResult getDirty(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
- private bool isDirty() const
- public bool isNonFuncLocal() const
- public bool isNonLocal() const
- public bool isUnknown() const
Methods
¶MemDepResult(llvm::MemDepResult::ValueTy V)
MemDepResult(llvm::MemDepResult::ValueTy V)
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:113
Parameters
¶MemDepResult()
MemDepResult()
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:116
¶static llvm::MemDepResult getClobber(
llvm::Instruction* Inst)
static llvm::MemDepResult getClobber(
llvm::Instruction* Inst)
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:124
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:120
Parameters
- llvm::Instruction* Inst
¶static llvm::MemDepResult getDirty(
llvm::Instruction* Inst)
static llvm::MemDepResult getDirty(
llvm::Instruction* Inst)
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:191
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:166
¶static llvm::MemDepResult getNonFuncLocal()
static llvm::MemDepResult getNonFuncLocal()
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:131
¶static llvm::MemDepResult getNonLocal()
static llvm::MemDepResult getNonLocal()
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:128
¶static llvm::MemDepResult getUnknown()
static llvm::MemDepResult getUnknown()
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:134
¶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:140
¶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:144
¶bool isDirty() const
bool isDirty() const
Description
Tests if this is a MemDepResult in its dirty/invalid. state.
Declared at: llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h:189
¶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:154
¶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:148
¶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:160