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;
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 …]
DDecl.h635 APValue Evaluated;
1033 APValue *evaluateValue() const;
1034 APValue *evaluateValue(SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
1039 APValue *getEvaluatedValue() const { in getEvaluatedValue()
DASTContext.h170 llvm::DenseMap<const MaterializeTemporaryExpr*, APValue>
2129 APValue *getMaterializedTemporaryValue(const MaterializeTemporaryExpr *E,
DExpr.h34 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/
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(0), 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
DASTDiagnostic.cpp1181 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()
DAndroid.mk27 APValue.cpp \
DDecl.cpp1864 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()
DASTContext.cpp8034 APValue *
8042 llvm::DenseMap<const MaterializeTemporaryExpr *, APValue>::iterator I = in getMaterializedTemporaryValue()
/external/clang/lib/CodeGen/
DCGExprConstant.cpp48 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 …]
DCGCXXABI.h175 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
203 CharUnits getMemberPointerPathAdjustment(const APValue &MP);
DCGCXXABI.cpp110 llvm::Constant *CGCXXABI::EmitMemberPointer(const APValue &MP, QualType MPT) { in EmitMemberPointer()
254 CharUnits CGCXXABI::getMemberPointerPathAdjustment(const APValue &MP) { in getMemberPointerPathAdjustment()
DCodeGenModule.cpp2668 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()
DCodeGenModule.h831 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType,
836 llvm::Constant *EmitConstantValueForMemory(const APValue &Value,
DMicrosoftCXXABI.cpp248 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
787 llvm::Constant *MicrosoftCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
DItaniumCXXABI.cpp87 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
586 llvm::Constant *ItaniumCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
DCGDebugInfo.cpp894 const APValue *Value = Var->evaluateValue(); in CollectRecordStaticField()
/external/clang/include/clang/Sema/
DOverload.h241 APValue &ConstantValue,
DInitialization.h918 APValue *ConstantValue) const;
/external/clang/lib/Sema/
DSemaOverload.cpp311 APValue &ConstantValue, in getNarrowingKind()
345 ConstantValue = APValue(IntConstantValue); in getNarrowingKind()
438 ConstantValue = APValue(InitializerValue); in getNarrowingKind()
4952 APValue PreNarrowingValue; in CheckConvertedConstantExpression()
DSemaChecking.cpp4388 static IntRange GetValueRange(ASTContext &C, APValue &result, QualType Ty, in GetValueRange()
4666 static bool IsSameFloatAfterCast(const APValue &value, in IsSameFloatAfterCast()
DSemaInit.cpp6888 APValue ConstantValue; in DiagnoseNarrowingInInitList()
/external/clang/docs/
DInternalsManual.rst1523 ``APValue`` for the result of the expression.