Home
last modified time | relevance | path

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

/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.h763 APValue Evaluated;
1161 APValue *evaluateValue() const;
1162 APValue *evaluateValue(SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
1167 APValue *getEvaluatedValue() const;
DExpr.h36 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,
DASTContext.h187 llvm::DenseMap<const MaterializeTemporaryExpr *, APValue *>
2438 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.cpp56 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 …]
DCMakeLists.txt4 APValue.cpp
DDecl.cpp2134 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()
DASTContext.cpp787 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/
DCGExprConstant.cpp53 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 …]
DCGCXXABI.cpp147 llvm::Constant *CGCXXABI::EmitMemberPointer(const APValue &MP, QualType MPT) { in EmitMemberPointer()
283 CharUnits CGCXXABI::getMemberPointerPathAdjustment(const APValue &MP) { in getMemberPointerPathAdjustment()
DCGCXXABI.h199 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
227 CharUnits getMemberPointerPathAdjustment(const APValue &MP);
DCodeGenModule.h915 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType,
920 llvm::Constant *EmitConstantValueForMemory(const APValue &Value,
DItaniumCXXABI.cpp140 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override;
843 llvm::Constant *ItaniumCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
DMicrosoftCXXABI.cpp628 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override;
2615 llvm::Constant *MicrosoftCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
DCGDebugInfo.cpp1057 const APValue *Value = Var->evaluateValue(); in CreateRecordStaticField()
DCodeGenModule.cpp3559 APValue *Value = nullptr; in GetAddrOfGlobalTemporary()
/external/clang/lib/Sema/
DSemaTemplate.cpp4942 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 …]
DSemaOverload.cpp288 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()
DSemaChecking.cpp7073 IntRange GetValueRange(ASTContext &C, APValue &result, QualType Ty, in GetValueRange()
7355 bool IsSameFloatAfterCast(const APValue &value, in IsSameFloatAfterCast()
DSemaInit.cpp7748 APValue ConstantValue; in DiagnoseNarrowingInInitList()
/external/clang/include/clang/Sema/
DOverload.h231 APValue &ConstantValue,
DInitialization.h978 APValue *ConstantValue) const;
DSema.h2341 APValue &Value, CCEKind CCE);
/external/clang/docs/
DInternalsManual.rst1551 ``APValue`` for the result of the expression.