LLVM  5.0.0
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::GVNExpression::AggregateValueExpression Class Referencefinal

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

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

Public Types

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

Public Member Functions

 AggregateValueExpression (unsigned NumOperands, unsigned NumIntOperands)
 
 AggregateValueExpression ()=delete
 
 AggregateValueExpression (const AggregateValueExpression &)=delete
 
AggregateValueExpression & operator= (const AggregateValueExpression &)=delete
 
 ~AggregateValueExpression () override
 
int_arg_iterator int_op_begin ()
 
int_arg_iterator int_op_end ()
 
const_int_arg_iterator int_op_begin () const
 
const_int_arg_iterator int_op_end () const
 
unsigned int_op_size () const
 
bool int_op_empty () const
 
void int_op_push_back (unsigned IntOperand)
 
virtual void allocateIntOperands (BumpPtrAllocator &Allocator)
 
bool equals (const Expression &Other) const override
 
hash_code getHashValue () const override
 
void printInternal (raw_ostream &OS, bool PrintEType) const override
 
- 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
 
- 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 ()
 

Detailed Description

Definition at line 409 of file GVNExpression.h.

Member Typedef Documentation

Definition at line 431 of file GVNExpression.h.

Definition at line 430 of file GVNExpression.h.

Constructor & Destructor Documentation

llvm::GVNExpression::AggregateValueExpression::AggregateValueExpression ( unsigned  NumOperands,
unsigned  NumIntOperands 
)
inline

Definition at line 416 of file GVNExpression.h.

llvm::GVNExpression::AggregateValueExpression::AggregateValueExpression ( )
delete
llvm::GVNExpression::AggregateValueExpression::AggregateValueExpression ( const AggregateValueExpression &  )
delete
llvm::GVNExpression::AggregateValueExpression::~AggregateValueExpression ( )
overridedefault

Member Function Documentation

virtual void llvm::GVNExpression::AggregateValueExpression::allocateIntOperands ( BumpPtrAllocator &  Allocator)
inlinevirtual
static bool llvm::GVNExpression::AggregateValueExpression::classof ( const Expression *  EB)
inlinestatic
bool llvm::GVNExpression::AggregateValueExpression::equals ( const Expression &  Other) const
inlineoverridevirtual
hash_code llvm::GVNExpression::AggregateValueExpression::getHashValue ( ) const
inlineoverridevirtual
int_arg_iterator llvm::GVNExpression::AggregateValueExpression::int_op_begin ( )
inline

Definition at line 433 of file GVNExpression.h.

Referenced by equals(), and getHashValue().

const_int_arg_iterator llvm::GVNExpression::AggregateValueExpression::int_op_begin ( ) const
inline

Definition at line 435 of file GVNExpression.h.

bool llvm::GVNExpression::AggregateValueExpression::int_op_empty ( ) const
inline

Definition at line 440 of file GVNExpression.h.

int_arg_iterator llvm::GVNExpression::AggregateValueExpression::int_op_end ( )
inline

Definition at line 434 of file GVNExpression.h.

Referenced by equals(), and getHashValue().

const_int_arg_iterator llvm::GVNExpression::AggregateValueExpression::int_op_end ( ) const
inline

Definition at line 436 of file GVNExpression.h.

void llvm::GVNExpression::AggregateValueExpression::int_op_push_back ( unsigned  IntOperand)
inline

Definition at line 441 of file GVNExpression.h.

References assert().

Referenced by llvm::GVNExpression::int_op_inserter::operator=().

unsigned llvm::GVNExpression::AggregateValueExpression::int_op_size ( ) const
inline

Definition at line 439 of file GVNExpression.h.

Referenced by printInternal().

AggregateValueExpression& llvm::GVNExpression::AggregateValueExpression::operator= ( const AggregateValueExpression &  )
delete
void llvm::GVNExpression::AggregateValueExpression::printInternal ( raw_ostream &  OS,
bool  PrintEType 
) const
inlineoverridevirtual

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