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

#include "IR/ConstantsContext.h"

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

Member Typedef Documentation

◆ TypeClass

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

Definition at line 345 of file ConstantsContext.h.

Constructor & Destructor Documentation

◆ ConstantAggrKeyType() [1/3]

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

Definition at line 315 of file ConstantsContext.h.

◆ ConstantAggrKeyType() [2/3]

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

Definition at line 317 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

◆ 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

Definition at line 328 of file ConstantsContext.h.

References llvm::ConstantAggrKeyType< ConstantClass >::Operands, and X.

◆ operator==() [2/2]

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

Member Data Documentation

◆ Operands

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

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