LLVM 20.0.0git
|
#include "llvm/Transforms/Scalar/GVNExpression.h"
Public Member Functions | |
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 | equals (const Expression &Other) const |
virtual bool | exactlyEquals (const Expression &Other) const |
unsigned | getOpcode () const |
void | setOpcode (unsigned opcode) |
ExpressionType | getExpressionType () const |
virtual hash_code | getHashValue () const |
virtual void | printInternal (raw_ostream &OS, bool PrintEType) const |
void | print (raw_ostream &OS) const |
LLVM_DUMP_METHOD void | dump () const |
Static Public Member Functions | |
static unsigned | getEmptyKey () |
static unsigned | getTombstoneKey () |
Definition at line 60 of file GVNExpression.h.
|
inline |
Definition at line 67 of file GVNExpression.h.
|
delete |
|
virtualdefault |
LLVM_DUMP_METHOD void llvm::GVNExpression::Expression::dump | ( | ) | const |
Definition at line 83 of file GVNSink.cpp.
References llvm::dbgs(), and print().
|
inlinevirtual |
Reimplemented in llvm::GVNExpression::BasicExpression, llvm::GVNExpression::MemoryExpression, llvm::GVNExpression::CallExpression, llvm::GVNExpression::LoadExpression, llvm::GVNExpression::StoreExpression, llvm::GVNExpression::AggregateValueExpression, llvm::GVNExpression::PHIExpression, llvm::GVNExpression::VariableExpression, llvm::GVNExpression::ConstantExpression, and llvm::GVNExpression::UnknownExpression.
Definition at line 100 of file GVNExpression.h.
Referenced by exactlyEquals(), and operator==().
|
inlinevirtual |
Reimplemented in llvm::GVNExpression::CallExpression, llvm::GVNExpression::LoadExpression, and llvm::GVNExpression::StoreExpression.
Definition at line 104 of file GVNExpression.h.
References equals(), getExpressionType(), and llvm::Other.
Referenced by llvm::GVNExpression::CallExpression::exactlyEquals(), llvm::GVNExpression::LoadExpression::exactlyEquals(), and llvm::GVNExpression::StoreExpression::exactlyEquals().
|
inline |
Definition at line 91 of file GVNExpression.h.
References getHashValue().
|
inlinestatic |
Definition at line 73 of file GVNExpression.h.
Referenced by operator==().
|
inline |
Definition at line 110 of file GVNExpression.h.
Referenced by llvm::GVNExpression::BasicExpression::classof(), llvm::GVNExpression::MemoryExpression::classof(), llvm::GVNExpression::CallExpression::classof(), llvm::GVNExpression::LoadExpression::classof(), llvm::GVNExpression::StoreExpression::classof(), llvm::GVNExpression::AggregateValueExpression::classof(), llvm::GVNExpression::PHIExpression::classof(), llvm::GVNExpression::VariableExpression::classof(), llvm::GVNExpression::ConstantExpression::classof(), llvm::GVNExpression::UnknownExpression::classof(), exactlyEquals(), operator==(), and printInternal().
|
inlinevirtual |
Reimplemented in llvm::GVNExpression::BasicExpression, llvm::GVNExpression::MemoryExpression, llvm::GVNExpression::AggregateValueExpression, llvm::GVNExpression::PHIExpression, llvm::GVNExpression::VariableExpression, llvm::GVNExpression::ConstantExpression, and llvm::GVNExpression::UnknownExpression.
Definition at line 113 of file GVNExpression.h.
References getOpcode().
Referenced by getComputedHash(), llvm::GVNExpression::BasicExpression::getHashValue(), llvm::GVNExpression::VariableExpression::getHashValue(), llvm::GVNExpression::ConstantExpression::getHashValue(), and llvm::GVNExpression::UnknownExpression::getHashValue().
|
inline |
Definition at line 108 of file GVNExpression.h.
Referenced by llvm::GVNExpression::BasicExpression::equals(), getHashValue(), operator==(), and printInternal().
|
inlinestatic |
Definition at line 74 of file GVNExpression.h.
Referenced by operator==().
|
inline |
Definition at line 76 of file GVNExpression.h.
References llvm::Other.
|
delete |
|
inline |
Definition at line 77 of file GVNExpression.h.
References equals(), llvm::GVNExpression::ET_Load, llvm::GVNExpression::ET_Store, getEmptyKey(), getExpressionType(), getOpcode(), getTombstoneKey(), and llvm::Other.
|
inline |
Definition at line 122 of file GVNExpression.h.
References OS, and printInternal().
Referenced by dump().
|
inlinevirtual |
Reimplemented in llvm::GVNExpression::BasicExpression, llvm::GVNExpression::CallExpression, llvm::GVNExpression::LoadExpression, llvm::GVNExpression::StoreExpression, llvm::GVNExpression::AggregateValueExpression, llvm::GVNExpression::PHIExpression, llvm::GVNExpression::VariableExpression, llvm::GVNExpression::ConstantExpression, and llvm::GVNExpression::UnknownExpression.
Definition at line 116 of file GVNExpression.h.
References getExpressionType(), getOpcode(), and OS.
Referenced by print(), llvm::GVNExpression::BasicExpression::printInternal(), llvm::GVNExpression::VariableExpression::printInternal(), llvm::GVNExpression::ConstantExpression::printInternal(), and llvm::GVNExpression::UnknownExpression::printInternal().
|
inline |
Definition at line 109 of file GVNExpression.h.