Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DState.cpp76 return getCtx().getDiagnostics().Report(Loc, DiagId); in report()
81 PartialDiagnostic PD(DiagId, getCtx().getDiagAllocator()); in addDiag()
95 unsigned Limit = getCtx().getDiagnostics().getConstexprBacktraceLimit(); in diag()
115 const LangOptions &State::getLangOpts() const { return getCtx().getLangOpts(); } in getLangOpts()
H A DInterpState.h53 ASTContext &getCtx() const override { return Parent.getCtx(); } in getCtx() function
H A DInterpFrame.cpp116 print(OS, This, S.getCtx(), S.getCtx().getRecordType(M->getParent())); in describe()
131 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.h447 Field.deref<T>() = Value.truncate(F->Decl->getBitWidthValue(S.getCtx())); in InitThisBitField()
480 Field.deref<T>() = Value.truncate(F->Decl->getBitWidthValue(S.getCtx())); in InitBitField()
662 Ptr.deref<T>() = Value.truncate(FD->getBitWidthValue(S.getCtx())); in StoreBitField()
676 Ptr.deref<T>() = Value.truncate(FD->getBitWidthValue(S.getCtx())); in StoreBitFieldPop()
/llvm-project-15.0.7/llvm/unittests/CodeGen/
H A DDIETest.cpp50 Val = MCConstantExpr::create(42, TestPrinter->getCtx()); in SetUp()
83 Val = TestPrinter->getCtx().createTempSymbol(); in SetUp()
127 Hi = TestPrinter->getCtx().createTempSymbol(); in SetUp()
128 Lo = TestPrinter->getCtx().createTempSymbol(); in SetUp()
H A DAsmPrinterDwarfTest.cpp58 Val = TestPrinter->getCtx().createTempSymbol(); in init()
60 TestPrinter->getCtx().getELFSection(".tst", ELF::SHT_PROGBITS, 0); in init()
143 Val.Symbol = TestPrinter->getCtx().createTempSymbol(); in init()
206 Label = TestPrinter->getCtx().createTempSymbol(); in init()
H A DTestAsmPrinter.h78 MCContext &getCtx() const { return *MC; } in getCtx() function
/llvm-project-15.0.7/libc/benchmarks/automemcpy/lib/
H A DCodeGen.cpp138 static Context getCtx(FunctionType FT) { in getCtx() function
286 Impl.Ctx = getCtx(FD.Type); in getImplementation()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp986 ASTContext &getCtx() const override { return Ctx; } in getCtx() function in __anon7a1fdcea0311::EvalInfo
2227 if (Info.getCtx().getLangOpts().CUDA && in CheckLValueConstantExpression()
2228 Info.getCtx().getLangOpts().CUDAIsDevice && in CheckLValueConstantExpression()
2229 Info.getCtx().CUDAConstantEvalCtx.NoWrongSidedVars) { in CheckLValueConstantExpression()