LLVM 22.0.0git
llvm::ConstantAggrKeyType< ConstantClass > Struct Template Reference

#include "IR/ConstantsContext.h"

Inheritance diagram for llvm::ConstantAggrKeyType< ConstantClass >:
[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 295 of file ConstantsContext.h.

Member Typedef Documentation

◆ TypeClass

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

Definition at line 327 of file ConstantsContext.h.

Constructor & Destructor Documentation

◆ ConstantAggrKeyType() [1/3]

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

Definition at line 298 of file ConstantsContext.h.

◆ ConstantAggrKeyType() [2/3]

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

Definition at line 300 of file ConstantsContext.h.

◆ ConstantAggrKeyType() [3/3]

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

Definition at line 303 of file ConstantsContext.h.

Member Function Documentation

◆ create()

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

Definition at line 329 of file ConstantsContext.h.

◆ getHash()

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

Definition at line 325 of file ConstantsContext.h.

◆ operator==() [1/2]

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

Definition at line 312 of file ConstantsContext.h.

◆ operator==() [2/2]

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

Definition at line 316 of file ConstantsContext.h.

Member Data Documentation

◆ Operands

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

Definition at line 296 of file ConstantsContext.h.


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