/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 | 635 APValue Evaluated; 1033 APValue *evaluateValue() const; 1034 APValue *evaluateValue(SmallVectorImpl<PartialDiagnosticAt> &Notes) const; 1039 APValue *getEvaluatedValue() const { in getEvaluatedValue()
|
D | ASTContext.h | 170 llvm::DenseMap<const MaterializeTemporaryExpr*, APValue> 2129 APValue *getMaterializedTemporaryValue(const MaterializeTemporaryExpr *E,
|
D | Expr.h | 34 class APValue; variable 499 bool isCXX11ConstantExpr(ASTContext &Ctx, APValue *Result = 0, 541 APValue Val; 599 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 | 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 | ASTDiagnostic.cpp | 1181 APValue &FromVal = FromResult.Val; in IsEqualExpr() 1182 APValue &ToVal = ToResult.Val; in IsEqualExpr() 1187 case APValue::Int: in IsEqualExpr() 1189 case APValue::LValue: { in IsEqualExpr() 1190 APValue::LValueBase FromBase = FromVal.getLValueBase(); in IsEqualExpr() 1191 APValue::LValueBase ToBase = ToVal.getLValueBase(); in IsEqualExpr() 1199 case APValue::MemberPointer: in IsEqualExpr()
|
D | Android.mk | 27 APValue.cpp \
|
D | Decl.cpp | 1864 APValue *VarDecl::evaluateValue() const { in evaluateValue() 1872 static_cast<APValue*>(UntypedValue)->~APValue(); in DestroyAPValue() 1876 APValue *VarDecl::evaluateValue( in evaluateValue() 1905 Eval->Evaluated = APValue(); in evaluateValue()
|
D | ASTContext.cpp | 8034 APValue * 8042 llvm::DenseMap<const MaterializeTemporaryExpr *, APValue>::iterator I = in getMaterializedTemporaryValue()
|
/external/clang/lib/CodeGen/ |
D | CGExprConstant.cpp | 48 const APValue &Value, QualType ValTy); 74 void Build(const APValue &Val, const RecordDecl *RD, bool IsPrimaryBase, 426 void ConstStructBuilder::Build(const APValue &Val, const RecordDecl *RD, in Build() 474 const APValue &FieldValue = in Build() 557 const APValue &Val, in BuildStruct() 875 llvm::Constant *EmitLValue(APValue::LValueBase LVBase) { in EmitLValue() 1012 if (const APValue *Value = D.evaluateValue()) in EmitConstantInit() 1060 llvm::Constant *CodeGenModule::EmitConstantValue(const APValue &Value, in EmitConstantValue() 1064 case APValue::Uninitialized: in EmitConstantValue() 1066 case APValue::LValue: { in EmitConstantValue() [all …]
|
D | CGCXXABI.h | 175 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT); 203 CharUnits getMemberPointerPathAdjustment(const APValue &MP);
|
D | CGCXXABI.cpp | 110 llvm::Constant *CGCXXABI::EmitMemberPointer(const APValue &MP, QualType MPT) { in EmitMemberPointer() 254 CharUnits CGCXXABI::getMemberPointerPathAdjustment(const APValue &MP) { in getMemberPointerPathAdjustment()
|
D | CodeGenModule.cpp | 2668 APValue *Value = 0; in GetAddrOfGlobalTemporary() 3102 APValue InitStruct(APValue::UninitStruct(), /*NumBases=*/0, /*NumFields=*/4); in EmitUuidofInitializer() 3103 InitStruct.getStructField(0) = APValue(llvm::APSInt(Field0)); in EmitUuidofInitializer() 3104 InitStruct.getStructField(1) = APValue(llvm::APSInt(Field1)); in EmitUuidofInitializer() 3105 InitStruct.getStructField(2) = APValue(llvm::APSInt(Field2)); in EmitUuidofInitializer() 3106 APValue& Arr = InitStruct.getStructField(3); in EmitUuidofInitializer() 3107 Arr = APValue(APValue::UninitArray(), 8, 8); in EmitUuidofInitializer() 3109 Arr.getArrayInitializedElt(t) = APValue(llvm::APSInt( in EmitUuidofInitializer()
|
D | CodeGenModule.h | 831 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType, 836 llvm::Constant *EmitConstantValueForMemory(const APValue &Value,
|
D | MicrosoftCXXABI.cpp | 248 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT); 787 llvm::Constant *MicrosoftCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
|
D | ItaniumCXXABI.cpp | 87 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT); 586 llvm::Constant *ItaniumCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
|
D | CGDebugInfo.cpp | 894 const APValue *Value = Var->evaluateValue(); in CollectRecordStaticField()
|
/external/clang/include/clang/Sema/ |
D | Overload.h | 241 APValue &ConstantValue,
|
D | Initialization.h | 918 APValue *ConstantValue) const;
|
/external/clang/lib/Sema/ |
D | SemaOverload.cpp | 311 APValue &ConstantValue, in getNarrowingKind() 345 ConstantValue = APValue(IntConstantValue); in getNarrowingKind() 438 ConstantValue = APValue(InitializerValue); in getNarrowingKind() 4952 APValue PreNarrowingValue; in CheckConvertedConstantExpression()
|
D | SemaChecking.cpp | 4388 static IntRange GetValueRange(ASTContext &C, APValue &result, QualType Ty, in GetValueRange() 4666 static bool IsSameFloatAfterCast(const APValue &value, in IsSameFloatAfterCast()
|
D | SemaInit.cpp | 6888 APValue ConstantValue; in DiagnoseNarrowingInInitList()
|
/external/clang/docs/ |
D | InternalsManual.rst | 1523 ``APValue`` for the result of the expression.
|