LLVM: llvm::GVNExpression::PHIExpression Class Reference (original) (raw)

#include "[llvm/Transforms/Scalar/GVNExpression.h](GVNExpression%5F8h%5Fsource.html)"

Inheritance diagram for llvm::GVNExpression::PHIExpression:

[legend]

Public Member Functions
PHIExpression (unsigned NumOperands, BasicBlock *B)
PHIExpression ()=delete
PHIExpression (const PHIExpression &)=delete
PHIExpression & operator= (const PHIExpression &)=delete
~PHIExpression () override
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.
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 ()
Additional Inherited Members
Public Types inherited from llvm::GVNExpression::BasicExpression
using op_iterator = Value **
using const_op_iterator = Value *const *

Detailed Description

Definition at line 511 of file GVNExpression.h.

Constructor & Destructor Documentation

llvm::GVNExpression::PHIExpression::PHIExpression ( unsigned NumOperands, BasicBlock * B ) inline

Definition at line 516 of file GVNExpression.h.

References B(), llvm::GVNExpression::BasicExpression::BasicExpression(), and llvm::GVNExpression::ET_Phi.

Referenced by equals(), operator=(), and PHIExpression().

PHIExpression() [2/3]

llvm::GVNExpression::PHIExpression::PHIExpression ( ) delete

PHIExpression() [3/3]

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

References PHIExpression().

~PHIExpression()

PHIExpression::~PHIExpression ( ) overridedefault

Member Function Documentation

classof()

bool llvm::GVNExpression::PHIExpression::classof ( const Expression * EB) inlinestatic

Definition at line 523 of file GVNExpression.h.

References llvm::GVNExpression::ET_Phi, and llvm::GVNExpression::Expression::getExpressionType().

equals()

bool llvm::GVNExpression::PHIExpression::equals ( const Expression & Other) const inlineoverridevirtual

Reimplemented from llvm::GVNExpression::BasicExpression.

Definition at line 527 of file GVNExpression.h.

References llvm::cast(), llvm::GVNExpression::BasicExpression::equals(), llvm::Other, and PHIExpression().

getHashValue()

hash_code llvm::GVNExpression::PHIExpression::getHashValue ( ) const inlineoverridevirtual

Reimplemented from llvm::GVNExpression::BasicExpression.

Definition at line 534 of file GVNExpression.h.

References llvm::GVNExpression::BasicExpression::getHashValue(), and llvm::hash_combine().

operator=()

PHIExpression & llvm::GVNExpression::PHIExpression::operator= ( const PHIExpression & ) delete

References PHIExpression().

printInternal()

void llvm::GVNExpression::PHIExpression::printInternal ( raw_ostream & OS, bool PrintEType ) const inlineoverridevirtual

Reimplemented from llvm::GVNExpression::BasicExpression.

Definition at line 539 of file GVNExpression.h.

References llvm::GVNExpression::BasicExpression::printInternal().


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