Home
last modified time | relevance | path

Searched refs:getCtx (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DState.cpp77 return getCtx().getDiagnostics().Report(Loc, DiagId); in report()
82 PartialDiagnostic PD(DiagId, getCtx().getDiagAllocator()); in addDiag()
96 unsigned Limit = getCtx().getDiagnostics().getConstexprBacktraceLimit(); in diag()
116 const LangOptions &State::getLangOpts() const { return getCtx().getLangOpts(); } in getLangOpts()
H A DInterpBuiltin.cpp39 const TargetInfo &TI = S.getCtx().getTargetInfo(); in getIntPrimType()
50 const TargetInfo &TI = S.getCtx().getTargetInfo(); in getLongPrimType()
273 S.getCtx().getFloatTypeSemantics(F->getDecl()->getReturnType()); in interp__builtin_nan()
276 if (S.getCtx().getTargetInfo().isNan2008()) { in interp__builtin_nan()
304 S.getCtx().getFloatTypeSemantics(F->getDecl()->getReturnType()); in interp__builtin_inf()
646 S.getCtx().getTargetInfo().getEHDataRegisterNumber(Arg.getZExtValue()); in interp__builtin_eh_return_data_regno()
690 uint64_t ResultSize = S.getCtx().getTypeSize(ResultType); in interp__builtin_overflowop()
750 APSInt Temp = Result.extOrTrunc(S.getCtx().getTypeSize(ResultType)); in interp__builtin_overflowop()
930 S.getCtx().getTargetInfo().getMaxAtomicInlineWidth(); in interp__builtin_atomic_lock_free()
931 if (Size <= S.getCtx().toCharUnitsFromBits(InlineWidthBits)) { in interp__builtin_atomic_lock_free()
[all …]
H A DInterpFrame.cpp169 print(OS, This, S.getCtx(), S.getCtx().getRecordType(M->getParent())); in describe()
173 F->getNameForDiagnostic(OS, S.getCtx().getPrintingPolicy(), in describe()
186 TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getCtx(), Ty)); in describe()
H A DInterpState.h62 ASTContext &getCtx() const override { return Parent.getCtx(); } in getCtx() function
H A DInterp.h44 R = V.toAPValue(S.getCtx()); in ReturnValue()
233 ConstantArrayType::getMaxSizeBits(S.getCtx()) || in CheckArraySize()
238 << NumElements->toDiagnosticString(S.getCtx()); in CheckArraySize()
919 << LHS.toDiagnosticString(S.getCtx())
920 << RHS.toDiagnosticString(S.getCtx());
935 << FP.toDiagnosticString(S.getCtx());
953 << LHS.toDiagnosticString(S.getCtx())
954 << RHS.toDiagnosticString(S.getCtx());
982 << P.toDiagnosticString(S.getCtx());
992 << LHS.toDiagnosticString(S.getCtx());
[all …]
H A DInterp.cpp503 VD->mightBeUsableInConstantExpressions(S.getCtx())) || in CheckGlobalInitialized()
505 !VD->hasICEInitializer(S.getCtx()))) { in CheckGlobalInitialized()
747 TypeToDiagnose = S.getCtx().getConstantArrayType( in CheckNewDeleteForms()
769 << Ptr.toDiagnosticString(S.getCtx()); in CheckDeleteSource()
H A DEvalEmitter.cpp219 Ptr.toRValue(S.getCtx(), EvalResult.getSourceType())) { in emitRetValue()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp1019 ASTContext &getCtx() const override { return Ctx; } in getCtx() function in __anonfb577fba0411::EvalInfo
2311 if (Info.getCtx().getLangOpts().CUDA && in CheckLValueConstantExpression()
2312 Info.getCtx().getLangOpts().CUDAIsDevice && in CheckLValueConstantExpression()
2313 Info.getCtx().CUDAConstantEvalCtx.NoWrongSidedVars) { in CheckLValueConstantExpression()
5608 auto LO = Info.getCtx().getLangOpts(); in EvaluateStmt()
5619 if (Assumption->HasSideEffects(Info.getCtx())) in EvaluateStmt()