Searched refs:AST (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-11-stable/share/i18n/csmapper/AST/
H A DMakefile5 ESUBDIR= AST
/freebsd-11-stable/share/i18n/esdb/AST/
H A DMakefile6 ESUBDIR= AST
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DZ3Solver.cpp146 Z3_ast AST; member in class:__anon2011::Z3Expr
149 Z3Expr(Z3Context &C, Z3_ast ZA) : SMTExpr(), Context(C), AST(ZA) {
150 Z3_inc_ref(Context.Context, AST);
154 Z3Expr(const Z3Expr &Copy) : SMTExpr(), Context(Copy.Context), AST(Copy.AST) {
155 Z3_inc_ref(Context.Context, AST);
161 Z3_inc_ref(Context.Context, Other.AST);
162 Z3_dec_ref(Context.Context, AST);
163 AST = Other.AST;
768 toAPFloat(const SMTSortRef &Sort, const SMTExprRef &AST, llvm::APFloat &Float, bool useSemantics) argument
789 toAPSInt(const SMTSortRef &Sort, const SMTExprRef &AST, llvm::APSInt &Int, bool useSemantics) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRefactoringRuleContext.h45 bool hasASTContext() const { return AST; }
48 assert(AST && "no AST!");
49 return *AST;
52 void setASTContext(ASTContext &Context) { AST = &Context; }
76 /// An optional AST for the translation unit on which a refactoring action
78 ASTContext *AST = nullptr; member in class:clang::tooling::RefactoringRuleContext
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DExternalASTMerger.h1 //===--- ExternalASTMerger.h - Merging External AST Interface ---*- C++ -*-===//
16 #include "clang/AST/ASTImporter.h"
17 #include "clang/AST/ASTImporterSharedState.h"
18 #include "clang/AST/ExternalASTSource.h"
54 ASTContext *AST; member in struct:clang::ExternalASTMerger::DCOrigin
74 ASTContext * member in struct:clang::ExternalASTMerger::ImporterTarget
84 ASTContext * member in class:clang::ExternalASTMerger::ImporterSource
95 ImporterSource(ASTContext &AST, FileManager &FM, const OriginMap &OM, argument
97 : AST(AST), F
[all...]
/freebsd-11-stable/lib/clang/libclang/
H A DMakefile49 SRCS_MIN+= AST/APValue.cpp
50 SRCS_MIN+= AST/ASTConcept.cpp
51 SRCS_MIN+= AST/ASTConsumer.cpp
52 SRCS_MIN+= AST/ASTContext.cpp
53 SRCS_MIN+= AST/ASTDiagnostic.cpp
54 SRCS_MIN+= AST/ASTDumper.cpp
55 SRCS_MIN+= AST/ASTImporter.cpp
56 SRCS_MIN+= AST/ASTImporterLookupTable.cpp
57 SRCS_MIN+= AST/ASTStructuralEquivalence.cpp
58 SRCS_MIN+= AST/ASTTypeTrait
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp14 #include "clang/AST/ASTConsumer.h"
15 #include "clang/AST/ASTContext.h"
16 #include "clang/AST/CommentCommandTraits.h"
17 #include "clang/AST/Decl.h"
18 #include "clang/AST/DeclBase.h"
19 #include "clang/AST/DeclCXX.h"
20 #include "clang/AST/DeclGroup.h"
21 #include "clang/AST/DeclObjC.h"
22 #include "clang/AST/DeclTemplate.h"
23 #include "clang/AST/DeclarationNam
746 ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags, ASTUnit &AST, CaptureDiagsKind CaptureDiagnostics) argument
1524 ASTUnit *AST = Unit; local
1779 std::unique_ptr<ASTUnit> AST; local
1907 ASTUnit &AST; member in class:__anon500::AugmentedCodeCompleteConsumer
1911 AugmentedCodeCompleteConsumer(ASTUnit &AST, CodeCompleteConsumer &Next, const CodeCompleteOptions &CodeCompleteOpts) argument
[all...]
H A DFrontendAction.cpp10 #include "clang/AST/ASTConsumer.h"
11 #include "clang/AST/ASTContext.h"
12 #include "clang/AST/DeclGroup.h"
138 std::unique_ptr<ASTUnit> AST) {
140 CurrentASTUnit = std::move(AST);
552 // If we're replaying the build of an AST file, import it and set up
557 // The AST unit populates its own diagnostics engine rather than ours.
566 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( local
569 if (!AST)
573 // are inherited from the AST uni
137 setCurrentInput(const FrontendInputFile &CurrentInput, std::unique_ptr<ASTUnit> AST) argument
632 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h116 AliasSet *getAliasSet(AliasSetTracker &AST) { argument
120 AS = OldAS->getForwardedTarget(AST);
122 OldAS->dropRef(AST);
192 void dropRef(AliasSetTracker &AST) { argument
195 removeFromTracker(AST);
218 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST);
284 AliasSet *getForwardedTarget(AliasSetTracker &AST) { argument
287 AliasSet *Dest = Forward->getForwardedTarget(AST);
290 Forward->dropRef(AST);
296 void removeFromTracker(AliasSetTracker &AST);
303 removeUnknownInst(AliasSetTracker &AST, Instruction *I) argument
332 AliasSetTracker *AST; member in class:llvm::AliasSetTracker::final
460 operator <<(raw_ostream &OS, const AliasSetTracker &AST) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h1 //===- ASTDiff.h - AST differencing API -----------------------*- C++ -*- -===//
36 /// Represents a Clang AST node, alongside some additional information.
65 /// SyntaxTree objects represent subtrees of the AST.
70 SyntaxTree(ASTContext &AST);
71 /// Constructs a tree from any AST node.
73 SyntaxTree(T *Node, ASTContext &AST) argument
74 : TreeImpl(std::make_unique<Impl>(this, Node, AST)) {}
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DExtract.cpp16 #include "clang/AST/ASTContext.h"
17 #include "clang/AST/DeclCXX.h"
18 #include "clang/AST/Expr.h"
19 #include "clang/AST/ExprObjC.h"
108 ASTContext &AST = Context.getASTContext(); local
109 SourceManager &SM = AST.getSourceManager();
110 const LangOptions &LangOpts = AST.getLangOpts();
116 QualType ReturnType = AST.VoidTy;
142 PrintingPolicy PP = AST.getPrintingPolicy();
/freebsd-11-stable/share/i18n/csmapper/
H A DMakefile.depend6 share/i18n/csmapper/AST \
H A DMakefile6 SUBDIR= APPLE AST BIG5 CNS CP EBCDIC GB GEORGIAN ISO646 ISO-8859 JIS \
/freebsd-11-stable/share/i18n/esdb/
H A DMakefile.depend6 share/i18n/esdb/AST \
H A DMakefile6 SUBDIR= APPLE AST BIG5 CP DEC EUC EBCDIC GB GEORGIAN ISO-2022 ISO-8859 \
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp1 //===- ASTDiff.cpp - AST differencing implementation-----------*- C++ -*- -===//
9 // This file contains definitons for the AST differencing interface.
15 #include "clang/AST/RecursiveASTVisitor.h"
110 /// Represents the AST of a TranslationUnit.
113 Impl(SyntaxTree *Parent, ASTContext &AST);
114 /// Constructs a tree from an AST node.
115 Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST);
116 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST);
120 ASTContext &AST)
121 : Impl(Parent, dyn_cast<Stmt>(Node), AST) {}
118 Impl(SyntaxTree *Parent, typename std::enable_if<std::is_base_of<Stmt, T>::value, T>::type *Node, ASTContext &AST) argument
123 Impl(SyntaxTree *Parent, typename std::enable_if<std::is_base_of<Decl, T>::value, T>::type *Node, ASTContext &AST) argument
129 ASTContext &AST; member in class:clang::diff::SyntaxTree::Impl
261 Impl(SyntaxTree *Parent, ASTContext &AST) argument
266 Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST) argument
273 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST) argument
383 getEnclosingDeclContext(ASTContext &AST, const Stmt *S) argument
971 SyntaxTree(ASTContext &AST) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DExternalASTMerger.cpp1 //===- ExternalASTMerger.cpp - Merging External AST Interface ---*- C++ -*-===//
14 #include "clang/AST/ASTContext.h"
15 #include "clang/AST/Decl.h"
16 #include "clang/AST/DeclCXX.h"
17 #include "clang/AST/DeclObjC.h"
18 #include "clang/AST/DeclTemplate.h"
19 #include "clang/AST/ExternalASTMerger.h"
134 // AST could contain declarations that were imported from a source
141 // would fail to do so as their temporary AST could be deleted (which means
153 // Target AST <
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasSetTracker.cpp53 void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST) { argument
66 AliasAnalysis &AA = AST.getAliasAnalysis();
79 AST.TotalMayAliasSetSize += size();
81 AST.TotalMayAliasSetSize += AS.size();
111 AS.dropRef(AST);
131 void AliasSet::removeFromTracker(AliasSetTracker &AST) { argument
133 AST.removeAliasSet(this);
136 void AliasSet::addPointer(AliasSetTracker &AST, PointerRec &Entry, argument
145 AliasAnalysis &AA = AST.getAliasAnalysis();
151 AST
521 add(const AliasSetTracker &AST) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Core/
H A DLookup.cpp14 #include "clang/AST/Decl.h"
15 #include "clang/AST/DeclCXX.h"
16 #include "clang/AST/DeclarationName.h"
141 auto &AST = UseContext.getParentASTContext(); local
154 auto LookupRes = NS->lookup(DeclarationName(&AST.Idents.get(Head)));
/freebsd-11-stable/sys/mips/include/
H A Dregnum.h55 #define AST 1 macro
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCOptAddrMode.cpp59 const ARCSubtarget *AST = nullptr; member in class:__anon2139::ARCOptAddrMode
459 Ldst.setDesc(AST->getInstrInfo()->get(NewOpcode));
491 AST = &MF.getSubtarget<ARCSubtarget>();
492 AII = AST->getInstrInfo();
/freebsd-11-stable/targets/pseudo/userland/share/
H A DMakefile.depend96 share/i18n/csmapper/AST \
113 share/i18n/esdb/AST \
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/
H A DFrontendAction.h20 #include "clang/AST/ASTConsumer.h"
57 /// Create the AST consumer object for this action, if supported.
60 /// fail if the AST consumer cannot be created. This will not be called if the
69 /// \return The new AST consumer, or null on failure.
157 assert(CurrentASTUnit && "No current AST unit!");
168 std::unique_ptr<ASTUnit> AST = nullptr);
183 /// If so no AST context will be created and this action will be invalid
184 /// with AST file inputs.
187 /// For AST-based actions, the kind of translation unit we're handling.
193 /// Does this action support use with AST file
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/
H A DDiagnosticIDs.cpp86 VALIDATE_DIAG_SIZE(AST)
149 CATEGORY(AST, PARSE)
150 CATEGORY(COMMENT, AST)
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp580 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( variable
586 if (!AST)
589 ASTs.push_back(std::move(AST));

Completed in 599 milliseconds

12