LLVM
8.0.1
|
#include "IR/ConstantsContext.h"
Public Types | |
using | TypeClass = ConstantInfo< ConstantExpr >::TypeClass |
Public Member Functions | |
ConstantExprKeyType (unsigned Opcode, ArrayRef< Constant *> Ops, unsigned short SubclassData=0, unsigned short SubclassOptionalData=0, ArrayRef< unsigned > Indexes=None, Type *ExplicitTy=nullptr) | |
ConstantExprKeyType (ArrayRef< Constant *> Operands, const ConstantExpr *CE) | |
ConstantExprKeyType (const ConstantExpr *CE, SmallVectorImpl< Constant *> &Storage) | |
bool | operator== (const ConstantExprKeyType &X) const |
bool | operator== (const ConstantExpr *CE) const |
unsigned | getHash () const |
ConstantExpr * | create (TypeClass *Ty) const |
Public Attributes | |
uint8_t | Opcode |
uint8_t | SubclassOptionalData |
uint16_t | SubclassData |
ArrayRef< Constant * > | Ops |
ArrayRef< unsigned > | Indexes |
Type * | ExplicitTy |
Definition at line 463 of file ConstantsContext.h.
Definition at line 527 of file ConstantsContext.h.
|
inline |
Definition at line 471 of file ConstantsContext.h.
|
inline |
Definition at line 480 of file ConstantsContext.h.
|
inline |
Definition at line 486 of file ConstantsContext.h.
References assert(), E, llvm::SmallVectorBase::empty(), llvm::User::getNumOperands(), llvm::User::getOperand(), I, and llvm::SmallVectorTemplateBase< T >::push_back().
|
inline |
Definition at line 529 of file ConstantsContext.h.
References llvm::GetElementPtrConstantExpr::Create(), llvm::Value::getType(), llvm::Instruction::isCast(), llvm_unreachable, llvm::MCID::Select, llvm::ArrayRef< T >::slice(), llvm::Value::SubclassOptionalData, and llvm::UnaryConstantExpr::UnaryConstantExpr().
|
inline |
Definition at line 521 of file ConstantsContext.h.
References llvm::ArrayRef< T >::begin(), llvm::ArrayRef< T >::end(), llvm::hash_combine(), and llvm::hash_combine_range().
|
inline |
Definition at line 498 of file ConstantsContext.h.
References Indexes, Opcode, Ops, SubclassData, and SubclassOptionalData.
|
inline |
Definition at line 504 of file ConstantsContext.h.
References E, llvm::ConstantExpr::getIndices(), llvm::User::getNumOperands(), llvm::ConstantExpr::getOpcode(), llvm::User::getOperand(), llvm::ConstantExpr::getPredicate(), llvm::Value::getRawSubclassOptionalData(), llvm::ConstantExpr::hasIndices(), I, llvm::ConstantExpr::isCompare(), and llvm::ArrayRef< T >::size().
Type* llvm::ConstantExprKeyType::ExplicitTy |
Definition at line 469 of file ConstantsContext.h.
Definition at line 468 of file ConstantsContext.h.
Referenced by operator==().
uint8_t llvm::ConstantExprKeyType::Opcode |
Definition at line 464 of file ConstantsContext.h.
Referenced by operator==().
Definition at line 467 of file ConstantsContext.h.
Referenced by operator==().
uint16_t llvm::ConstantExprKeyType::SubclassData |
Definition at line 466 of file ConstantsContext.h.
Referenced by operator==().
uint8_t llvm::ConstantExprKeyType::SubclassOptionalData |
Definition at line 465 of file ConstantsContext.h.
Referenced by operator==().