Searched refs:APValue (Results 1 - 23 of 23) sorted by relevance

/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/AST/
H A DAPValue.h1 //===--- APValue.h - Union class for APFloat/APSInt/Complex -----*- C++ -*-===//
10 // This file defines the APValue class.
35 /// APValue - This class implements a discriminated union of [uninitialized]
37 /// [Vector: N * APValue], [Array: N * APValue]
38 class APValue { class in namespace:clang
81 APValue *Elts;
87 APValue *Elts;
93 APValue *Elts;
101 APValue *Valu
122 APValue() : Kind(Uninitialized) {} function in class:clang::APValue
123 explicit APValue(const APSInt &I) : Kind(Uninitialized) { function in class:clang::APValue
126 explicit APValue(const APFloat &F) : Kind(Uninitialized) { function in class:clang::APValue
129 explicit APValue(const APValue *E, unsigned N) : Kind(Uninitialized) { function in class:clang::APValue
132 APValue(const APSInt &R, const APSInt &I) : Kind(Uninitialized) { function in class:clang::APValue
135 APValue(const APFloat &R, const APFloat &I) : Kind(Uninitialized) { function in class:clang::APValue
139 APValue(LValueBase B, const CharUnits &O, NoLValuePath N, unsigned CallIndex) function in class:clang::APValue
143 APValue(LValueBase B, const CharUnits &O, ArrayRef<LValuePathEntry> Path, function in class:clang::APValue
148 APValue(UninitArray, unsigned InitElts, unsigned Size) : Kind(Uninitialized) { function in class:clang::APValue
151 APValue(UninitStruct, unsigned B, unsigned M) : Kind(Uninitialized) { function in class:clang::APValue
154 APValue(const FieldDecl *D, const APValue &V = APValue()) argument
158 APValue(const ValueDecl *Member, bool IsDerivedMember, function in class:clang::APValue
162 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr) function in class:clang::APValue
[all...]
H A DDecl.h17 #include "clang/AST/APValue.h"
641 APValue Evaluated;
1050 APValue *evaluateValue() const;
1051 APValue *evaluateValue(SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
1055 /// to untyped APValue if the value could not be evaluated.
1056 APValue *getEvaluatedValue() const {
H A DASTContext.h170 llvm::DenseMap<const MaterializeTemporaryExpr*, APValue>
2158 APValue *getMaterializedTemporaryValue(const MaterializeTemporaryExpr *E,
H A DExpr.h17 #include "clang/AST/APValue.h"
34 class APValue;
500 bool isCXX11ConstantExpr(const ASTContext &Ctx, APValue *Result = 0,
542 APValue Val;
599 bool EvaluateAsInitializer(APValue &Result, const ASTContext &Ctx,
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/AST/
H A DAPValue.cpp1 //===--- APValue.cpp - Union class for APFloat/APSInt/Complex -------------===//
10 // This file implements the APValue class.
14 #include "clang/AST/APValue.h"
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) :
109 Elts(new APValue[NumElts + (NumElts != Size ? 1 : 0)]),
111 APValue::Arr::~Arr() { delete [] Elts; }
113 APValue
125 APValue::APValue(const APValue &RHS) : Kind(Uninitialized) { function in class:APValue
[all...]
H A DExprConstant.cpp36 #include "clang/AST/APValue.h"
55 static bool IsGlobalLValue(APValue::LValueBase B);
62 static QualType getType(APValue::LValueBase B) {
90 APValue::BaseOrMemberType getAsBaseOrMember(APValue::LValuePathEntry E) {
91 APValue::BaseOrMemberType Value;
98 static const FieldDecl *getAsField(APValue::LValuePathEntry E) {
103 static const CXXRecordDecl *getAsBaseClass(APValue::LValuePathEntry E) {
108 static bool isVirtualBaseClass(APValue::LValuePathEntry E) {
116 ArrayRef<APValue
[all...]
H A DASTDiagnostic.cpp1186 APValue &FromVal = FromResult.Val;
1187 APValue &ToVal = ToResult.Val;
1192 case APValue::Int:
1194 case APValue::LValue: {
1195 APValue::LValueBase FromBase = FromVal.getLValueBase();
1196 APValue::LValueBase ToBase = ToVal.getLValueBase();
1204 case APValue::MemberPointer:
H A DDecl.cpp1920 // Note: EvaluatedStmt contains an APValue, which usually holds
1931 APValue *VarDecl::evaluateValue() const {
1937 // Destroy an APValue that was allocated in an ASTContext.
1939 static_cast<APValue*>(UntypedValue)->~APValue();
1943 APValue *VarDecl::evaluateValue(
1968 // Ensure the computed APValue is cleaned up later if evaluation succeeded,
1972 Eval->Evaluated = APValue();
H A DASTContext.cpp8098 APValue *
8106 llvm::DenseMap<const MaterializeTemporaryExpr *, APValue>::iterator I =
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprConstant.cpp19 #include "clang/AST/APValue.h"
48 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,
457 const APValue &FieldValue =
540 const APValue &Val,
557 /// 1) Literals (this is used by APValue emission to emit literals).
854 llvm::Constant *EmitLValue(APValue::LValueBase LVBase) {
991 if (const APValue *Value = D.evaluateValue())
1039 llvm::Constant *CodeGenModule::EmitConstantValue(const APValue
[all...]
H A DCGCXXABI.cpp110 llvm::Constant *CGCXXABI::EmitMemberPointer(const APValue &MP, QualType MPT) {
247 CharUnits CGCXXABI::getMemberPointerPathAdjustment(const APValue &MP) {
248 // TODO: Store base specifiers in APValue member pointer paths so we can
H A DCGCXXABI.h175 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
200 /// conversion along an inheritance path stored in an APValue. Unlike
203 CharUnits getMemberPointerPathAdjustment(const APValue &MP);
H A DCodeGenModule.h854 llvm::Constant *EmitConstantValue(const APValue &Value, QualType DestType,
859 llvm::Constant *EmitConstantValueForMemory(const APValue &Value,
H A DItaniumCXXABI.cpp94 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
622 llvm::Constant *ItaniumCXXABI::EmitMemberPointer(const APValue &MP,
H A DMicrosoftCXXABI.cpp330 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
1386 llvm::Constant *MicrosoftCXXABI::EmitMemberPointer(const APValue &MP,
H A DCGDebugInfo.cpp864 const APValue *Value = Var->evaluateValue();
H A DCodeGenModule.cpp2748 APValue *Value = 0;
/freebsd-10.1-release/lib/clang/libclangast/
H A DMakefile8 SRCS= APValue.cpp \
/freebsd-10.1-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DOverload.h241 APValue &ConstantValue,
H A DInitialization.h932 APValue *ConstantValue) const;
/freebsd-10.1-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaOverload.cpp313 APValue &ConstantValue,
347 ConstantValue = APValue(IntConstantValue);
440 ConstantValue = APValue(InitializerValue);
4992 APValue PreNarrowingValue;
H A DSemaChecking.cpp4494 static IntRange GetValueRange(ASTContext &C, APValue &result, QualType Ty,
4517 // the sign right on this one case. It would be nice if APValue
4775 static bool IsSameFloatAfterCast(const APValue &value,
H A DSemaInit.cpp6988 APValue ConstantValue;

Completed in 514 milliseconds