/external/clang/include/clang/AST/ |
D | APValue.h | 38 class APValue { 81 APValue *Elts; 87 APValue *Elts; 93 APValue *Elts; 101 APValue *Value; 122 APValue() : Kind(Uninitialized) {} in APValue() function 123 explicit APValue(const APSInt &I) : Kind(Uninitialized) { in APValue() function 126 explicit APValue(const APFloat &F) : Kind(Uninitialized) { in APValue() function 129 explicit APValue(const APValue *E, unsigned N) : Kind(Uninitialized) { in APValue() function 132 APValue(const APSInt &R, const APSInt &I) : Kind(Uninitialized) { in APValue() function [all …]
|
D | Decl.h | 705 APValue Evaluated; 1092 APValue *evaluateValue() const; 1093 APValue *evaluateValue( 1099 APValue *getEvaluatedValue() const { in getEvaluatedValue()
|
D | Expr.h | 36 class APValue; variable 438 bool isCXX11ConstantExpr(ASTContext &Ctx, APValue *Result = 0, 480 APValue Val; 534 bool EvaluateAsInitializer(APValue &Result, const ASTContext &Ctx,
|
/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(0), Value(new APValue) {} in UnionData() [all …]
|
D | ExprConstant.cpp | 54 static bool IsGlobalLValue(APValue::LValueBase B); 61 static QualType getType(APValue::LValueBase B) { in getType() 71 APValue::BaseOrMemberType getAsBaseOrMember(APValue::LValuePathEntry E) { in getAsBaseOrMember() 72 APValue::BaseOrMemberType Value; in getAsBaseOrMember() 79 static const FieldDecl *getAsField(APValue::LValuePathEntry E) { in getAsField() 84 static const CXXRecordDecl *getAsBaseClass(APValue::LValuePathEntry E) { in getAsBaseClass() 89 static bool isVirtualBaseClass(APValue::LValuePathEntry E) { in isVirtualBaseClass() 97 ArrayRef<APValue::LValuePathEntry> Path, in findMostDerivedSubobject() 152 typedef APValue::LValuePathEntry PathEntry; 163 SubobjectDesignator(ASTContext &Ctx, const APValue &V) in SubobjectDesignator() [all …]
|
D | ASTDiagnostic.cpp | 959 APValue &FromVal = FromResult.Val; in IsEqualExpr() 960 APValue &ToVal = ToResult.Val; in IsEqualExpr() 965 case APValue::Int: in IsEqualExpr() 967 case APValue::LValue: { in IsEqualExpr() 968 APValue::LValueBase FromBase = FromVal.getLValueBase(); in IsEqualExpr() 969 APValue::LValueBase ToBase = ToVal.getLValueBase(); in IsEqualExpr() 977 case APValue::MemberPointer: in IsEqualExpr()
|
D | CMakeLists.txt | 4 APValue.cpp
|
D | Android.mk | 24 APValue.cpp \
|
D | Decl.cpp | 1427 APValue *VarDecl::evaluateValue() const { in evaluateValue() 1432 APValue *VarDecl::evaluateValue( in evaluateValue() 1459 Eval->Evaluated = APValue(); in evaluateValue()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 48 const APValue &Value, QualType ValTy); 74 void Build(const APValue &Val, const RecordDecl *RD, bool IsPrimaryBase, 445 void ConstStructBuilder::Build(const APValue &Val, const RecordDecl *RD, in Build() 507 const APValue &FieldValue = in Build() 590 const APValue &Val, in BuildStruct() 904 llvm::Constant *EmitLValue(APValue::LValueBase LVBase) { in EmitLValue() 1015 if (const APValue *Value = D.evaluateValue()) in EmitConstantInit() 1063 llvm::Constant *CodeGenModule::EmitConstantValue(const APValue &Value, in EmitConstantValue() 1067 case APValue::Uninitialized: in EmitConstantValue() 1069 case APValue::LValue: { in EmitConstantValue() [all …]
|
D | CodeGenModule.cpp | 1515 APValue initListValue(APValue::UninitStruct(), 0, 2); in MaybeEmitGlobalStdInitializerListInitializer() 1516 APValue &startField = initListValue.getStructField(0); in MaybeEmitGlobalStdInitializerListInitializer() 1517 APValue::LValuePathEntry startOffsetPathEntry; in MaybeEmitGlobalStdInitializerListInitializer() 1519 startField = APValue(APValue::LValueBase(backingArray), in MaybeEmitGlobalStdInitializerListInitializer() 1525 APValue &endField = initListValue.getStructField(1); in MaybeEmitGlobalStdInitializerListInitializer() 1526 APValue::LValuePathEntry endOffsetPathEntry; in MaybeEmitGlobalStdInitializerListInitializer() 1528 endField = APValue(APValue::LValueBase(backingArray), in MaybeEmitGlobalStdInitializerListInitializer() 1533 APValue &sizeField = initListValue.getStructField(1); in MaybeEmitGlobalStdInitializerListInitializer() 1534 sizeField = APValue(llvm::APSInt(numElements)); in MaybeEmitGlobalStdInitializerListInitializer()
|
D | CGCXXABI.h | 132 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
|
D | CGCXXABI.cpp | 112 llvm::Constant *CGCXXABI::EmitMemberPointer(const APValue &MP, QualType MPT) { in EmitMemberPointer()
|
D | CodeGenModule.h | 738 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType, 743 llvm::Constant *EmitConstantValueForMemory(const APValue &Value,
|
D | ItaniumCXXABI.cpp | 81 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT); 530 llvm::Constant *ItaniumCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
|
D | CGDebugInfo.cpp | 724 const APValue *Value = V->evaluateValue(); in CollectRecordStaticVars()
|
/external/clang/include/clang/Sema/ |
D | Overload.h | 239 APValue &ConstantValue,
|
D | Initialization.h | 843 APValue *ConstantValue) const;
|
/external/clang/lib/Sema/ |
D | SemaOverload.cpp | 297 APValue &ConstantValue, in getNarrowingKind() 331 ConstantValue = APValue(IntConstantValue); in getNarrowingKind() 424 ConstantValue = APValue(InitializerValue); in getNarrowingKind() 4899 APValue PreNarrowingValue; in CheckConvertedConstantExpression()
|
D | SemaChecking.cpp | 3934 static IntRange GetValueRange(ASTContext &C, APValue &result, QualType Ty, in GetValueRange() 4209 static bool IsSameFloatAfterCast(const APValue &value, in IsSameFloatAfterCast()
|
D | SemaInit.cpp | 6094 APValue ConstantValue; in DiagnoseNarrowingInInitList()
|