LLVM API Documentation
#include <ConstantsContext.h>
Public Types | |
typedef ConstantInfo < ConstantExpr >::TypeClass | TypeClass |
Public Member Functions | |
ConstantExprKeyType (unsigned Opcode, ArrayRef< Constant * > Ops, unsigned short SubclassData=0, unsigned short SubclassOptionalData=0, ArrayRef< unsigned > Indexes=None) | |
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 |
Definition at line 417 of file ConstantsContext.h.
typedef ConstantInfo<ConstantExpr>::TypeClass llvm::ConstantExprKeyType::TypeClass |
Definition at line 476 of file ConstantsContext.h.
llvm::ConstantExprKeyType::ConstantExprKeyType | ( | unsigned | Opcode, |
ArrayRef< Constant * > | Ops, | ||
unsigned short | SubclassData = 0 , |
||
unsigned short | SubclassOptionalData = 0 , |
||
ArrayRef< unsigned > | Indexes = None |
||
) | [inline] |
Definition at line 424 of file ConstantsContext.h.
llvm::ConstantExprKeyType::ConstantExprKeyType | ( | ArrayRef< Constant * > | Operands, |
const ConstantExpr * | CE | ||
) | [inline] |
Definition at line 430 of file ConstantsContext.h.
llvm::ConstantExprKeyType::ConstantExprKeyType | ( | const ConstantExpr * | CE, |
SmallVectorImpl< Constant * > & | Storage | ||
) | [inline] |
Definition at line 435 of file ConstantsContext.h.
References llvm::SmallVectorBase::empty(), llvm::User::getNumOperands(), llvm::User::getOperand(), I, Ops, and llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back().
ConstantExpr* llvm::ConstantExprKeyType::create | ( | TypeClass * | Ty | ) | const [inline] |
Definition at line 477 of file ConstantsContext.h.
References llvm::GetElementPtrConstantExpr::Create(), ExtractElement(), llvm::ExtractValue, llvm::FCmp, Indexes, llvm::InsertElement, llvm::Instruction::isCast(), llvm_unreachable, Opcode, Ops, llvm::MCID::Select, llvm::ArrayRef< T >::slice(), SubclassData, and SubclassOptionalData.
unsigned llvm::ConstantExprKeyType::getHash | ( | ) | const [inline] |
Definition at line 470 of file ConstantsContext.h.
References llvm::ArrayRef< T >::begin(), llvm::ArrayRef< T >::end(), llvm::hash_combine(), llvm::hash_combine_range(), Indexes, Opcode, Ops, SubclassData, and SubclassOptionalData.
bool llvm::ConstantExprKeyType::operator== | ( | const ConstantExprKeyType & | X | ) | const [inline] |
Definition at line 447 of file ConstantsContext.h.
References Indexes, Opcode, Ops, SubclassData, and SubclassOptionalData.
bool llvm::ConstantExprKeyType::operator== | ( | const ConstantExpr * | CE | ) | const [inline] |
Definition at line 453 of file ConstantsContext.h.
References llvm::ConstantExpr::getIndices(), llvm::User::getNumOperands(), llvm::ConstantExpr::getOpcode(), llvm::User::getOperand(), llvm::ConstantExpr::getPredicate(), llvm::Value::getRawSubclassOptionalData(), llvm::ConstantExpr::hasIndices(), I, Indexes, llvm::ConstantExpr::isCompare(), Opcode, Ops, llvm::ArrayRef< T >::size(), SubclassData, and SubclassOptionalData.
Definition at line 422 of file ConstantsContext.h.
Referenced by create(), getHash(), and operator==().
Definition at line 418 of file ConstantsContext.h.
Referenced by create(), getHash(), and operator==().
Definition at line 421 of file ConstantsContext.h.
Referenced by ConstantExprKeyType(), create(), getHash(), and operator==().
Definition at line 420 of file ConstantsContext.h.
Referenced by create(), getHash(), and operator==().
Definition at line 419 of file ConstantsContext.h.
Referenced by create(), getHash(), and operator==().