/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 | 644 APValue Evaluated; 1051 APValue *evaluateValue() const; 1052 APValue *evaluateValue(SmallVectorImpl<PartialDiagnosticAt> &Notes) const; 1057 APValue *getEvaluatedValue() const { in getEvaluatedValue()
|
D | Expr.h | 34 class APValue; variable 500 bool isCXX11ConstantExpr(const ASTContext &Ctx, APValue *Result = nullptr, 555 APValue Val; 612 bool EvaluateAsInitializer(APValue &Result, const ASTContext &Ctx, 620 bool EvaluateWithSubstitution(APValue &Value, ASTContext &Ctx,
|
D | ASTContext.h | 171 llvm::DenseMap<const MaterializeTemporaryExpr*, APValue> 2200 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() 171 typedef APValue::LValuePathEntry PathEntry; 182 SubobjectDesignator(ASTContext &Ctx, const APValue &V) in SubobjectDesignator() [all …]
|
D | CMakeLists.txt | 4 APValue.cpp
|
D | Android.mk | 28 APValue.cpp \
|
D | ASTDiagnostic.cpp | 1227 APValue &FromVal = FromResult.Val; in IsEqualExpr() 1228 APValue &ToVal = ToResult.Val; in IsEqualExpr() 1233 case APValue::Int: in IsEqualExpr() 1235 case APValue::LValue: { in IsEqualExpr() 1236 APValue::LValueBase FromBase = FromVal.getLValueBase(); in IsEqualExpr() 1237 APValue::LValueBase ToBase = ToVal.getLValueBase(); in IsEqualExpr() 1245 case APValue::MemberPointer: in IsEqualExpr()
|
D | Decl.cpp | 2007 APValue *VarDecl::evaluateValue() const { in evaluateValue() 2015 static_cast<APValue*>(UntypedValue)->~APValue(); in DestroyAPValue() 2019 APValue *VarDecl::evaluateValue( in evaluateValue() 2048 Eval->Evaluated = APValue(); in evaluateValue()
|
D | ASTContext.cpp | 8094 APValue * 8102 llvm::DenseMap<const MaterializeTemporaryExpr *, APValue>::iterator I = in getMaterializedTemporaryValue()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 48 const APValue &Value, QualType ValTy); 71 void Build(const APValue &Val, const RecordDecl *RD, bool IsPrimaryBase, 405 void ConstStructBuilder::Build(const APValue &Val, const RecordDecl *RD, in Build() 457 const APValue &FieldValue = in Build() 540 const APValue &Val, in BuildStruct() 860 llvm::Constant *EmitLValue(APValue::LValueBase LVBase) { in EmitLValue() 997 if (const APValue *Value = D.evaluateValue()) in EmitConstantInit() 1045 llvm::Constant *CodeGenModule::EmitConstantValue(const APValue &Value, in EmitConstantValue() 1049 case APValue::Uninitialized: in EmitConstantValue() 1051 case APValue::LValue: { in EmitConstantValue() [all …]
|
D | CGCXXABI.cpp | 144 llvm::Constant *CGCXXABI::EmitMemberPointer(const APValue &MP, QualType MPT) { in EmitMemberPointer() 281 CharUnits CGCXXABI::getMemberPointerPathAdjustment(const APValue &MP) { in getMemberPointerPathAdjustment()
|
D | CGCXXABI.h | 170 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT); 198 CharUnits getMemberPointerPathAdjustment(const APValue &MP);
|
D | CodeGenModule.h | 873 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType, 878 llvm::Constant *EmitConstantValueForMemory(const APValue &Value,
|
D | ItaniumCXXABI.cpp | 96 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override; 690 llvm::Constant *ItaniumCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
|
D | MicrosoftCXXABI.cpp | 492 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override; 1926 llvm::Constant *MicrosoftCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
|
D | CodeGenModule.cpp | 2909 APValue *Value = nullptr; in GetAddrOfGlobalTemporary()
|
D | CGDebugInfo.cpp | 884 const APValue *Value = Var->evaluateValue(); in CreateRecordStaticField()
|
/external/clang/include/clang/Sema/ |
D | Overload.h | 241 APValue &ConstantValue,
|
D | Initialization.h | 947 APValue *ConstantValue) const;
|
/external/clang/lib/Sema/ |
D | SemaOverload.cpp | 314 APValue &ConstantValue, in getNarrowingKind() 348 ConstantValue = APValue(IntConstantValue); in getNarrowingKind() 441 ConstantValue = APValue(InitializerValue); in getNarrowingKind() 5034 APValue PreNarrowingValue; in CheckConvertedConstantExpression() 5731 APValue Result; in CheckEnableIf()
|
D | SemaChecking.cpp | 4986 static IntRange GetValueRange(ASTContext &C, APValue &result, QualType Ty, in GetValueRange() 5267 static bool IsSameFloatAfterCast(const APValue &value, in IsSameFloatAfterCast()
|
D | SemaInit.cpp | 7109 APValue ConstantValue; in DiagnoseNarrowingInInitList()
|
/external/clang/patches/ |
D | 0004-Add-Android-build-system.patch | 618 + APValue.cpp \
|