Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DAPValue.h38 class APValue {
132 APValue *Elts;
138 APValue *Elts;
144 APValue *Elts;
152 APValue *Value;
178 explicit APValue(const APValue *E, unsigned N) : Kind(Uninitialized) { in APValue() function
187 APValue(const APValue &RHS);
188 APValue(APValue &&RHS) : Kind(Uninitialized) { swap(RHS); } in APValue() function
205 explicit APValue(const FieldDecl *D, const APValue &V = APValue())
218 ~APValue() { in ~APValue()
[all …]
H A DASTContext.h86 class APValue; variable
277 llvm::DenseMap<const MaterializeTemporaryExpr *, APValue *>
2780 APValue *getMaterializedTemporaryValue(const MaterializeTemporaryExpr *E,
H A DDecl.h805 APValue Evaluated;
1242 APValue *evaluateValue() const;
1243 APValue *evaluateValue(SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
1248 APValue *getEvaluatedValue() const;
H A DExpr.h38 class APValue; variable
512 bool isCXX11ConstantExpr(const ASTContext &Ctx, APValue *Result = nullptr,
573 APValue Val;
654 bool EvaluateAsInitializer(APValue &Result, const ASTContext &Ctx,
662 bool EvaluateWithSubstitution(APValue &Value, ASTContext &Ctx,
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DAPValue.cpp26 APValue::LValueBase Base;
46 clang::APValue::LValueBase
54 clang::APValue::LValueBase
162 APValue::UnionData::UnionData() : Field(nullptr), Value(new APValue) {} in UnionData()
167 APValue::APValue(const APValue &RHS) : Kind(Uninitialized) { in APValue() function in APValue
292 void APValue::swap(APValue &RHS) { in swap()
391 case APValue::Int: in printPretty()
397 case APValue::Float: in printPretty()
569 case APValue::Union: in printPretty()
623 const APValue::LValueBase APValue::getLValueBase() const { in getLValueBase()
[all …]
H A DExprConstant.cpp2060 APValue Val; in EvaluateAsBooleanCondition()
2148 APValue SVal; in EvalAndBitcastToAPInt()
2681 Result = APValue(APValue::UninitArray(), in expandStringLiteral()
2704 APValue NewValue(APValue::UninitArray(), NewElts, Size); in expandArray()
5427 APValue *V; in VisitVarDecl()
5604 APValue RHS; in VisitCompoundAssignOperator()
6809 Result = APValue(APValue::UninitStruct(), 0, 2); in VisitCXXStdInitializerListExpr()
6988 APValue Val = APValue(); in VisitCastExpr()
7145 Result = APValue(APValue::UninitArray(), 0, in ZeroInitialization()
7309 *Value = APValue(APValue::UninitArray(), N, N); in VisitCXXConstructExpr()
[all …]
H A DDecl.cpp2258 APValue *VarDecl::evaluateValue() const { in evaluateValue()
2263 APValue *VarDecl::evaluateValue( in evaluateValue()
2292 Eval->Evaluated = APValue(); in evaluateValue()
2309 APValue *VarDecl::getEvaluatedValue() const { in getEvaluatedValue()
H A DASTContext.cpp832 for (std::pair<const MaterializeTemporaryExpr *, APValue *> &MTVPair : in ~ASTContext()
834 MTVPair.second->~APValue(); in ~ASTContext()
10128 APValue *
10134 APValue *&MTVI = MaterializedTemporaryValues[E]; in getMaterializedTemporaryValue()
10136 MTVI = new (*this) APValue; in getMaterializedTemporaryValue()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DConstantEmitter.h76 llvm::Constant *emitForInitializer(const APValue &value, LangAS destAddrSpace,
104 llvm::Constant *emitAbstract(SourceLocation loc, const APValue &value,
111 llvm::Constant *tryEmitAbstract(const APValue &value, QualType T);
112 llvm::Constant *tryEmitAbstractForMemory(const APValue &value, QualType T);
134 llvm::Constant *tryEmitPrivate(const APValue &value, QualType T);
135 llvm::Constant *tryEmitPrivateForMemory(const APValue &value, QualType T);
H A DCGExprConstant.cpp488 const APValue &FieldValue = in Build()
1591 const APValue &Value;
1870 case APValue::Uninitialized: in tryEmitPrivate()
1872 case APValue::LValue: in tryEmitPrivate()
1874 case APValue::Int: in tryEmitPrivate()
1876 case APValue::ComplexInt: { in tryEmitPrivate()
1889 case APValue::Float: { in tryEmitPrivate()
1912 case APValue::Vector: { in tryEmitPrivate()
1945 case APValue::Struct: in tryEmitPrivate()
1946 case APValue::Union: in tryEmitPrivate()
[all …]
H A DCGCXXABI.cpp119 llvm::Constant *CGCXXABI::EmitMemberPointer(const APValue &MP, QualType MPT) { in EmitMemberPointer()
258 CharUnits CGCXXABI::getMemberPointerPathAdjustment(const APValue &MP) { in getMemberPointerPathAdjustment()
H A DCGCXXABI.h201 virtual llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT);
229 CharUnits getMemberPointerPathAdjustment(const APValue &MP);
H A DCGDebugInfo.h451 void EmitGlobalVariable(const ValueDecl *VD, const APValue &Init);
H A DItaniumCXXABI.cpp146 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override;
962 llvm::Constant *ItaniumCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
H A DMicrosoftCXXABI.cpp636 llvm::Constant *EmitMemberPointer(const APValue &MP, QualType MPT) override;
2681 llvm::Constant *MicrosoftCXXABI::EmitMemberPointer(const APValue &MP, in EmitMemberPointer()
H A DCodeGenFunction.cpp2176 const APValue &Init) { in EmitDeclRefExprDbgValue()
H A DCGDebugInfo.cpp1318 const APValue *Value = Var->evaluateValue(); in CreateRecordStaticField()
4215 void CGDebugInfo::EmitGlobalVariable(const ValueDecl *VD, const APValue &Init) { in EmitGlobalVariable()
H A DCodeGenFunction.h3572 void EmitDeclRefExprDbgValue(const DeclRefExpr *E, const APValue &Init);
H A DCodeGenModule.cpp4613 APValue *Value = nullptr; in GetAddrOfGlobalTemporary()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DOverload.h46 class APValue; variable
335 APValue &ConstantValue, QualType &ConstantType,
H A DInitialization.h42 class APValue; variable
1209 APValue *ConstantValue) const;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DBodyFarm.cpp210 llvm::APInt APValue = llvm::APInt(C.getTypeSize(Ty), Value); in makeIntegerLiteral() local
211 return IntegerLiteral::Create(C, APValue, Ty, SourceLocation()); in makeIntegerLiteral()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplate.cpp6259 APValue Value; in CheckTemplateArgument()
6276 case APValue::Uninitialized: in CheckTemplateArgument()
6280 case APValue::Int: in CheckTemplateArgument()
6301 case APValue::LValue: { in CheckTemplateArgument()
6345 case APValue::Float: in CheckTemplateArgument()
6346 case APValue::ComplexInt: in CheckTemplateArgument()
6347 case APValue::ComplexFloat: in CheckTemplateArgument()
6348 case APValue::Vector: in CheckTemplateArgument()
6349 case APValue::Array: in CheckTemplateArgument()
6350 case APValue::Struct: in CheckTemplateArgument()
[all …]
H A DSemaOverload.cpp295 ASTContext &Ctx, const Expr *Converted, APValue &ConstantValue, in getNarrowingKind()
355 ConstantValue = APValue(IntConstantValue); in getNarrowingKind()
453 ConstantValue = APValue(InitializerValue); in getNarrowingKind()
5398 QualType T, APValue &Value, in CheckConvertedConstantExpression()
5465 APValue PreNarrowingValue; in CheckConvertedConstantExpression()
5491 Value = APValue(); in CheckConvertedConstantExpression()
5531 APValue &Value, CCEKind CCE) { in CheckConvertedConstantExpression()
5540 APValue V; in CheckConvertedConstantExpression()
6366 APValue Result; in CheckEnableIf()
6426 APValue Result; in diagnoseArgDependentDiagnoseIfAttrs()
/freebsd-12.1/lib/clang/libclang/
H A DMakefile43 SRCS_MIN+= AST/APValue.cpp

12