Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DEvaluationResult.cpp19 APValue EvaluationResult::toAPValue() const { in toAPValue() function in clang::interp::EvaluationResult
25 return P->toAPValue(Ctx->getASTContext()); in toAPValue()
27 return FP->toAPValue(Ctx->getASTContext()); in toAPValue()
42 return toAPValue(); in toRValue()
50 return FP->toAPValue(Ctx->getASTContext()); in toRValue()
H A DFunctionPointer.h37 APValue toAPValue(const ASTContext &) const;
44 return toAPValue(Ctx).getAsString(Ctx, Func->getDecl()->getType()); in toDiagnosticString()
H A DEvalEmitter.cpp176 EvalResult.setValue(S.Stk.pop<T>().toAPValue(Ctx.getASTContext())); in emitRet()
187 EvalResult.setValue(Ptr.toAPValue(Ctx.getASTContext())); in emitRet()
226 EvalResult.setValue(Ptr.toAPValue(Ctx.getASTContext())); in emitRet()
316 *T, { *Cached = Ptr.deref<T>().toAPValue(Ctx.getASTContext()); }); in updateGlobalTemporaries()
H A DMemberPointer.cpp74 APValue MemberPointer::toAPValue(const ASTContext &ASTCtx) const { in toAPValue() function in clang::interp::MemberPointer
80 return Base.toAPValue(ASTCtx); in toAPValue()
H A DPointer.cpp143 APValue Pointer::toAPValue(const ASTContext &ASTCtx) const { in toAPValue() function in Pointer
408 return toAPValue(Ctx).getAsString(Ctx, getType()); in toDiagnosticString()
660 TYPE_SWITCH(*T, R = Ptr.deref<T>().toAPValue(ASTCtx)); in toRValue()
677 TYPE_SWITCH(*T, Value = FP.deref<T>().toAPValue(ASTCtx)); in toRValue()
700 TYPE_SWITCH(*T, Value = FP.deref<T>().toAPValue(ASTCtx)); in toRValue()
738 TYPE_SWITCH(*T, Slot = EP.deref<T>().toAPValue(ASTCtx)); in toRValue()
777 Values.push_back(Ptr.atIndex(I).deref<T>().toAPValue(ASTCtx)); in toRValue()
795 return toAPValue(ASTCtx); in toRValue()
799 TYPE_SWITCH(*T, return this->deref<T>().toAPValue(ASTCtx)); in toRValue()
H A DMemberPointer.h83 APValue toAPValue(const ASTContext &) const;
99 return toAPValue(Ctx).getAsString(Ctx, Dcl->getType()); in toDiagnosticString()
H A DFunctionPointer.cpp14 APValue FunctionPointer::toAPValue(const ASTContext &) const { in toAPValue() function in clang::interp::FunctionPointer
H A DInterpFrame.cpp111 V.toAPValue(ASTCtx).printPretty(OS, ASTCtx, Ty); in print()
119 V.toAPValue(ASTCtx).printPretty(OS, ASTCtx, Ty); in print()
H A DContext.cpp80 Result = Res.toAPValue(); in evaluateAsRValue()
110 Result = Res.toAPValue(); in evaluate()
142 Result = Res.toAPValue(); in evaluateAsInitializer()
H A DEvaluationResult.h90 APValue toAPValue() const;
H A DBoolean.h55 APValue toAPValue(const ASTContext &) const { return APValue(toAPSInt()); } in toAPValue() function
H A DDisasm.cpp576 P->toAPValue(ASTCtx).printPretty(OS, ASTCtx, SourceType); in dump()
578 FP->toAPValue(ASTCtx).printPretty(OS, ASTCtx, SourceType); in dump()
H A DFixedPoint.h52 APValue toAPValue(const ASTContext &) const { return APValue(V); } in toAPValue() function
H A DFloating.h88 APValue toAPValue(const ASTContext &) const { return APValue(getValue()); } in toAPValue() function
H A DIntegral.h140 APValue toAPValue(const ASTContext &) const { return APValue(toAPSInt()); }
H A DIntegralAP.h153 APValue toAPValue(const ASTContext &) const { return APValue(toAPSInt()); } in toAPValue() function
H A DPointer.h148 APValue toAPValue(const ASTContext &ASTCtx) const;
H A DInterpBuiltin.cpp1250 APValue AV = Ptr.toAPValue(S.getASTContext()); in interp__builtin_assume_aligned()
H A DInterp.h1552 APValue APV = Value.toAPValue(S.getASTContext()); in InitGlobalTemp()