/external/clang/include/clang/AST/ |
D | APValue.h | 38 class APValue { 81 APValue *Elts; 87 APValue *Elts; 93 APValue *Elts; 101 APValue *Value; 120 APValue() : Kind(Uninitialized) {} in APValue() function 121 explicit APValue(APSInt I) : Kind(Uninitialized) { in APValue() function 124 explicit APValue(APFloat F) : Kind(Uninitialized) { in APValue() function 127 explicit APValue(const APValue *E, unsigned N) : Kind(Uninitialized) { in APValue() function 130 APValue(APSInt R, APSInt I) : Kind(Uninitialized) { in APValue() function [all …]
|
D | Decl.h | 703 APValue Evaluated; 1124 APValue *evaluateValue() const; 1125 APValue *evaluateValue(SmallVectorImpl<PartialDiagnosticAt> &Notes) const; 1130 APValue *getEvaluatedValue() const { in getEvaluatedValue()
|
D | Expr.h | 35 class APValue; variable 502 bool isCXX11ConstantExpr(const ASTContext &Ctx, APValue *Result = nullptr, 563 APValue Val; 631 bool EvaluateAsInitializer(APValue &Result, const ASTContext &Ctx, 639 bool EvaluateWithSubstitution(APValue &Value, ASTContext &Ctx,
|
D | ASTContext.h | 182 llvm::DenseMap<const MaterializeTemporaryExpr *, APValue *> 2416 APValue *getMaterializedTemporaryValue(const MaterializeTemporaryExpr *E,
|
/external/clang/lib/AST/ |
D | APValue.cpp | 28 llvm::PointerIntPair<APValue::LValueBase, 1, bool> BaseAndIsOnePastTheEnd; 35 struct APValue::LV : LVBase { 76 struct APValue::MemberPointerData : MemberPointerBase { 108 APValue::Arr::Arr(unsigned NumElts, unsigned Size) : in Arr() 109 Elts(new APValue[NumElts + (NumElts != Size ? 1 : 0)]), in Arr() 111 APValue::Arr::~Arr() { delete [] Elts; } in ~Arr() 113 APValue::StructData::StructData(unsigned NumBases, unsigned NumFields) : in StructData() 114 Elts(new APValue[NumBases+NumFields]), in StructData() 116 APValue::StructData::~StructData() { in ~StructData() 120 APValue::UnionData::UnionData() : Field(nullptr), Value(new APValue) {} in UnionData() [all …]
|
D | ExprConstant.cpp | 55 static bool IsGlobalLValue(APValue::LValueBase B); 62 static QualType getType(APValue::LValueBase B) { in getType() 90 APValue::BaseOrMemberType getAsBaseOrMember(APValue::LValuePathEntry E) { in getAsBaseOrMember() 91 APValue::BaseOrMemberType Value; in getAsBaseOrMember() 98 static const FieldDecl *getAsField(APValue::LValuePathEntry E) { in getAsField() 103 static const CXXRecordDecl *getAsBaseClass(APValue::LValuePathEntry E) { in getAsBaseClass() 108 static bool isVirtualBaseClass(APValue::LValuePathEntry E) { in isVirtualBaseClass() 116 ArrayRef<APValue::LValuePathEntry> Path, in findMostDerivedSubobject() 181 typedef APValue::LValuePathEntry PathEntry; 193 SubobjectDesignator(ASTContext &Ctx, const APValue &V) in SubobjectDesignator() [all …]
|
D | CMakeLists.txt | 4 APValue.cpp
|
D | Android.mk | 26 APValue.cpp \
|
D | ASTDiagnostic.cpp | 1401 APValue &FromVal = FromResult.Val; in IsEqualExpr() 1402 APValue &ToVal = ToResult.Val; in IsEqualExpr() 1407 case APValue::Int: in IsEqualExpr() 1409 case APValue::LValue: { in IsEqualExpr() 1410 APValue::LValueBase FromBase = FromVal.getLValueBase(); in IsEqualExpr() 1411 APValue::LValueBase ToBase = ToVal.getLValueBase(); in IsEqualExpr() 1419 case APValue::MemberPointer: in IsEqualExpr()
|
D | Decl.cpp | 2113 APValue *VarDecl::evaluateValue() const { in evaluateValue() 2121 static_cast<APValue*>(UntypedValue)->~APValue(); in DestroyAPValue() 2125 APValue *VarDecl::evaluateValue( in evaluateValue() 2154 Eval->Evaluated = APValue(); in evaluateValue()
|
D | ASTContext.cpp | 790 for (std::pair<const MaterializeTemporaryExpr *, APValue *> &MTVPair : in ~ASTContext() 792 MTVPair.second->~APValue(); in ~ASTContext() 8662 APValue * 8668 APValue *&MTVI = MaterializedTemporaryValues[E]; in getMaterializedTemporaryValue() 8670 MTVI = new (*this) APValue; in getMaterializedTemporaryValue()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 53 const APValue &Value, QualType ValTy); 78 void Build(const APValue &Val, const RecordDecl *RD, bool IsPrimaryBase, 426 void ConstStructBuilder::Build(const APValue &Val, const RecordDecl *RD, in Build() 478 const APValue &FieldValue = in Build() 579 const APValue &Val, in BuildStruct() 982 ConstantAddress EmitLValue(APValue::LValueBase LVBase) { in EmitLValue() 1194 if (const APValue *Value = D.evaluateValue()) in EmitConstantInit() 1242 llvm::Constant *CodeGenModule::EmitConstantValue(const APValue &Value, in EmitConstantValue() 1265 case APValue::Uninitialized: in EmitConstantValue() 1267 case APValue::LValue: { in EmitConstantValue() [all …]
|
D | CGCXXABI.cpp | 147 llvm::Constant *CGCXXABI::EmitMemberPointer(const APValue &MP, QualType MPT) { in EmitMemberPointer() 283 CharUnits CGCXXABI::getMemberPointerPathAdjustment(const APValue &MP) { in getMemberPointerPathAdjustment()
|
D | CGCXXABI.h | 189 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT); 217 CharUnits getMemberPointerPathAdjustment(const APValue &MP);
|
D | CodeGenModule.h | 906 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType, 911 llvm::Constant *EmitConstantValueForMemory(const APValue &Value,
|
D | ItaniumCXXABI.cpp | 140 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override; 850 llvm::Constant *ItaniumCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
|
D | MicrosoftCXXABI.cpp | 628 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override; 2607 llvm::Constant *MicrosoftCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
|
D | CodeGenModule.cpp | 3286 APValue *Value = nullptr; in GetAddrOfGlobalTemporary()
|
D | CGDebugInfo.cpp | 976 const APValue *Value = Var->evaluateValue(); in CreateRecordStaticField()
|
/external/clang/include/clang/Sema/ |
D | Overload.h | 230 APValue &ConstantValue,
|
D | Initialization.h | 971 APValue *ConstantValue) const;
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 4901 APValue Value; in CheckTemplateArgument() 4911 case APValue::Uninitialized: in CheckTemplateArgument() 4915 case APValue::Int: in CheckTemplateArgument() 4919 case APValue::MemberPointer: { in CheckTemplateArgument() 4936 case APValue::LValue: { in CheckTemplateArgument() 4978 case APValue::AddrLabelDiff: in CheckTemplateArgument() 4980 case APValue::Float: in CheckTemplateArgument() 4981 case APValue::ComplexInt: in CheckTemplateArgument() 4982 case APValue::ComplexFloat: in CheckTemplateArgument() 4983 case APValue::Vector: in CheckTemplateArgument() [all …]
|
D | SemaOverload.cpp | 287 APValue &ConstantValue, in getNarrowingKind() 332 ConstantValue = APValue(IntConstantValue); in getNarrowingKind() 420 ConstantValue = APValue(InitializerValue); in getNarrowingKind() 5070 QualType T, APValue &Value, in CheckConvertedConstantExpression() 5131 APValue PreNarrowingValue; in CheckConvertedConstantExpression() 5188 APValue &Value, CCEKind CCE) { in CheckConvertedConstantExpression() 5197 APValue V; in CheckConvertedConstantExpression() 5976 APValue Result; in CheckEnableIf()
|
D | SemaChecking.cpp | 6180 static IntRange GetValueRange(ASTContext &C, APValue &result, QualType Ty, in GetValueRange() 6461 static bool IsSameFloatAfterCast(const APValue &value, in IsSameFloatAfterCast()
|
D | SemaInit.cpp | 7579 APValue ConstantValue; in DiagnoseNarrowingInInitList()
|