LLVM  5.0.0
Public Member Functions | Static Public Member Functions | List of all members
llvm::GVNExpression::MemoryExpression Class Reference

#include "llvm/Transforms/Scalar/GVNExpression.h"

Inheritance diagram for llvm::GVNExpression::MemoryExpression:
[legend]
Collaboration diagram for llvm::GVNExpression::MemoryExpression:
[legend]

Public Member Functions

 MemoryExpression (unsigned NumOperands, enum ExpressionType EType, const MemoryAccess *MemoryLeader)
 
 MemoryExpression ()=delete
 
 MemoryExpression (const MemoryExpression &)=delete
 
MemoryExpression & operator= (const MemoryExpression &)=delete
 
hash_code getHashValue () const override
 
bool equals (const Expression &Other) const override
 
const MemoryAccess * getMemoryLeader () const
 
void setMemoryLeader (const MemoryAccess *ML)
 
- Public Member Functions inherited from llvm::GVNExpression::BasicExpression
 BasicExpression (unsigned NumOperands)
 
 BasicExpression (unsigned NumOperands, ExpressionType ET)
 
 BasicExpression ()=delete
 
 BasicExpression (const BasicExpression &)=delete
 
BasicExpression & operator= (const BasicExpression &)=delete
 
 ~BasicExpression () override
 
void swapOperands (unsigned First, unsigned Second)
 Swap two operands. More...
 
Value * getOperand (unsigned N) const
 
void setOperand (unsigned N, Value *V)
 
unsigned getNumOperands () const
 
op_iterator op_begin ()
 
op_iterator op_end ()
 
const_op_iterator op_begin () const
 
const_op_iterator op_end () const
 
iterator_range< op_iterator > operands ()
 
iterator_range< const_op_iterator > operands () const
 
void op_push_back (Value *Arg)
 
bool op_empty () const
 
void allocateOperands (RecyclerType &Recycler, BumpPtrAllocator &Allocator)
 
void deallocateOperands (RecyclerType &Recycler)
 
void setType (Type *T)
 
Type * getType () const
 
void printInternal (raw_ostream &OS, bool PrintEType) const override
 
- Public Member Functions inherited from llvm::GVNExpression::Expression
 Expression (ExpressionType ET=ET_Base, unsigned O=~2U)
 
 Expression (const Expression &)=delete
 
Expression & operator= (const Expression &)=delete
 
virtual ~Expression ()
 
bool operator!= (const Expression &Other) const
 
bool operator== (const Expression &Other) const
 
hash_code getComputedHash () const
 
virtual bool exactlyEquals (const Expression &Other) const
 
unsigned getOpcode () const
 
void setOpcode (unsigned opcode)
 
ExpressionType getExpressionType () const
 
void print (raw_ostream &OS) const
 
LLVM_DUMP_METHOD void dump () const
 

Static Public Member Functions

static bool classof (const Expression *EB)
 
- Static Public Member Functions inherited from llvm::GVNExpression::BasicExpression
static bool classof (const Expression *EB)
 
- Static Public Member Functions inherited from llvm::GVNExpression::Expression
static unsigned getEmptyKey ()
 
static unsigned getTombstoneKey ()
 

Additional Inherited Members

- Public Types inherited from llvm::GVNExpression::BasicExpression
typedef Value ** op_iterator
 
typedef Value *const * const_op_iterator
 

Detailed Description

Definition at line 259 of file GVNExpression.h.

Constructor & Destructor Documentation

llvm::GVNExpression::MemoryExpression::MemoryExpression ( unsigned  NumOperands,
enum ExpressionType  EType,
const MemoryAccess *  MemoryLeader 
)
inline

Definition at line 264 of file GVNExpression.h.

llvm::GVNExpression::MemoryExpression::MemoryExpression ( )
delete
llvm::GVNExpression::MemoryExpression::MemoryExpression ( const MemoryExpression &  )
delete

Member Function Documentation

static bool llvm::GVNExpression::MemoryExpression::classof ( const Expression *  EB)
inlinestatic
bool llvm::GVNExpression::MemoryExpression::equals ( const Expression &  Other) const
inlineoverridevirtual
hash_code llvm::GVNExpression::MemoryExpression::getHashValue ( ) const
inlineoverridevirtual
const MemoryAccess* llvm::GVNExpression::MemoryExpression::getMemoryLeader ( ) const
inline
MemoryExpression& llvm::GVNExpression::MemoryExpression::operator= ( const MemoryExpression &  )
delete
void llvm::GVNExpression::MemoryExpression::setMemoryLeader ( const MemoryAccess *  ML)
inline

Definition at line 288 of file GVNExpression.h.


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