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={}, 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 389 of file ConstantsContext.h.
using llvm::ConstantExprKeyType::TypeClass = ConstantInfo<ConstantExpr>::TypeClass |
Definition at line 487 of file ConstantsContext.h.
|
inline |
Definition at line 418 of file ConstantsContext.h.
|
inline |
Definition at line 427 of file ConstantsContext.h.
|
inline |
Definition at line 434 of file ConstantsContext.h.
References assert(), E, llvm::SmallVectorBase< Size_T >::empty(), I, and llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
inline |
Definition at line 489 of file ConstantsContext.h.
References llvm::GetElementPtrConstantExpr::Create(), llvm::Instruction::isCast(), llvm_unreachable, and llvm::ArrayRef< T >::slice().
|
inline |
Definition at line 480 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 461 of file ConstantsContext.h.
References E, I, rangesEqual(), and llvm::ArrayRef< T >::size().
|
inline |
Definition at line 454 of file ConstantsContext.h.
References rangesEqual(), and X.
|
inlinestatic |