Home
last modified time | relevance | path

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

/freebsd-14.2/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.cpp27 const TargetInfo &TI = S.getCtx().getTargetInfo(); in getIntPrimType()
38 const TargetInfo &TI = S.getCtx().getTargetInfo(); in getLongPrimType()
140 const TargetInfo &TI = S.getCtx().getTargetInfo(); in pushSizeT()
288 S.getCtx().getFloatTypeSemantics(F->getDecl()->getReturnType()); in interp__builtin_nan()
291 if (S.getCtx().getTargetInfo().isNan2008()) { in interp__builtin_nan()
319 S.getCtx().getFloatTypeSemantics(F->getDecl()->getReturnType()); in interp__builtin_inf()
878 const ASTRecordLayout &RL = S.getCtx().getASTRecordLayout(RD); in InterpretOffsetOf()
881 Result += S.getCtx().toCharUnitsFromBits(RL.getFieldOffset(FieldIndex)); in InterpretOffsetOf()
889 const ArrayType *AT = S.getCtx().getAsArrayType(CurrentType); in InterpretOffsetOf()
893 CharUnits ElementSize = S.getCtx().getTypeSizeInChars(CurrentType); in InterpretOffsetOf()
[all …]
H A DInterpState.h59 ASTContext &getCtx() const override { return Parent.getCtx(); } in getCtx() function
H A DInterpFrame.cpp164 print(OS, This, S.getCtx(), S.getCtx().getRecordType(M->getParent())); in describe()
178 TYPE_SWITCH(PrimTy, print(OS, stackRef<T>(Off), S.getCtx(), Ty)); in describe()
H A DState.h69 virtual ASTContext &getCtx() const = 0;
H A DInterp.h716 << LHS.toDiagnosticString(S.getCtx())
717 << RHS.toDiagnosticString(S.getCtx());
739 << LHS.toDiagnosticString(S.getCtx())
740 << RHS.toDiagnosticString(S.getCtx());
800 << LHS.toDiagnosticString(S.getCtx()) in CMP3()
801 << RHS.toDiagnosticString(S.getCtx()); in CMP3()
1061 if (std::optional<APValue> APV = P.toRValue(S.getCtx())) { in InitGlobalTempComp()
1095 Field.deref<T>() = Value.truncate(F->Decl->getBitWidthValue(S.getCtx())); in InitThisBitField()
1132 Field.deref<T>() = Value.truncate(F->Decl->getBitWidthValue(S.getCtx())); in InitBitField()
1353 Ptr.deref<T>() = Value.truncate(FD->getBitWidthValue(S.getCtx())); in StoreBitField()
[all …]
H A DEvalEmitter.cpp139 if (std::optional<APValue> APV = Ptr.toRValue(S.getCtx())) { in emitRetValue()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp1014 ASTContext &getCtx() const override { return Ctx; } in getCtx() function in __anon7ee061300411::EvalInfo
2304 if (Info.getCtx().getLangOpts().CUDA && in CheckLValueConstantExpression()
2305 Info.getCtx().getLangOpts().CUDAIsDevice && in CheckLValueConstantExpression()
2306 Info.getCtx().CUDAConstantEvalCtx.NoWrongSidedVars) { in CheckLValueConstantExpression()