/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 | 763 APValue Evaluated; 1161 APValue *evaluateValue() const; 1162 APValue *evaluateValue(SmallVectorImpl<PartialDiagnosticAt> &Notes) const; 1167 APValue *getEvaluatedValue() const;
|
D | Expr.h | 36 class APValue; variable 503 bool isCXX11ConstantExpr(const ASTContext &Ctx, APValue *Result = nullptr, 564 APValue Val; 639 bool EvaluateAsInitializer(APValue &Result, const ASTContext &Ctx, 647 bool EvaluateWithSubstitution(APValue &Value, ASTContext &Ctx,
|
D | ASTContext.h | 187 llvm::DenseMap<const MaterializeTemporaryExpr *, APValue *> 2438 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 | 56 static bool IsGlobalLValue(APValue::LValueBase B); 63 static QualType getType(APValue::LValueBase B) { in getType() 91 APValue::BaseOrMemberType getAsBaseOrMember(APValue::LValuePathEntry E) { in getAsBaseOrMember() 92 APValue::BaseOrMemberType Value; in getAsBaseOrMember() 99 static const FieldDecl *getAsField(APValue::LValuePathEntry E) { in getAsField() 104 static const CXXRecordDecl *getAsBaseClass(APValue::LValuePathEntry E) { in getAsBaseClass() 109 static bool isVirtualBaseClass(APValue::LValuePathEntry E) { in isVirtualBaseClass() 117 ArrayRef<APValue::LValuePathEntry> Path, in findMostDerivedSubobject() 182 typedef APValue::LValuePathEntry PathEntry; 194 SubobjectDesignator(ASTContext &Ctx, const APValue &V) in SubobjectDesignator() [all …]
|
D | CMakeLists.txt | 4 APValue.cpp
|
D | Decl.cpp | 2134 APValue *VarDecl::evaluateValue() const { in evaluateValue() 2142 static_cast<APValue*>(UntypedValue)->~APValue(); in DestroyAPValue() 2146 APValue *VarDecl::evaluateValue( in evaluateValue() 2175 Eval->Evaluated = APValue(); in evaluateValue() 2192 APValue *VarDecl::getEvaluatedValue() const { in getEvaluatedValue()
|
D | ASTContext.cpp | 787 for (std::pair<const MaterializeTemporaryExpr *, APValue *> &MTVPair : in ~ASTContext() 789 MTVPair.second->~APValue(); in ~ASTContext() 8853 APValue * 8859 APValue *&MTVI = MaterializedTemporaryValues[E]; in getMaterializedTemporaryValue() 8861 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, 433 void ConstStructBuilder::Build(const APValue &Val, const RecordDecl *RD, in Build() 485 const APValue &FieldValue = in Build() 585 const APValue &Val, in BuildStruct() 995 ConstantAddress EmitLValue(APValue::LValueBase LVBase) { in EmitLValue() 1214 if (const APValue *Value = D.evaluateValue()) in EmitConstantInit() 1262 llvm::Constant *CodeGenModule::EmitConstantValue(const APValue &Value, in EmitConstantValue() 1285 case APValue::Uninitialized: in EmitConstantValue() 1287 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 | 199 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT); 227 CharUnits getMemberPointerPathAdjustment(const APValue &MP);
|
D | CodeGenModule.h | 915 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType, 920 llvm::Constant *EmitConstantValueForMemory(const APValue &Value,
|
D | ItaniumCXXABI.cpp | 140 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override; 843 llvm::Constant *ItaniumCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
|
D | MicrosoftCXXABI.cpp | 628 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override; 2615 llvm::Constant *MicrosoftCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
|
D | CGDebugInfo.cpp | 1057 const APValue *Value = Var->evaluateValue(); in CreateRecordStaticField()
|
D | CodeGenModule.cpp | 3559 APValue *Value = nullptr; in GetAddrOfGlobalTemporary()
|
/external/clang/lib/Sema/ |
D | SemaTemplate.cpp | 4942 APValue Value; in CheckTemplateArgument() 4952 case APValue::Uninitialized: in CheckTemplateArgument() 4956 case APValue::Int: in CheckTemplateArgument() 4960 case APValue::MemberPointer: { in CheckTemplateArgument() 4977 case APValue::LValue: { in CheckTemplateArgument() 5019 case APValue::AddrLabelDiff: in CheckTemplateArgument() 5021 case APValue::Float: in CheckTemplateArgument() 5022 case APValue::ComplexInt: in CheckTemplateArgument() 5023 case APValue::ComplexFloat: in CheckTemplateArgument() 5024 case APValue::Vector: in CheckTemplateArgument() [all …]
|
D | SemaOverload.cpp | 288 APValue &ConstantValue, in getNarrowingKind() 340 ConstantValue = APValue(IntConstantValue); in getNarrowingKind() 428 ConstantValue = APValue(InitializerValue); in getNarrowingKind() 5130 QualType T, APValue &Value, in CheckConvertedConstantExpression() 5191 APValue PreNarrowingValue; in CheckConvertedConstantExpression() 5248 APValue &Value, CCEKind CCE) { in CheckConvertedConstantExpression() 5257 APValue V; in CheckConvertedConstantExpression() 6026 APValue Result; in CheckEnableIf()
|
D | SemaChecking.cpp | 7073 IntRange GetValueRange(ASTContext &C, APValue &result, QualType Ty, in GetValueRange() 7355 bool IsSameFloatAfterCast(const APValue &value, in IsSameFloatAfterCast()
|
D | SemaInit.cpp | 7748 APValue ConstantValue; in DiagnoseNarrowingInInitList()
|
/external/clang/include/clang/Sema/ |
D | Overload.h | 231 APValue &ConstantValue,
|
D | Initialization.h | 978 APValue *ConstantValue) const;
|
D | Sema.h | 2341 APValue &Value, CCEKind CCE);
|
/external/clang/docs/ |
D | InternalsManual.rst | 1551 ``APValue`` for the result of the expression.
|