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

#include <GVNExpression.h>

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

Public Types

typedef unsignedint_arg_iterator
 
typedef const unsignedconst_int_arg_iterator
 
- Public Types inherited from llvm::GVNExpression::BasicExpression
typedef Value ** op_iterator
 
typedef Value *constconst_op_iterator
 

Public Member Functions

 AggregateValueExpression (unsigned NumOperands, unsigned NumIntOperands)
 
void operator= (const AggregateValueExpression &)=delete
 
 AggregateValueExpression (const AggregateValueExpression &)=delete
 
 AggregateValueExpression ()=delete
 
virtual ~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)
 
virtual bool equals (const Expression &Other) const override
 
virtual hash_code getHashValue () const override
 
virtual 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)
 
virtual ~BasicExpression () override
 
void operator= (const BasicExpression &)=delete
 
 BasicExpression (const BasicExpression &)=delete
 
 BasicExpression ()=delete
 
void swapOperands (unsigned First, unsigned Second)
 Swap two operands. More...
 
ValuegetOperand (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_iteratoroperands ()
 
iterator_range< const_op_iteratoroperands () 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)
 
TypegetType () const
 
- Public Member Functions inherited from llvm::GVNExpression::Expression
 Expression (const Expression &)=delete
 
 Expression (ExpressionType ET=ET_Base, unsigned O=~2U)
 
void operator= (const Expression &)=delete
 
virtual ~Expression ()
 
bool operator== (const Expression &Other) const
 
unsigned getOpcode () const
 
void setOpcode (unsigned opcode)
 
ExpressionType getExpressionType () const
 
void print (raw_ostream &OS) const
 
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 366 of file GVNExpression.h.

Member Typedef Documentation

Definition at line 388 of file GVNExpression.h.

Definition at line 387 of file GVNExpression.h.

Constructor & Destructor Documentation

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

Definition at line 377 of file GVNExpression.h.

llvm::GVNExpression::AggregateValueExpression::AggregateValueExpression ( const AggregateValueExpression )
delete
llvm::GVNExpression::AggregateValueExpression::AggregateValueExpression ( )
delete
llvm::GVNExpression::AggregateValueExpression::~AggregateValueExpression ( )
overridevirtualdefault

Member Function Documentation

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

Definition at line 390 of file GVNExpression.h.

Referenced by equals(), and getHashValue().

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

Definition at line 392 of file GVNExpression.h.

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

Definition at line 397 of file GVNExpression.h.

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

Definition at line 391 of file GVNExpression.h.

Referenced by equals(), and getHashValue().

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

Definition at line 393 of file GVNExpression.h.

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

Definition at line 398 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 396 of file GVNExpression.h.

Referenced by printInternal().

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

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