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

#include "IR/ConstantsContext.h"

Collaboration diagram for llvm::ConstantExprKeyType:
Collaboration graph
[legend]

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
 
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 463 of file ConstantsContext.h.

Member Typedef Documentation

◆ TypeClass

Definition at line 527 of file ConstantsContext.h.

Constructor & Destructor Documentation

◆ ConstantExprKeyType() [1/3]

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 471 of file ConstantsContext.h.

◆ ConstantExprKeyType() [2/3]

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

Definition at line 480 of file ConstantsContext.h.

◆ ConstantExprKeyType() [3/3]

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

Member Function Documentation

◆ create()

ConstantExpr* llvm::ConstantExprKeyType::create ( TypeClass Ty) const
inline

◆ getHash()

unsigned llvm::ConstantExprKeyType::getHash ( ) const
inline

◆ operator==() [1/2]

bool llvm::ConstantExprKeyType::operator== ( const ConstantExprKeyType X) const
inline

Definition at line 498 of file ConstantsContext.h.

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

◆ operator==() [2/2]

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

Member Data Documentation

◆ ExplicitTy

Type* llvm::ConstantExprKeyType::ExplicitTy

Definition at line 469 of file ConstantsContext.h.

◆ Indexes

ArrayRef<unsigned> llvm::ConstantExprKeyType::Indexes

Definition at line 468 of file ConstantsContext.h.

Referenced by operator==().

◆ Opcode

uint8_t llvm::ConstantExprKeyType::Opcode

Definition at line 464 of file ConstantsContext.h.

Referenced by operator==().

◆ Ops

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

Definition at line 467 of file ConstantsContext.h.

Referenced by operator==().

◆ SubclassData

uint16_t llvm::ConstantExprKeyType::SubclassData

Definition at line 466 of file ConstantsContext.h.

Referenced by operator==().

◆ SubclassOptionalData

uint8_t llvm::ConstantExprKeyType::SubclassOptionalData

Definition at line 465 of file ConstantsContext.h.

Referenced by operator==().


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