Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp45 ASTContext &AST = S.getASTContext(); in BuiltinTypeDeclBuilder() local
46 IdentifierInfo &II = AST.Idents.get(Name, tok::TokenKind::identifier); in BuiltinTypeDeclBuilder()
65 Record = CXXRecordDecl::Create(AST, TagDecl::TagKind::Class, HLSLNamespace, in BuiltinTypeDeclBuilder()
73 Record->addAttr(FinalAttr::CreateImplicit(AST, SourceRange(), in BuiltinTypeDeclBuilder()
89 ASTContext &AST = Record->getASTContext(); in addMemberVariable() local
91 IdentifierInfo &II = AST.Idents.get(Name, tok::TokenKind::identifier); in addMemberVariable()
93 AST.getTrivialTypeSourceInfo(Type, SourceLocation()); in addMemberVariable()
95 AST, Record, SourceLocation(), SourceLocation(), &II, Type, MemTySource, in addMemberVariable()
129 static DeclRefExpr *lookupBuiltinFunction(ASTContext &AST, Sema &S, in lookupBuiltinFunction()
131 IdentifierInfo &II = AST.Idents.get(Name, tok::TokenKind::identifier); in lookupBuiltinFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DZ3Solver.cpp154 Z3_ast AST; member in __anona2cc94240111::Z3Expr
157 Z3Expr(Z3Context &C, Z3_ast ZA) : SMTExpr(), Context(C), AST(ZA) { in Z3Expr()
158 Z3_inc_ref(Context.Context, AST); in Z3Expr()
162 Z3Expr(const Z3Expr &Copy) : SMTExpr(), Context(Copy.Context), AST(Copy.AST) { in Z3Expr()
163 Z3_inc_ref(Context.Context, AST); in Z3Expr()
169 Z3_inc_ref(Context.Context, Other.AST); in operator =()
170 Z3_dec_ref(Context.Context, AST); in operator =()
171 AST = Other.AST; in operator =()
179 if (AST) in ~Z3Expr()
180 Z3_dec_ref(Context.Context, AST); in ~Z3Expr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineModuleSlotTracker.cpp17 AbstractSlotTrackerStorage *AST, const MachineFunction &MF) { in processMachineFunctionMetadata() argument
24 AST->createMetadataSlot(AAInfo.TBAA); in processMachineFunctionMetadata()
26 AST->createMetadataSlot(AAInfo.TBAAStruct); in processMachineFunctionMetadata()
28 AST->createMetadataSlot(AAInfo.Scope); in processMachineFunctionMetadata()
30 AST->createMetadataSlot(AAInfo.NoAlias); in processMachineFunctionMetadata()
35 AbstractSlotTrackerStorage *AST, const Module *M, in processMachineModule() argument
41 MDNStartSlot = AST->getNextMetadataSlot(); in processMachineModule()
43 processMachineFunctionMetadata(AST, *MF); in processMachineModule()
44 MDNEndSlot = AST->getNextMetadataSlot(); in processMachineModule()
51 AbstractSlotTrackerStorage *AST, const Function *F, in processMachineFunction() argument
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp791 ASTUnit &AST, in ConfigureDiags() argument
796 &AST.StoredDiagnostics, nullptr, in ConfigureDiags()
808 std::unique_ptr<ASTUnit> AST(new ASTUnit(true)); in LoadFromASTFile() local
812 ASTUnitCleanup(AST.get()); in LoadFromASTFile()
817 ConfigureDiags(Diags, *AST, CaptureDiagnostics); in LoadFromASTFile()
819 AST->LangOpts = LangOpts ? LangOpts : std::make_shared<LangOptions>(); in LoadFromASTFile()
820 AST->OnlyLocalDecls = OnlyLocalDecls; in LoadFromASTFile()
821 AST->CaptureDiagnostics = CaptureDiagnostics; in LoadFromASTFile()
822 AST->Diagnostics = Diags; in LoadFromASTFile()
823 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile()
[all …]
H A DFrontendAction.cpp152 std::unique_ptr<ASTUnit> AST) { in setCurrentInput() argument
154 CurrentASTUnit = std::move(AST); in setCurrentInput()
627 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( in BeginSourceFile() local
631 if (!AST) in BeginSourceFile()
636 CI.getHeaderSearchOpts() = AST->getHeaderSearchOpts(); in BeginSourceFile()
637 CI.getPreprocessorOpts() = AST->getPreprocessorOpts(); in BeginSourceFile()
638 CI.getLangOpts() = AST->getLangOpts(); in BeginSourceFile()
642 CI.setFileManager(&AST->getFileManager()); in BeginSourceFile()
644 CI.getSourceManager().initializeForReplay(AST->getSourceManager()); in BeginSourceFile()
649 if (auto ASTReader = AST->getASTReader()) { in BeginSourceFile()
[all …]
/freebsd/lib/clang/libclang/
H A DMakefile52 SRCS_MIN+= AST/APValue.cpp
53 SRCS_MIN+= AST/ASTConcept.cpp
54 SRCS_MIN+= AST/ASTConsumer.cpp
55 SRCS_MIN+= AST/ASTContext.cpp
56 SRCS_MIN+= AST/ASTDiagnostic.cpp
57 SRCS_MIN+= AST/ASTDumper.cpp
58 SRCS_MIN+= AST/ASTImporter.cpp
59 SRCS_MIN+= AST/ASTImporterLookupTable.cpp
60 SRCS_MIN+= AST/ASTStructuralEquivalence.cpp
61 SRCS_MIN+= AST/ASTTypeTraits.cpp
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExternalASTMerger.h54 ASTContext *AST; member
74 ASTContext &AST; member
84 ASTContext &AST; variable
95 ImporterSource(ASTContext &AST, FileManager &FM, const OriginMap &OM,
97 : AST(AST), FM(FM), OM(OM), Temporary(Temporary), Merger(Merger) {} in AST() function
98 ASTContext &getASTContext() const { return AST; } in getASTContext()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRefactoringRuleContext.h45 bool hasASTContext() const { return AST; } in hasASTContext()
48 assert(AST && "no AST!"); in getASTContext()
49 return *AST; in getASTContext()
52 void setASTContext(ASTContext &Context) { AST = &Context; } in setASTContext()
78 ASTContext *AST = nullptr; variable
/freebsd/contrib/llvm-project/clang/include/
H A Dmodule.modulemap14 // FIXME: Exclude these headers to avoid pulling all of the AST matchers
16 // importing the AST matchers library gives a link dependency on the AST
17 // matchers (and thus the AST), which clang-format should not have.
23 umbrella "clang/AST"
25 textual header "clang/AST/BuiltinTypes.def"
26 textual header "clang/AST/CXXRecordDeclDefinitionBits.def"
27 textual header "clang/AST/OperationKinds.def"
28 textual header "clang/AST/TypeLocNodes.def"
111 module AST { header "clang/AST/ASTDiagnostic.h" export * }
112 module Comment { header "clang/AST/CommentDiagnostic.h" export * }
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnosticSerializationKinds.td10 let CategoryName = "AST Deserialization Issue" in {
17 "malformed or corrupted AST file: '%0'">, DefaultFatal;
22 "%select{precompiled header|module file|AST file}1 '%2' was built"
36 "%select{AST file was|current translation unit is}0 compiled with the target "
37 "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 "
70 "file '%1' is not a valid precompiled %select{PCH|module|AST}0 file: %2">, DefaultFatal;
74 "AST file '%0' was not built as a module">, DefaultFatal;
87 "module '%0' in AST file '%1' %select{(imported by AST file '%2') |}4"
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h94 void dropRef(AliasSetTracker &AST) { in dropRef() argument
97 removeFromTracker(AST); in dropRef()
115 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST, BatchAAResults &BatchAA);
139 void removeFromTracker(AliasSetTracker &AST);
141 void addMemoryLocation(AliasSetTracker &AST, const MemoryLocation &MemLoc,
193 void add(const AliasSetTracker &AST); // Add alias relations from another AST
263 inline raw_ostream& operator<<(raw_ostream &OS, const AliasSetTracker &AST) {
264 AST.print(OS);
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExternalASTMerger.cpp210 Parent.HasImporterForOrigin(*FromOrigins.at(FromDC).AST)) { in Imported()
216 << (void*)FromOrigins.at(FromDC).AST in Imported()
281 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); in ForEachMatchingDC()
299 << ", (ASTContext*)" << (void*)&Target.AST in ForEachMatchingDC()
368 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); in MaybeRecordOrigin()
371 LookupSameContext(Origin.AST->getTranslationUnitDecl(), ToDC, Reverse); in MaybeRecordOrigin()
379 << ", (ASTContext*)" << (void*)&Origin.AST in MaybeRecordOrigin()
385 RecordOriginImpl(ToDC, Origin, ImporterForOrigin(*Origin.AST)); in ForceRecordOrigin()
397 *Target.AST.getTranslationUnitDecl()); in ExternalASTMerger()
402 assert(&D->getASTContext() == &Target.AST); in FindOriginalDecl()
[all …]
/freebsd/contrib/llvm-project/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/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineModuleSlotTracker.h27 void processMachineFunctionMetadata(AbstractSlotTrackerStorage *AST,
29 void processMachineModule(AbstractSlotTrackerStorage *AST, const Module *M,
31 void processMachineFunction(AbstractSlotTrackerStorage *AST,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasSetTracker.cpp44 void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST, in mergeSetIn() argument
87 AS.dropRef(AST); in mergeSetIn()
106 void AliasSet::removeFromTracker(AliasSetTracker &AST) { in removeFromTracker() argument
108 AST.removeAliasSet(this); in removeFromTracker()
111 void AliasSet::addMemoryLocation(AliasSetTracker &AST, in addMemoryLocation() argument
118 return AST.getAliasAnalysis().isMustAlias(MemLoc, ASMemLoc); in addMemoryLocation()
126 AST.TotalAliasSetSize++; in addMemoryLocation()
437 void AliasSetTracker::add(const AliasSetTracker &AST) { in add() argument
438 assert(&AA == &AST.AA && in add()
444 for (const AliasSet &AS : AST) { in add()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h57 SyntaxTree(ASTContext &AST);
60 SyntaxTree(T *Node, ASTContext &AST) in SyntaxTree() argument
61 : TreeImpl(std::make_unique<Impl>(this, Node, AST)) {} in SyntaxTree()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DHTMLLogger.cpp349 const auto &AST = ACFG->getDecl().getASTContext(); in writeCode() local
358 AST.getSourceManager(), AST.getLangOpts()); in writeCode()
362 Range, AST.getSourceManager(), AST.getLangOpts(), &Invalid); in writeCode()
430 AST.getSourceManager(), AST.getLangOpts()); in writeCode()
450 AST.getSourceManager().getSpellingLineNumber(Range.getBegin()); in writeCode()
455 AST.getSourceManager().getFilename(Range.getBegin())), in writeCode()
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h125 /// Base class representing the AST of a given expression.
138 /// AST or an error if evaluation fails.
141 /// \returns either the implicit format of this AST, a diagnostic against
142 /// \p SM if implicit formats of the AST's components conflict, or NoFormat
143 /// if the AST has no implicit format (e.g. AST is made up of a single
151 /// Class representing an unsigned literal in the AST of an expression.
191 /// Pointer to AST of the expression.
192 std::unique_ptr<ExpressionAST> AST;
198 /// Generic constructor for an expression represented by the given \p AST an
225 Expression(std::unique_ptr<ExpressionAST> AST,ExpressionFormat Format) Expression() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCOptAddrMode.cpp70 const ARCSubtarget *AST = nullptr; member in __anon13eab7f40111::ARCOptAddrMode
469 Ldst.setDesc(AST->getInstrInfo()->get(NewOpcode)); in changeToAddrMode()
508 AST = &MF.getSubtarget<ARCSubtarget>(); in runOnMachineFunction()
509 AII = AST->getInstrInfo(); in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopVersioningLICM.cpp230 AliasSetTracker AST(BAA); in legalLoopMemoryAccesses() local
234 AST.add(*Block); in legalLoopMemoryAccesses()
252 for (const auto &I : AST) { in legalLoopMemoryAccesses()
/freebsd/share/i18n/esdb/AST/
H A DMakefile5 ESUBDIR= AST
/freebsd/targets/pseudo/userland/share/
H A DMakefile.depend27 share/i18n/csmapper/AST \
44 share/i18n/esdb/AST \
/freebsd/share/i18n/csmapper/AST/
H A DMakefile4 ESUBDIR= AST
/freebsd/contrib/tzdata/
H A Dzonenow.tab94 # -04 - AST
95 XX +1828-06954 America/Santo_Domingo Atlantic Standard ("AST") - eastern Caribbean
100 # -04/-03 - AST/ADT (North America DST)
101 XX +4439-06336 America/Halifax Atlantic ("AST/ADT") - Canada; Bermuda
/freebsd/share/i18n/csmapper/
H A DMakefile.depend5 share/i18n/csmapper/AST \

1234