Home
last modified time | relevance | path

Searched refs:astContext (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/mlir/tools/mlir-pdll/
H A Dmlir-pdll.cpp51 ast::Context astContext(odsContext); in processBuffer() local
53 parsePDLLAST(astContext, sourceMgr, enableDocumentation); in processBuffer()
77 codegenPDLLToMLIR(&mlirContext, astContext, sourceMgr, **module); in processBuffer()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DArrayBoundCheckerV2.cpp330 ASTContext &astContext = svalBuilder.getContext(); in computeOffset() local
339 astContext.getTypeSizeInChars(elemType), in computeOffset()
/llvm-project-15.0.7/mlir/lib/Tools/mlir-pdll-lsp-server/
H A DPDLLServer.cpp406 ast::Context astContext; member
422 : astContext(odsContext) { in PDLDocument()
438 astContext.getDiagEngine().setHandlerFn([&](const ast::Diagnostic &diag) { in PDLDocument()
442 astModule = parsePDLLAST(astContext, sourceMgr, /*enableDocumentation=*/true); in PDLDocument()
1365 codegenPDLLToMLIR(&mlirContext, astContext, sourceMgr, **astModule); in getPDLLViewOutput()
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DCFG.h375 const CXXDestructorDecl *getDestructorDecl(ASTContext &astContext) const;
376 bool isNoReturn(ASTContext &astContext) const;
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp531 explicit CFGBuilder(ASTContext *astContext, in CFGBuilder() argument
533 : Context(astContext), cfg(new CFG()), BuildOpts(buildOpts) {} in CFGBuilder()
5224 CFGImplicitDtor::getDestructorDecl(ASTContext &astContext) const { in getDestructorDecl()
5251 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl()
5268 astContext.getBaseElementType(DTy)->getAsCXXRecordDecl(); in getDestructorDecl()
/llvm-project-15.0.7/clang/tools/libclang/
H A DCIndex.cpp8987 ASTContext &astContext = astUnit->getASTContext(); in clang_getCXTUResourceUsage() local
8992 (unsigned long)astContext.getASTAllocatedMemory()); in clang_getCXTUResourceUsage()
8997 (unsigned long)astContext.Idents.getAllocator().getTotalMemory()); in clang_getCXTUResourceUsage()
9002 (unsigned long)astContext.Selectors.getTotalMemory()); in clang_getCXTUResourceUsage()
9007 (unsigned long)astContext.getSideTableAllocatedMemory()); in clang_getCXTUResourceUsage()
9021 (unsigned long)astContext.getSourceManager().getContentCacheSize()); in clang_getCXTUResourceUsage()
9035 (unsigned long)astContext.getSourceManager().getDataStructureSizes()); in clang_getCXTUResourceUsage()
9038 if (ExternalASTSource *esrc = astContext.getExternalSource()) { in clang_getCXTUResourceUsage()