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.
Referenced by operator==().
|
inline |
Definition at line 425 of file ConstantsContext.h.
References getOpcode(), and Operands.
|
inline |
Definition at line 432 of file ConstantsContext.h.
References assert(), E(), llvm::SmallVectorTemplateCommon< T, typename >::empty(), getOpcode(), 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(), and llvm_unreachable.
|
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, and rangesEqual().
|
inline |
Definition at line 452 of file ConstantsContext.h.
References ConstantExprKeyType(), rangesEqual(), and X.
|
inlinestatic |
Definition at line 445 of file ConstantsContext.h.
Referenced by operator==(), and operator==().