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

12

/freebsd-13-stable/share/i18n/csmapper/AST/
H A DMakefile5 ESUBDIR= AST
/freebsd-13-stable/share/i18n/esdb/AST/
H A DMakefile6 ESUBDIR= AST
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DZ3Solver.cpp147 Z3_ast AST; member in class:__anon3825::Z3Expr
150 Z3Expr(Z3Context &C, Z3_ast ZA) : SMTExpr(), Context(C), AST(ZA) {
151 Z3_inc_ref(Context.Context, AST);
155 Z3Expr(const Z3Expr &Copy) : SMTExpr(), Context(Copy.Context), AST(Copy.AST) {
156 Z3_inc_ref(Context.Context, AST);
162 Z3_inc_ref(Context.Context, Other.AST);
163 Z3_dec_ref(Context.Context, AST);
164 AST = Other.AST;
784 toAPFloat(const SMTSortRef &Sort, const SMTExprRef &AST, llvm::APFloat &Float, bool useSemantics) argument
805 toAPSInt(const SMTSortRef &Sort, const SMTExprRef &AST, llvm::APSInt &Int, bool useSemantics) argument
[all...]
H A DFileCheckImpl.h164 /// Base class representing the AST of a given expression.
177 /// AST or an error if evaluation fails.
180 /// \returns either the implicit format of this AST, a diagnostic against
181 /// \p SM if implicit formats of the AST's components conflict, or NoFormat
182 /// if the AST has no implicit format (e.g. AST is made up of a single
190 /// Class representing an unsigned literal in the AST of an expression.
232 /// Pointer to AST of the expression.
233 std::unique_ptr<ExpressionAST> AST; member in class:llvm::Expression
239 /// Generic constructor for an expression represented by the given \p AST an
241 Expression(std::unique_ptr<ExpressionAST> AST, ExpressionFormat Format) argument
[all...]
/freebsd-13-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-13-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 &AST; member in struct:clang::ExternalASTMerger::ImporterTarget
84 ASTContext &AST; member in class:clang::ExternalASTMerger::ImporterSource
95 ImporterSource(ASTContext &AST, FileManager &FM, const OriginMap &OM, argument
97 : AST(AST), F
[all...]
/freebsd-13-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-13-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
1525 ASTUnit *AST = Unit; local
1782 std::unique_ptr<ASTUnit> AST; local
1910 ASTUnit &AST; member in class:__anon1884::AugmentedCodeCompleteConsumer
1914 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);
563 // If we're replaying the build of an AST file, import it and set up
568 // The AST unit populates its own diagnostics engine rather than ours.
577 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( local
581 if (!AST)
585 // are inherited from the AST uni
137 setCurrentInput(const FrontendInputFile &CurrentInput, std::unique_ptr<ASTUnit> AST) argument
645 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h111 AliasSet *getAliasSet(AliasSetTracker &AST) { argument
115 AS = OldAS->getForwardedTarget(AST);
117 OldAS->dropRef(AST);
187 void dropRef(AliasSetTracker &AST) { argument
190 removeFromTracker(AST);
213 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST);
279 AliasSet *getForwardedTarget(AliasSetTracker &AST) { argument
282 AliasSet *Dest = Forward->getForwardedTarget(AST);
285 Forward->dropRef(AST);
291 void removeFromTracker(AliasSetTracker &AST);
298 removeUnknownInst(AliasSetTracker &AST, Instruction *I) argument
327 AliasSetTracker *AST; member in class:llvm::AliasSetTracker::final
455 operator <<(raw_ostream &OS, const AliasSetTracker &AST) argument
[all...]
/freebsd-13-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-13-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-13-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-13-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-13-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.
14 #include "clang/AST/ParentMapContext.h"
15 #include "clang/AST/RecursiveASTVisitor.h"
111 /// Represents the AST of a TranslationUnit.
114 Impl(SyntaxTree *Parent, ASTContext &AST);
115 /// Constructs a tree from an AST node.
116 Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST);
117 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST);
121 ASTContext &AST)
119 Impl(SyntaxTree *Parent, std::enable_if_t<std::is_base_of<Stmt, T>::value, T> *Node, ASTContext &AST) argument
124 Impl(SyntaxTree *Parent, std::enable_if_t<std::is_base_of<Decl, T>::value, T> *Node, ASTContext &AST) argument
130 ASTContext &AST; member in class:clang::diff::SyntaxTree::Impl
262 Impl(SyntaxTree *Parent, ASTContext &AST) argument
267 Impl(SyntaxTree *Parent, Decl *N, ASTContext &AST) argument
274 Impl(SyntaxTree *Parent, Stmt *N, ASTContext &AST) argument
384 getEnclosingDeclContext(ASTContext &AST, const Stmt *S) argument
970 SyntaxTree(ASTContext &AST) argument
[all...]
/freebsd-13-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-13-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-13-stable/contrib/llvm-project/clang/lib/Tooling/Core/
H A DLookup.cpp14 #include "clang/AST/ASTContext.h"
15 #include "clang/AST/Decl.h"
16 #include "clang/AST/DeclCXX.h"
17 #include "clang/AST/DeclarationName.h"
143 auto &AST = UseContext.getParentASTContext(); local
156 auto LookupRes = NS->lookup(DeclarationName(&AST.Idents.get(Head)));
/freebsd-13-stable/targets/pseudo/userland/share/
H A DMakefile.depend29 share/i18n/csmapper/AST \
46 share/i18n/esdb/AST \
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCOptAddrMode.cpp59 const ARCSubtarget *AST = nullptr; member in class:__anon4004::ARCOptAddrMode
459 Ldst.setDesc(AST->getInstrInfo()->get(NewOpcode));
491 AST = &MF.getSubtarget<ARCSubtarget>();
492 AII = AST->getInstrInfo();
/freebsd-13-stable/sys/mips/include/
H A Dregnum.h57 #define AST 1 macro
/freebsd-13-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-13-stable/contrib/llvm-project/clang/lib/Tooling/
H A DTooling.cpp582 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( variable
588 if (!AST)
591 ASTs.push_back(std::move(AST));

Completed in 151 milliseconds

12