LLVM 20.0.0git
|
#include "llvm/Transforms/Scalar/GVNExpression.h"
Public Types | |
using | op_iterator = Value ** |
using | const_op_iterator = Value *const * |
Static Public Member Functions | |
static bool | classof (const Expression *EB) |
Static Public Member Functions inherited from llvm::GVNExpression::Expression | |
static unsigned | getEmptyKey () |
static unsigned | getTombstoneKey () |
Definition at line 136 of file GVNExpression.h.
Definition at line 182 of file GVNExpression.h.
Definition at line 181 of file GVNExpression.h.
|
inline |
Definition at line 147 of file GVNExpression.h.
|
inline |
Definition at line 149 of file GVNExpression.h.
|
delete |
|
delete |
|
overridedefault |
|
inline |
Definition at line 202 of file GVNExpression.h.
References Allocator, assert(), llvm::ArrayRecycler< T, Align >::Capacity::get(), and Operands.
|
inlinestatic |
Definition at line 156 of file GVNExpression.h.
References llvm::GVNExpression::ET_BasicEnd, llvm::GVNExpression::ET_BasicStart, and llvm::GVNExpression::Expression::getExpressionType().
|
inline |
Definition at line 206 of file GVNExpression.h.
References llvm::ArrayRecycler< T, Align >::Capacity::get(), and Operands.
|
inlineoverridevirtual |
Reimplemented from llvm::GVNExpression::Expression.
Reimplemented in llvm::GVNExpression::MemoryExpression, llvm::GVNExpression::CallExpression, llvm::GVNExpression::LoadExpression, llvm::GVNExpression::StoreExpression, llvm::GVNExpression::AggregateValueExpression, and llvm::GVNExpression::PHIExpression.
Definition at line 213 of file GVNExpression.h.
References llvm::GVNExpression::Expression::getOpcode(), getType(), op_begin(), op_end(), and llvm::Other.
Referenced by llvm::GVNExpression::MemoryExpression::equals(), llvm::GVNExpression::AggregateValueExpression::equals(), and llvm::GVNExpression::PHIExpression::equals().
|
inlineoverridevirtual |
Reimplemented from llvm::GVNExpression::Expression.
Reimplemented in llvm::GVNExpression::MemoryExpression, llvm::GVNExpression::AggregateValueExpression, and llvm::GVNExpression::PHIExpression.
Definition at line 222 of file GVNExpression.h.
References llvm::GVNExpression::Expression::getHashValue(), llvm::hash_combine(), llvm::hash_combine_range(), op_begin(), and op_end().
Referenced by llvm::GVNExpression::MemoryExpression::getHashValue(), llvm::GVNExpression::AggregateValueExpression::getHashValue(), and llvm::GVNExpression::PHIExpression::getHashValue().
|
inline |
Definition at line 179 of file GVNExpression.h.
Referenced by op_empty(), and printInternal().
Definition at line 167 of file GVNExpression.h.
|
inline |
Definition at line 211 of file GVNExpression.h.
Referenced by equals().
|
inline |
Definition at line 184 of file GVNExpression.h.
References Operands.
Referenced by equals(), getHashValue(), and operands().
|
inline |
Definition at line 186 of file GVNExpression.h.
References Operands.
|
inline |
Definition at line 200 of file GVNExpression.h.
References getNumOperands().
|
inline |
Definition at line 185 of file GVNExpression.h.
References Operands.
Referenced by equals(), getHashValue(), and operands().
|
inline |
Definition at line 187 of file GVNExpression.h.
References Operands.
|
inline |
Definition at line 195 of file GVNExpression.h.
References assert(), and Operands.
Referenced by llvm::GVNExpression::op_inserter::operator=().
|
inline |
Definition at line 188 of file GVNExpression.h.
References op_begin(), and op_end().
|
inline |
Definition at line 191 of file GVNExpression.h.
References op_begin(), and op_end().
|
delete |
|
inlineoverridevirtual |
Reimplemented from llvm::GVNExpression::Expression.
Reimplemented in llvm::GVNExpression::CallExpression, llvm::GVNExpression::LoadExpression, llvm::GVNExpression::StoreExpression, llvm::GVNExpression::AggregateValueExpression, and llvm::GVNExpression::PHIExpression.
Definition at line 228 of file GVNExpression.h.
References getNumOperands(), Operands, OS, and llvm::GVNExpression::Expression::printInternal().
Referenced by llvm::GVNExpression::CallExpression::printInternal(), llvm::GVNExpression::LoadExpression::printInternal(), llvm::GVNExpression::StoreExpression::printInternal(), llvm::GVNExpression::AggregateValueExpression::printInternal(), and llvm::GVNExpression::PHIExpression::printInternal().
Definition at line 173 of file GVNExpression.h.
|
inline |
Definition at line 210 of file GVNExpression.h.
References T.
Swap two operands.
Used during GVN to put commutative operands in order.
Definition at line 163 of file GVNExpression.h.
References llvm::First, Operands, and std::swap().