LLVM  4.0.0
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::ConstantExprKeyType Struct Reference

#include <ConstantsContext.h>

Collaboration diagram for llvm::ConstantExprKeyType:
[legend]

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, 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
 
ConstantExprcreate (TypeClass *Ty) const
 

Public Attributes

uint8_t Opcode
 
uint8_t SubclassOptionalData
 
uint16_t SubclassData
 
ArrayRef< Constant * > Ops
 
ArrayRef< unsignedIndexes
 
TypeExplicitTy
 

Detailed Description

Definition at line 494 of file ConstantsContext.h.

Member Typedef Documentation

Definition at line 556 of file ConstantsContext.h.

Constructor & Destructor Documentation

llvm::ConstantExprKeyType::ConstantExprKeyType ( unsigned  Opcode,
ArrayRef< Constant * >  Ops,
unsigned short  SubclassData = 0,
unsigned short  SubclassOptionalData = 0,
ArrayRef< unsigned Indexes = None,
Type ExplicitTy = nullptr 
)
inline

Definition at line 502 of file ConstantsContext.h.

llvm::ConstantExprKeyType::ConstantExprKeyType ( ArrayRef< Constant * >  Operands,
const ConstantExpr CE 
)
inline

Definition at line 510 of file ConstantsContext.h.

llvm::ConstantExprKeyType::ConstantExprKeyType ( const ConstantExpr CE,
SmallVectorImpl< Constant * > &  Storage 
)
inline

Member Function Documentation

ConstantExpr* llvm::ConstantExprKeyType::create ( TypeClass Ty) const
inline
unsigned llvm::ConstantExprKeyType::getHash ( ) const
inline
bool llvm::ConstantExprKeyType::operator== ( const ConstantExprKeyType X) const
inline

Definition at line 527 of file ConstantsContext.h.

References Indexes, Opcode, Ops, SubclassData, and SubclassOptionalData.

bool llvm::ConstantExprKeyType::operator== ( const ConstantExpr CE) const
inline

Member Data Documentation

Type* llvm::ConstantExprKeyType::ExplicitTy

Definition at line 500 of file ConstantsContext.h.

Referenced by create().

ArrayRef<unsigned> llvm::ConstantExprKeyType::Indexes

Definition at line 499 of file ConstantsContext.h.

Referenced by create(), getHash(), and operator==().

uint8_t llvm::ConstantExprKeyType::Opcode

Definition at line 495 of file ConstantsContext.h.

Referenced by create(), getHash(), and operator==().

ArrayRef<Constant *> llvm::ConstantExprKeyType::Ops

Definition at line 498 of file ConstantsContext.h.

Referenced by ConstantExprKeyType(), create(), getHash(), and operator==().

uint16_t llvm::ConstantExprKeyType::SubclassData

Definition at line 497 of file ConstantsContext.h.

Referenced by create(), getHash(), and operator==().

uint8_t llvm::ConstantExprKeyType::SubclassOptionalData

Definition at line 496 of file ConstantsContext.h.

Referenced by create(), getHash(), and operator==().


The documentation for this struct was generated from the following file: