Home
last modified time | relevance | path

Searched refs:AST (Results 1 – 25 of 77) sorted by relevance

1234

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DZ3ConstraintManager.cpp146 Z3_ast AST; member in __anon1f86e14b0111::Z3Expr
154 Z3Expr(const Z3Expr &Copy) : SMTExpr(), Context(Copy.Context), AST(Copy.AST) { in Z3Expr()
163 AST = Other.AST; in operator =()
171 if (AST) in ~Z3Expr()
470 Z3_ast Args[2] = {toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST}; in mkAnd()
475 Z3_ast Args[2] = {toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST}; in mkOr()
515 toZ3Expr(*RHS).AST, toZ3Expr(*RoundingMode).AST))); in mkFPMul()
523 toZ3Expr(*RHS).AST, toZ3Expr(*RoundingMode).AST))); in mkFPDiv()
537 toZ3Expr(*RHS).AST, toZ3Expr(*RoundingMode).AST))); in mkFPAdd()
545 toZ3Expr(*RHS).AST, toZ3Expr(*RoundingMode).AST))); in mkFPSub()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DASTUnit.cpp781 AST->PPOpts, AST->getDiagnostics(), *AST->LangOpts, in LoadFromASTFile()
782 AST->getSourceManager(), *AST->PCMCache, HeaderInfo, AST->ModuleLoader, in LoadFromASTFile()
788 AST->Ctx = new ASTContext(*AST->LangOpts, AST->getSourceManager(), in LoadFromASTFile()
801 *AST->PP, AST->Ctx.get(), *AST->HSOpts, *AST->PPOpts, *AST->LangOpts, in LoadFromASTFile()
802 AST->TargetOpts, AST->Target, Counter)); in LoadFromASTFile()
810 AST->Ctx->setExternalSource(AST->Reader); in LoadFromASTFile()
837 AST->TheSema.reset(new Sema(PP, *AST->Ctx, *AST->Consumer)); in LoadFromASTFile()
839 AST->Reader->InitializeSema(*AST->TheSema); in LoadFromASTFile()
1479 AST->SourceMgr = new SourceManager(AST->getDiagnostics(), *AST->FileMgr, in create()
1608 *AST, AST->getCurrentTopLevelHashValue())); in LoadFromCompilerInvocationAction()
[all …]
H A DFrontendAction.cpp139 CurrentASTUnit = std::move(AST); in setCurrentInput()
568 if (!AST) in BeginSourceFile()
575 CI.getLangOpts() = AST->getLangOpts(); in BeginSourceFile()
579 CI.setFileManager(&AST->getFileManager()); in BeginSourceFile()
601 auto Kind = AST->getInputKind(); in BeginSourceFile()
609 auto &OldSM = AST->getSourceManager(); in BeginSourceFile()
616 setCurrentInput(Input, std::move(AST)); in BeginSourceFile()
635 if (!AST) in BeginSourceFile()
644 CI.setFileManager(&AST->getFileManager()); in BeginSourceFile()
650 CI.setASTContext(&AST->getASTContext()); in BeginSourceFile()
[all …]
/freebsd-12.1/lib/clang/libclang/
H A DMakefile43 SRCS_MIN+= AST/APValue.cpp
54 SRCS_MIN+= AST/Comment.cpp
62 SRCS_MIN+= AST/Decl.cpp
64 SRCS_MIN+= AST/DeclCXX.cpp
72 SRCS_MIN+= AST/Expr.cpp
73 SRCS_MIN+= AST/ExprCXX.cpp
83 SRCS_MIN+= AST/Mangle.cpp
86 SRCS_MIN+= AST/NSAPI.cpp
89 SRCS_MIN+= AST/OSLog.cpp
99 SRCS_MIN+= AST/Stmt.cpp
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h114 AliasSet *getAliasSet(AliasSetTracker &AST) { in getAliasSet() argument
118 AS = OldAS->getForwardedTarget(AST); in getAliasSet()
120 OldAS->dropRef(AST); in getAliasSet()
190 void dropRef(AliasSetTracker &AST) { in dropRef() argument
193 removeFromTracker(AST); in dropRef()
216 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST);
288 Forward->dropRef(AST); in getForwardedTarget()
294 void removeFromTracker(AliasSetTracker &AST);
309 dropRef(AST); in removeUnknownInst()
329 AliasSetTracker *AST; variable
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/
H A Dmodule.modulemap9 // FIXME: Exclude these headers to avoid pulling all of the AST matchers
11 // importing the AST matchers library gives a link dependency on the AST
12 // matchers (and thus the AST), which clang-format should not have.
18 umbrella "AST"
20 textual header "AST/BuiltinTypes.def"
21 textual header "AST/OperationKinds.def"
22 textual header "AST/TypeLocNodes.def"
23 textual header "AST/TypeNodes.def"
76 module AST { header "AST/ASTDiagnostic.h" export * }
77 module Comment { header "AST/CommentDiagnostic.h" export * }
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExternalASTMerger.cpp127 Parent.HasImporterForOrigin(*FromOrigins.at(FromDC).AST)) { in Imported()
133 << (void*)FromOrigins.at(FromDC).AST in Imported()
217 << ", (ASTContext*)" << (void*)&Target.AST in ForEachMatchingDC()
286 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); in MaybeRecordOrigin()
297 << ", (ASTContext*)" << (void*)&Origin.AST in MaybeRecordOrigin()
303 RecordOriginImpl(ToDC, Origin, ImporterForOrigin(*Origin.AST)); in ForceRecordOrigin()
319 assert(&S.AST != &Target.AST); in AddSources()
321 *this, Target.AST, Target.FM, S.AST, S.FM, S.OM)); in AddSources()
329 << " removing source (ASTContext*)" << (void*)&S.AST in RemoveSources()
335 if (&Importer->getFromContext() == &S.AST) in RemoveSources()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/Refactoring/
H A DRefactoringRuleContext.h46 bool hasASTContext() const { return AST; } in hasASTContext()
49 assert(AST && "no AST!"); in getASTContext()
50 return *AST; in getASTContext()
53 void setASTContext(ASTContext &Context) { AST = &Context; } in setASTContext()
79 ASTContext *AST = nullptr; variable
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DAliasSetTracker.cpp77 AST.TotalMayAliasSetSize += size(); in mergeSetIn()
79 AST.TotalMayAliasSetSize += AS.size(); in mergeSetIn()
109 AS.dropRef(AST); in mergeSetIn()
125 AST.removeAliasSet(this); in removeFromTracker()
163 AST.TotalMayAliasSetSize++; in addPointer()
496 assert(&AA == &AST.AA && in add()
502 for (const AliasSet &AS : AST) { in add()
684 AST->deleteValue(getValPtr()); in deleted()
689 AST->copyValue(getValPtr(), V); in allUsesReplacedWith()
693 : CallbackVH(V), AST(ast) {} in ASTCallbackVH()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp114 Impl(SyntaxTree *Parent, ASTContext &AST);
121 ASTContext &AST) in Impl() argument
126 ASTContext &AST) in Impl() argument
130 ASTContext &AST; member in clang::diff::SyntaxTree::Impl
263 : Parent(Parent), AST(AST), TypePP(AST.getLangOpts()) { in Impl()
268 : Impl(Parent, AST) { in Impl()
275 : Impl(Parent, AST) { in Impl()
369 else if (AST.getLangOpts().CPlusPlus11) in getRelativeName()
387 const auto &Parents = AST.getParents(*S); in getEnclosingDeclContext()
972 SyntaxTree::SyntaxTree(ASTContext &AST) in SyntaxTree() argument
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Refactoring/Extract/
H A DExtract.cpp109 ASTContext &AST = Context.getASTContext(); in createSourceReplacements() local
110 SourceManager &SM = AST.getSourceManager(); in createSourceReplacements()
111 const LangOptions &LangOpts = AST.getLangOpts(); in createSourceReplacements()
117 QualType ReturnType = AST.VoidTy; in createSourceReplacements()
143 PrintingPolicy PP = AST.getPrintingPolicy(); in createSourceReplacements()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DExternalASTMerger.h54 ASTContext *AST; member
74 ASTContext &AST; member
84 ASTContext &AST; member
H A DTypeNodes.def1 //===-- TypeNodes.def - Metadata about Type AST nodes -----------*- C++ -*-===//
10 // This file defines the AST type info database. Each type node is
16 // TYPE(Class, Base) - A type that can show up anywhere in the AST,
24 // anywhere in the AST but will never be a part of a canonical
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h71 SyntaxTree(ASTContext &AST);
74 SyntaxTree(T *Node, ASTContext &AST) in SyntaxTree() argument
75 : TreeImpl(llvm::make_unique<Impl>(this, Node, AST)) {} in SyntaxTree()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DDiagnosticSerializationKinds.td11 let CategoryName = "AST Deserialization Issue" in {
18 "malformed or corrupted AST file: '%0'">, DefaultFatal;
28 "file '%0' has been modified since the AST file '%1' was built">,
41 "%select{AST file was|current translation unit is}0 compiled with the target "
42 "feature '%1' but the %select{current translation unit is|AST file was}0 "
65 "%select{PCH|module|AST}0 file '%1' not found%select{|: %3}2">, DefaultFatal;
67 "%select{PCH|module|AST}0 file '%1' is out of date and "
74 "AST file '%0' was not built as a module">, DefaultFatal;
77 "module '%0' in AST file '%1' (imported by AST file '%2') "
84 " (%2) than when the importing AST file was built (%3)">, DefaultFatal;
[all …]
/freebsd-12.1/contrib/googletest/googlemock/scripts/generator/
H A DREADME.cppclean26 * (planned) Store AST in a SQL database so relationships can be queried
28 AST is Abstract Syntax Tree, a representation of parsed source code.
99 work reasonably well. Function bodies are not transformed to an AST,
101 and storing an AST in a database.
108 * Compiling to machine code (or anything beyond an AST)
/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/Core/
H A DLookup.cpp136 auto &AST = UseContext.getParentASTContext(); in isAmbiguousNameInScope() local
139 auto LookupRes = NS->lookup(DeclarationName(&AST.Idents.get(Head))); in isAmbiguousNameInScope()
/freebsd-12.1/targets/pseudo/userland/share/
H A DMakefile.depend29 share/i18n/csmapper/AST \
46 share/i18n/esdb/AST \
/freebsd-12.1/contrib/tzdata/
H A Dbackzone275 -4:00 - AST
280 -4:00 - AST
299 -4:00 - AST
323 -4:00 - AST
337 -4:00 - AST
388 -4:00 - AST
430 -4:00 - AST
435 -4:00 - AST
439 -4:00 - AST
444 -4:00 - AST
[all …]
/freebsd-12.1/share/i18n/esdb/AST/
H A DMakefile6 ESUBDIR= AST
/freebsd-12.1/share/i18n/csmapper/AST/
H A DMakefile5 ESUBDIR= AST
/freebsd-12.1/contrib/llvm/tools/clang/
H A DFREEBSD-Xlist19 include/clang/AST/CMakeLists.txt
30 lib/AST/CMakeLists.txt
/freebsd-12.1/share/i18n/csmapper/
H A DMakefile.depend6 share/i18n/csmapper/AST \
/freebsd-12.1/share/i18n/esdb/
H A DMakefile6 SUBDIR= APPLE AST BIG5 CP DEC EUC EBCDIC GB GEORGIAN ISO-2022 ISO-8859 \
H A DMakefile.depend6 share/i18n/esdb/AST \

1234