Home
last modified time | relevance | path

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

12345

/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/Sema/
H A DHLSLBuiltinTypeDeclBuilder.cpp179 ASTContext &AST = Builder.SemaRef.getASTContext(); in addTypeParameter() local
182 AST, Builder.Record->getDeclContext(), SourceLocation(), SourceLocation(), in addTypeParameter()
184 &AST.Idents.get(Name, tok::TokenKind::identifier), in addTypeParameter()
189 Decl->setDefaultArgument(AST, in addTypeParameter()
296 ASTContext &AST = Builder.SemaRef.Context; in finalizeTemplateArgs() local
300 AST, SourceLocation(), SourceLocation(), Params, SourceLocation(), CSE); in finalizeTemplateArgs()
302 AST, Builder.Record->getDeclContext(), SourceLocation(), in finalizeTemplateArgs()
317 T = AST.getInjectedClassNameType(Builder.Record, T); in finalizeTemplateArgs()
333 ASTContext &AST = DeclBuilder.SemaRef.getASTContext(); in convertPlaceholder() local
336 AST, NestedNameSpecifierLoc(), SourceLocation(), ParamDecl, false, in convertPlaceholder()
[all …]
H A DHLSLExternalSemaSource.cpp33 ASTContext &AST = SemaPtr->getASTContext(); in InitializeSema() local
35 if (AST.getTranslationUnitDecl()->hasExternalLexicalStorage()) in InitializeSema()
36 (void)AST.getTranslationUnitDecl()->decls_begin(); in InitializeSema()
38 IdentifierInfo &HLSL = AST.Idents.get("hlsl", tok::TokenKind::identifier); in InitializeSema()
41 if (S.LookupQualifiedName(Result, AST.getTranslationUnitDecl())) in InitializeSema()
44 AST, AST.getTranslationUnitDecl(), /*Inline=*/false, SourceLocation(), in InitializeSema()
48 AST.getTranslationUnitDecl()->addDecl(HLSLNamespace); in InitializeSema()
62 AST, AST.getTranslationUnitDecl(), SourceLocation(), SourceLocation(), in InitializeSema()
64 AST.getTranslationUnitDecl()); in InitializeSema()
66 AST.getTranslationUnitDecl()->addDecl(UsingDecl); in InitializeSema()
[all …]
H A DSemaHLSL.cpp413 ASTContext &AST = S.getASTContext(); in getHostLayoutStructName() local
426 IdentifierInfo *II = &AST.Idents.get(Name, tok::TokenKind::identifier); in getHostLayoutStructName()
435 II = &AST.Idents.get(Name, tok::TokenKind::identifier); in getHostLayoutStructName()
465 ASTContext &AST = S.getASTContext(); in createFieldForHostLayoutStruct() local
466 TypeSourceInfo *TSI = AST.getTrivialTypeSourceInfo(QT, SourceLocation()); in createFieldForHostLayoutStruct()
467 auto *Field = FieldDecl::Create(AST, LayoutStruct, SourceLocation(), in createFieldForHostLayoutStruct()
486 ASTContext &AST = S.getASTContext(); in createHostLayoutStruct() local
495 CXXRecordDecl::Create(AST, TagDecl::TagKind::Struct, DC, SourceLocation(), in createHostLayoutStruct()
498 LS->addAttr(PackedAttr::CreateImplicit(AST)); in createHostLayoutStruct()
510 TypeSourceInfo *TSI = AST.getTrivialTypeSourceInfo( in createHostLayoutStruct()
[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 ? std::make_unique<LangOptions>(*LangOpts) in LoadFromASTFile()
821 AST->OnlyLocalDecls = OnlyLocalDecls; in LoadFromASTFile()
822 AST->CaptureDiagnostics = CaptureDiagnostics; in LoadFromASTFile()
823 AST->DiagOpts = DiagOpts; in LoadFromASTFile()
824 AST->Diagnostics = Diags; in LoadFromASTFile()
[all …]
H A DFrontendAction.cpp286 std::unique_ptr<ASTUnit> AST) { in setCurrentInput() argument
288 CurrentASTUnit = std::move(AST); in setCurrentInput()
776 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile( in BeginSourceFile() local
779 if (!AST) in BeginSourceFile()
784 CI.getHeaderSearchOpts() = AST->getHeaderSearchOpts(); in BeginSourceFile()
785 CI.getPreprocessorOpts() = AST->getPreprocessorOpts(); in BeginSourceFile()
786 CI.getLangOpts() = AST->getLangOpts(); in BeginSourceFile()
790 CI.setFileManager(&AST->getFileManager()); in BeginSourceFile()
792 CI.getSourceManager().initializeForReplay(AST->getSourceManager()); in BeginSourceFile()
797 if (auto ASTReader = AST->getASTReader()) { in BeginSourceFile()
[all …]
/freebsd/lib/clang/libclang/
H A DMakefile51 SRCS_MIN+= AST/APValue.cpp
52 SRCS_MIN+= AST/ASTConcept.cpp
53 SRCS_MIN+= AST/ASTConsumer.cpp
54 SRCS_MIN+= AST/ASTContext.cpp
55 SRCS_MIN+= AST/ASTDiagnostic.cpp
56 SRCS_MIN+= AST/ASTDumper.cpp
57 SRCS_MIN+= AST/ASTImporter.cpp
58 SRCS_MIN+= AST/ASTImporterLookupTable.cpp
59 SRCS_MIN+= AST/ASTStructuralEquivalence.cpp
60 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/
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"
103 module AST { header "clang/AST/ASTDiagnostic.h" export * }
104 module Comment { header "clang/AST/CommentDiagnostic.h" export * }
[all …]
/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/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h96 void dropRef(AliasSetTracker &AST) { in dropRef() argument
99 removeFromTracker(AST); in dropRef()
117 LLVM_ABI void mergeSetIn(AliasSet &AS, AliasSetTracker &AST,
142 LLVM_ABI void removeFromTracker(AliasSetTracker &AST);
144 void addMemoryLocation(AliasSetTracker &AST, const MemoryLocation &MemLoc,
198 add(const AliasSetTracker &AST); // Add alias relations from another AST
268 inline raw_ostream& operator<<(raw_ostream &OS, const AliasSetTracker &AST) {
269 AST.print(OS);
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExternalASTMerger.cpp211 Parent.HasImporterForOrigin(*It->second.AST)) { in Imported()
215 << ", (ASTContext*)" << (void *)It->second.AST << "\n"; in Imported()
279 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); in ForEachMatchingDC()
297 << ", (ASTContext*)" << (void*)&Target.AST in ForEachMatchingDC()
366 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); in MaybeRecordOrigin()
369 LookupSameContext(Origin.AST->getTranslationUnitDecl(), ToDC, Reverse); in MaybeRecordOrigin()
377 << ", (ASTContext*)" << (void*)&Origin.AST in MaybeRecordOrigin()
383 RecordOriginImpl(ToDC, Origin, ImporterForOrigin(*Origin.AST)); in ForceRecordOrigin()
396 *Target.AST.getTranslationUnitDecl()); in ExternalASTMerger()
401 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.h28 void processMachineFunctionMetadata(AbstractSlotTrackerStorage *AST,
30 void processMachineModule(AbstractSlotTrackerStorage *AST, const Module *M,
32 void processMachineFunction(AbstractSlotTrackerStorage *AST,
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasSetTracker.cpp43 void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST, in mergeSetIn() argument
86 AS.dropRef(AST); in mergeSetIn()
105 void AliasSet::removeFromTracker(AliasSetTracker &AST) { in removeFromTracker() argument
107 AST.removeAliasSet(this); in removeFromTracker()
110 void AliasSet::addMemoryLocation(AliasSetTracker &AST, in addMemoryLocation() argument
117 return AST.getAliasAnalysis().isMustAlias(MemLoc, ASMemLoc); in addMemoryLocation()
125 AST.TotalAliasSetSize++; in addMemoryLocation()
433 void AliasSetTracker::add(const AliasSetTracker &AST) { in add() argument
434 assert(&AA == &AST.AA && in add()
440 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.cpp348 const auto &AST = ACFG->getDecl().getASTContext(); in writeCode() local
357 AST.getSourceManager(), AST.getLangOpts()); in writeCode()
361 Range, AST.getSourceManager(), AST.getLangOpts(), &Invalid); in writeCode()
429 AST.getSourceManager(), AST.getLangOpts()); in writeCode()
449 AST.getSourceManager().getSpellingLineNumber(Range.getBegin()); in writeCode()
454 AST.getSourceManager().getFilename(Range.getBegin())), in writeCode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopVersioningLICM.cpp227 AliasSetTracker AST(BAA); in legalLoopMemoryAccesses() local
231 AST.add(*Block); in legalLoopMemoryAccesses()
249 for (const auto &I : AST) { in legalLoopMemoryAccesses()
/freebsd/share/i18n/esdb/AST/
H A DMakefile5 ESUBDIR= AST
/freebsd/share/i18n/csmapper/AST/
H A DMakefile4 ESUBDIR= AST
/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/targets/pseudo/userland/share/
H A DMakefile.depend27 share/i18n/csmapper/AST \
44 share/i18n/esdb/AST \
/freebsd/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h198 std::unique_ptr<ExpressionAST> AST;
206 Expression(std::unique_ptr<ExpressionAST> AST, ExpressionFormat Format) in Expression() argument
207 : AST(std::move(AST)), Format(Format) {} in Expression()
211 ExpressionAST *getAST() const { return AST.get(); } in getAST()
/freebsd/contrib/tzdata/
H A Dzonenow.tab97 # -04 - AST
98 XX +1828-06954 America/Santo_Domingo Atlantic Standard (AST) - eastern Caribbean
103 # -04/-03 - AST/ADT (North America DST)
104 XX +4439-06336 America/Halifax Atlantic (AST/ADT) - Canada; Bermuda

12345