Home
last modified time | relevance | path

Searched refs:APValue (Results 1 – 25 of 26) sorted by relevance

12

/external/clang/include/clang/AST/
DAPValue.h38 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 …]
DDecl.h644 APValue Evaluated;
1051 APValue *evaluateValue() const;
1052 APValue *evaluateValue(SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
1057 APValue *getEvaluatedValue() const { in getEvaluatedValue()
DExpr.h34 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,
DASTContext.h171 llvm::DenseMap<const MaterializeTemporaryExpr*, APValue>
2200 APValue *getMaterializedTemporaryValue(const MaterializeTemporaryExpr *E,
/external/clang/lib/AST/
DAPValue.cpp28 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 …]
DExprConstant.cpp55 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 …]
DCMakeLists.txt4 APValue.cpp
DAndroid.mk28 APValue.cpp \
DASTDiagnostic.cpp1227 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()
DDecl.cpp2007 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()
DASTContext.cpp8094 APValue *
8102 llvm::DenseMap<const MaterializeTemporaryExpr *, APValue>::iterator I = in getMaterializedTemporaryValue()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp48 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 …]
DCGCXXABI.cpp144 llvm::Constant *CGCXXABI::EmitMemberPointer(const APValue &MP, QualType MPT) { in EmitMemberPointer()
281 CharUnits CGCXXABI::getMemberPointerPathAdjustment(const APValue &MP) { in getMemberPointerPathAdjustment()
DCGCXXABI.h170 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
198 CharUnits getMemberPointerPathAdjustment(const APValue &MP);
DCodeGenModule.h873 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType,
878 llvm::Constant *EmitConstantValueForMemory(const APValue &Value,
DItaniumCXXABI.cpp96 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override;
690 llvm::Constant *ItaniumCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
DMicrosoftCXXABI.cpp492 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override;
1926 llvm::Constant *MicrosoftCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
DCodeGenModule.cpp2909 APValue *Value = nullptr; in GetAddrOfGlobalTemporary()
DCGDebugInfo.cpp884 const APValue *Value = Var->evaluateValue(); in CreateRecordStaticField()
/external/clang/include/clang/Sema/
DOverload.h241 APValue &ConstantValue,
DInitialization.h947 APValue *ConstantValue) const;
/external/clang/lib/Sema/
DSemaOverload.cpp314 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()
DSemaChecking.cpp4986 static IntRange GetValueRange(ASTContext &C, APValue &result, QualType Ty, in GetValueRange()
5267 static bool IsSameFloatAfterCast(const APValue &value, in IsSameFloatAfterCast()
DSemaInit.cpp7109 APValue ConstantValue; in DiagnoseNarrowingInInitList()
/external/clang/patches/
D0004-Add-Android-build-system.patch618 + APValue.cpp \

12