LLVM 22.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 387 of file ConstantsContext.h.
Definition at line 483 of file ConstantsContext.h.
|
inline |
Definition at line 416 of file ConstantsContext.h.
|
inline |
Definition at line 425 of file ConstantsContext.h.
|
inline |
Definition at line 432 of file ConstantsContext.h.
References assert(), E, llvm::SmallVectorBase< Size_T >::empty(), I, and llvm::SmallVectorTemplateBase< T, bool >::push_back().
|
inline |
Definition at line 485 of file ConstantsContext.h.
References llvm::GetElementPtrConstantExpr::Create(), llvm::Instruction::isBinaryOp(), llvm::Instruction::isCast(), llvm_unreachable, and llvm::ArrayRef< T >::slice().
|
inline |
Definition at line 478 of file ConstantsContext.h.
References llvm::hash_combine(), and llvm::hash_combine_range().
|
inline |
Definition at line 459 of file ConstantsContext.h.
References E, I, rangesEqual(), and llvm::ArrayRef< T >::size().
|
inline |
Definition at line 452 of file ConstantsContext.h.
References rangesEqual(), and X.
|
inlinestatic |