Home
last modified time | relevance | path

Searched refs:toAPValue (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DPointer.cpp123 APValue Pointer::toAPValue(const ASTContext &ASTCtx) const { in toAPValue() function in Pointer
262 return toAPValue(Ctx).getAsString(Ctx, getType()); in toDiagnosticString()
402 TYPE_SWITCH(*T, R = Ptr.deref<T>().toAPValue(ASTCtx)); in toRValue()
419 TYPE_SWITCH(*T, Value = FP.deref<T>().toAPValue(ASTCtx)); in toRValue()
442 TYPE_SWITCH(*T, Value = FP.deref<T>().toAPValue(ASTCtx)); in toRValue()
480 TYPE_SWITCH(*T, Slot = EP.deref<T>().toAPValue(ASTCtx)); in toRValue()
519 Values.push_back(Ptr.atIndex(I).deref<T>().toAPValue(ASTCtx)); in toRValue()
537 return toAPValue(ASTCtx); in toRValue()
541 TYPE_SWITCH(*T, return this->deref<T>().toAPValue(ASTCtx)); in toRValue()
H A DEvaluationResult.cpp18 APValue EvaluationResult::toAPValue() const { in toAPValue() function in clang::interp::EvaluationResult
24 return P->toAPValue(Ctx->getASTContext()); in toAPValue()
26 return FP->toAPValue(Ctx->getASTContext()); in toAPValue()
41 return toAPValue(); in toRValue()
49 return FP->toAPValue(Ctx->getASTContext()); in toRValue()
H A DFunctionPointer.h43 APValue toAPValue(const ASTContext &) const { in toAPValue() function
72 return toAPValue(Ctx).getAsString(Ctx, Func->getDecl()->getType()); in toDiagnosticString()
H A DMemberPointer.cpp63 APValue MemberPointer::toAPValue(const ASTContext &ASTCtx) const { in toAPValue() function in clang::interp::MemberPointer
69 return Base.toAPValue(ASTCtx); in toAPValue()
H A DContext.cpp66 Result = Res.toAPValue(); in evaluateAsRValue()
92 Result = Res.toAPValue(); in evaluate()
121 Result = Res.toAPValue(); in evaluateAsInitializer()
H A DEvalEmitter.cpp148 EvalResult.setValue(S.Stk.pop<T>().toAPValue(Ctx.getASTContext())); in emitRet()
184 EvalResult.setValue(Ptr.toAPValue(Ctx.getASTContext())); in emitRet()
289 *T, { *Cached = Ptr.deref<T>().toAPValue(Ctx.getASTContext()); }); in updateGlobalTemporaries()
H A DEvaluationResult.h94 APValue toAPValue() const;
H A DDisasm.cpp369 P->toAPValue(ASTCtx).printPretty(OS, ASTCtx, SourceType); in dump()
371 FP->toAPValue(ASTCtx).printPretty(OS, ASTCtx, SourceType); in dump()
H A DMemberPointer.h83 APValue toAPValue(const ASTContext &) const;
H A DBoolean.h59 APValue toAPValue(const ASTContext &) const { return APValue(toAPSInt()); } in toAPValue() function
H A DFloating.h72 APValue toAPValue(const ASTContext &) const { return APValue(F); } in toAPValue() function
H A DIntegral.h115 APValue toAPValue(const ASTContext &) const { return APValue(toAPSInt()); }
H A DIntegralAP.h136 APValue toAPValue(const ASTContext &) const { return APValue(toAPSInt()); } in toAPValue() function
H A DPointer.h121 APValue toAPValue(const ASTContext &ASTCtx) const;
H A DInterp.h44 R = V.toAPValue(S.getCtx()); in ReturnValue()
1335 APValue APV = Value.toAPValue(S.getCtx()); in InitGlobalTemp()