LLVM  6.0.0svn
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::ConstantAggrKeyType< ConstantClass > Struct Template Reference

#include "llvm/IR/Constants.h"

Collaboration diagram for llvm::ConstantAggrKeyType< ConstantClass >:
Collaboration graph
[legend]

Public Types

using TypeClass = typename ConstantInfo< ConstantClass >::TypeClass
 

Public Member Functions

 ConstantAggrKeyType (ArrayRef< Constant *> Operands)
 
 ConstantAggrKeyType (ArrayRef< Constant *> Operands, const ConstantClass *)
 
 ConstantAggrKeyType (const ConstantClass *C, SmallVectorImpl< Constant *> &Storage)
 
bool operator== (const ConstantAggrKeyType &X) const
 
bool operator== (const ConstantClass *C) const
 
unsigned getHash () const
 
ConstantClass * create (TypeClass *Ty) const
 

Public Attributes

ArrayRef< Constant * > Operands
 

Detailed Description

template<class ConstantClass>
struct llvm::ConstantAggrKeyType< ConstantClass >

Definition at line 51 of file Constants.h.

Member Typedef Documentation

◆ TypeClass

template<class ConstantClass >
using llvm::ConstantAggrKeyType< ConstantClass >::TypeClass = typename ConstantInfo<ConstantClass>::TypeClass

Definition at line 406 of file ConstantsContext.h.

Constructor & Destructor Documentation

◆ ConstantAggrKeyType() [1/3]

template<class ConstantClass >
llvm::ConstantAggrKeyType< ConstantClass >::ConstantAggrKeyType ( ArrayRef< Constant *>  Operands)
inline

Definition at line 376 of file ConstantsContext.h.

◆ ConstantAggrKeyType() [2/3]

template<class ConstantClass >
llvm::ConstantAggrKeyType< ConstantClass >::ConstantAggrKeyType ( ArrayRef< Constant *>  Operands,
const ConstantClass *   
)
inline

Definition at line 378 of file ConstantsContext.h.

◆ ConstantAggrKeyType() [3/3]

template<class ConstantClass >
llvm::ConstantAggrKeyType< ConstantClass >::ConstantAggrKeyType ( const ConstantClass *  C,
SmallVectorImpl< Constant *> &  Storage 
)
inline

Member Function Documentation

◆ create()

template<class ConstantClass >
ConstantClass* llvm::ConstantAggrKeyType< ConstantClass >::create ( TypeClass Ty) const
inline

Definition at line 408 of file ConstantsContext.h.

References llvm::ArrayRef< T >::size().

◆ getHash()

template<class ConstantClass >
unsigned llvm::ConstantAggrKeyType< ConstantClass >::getHash ( ) const
inline

◆ operator==() [1/2]

template<class ConstantClass >
bool llvm::ConstantAggrKeyType< ConstantClass >::operator== ( const ConstantAggrKeyType< ConstantClass > &  X) const
inline

◆ operator==() [2/2]

template<class ConstantClass >
bool llvm::ConstantAggrKeyType< ConstantClass >::operator== ( const ConstantClass *  C) const
inline

Definition at line 393 of file ConstantsContext.h.

References E, I, and llvm::ArrayRef< T >::size().

Member Data Documentation

◆ Operands

template<class ConstantClass >
ArrayRef<Constant *> llvm::ConstantAggrKeyType< ConstantClass >::Operands

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