LLVM 20.0.0git
|
#include "IR/ConstantsContext.h"
Public Types | |
using | TypeClass = ConstantInfo< ConstantExpr >::TypeClass |
Public Member Functions | |
ConstantExprKeyType (unsigned Opcode, ArrayRef< Constant * > Ops, unsigned short SubclassOptionalData=0, ArrayRef< int > ShuffleMask=std::nullopt, Type *ExplicitTy=nullptr, std::optional< ConstantRange > InRange=std::nullopt) | |
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 |
ConstantExpr * | create (TypeClass *Ty) const |
Static Public Member Functions | |
static bool | rangesEqual (const std::optional< ConstantRange > &A, const std::optional< ConstantRange > &B) |
Definition at line 376 of file ConstantsContext.h.
using llvm::ConstantExprKeyType::TypeClass = ConstantInfo<ConstantExpr>::TypeClass |
Definition at line 474 of file ConstantsContext.h.
|
inline |
Definition at line 405 of file ConstantsContext.h.
|
inline |
Definition at line 414 of file ConstantsContext.h.
|
inline |
Definition at line 421 of file ConstantsContext.h.
References assert(), E, llvm::SmallVectorBase< Size_T >::empty(), I, and llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
inline |
Definition at line 476 of file ConstantsContext.h.
References llvm::GetElementPtrConstantExpr::Create(), llvm::Instruction::isCast(), llvm_unreachable, and llvm::ArrayRef< T >::slice().
|
inline |
Definition at line 467 of file ConstantsContext.h.
References llvm::ArrayRef< T >::begin(), llvm::ArrayRef< T >::end(), llvm::hash_combine(), and llvm::hash_combine_range().
|
inline |
Definition at line 448 of file ConstantsContext.h.
References E, I, rangesEqual(), and llvm::ArrayRef< T >::size().
|
inline |
Definition at line 441 of file ConstantsContext.h.
References rangesEqual(), and X.
|
inlinestatic |