|
clang 22.0.0git
|
#include "clang/AST/APValue.h"
Public Member Functions | |
| LValueBase () | |
| LValueBase (const ValueDecl *P, unsigned I=0, unsigned V=0) | |
| LValueBase (const Expr *P, unsigned I=0, unsigned V=0) | |
| void | Profile (llvm::FoldingSetNodeID &ID) const |
| template<class T> | |
| bool | is () const |
| template<class T> | |
| T | get () const |
| template<class T> | |
| T | dyn_cast () const |
| void * | getOpaqueValue () const |
| bool | isNull () const |
| operator bool () const | |
| unsigned | getCallIndex () const |
| unsigned | getVersion () const |
| QualType | getTypeInfoType () const |
| QualType | getDynamicAllocType () const |
| QualType | getType () const |
Static Public Member Functions | |
| static LValueBase | getDynamicAlloc (DynamicAllocLValue LV, QualType Type) |
| static LValueBase | getTypeInfo (TypeInfoLValue LV, QualType TypeInfo) |
Friends | |
| struct | llvm::DenseMapInfo< LValueBase > |
| bool | operator== (const LValueBase &LHS, const LValueBase &RHS) |
| bool | operator!= (const LValueBase &LHS, const LValueBase &RHS) |
| llvm::hash_code | hash_value (const LValueBase &Base) |
|
inline |
Definition at line 152 of file APValue.h.
References Local.
Referenced by getDynamicAlloc(), getTypeInfo(), llvm::DenseMapInfo< LValueBase >, and operator!=.
Definition at line 42 of file APValue.cpp.
References clang::cast(), getCanonicalDecl(), Local, clang::nullptr, and V.
Definition at line 44 of file APValue.cpp.
Definition at line 164 of file APValue.h.
References clang::T.
Referenced by findCompleteObject(), findConstantBaseAndOffset(), findSubobject(), GetLValueBaseAsString(), GetLValueBaseDecl(), getObjectType(), getType(), handleLValueToRValueConversion(), clang::ASTNodeImporter::ImportAPValue(), IsGlobalLValue(), IsOpaqueConstantCall(), refersToCompleteObject(), clang::CodeGen::CodeGenFunction::tryEmitAsConstant(), and clang::TextNodeDumper::Visit().
Definition at line 162 of file APValue.h.
References clang::cast(), and clang::T.
Referenced by getType(), clang::ASTNodeImporter::ImportAPValue(), IsGlobalLValue(), and clang::TextNodeDumper::Visit().
| unsigned APValue::LValueBase::getCallIndex | ( | ) | const |
Definition at line 108 of file APValue.cpp.
Referenced by clang::ASTNodeImporter::ImportAPValue().
|
static |
Definition at line 47 of file APValue.cpp.
References LValueBase().
Referenced by clang::interp::Pointer::toAPValue().
| QualType APValue::LValueBase::getDynamicAllocType | ( | ) | const |
Definition at line 122 of file APValue.cpp.
References DynamicAllocType, clang::QualType::getFromOpaquePtr(), and is().
Referenced by findCompleteObject(), getObjectType(), getType(), and clang::TextNodeDumper::Visit().
| void * APValue::LValueBase::getOpaqueValue | ( | ) | const |
Definition at line 175 of file APValue.cpp.
| QualType APValue::LValueBase::getType | ( | ) | const |
Definition at line 63 of file APValue.cpp.
References clang::cast(), dyn_cast(), get(), getDynamicAllocType(), clang::Expr::getType(), getTypeInfoType(), is(), clang::Expr::skipRValueSubobjectAdjustments(), and clang::T.
Referenced by EmitNullConstant(), and getLValueType().
|
static |
Definition at line 55 of file APValue.cpp.
References LValueBase().
Referenced by clang::ASTNodeImporter::ImportAPValue(), and clang::interp::Pointer::toAPValue().
| QualType APValue::LValueBase::getTypeInfoType | ( | ) | const |
Definition at line 117 of file APValue.cpp.
References clang::QualType::getFromOpaquePtr(), is(), and TypeInfoType.
Referenced by getObjectType(), getType(), and clang::ASTNodeImporter::ImportAPValue().
| unsigned APValue::LValueBase::getVersion | ( | ) | const |
Definition at line 113 of file APValue.cpp.
Referenced by findCompleteObject(), and clang::ASTNodeImporter::ImportAPValue().
Definition at line 160 of file APValue.h.
References clang::isa().
Referenced by findCompleteObject(), getCallIndex(), getDynamicAllocType(), getObjectType(), getType(), getTypeInfoType(), getVersion(), clang::ASTNodeImporter::ImportAPValue(), IsGlobalLValue(), operator==, Profile(), and clang::TextNodeDumper::Visit().
| bool APValue::LValueBase::isNull | ( | ) | const |
Definition at line 179 of file APValue.cpp.
Referenced by EvaluateComparisonBinaryOperator(), and clang::TextNodeDumper::Visit().
|
explicit |
Definition at line 183 of file APValue.cpp.
| void APValue::LValueBase::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | const |
Definition at line 127 of file APValue.cpp.
Referenced by clang::APValue::Profile().
|
friend |
Definition at line 202 of file APValue.cpp.
References llvm::hash_value().
Referenced by llvm::DenseMapInfo< LValueBase >.
|
friend |
Definition at line 185 of file APValue.h.
References hash_value, and LValueBase().
|
friend |
Definition at line 182 of file APValue.h.
References LValueBase().
|
friend |
Definition at line 136 of file APValue.cpp.
| void* clang::APValue::LValueBase::DynamicAllocType |
The QualType, if this is a DynamicAllocLValue.
Definition at line 198 of file APValue.h.
Referenced by getDynamicAllocType().
| LocalState clang::APValue::LValueBase::Local |
Definition at line 194 of file APValue.h.
Referenced by getCallIndex(), getVersion(), LValueBase(), LValueBase(), LValueBase(), operator==, and Profile().
| void* clang::APValue::LValueBase::TypeInfoType |
The type std::type_info, if this is a TypeInfoLValue.
Definition at line 196 of file APValue.h.
Referenced by getTypeInfoType().