Home
last modified time | relevance | path

Searched refs:APValue (Results 1 – 25 of 27) 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.h703 APValue Evaluated;
1124 APValue *evaluateValue() const;
1125 APValue *evaluateValue(SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
1130 APValue *getEvaluatedValue() const { in getEvaluatedValue()
DExpr.h35 class APValue; variable
502 bool isCXX11ConstantExpr(const ASTContext &Ctx, APValue *Result = nullptr,
563 APValue Val;
631 bool EvaluateAsInitializer(APValue &Result, const ASTContext &Ctx,
639 bool EvaluateWithSubstitution(APValue &Value, ASTContext &Ctx,
DASTContext.h182 llvm::DenseMap<const MaterializeTemporaryExpr *, APValue *>
2416 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()
181 typedef APValue::LValuePathEntry PathEntry;
193 SubobjectDesignator(ASTContext &Ctx, const APValue &V) in SubobjectDesignator()
[all …]
DCMakeLists.txt4 APValue.cpp
DAndroid.mk26 APValue.cpp \
DASTDiagnostic.cpp1401 APValue &FromVal = FromResult.Val; in IsEqualExpr()
1402 APValue &ToVal = ToResult.Val; in IsEqualExpr()
1407 case APValue::Int: in IsEqualExpr()
1409 case APValue::LValue: { in IsEqualExpr()
1410 APValue::LValueBase FromBase = FromVal.getLValueBase(); in IsEqualExpr()
1411 APValue::LValueBase ToBase = ToVal.getLValueBase(); in IsEqualExpr()
1419 case APValue::MemberPointer: in IsEqualExpr()
DDecl.cpp2113 APValue *VarDecl::evaluateValue() const { in evaluateValue()
2121 static_cast<APValue*>(UntypedValue)->~APValue(); in DestroyAPValue()
2125 APValue *VarDecl::evaluateValue( in evaluateValue()
2154 Eval->Evaluated = APValue(); in evaluateValue()
DASTContext.cpp790 for (std::pair<const MaterializeTemporaryExpr *, APValue *> &MTVPair : in ~ASTContext()
792 MTVPair.second->~APValue(); in ~ASTContext()
8662 APValue *
8668 APValue *&MTVI = MaterializedTemporaryValues[E]; in getMaterializedTemporaryValue()
8670 MTVI = new (*this) APValue; in getMaterializedTemporaryValue()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp53 const APValue &Value, QualType ValTy);
78 void Build(const APValue &Val, const RecordDecl *RD, bool IsPrimaryBase,
426 void ConstStructBuilder::Build(const APValue &Val, const RecordDecl *RD, in Build()
478 const APValue &FieldValue = in Build()
579 const APValue &Val, in BuildStruct()
982 ConstantAddress EmitLValue(APValue::LValueBase LVBase) { in EmitLValue()
1194 if (const APValue *Value = D.evaluateValue()) in EmitConstantInit()
1242 llvm::Constant *CodeGenModule::EmitConstantValue(const APValue &Value, in EmitConstantValue()
1265 case APValue::Uninitialized: in EmitConstantValue()
1267 case APValue::LValue: { in EmitConstantValue()
[all …]
DCGCXXABI.cpp147 llvm::Constant *CGCXXABI::EmitMemberPointer(const APValue &MP, QualType MPT) { in EmitMemberPointer()
283 CharUnits CGCXXABI::getMemberPointerPathAdjustment(const APValue &MP) { in getMemberPointerPathAdjustment()
DCGCXXABI.h189 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
217 CharUnits getMemberPointerPathAdjustment(const APValue &MP);
DCodeGenModule.h906 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType,
911 llvm::Constant *EmitConstantValueForMemory(const APValue &Value,
DItaniumCXXABI.cpp140 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override;
850 llvm::Constant *ItaniumCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
DMicrosoftCXXABI.cpp628 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override;
2607 llvm::Constant *MicrosoftCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
DCodeGenModule.cpp3286 APValue *Value = nullptr; in GetAddrOfGlobalTemporary()
DCGDebugInfo.cpp976 const APValue *Value = Var->evaluateValue(); in CreateRecordStaticField()
/external/clang/include/clang/Sema/
DOverload.h230 APValue &ConstantValue,
DInitialization.h971 APValue *ConstantValue) const;
/external/clang/lib/Sema/
DSemaTemplate.cpp4901 APValue Value; in CheckTemplateArgument()
4911 case APValue::Uninitialized: in CheckTemplateArgument()
4915 case APValue::Int: in CheckTemplateArgument()
4919 case APValue::MemberPointer: { in CheckTemplateArgument()
4936 case APValue::LValue: { in CheckTemplateArgument()
4978 case APValue::AddrLabelDiff: in CheckTemplateArgument()
4980 case APValue::Float: in CheckTemplateArgument()
4981 case APValue::ComplexInt: in CheckTemplateArgument()
4982 case APValue::ComplexFloat: in CheckTemplateArgument()
4983 case APValue::Vector: in CheckTemplateArgument()
[all …]
DSemaOverload.cpp287 APValue &ConstantValue, in getNarrowingKind()
332 ConstantValue = APValue(IntConstantValue); in getNarrowingKind()
420 ConstantValue = APValue(InitializerValue); in getNarrowingKind()
5070 QualType T, APValue &Value, in CheckConvertedConstantExpression()
5131 APValue PreNarrowingValue; in CheckConvertedConstantExpression()
5188 APValue &Value, CCEKind CCE) { in CheckConvertedConstantExpression()
5197 APValue V; in CheckConvertedConstantExpression()
5976 APValue Result; in CheckEnableIf()
DSemaChecking.cpp6180 static IntRange GetValueRange(ASTContext &C, APValue &result, QualType Ty, in GetValueRange()
6461 static bool IsSameFloatAfterCast(const APValue &value, in IsSameFloatAfterCast()
DSemaInit.cpp7579 APValue ConstantValue; in DiagnoseNarrowingInInitList()

12