LLVM API Documentation

llvm::MemDepResult Class Reference

#include <MemoryDependenceAnalysis.h>

Collaboration diagram for llvm::MemDepResult:
[legend]

List of all members.

Public Member Functions

 MemDepResult ()
bool isClobber () const
bool isDef () const
bool isNonLocal () const
Instruction * getInst () const
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)
static MemDepResult getClobber (Instruction *Inst)
static MemDepResult getNonLocal ()

Friends

class MemoryDependenceAnalysis


Detailed Description

MemDepResult - A memory dependence query can return one of three different answers, described below.

Definition at line 36 of file MemoryDependenceAnalysis.h.


Constructor & Destructor Documentation

llvm::MemDepResult::MemDepResult (  )  [inline]

Definition at line 76 of file MemoryDependenceAnalysis.h.

Referenced by getClobber(), getDef(), and getNonLocal().


Member Function Documentation

static MemDepResult llvm::MemDepResult::getDef ( Instruction *  Inst  )  [inline, static]

get methods: These are static ctor methods for creating various MemDepResult kinds.

Definition at line 80 of file MemoryDependenceAnalysis.h.

References MemDepResult().

static MemDepResult llvm::MemDepResult::getClobber ( Instruction *  Inst  )  [inline, static]

static MemDepResult llvm::MemDepResult::getNonLocal (  )  [inline, static]

bool llvm::MemDepResult::isClobber (  )  const [inline]

isClobber - Return true if this MemDepResult represents a query that is a instruction clobber dependency.

Definition at line 92 of file MemoryDependenceAnalysis.h.

bool llvm::MemDepResult::isDef (  )  const [inline]

isDef - Return true if this MemDepResult represents a query that is a instruction definition dependency.

Definition at line 96 of file MemoryDependenceAnalysis.h.

bool llvm::MemDepResult::isNonLocal (  )  const [inline]

isNonLocal - Return true if this MemDepResult represents an query that is transparent to the start of the block, but where a non-local hasn't been done.

Definition at line 101 of file MemoryDependenceAnalysis.h.

Referenced by llvm::MemoryDependenceAnalysis::getNonLocalCallDependency().

Instruction* llvm::MemDepResult::getInst (  )  const [inline]

getInst() - If this is a normal dependency, return the instruction that is depended on. Otherwise, return null.

Definition at line 105 of file MemoryDependenceAnalysis.h.

Referenced by llvm::MemoryDependenceAnalysis::getDependency(), llvm::MemoryDependenceAnalysis::getNonLocalCallDependency(), and llvm::MemoryDependenceAnalysis::removeInstruction().

bool llvm::MemDepResult::operator== ( const MemDepResult &  M  )  const [inline]

Definition at line 107 of file MemoryDependenceAnalysis.h.

References Value.

bool llvm::MemDepResult::operator!= ( const MemDepResult &  M  )  const [inline]

Definition at line 108 of file MemoryDependenceAnalysis.h.

References Value.

bool llvm::MemDepResult::operator< ( const MemDepResult &  M  )  const [inline]

Definition at line 109 of file MemoryDependenceAnalysis.h.

References Value.

bool llvm::MemDepResult::operator> ( const MemDepResult &  M  )  const [inline]

Definition at line 110 of file MemoryDependenceAnalysis.h.

References Value.


Friends And Related Function Documentation

friend class MemoryDependenceAnalysis [friend]

Definition at line 112 of file MemoryDependenceAnalysis.h.


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