Home
last modified time | relevance | path

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

1234

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp145 AST, in emitResourceClassExpr()
146 llvm::APInt(AST.getIntWidth(AST.UnsignedCharTy), in emitResourceClassExpr()
158 AST.getFunctionType(AST.VoidTy, {}, FunctionProtoType::ExtProtoInfo()); in addDefaultHandleConstructor()
240 AST.getFunctionType(ReturnTy, {AST.UnsignedIntTy}, ExtInfo); in addArraySubscriptOperator()
254 AST.getTrivialTypeSourceInfo(AST.UnsignedIntTy, SourceLocation()), in addArraySubscriptOperator()
314 ASTContext * member
393 AST, AST.getTranslationUnitDecl(), /*Inline=*/false, SourceLocation(), in InitializeSema()
411 AST, AST.getTranslationUnitDecl(), SourceLocation(), SourceLocation(), in InitializeSema()
426 TypeParam->setDefaultArgument(AST.getTrivialTypeSourceInfo(AST.FloatTy)); in defineHLSLVectorAlias()
433 false, AST.getTrivialTypeSourceInfo(AST.IntTy)); in defineHLSLVectorAlias()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DZ3Solver.cpp149 Z3_ast AST; member in __anon13641eda0111::Z3Expr
157 Z3Expr(const Z3Expr &Copy) : SMTExpr(), Context(Copy.Context), AST(Copy.AST) { in Z3Expr()
166 AST = Other.AST; in operator =()
174 if (AST) in ~Z3Expr()
478 Z3_ast Args[2] = {toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST}; in mkAnd()
483 Z3_ast Args[2] = {toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST}; in mkOr()
523 toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST))); in mkFPMul()
531 toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST))); in mkFPDiv()
545 toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST))); in mkFPAdd()
553 toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST))); in mkFPSub()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineModuleSlotTracker.cpp23 AST->createMetadataSlot(AAInfo.TBAA); in processMachineFunctionMetadata()
25 AST->createMetadataSlot(AAInfo.TBAAStruct); in processMachineFunctionMetadata()
27 AST->createMetadataSlot(AAInfo.Scope); in processMachineFunctionMetadata()
29 AST->createMetadataSlot(AAInfo.NoAlias); in processMachineFunctionMetadata()
34 AbstractSlotTrackerStorage *AST, const Module *M, in processMachineModule() argument
40 MDNStartSlot = AST->getNextMetadataSlot(); in processMachineModule()
42 processMachineFunctionMetadata(AST, *MF); in processMachineModule()
43 MDNEndSlot = AST->getNextMetadataSlot(); in processMachineModule()
53 MDNStartSlot = AST->getNextMetadataSlot(); in processMachineFunction()
55 processMachineFunctionMetadata(AST, *MF); in processMachineFunction()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp819 AST->HeaderInfo.reset(new HeaderSearch(AST->HSOpts, in LoadFromASTFile()
831 AST->PPOpts, AST->getDiagnostics(), *AST->LangOpts, in LoadFromASTFile()
838 AST->Ctx = new ASTContext(*AST->LangOpts, AST->getSourceManager(), in LoadFromASTFile()
854 *AST->PP, AST->Ctx.get(), *AST->HSOpts, *AST->PPOpts, *AST->LangOpts, in LoadFromASTFile()
855 AST->TargetOpts, AST->Target, Counter)); in LoadFromASTFile()
863 AST->Ctx->setExternalSource(AST->Reader); in LoadFromASTFile()
894 AST->TheSema.reset(new Sema(PP, *AST->Ctx, *AST->Consumer)); in LoadFromASTFile()
896 AST->Reader->InitializeSema(*AST->TheSema); in LoadFromASTFile()
902 return AST; in LoadFromASTFile()
1530 AST->SourceMgr = new SourceManager(AST->getDiagnostics(), *AST->FileMgr, in create()
[all …]
H A DFrontendAction.cpp154 CurrentASTUnit = std::move(AST); in setCurrentInput()
625 if (!AST) in BeginSourceFile()
632 CI.getLangOpts() = AST->getLangOpts(); in BeginSourceFile()
636 CI.setFileManager(&AST->getFileManager()); in BeginSourceFile()
658 auto Kind = AST->getInputKind(); in BeginSourceFile()
667 auto &OldSM = AST->getSourceManager(); in BeginSourceFile()
674 setCurrentInput(Input, std::move(AST)); in BeginSourceFile()
694 if (!AST) in BeginSourceFile()
703 CI.setFileManager(&AST->getFileManager()); in BeginSourceFile()
709 CI.setASTContext(&AST->getASTContext()); in BeginSourceFile()
[all …]
/freebsd-14.2/lib/clang/libclang/
H A DMakefile53 SRCS_MIN+= AST/APValue.cpp
65 SRCS_MIN+= AST/Comment.cpp
74 SRCS_MIN+= AST/Decl.cpp
76 SRCS_MIN+= AST/DeclCXX.cpp
84 SRCS_MIN+= AST/Expr.cpp
85 SRCS_MIN+= AST/ExprCXX.cpp
120 SRCS_MIN+= AST/Mangle.cpp
123 SRCS_MIN+= AST/NSAPI.cpp
127 SRCS_MIN+= AST/OSLog.cpp
139 SRCS_MIN+= AST/Stmt.cpp
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DExternalASTMerger.h54 ASTContext *AST; member
74 ASTContext * member
84 ASTContext * 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-14.2/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-14.2/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-14.2/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 "
60 "%select{PCH|module|AST}0 file '%1' not found%select{|: %3}2">, DefaultFatal;
62 "%select{PCH|module|AST}0 file '%1' is out of date and "
69 "AST file '%0' was not built as a module">, DefaultFatal;
82 "module '%0' in AST file '%1' %select{(imported by AST file '%2') |}4"
89 " (%2) than when the importing AST file was built (%3)">, DefaultFatal;
[all …]
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp115 Impl(SyntaxTree *Parent, ASTContext &AST);
122 : Impl(Parent, dyn_cast<Stmt>(Node), AST) {} in Impl()
129 ASTContext &AST; member in clang::diff::SyntaxTree::Impl
262 : Parent(Parent), AST(AST), TypePP(AST.getLangOpts()) { in Impl()
267 : Impl(Parent, AST) { in Impl()
274 : Impl(Parent, AST) { in Impl()
368 else if (AST.getLangOpts().CPlusPlus11) in getRelativeName()
386 const auto &Parents = AST.getParents(*S); in getEnclosingDeclContext()
441 Lexer::getSourceText(Range, AST.getSourceManager(), AST.getLangOpts())); in getDeclValue()
969 SyntaxTree::SyntaxTree(ASTContext &AST) in SyntaxTree() argument
[all …]
/freebsd-14.2/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()
299 << ", (ASTContext*)" << (void*)&Target.AST in ForEachMatchingDC()
368 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); 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()
411 assert(&S.getASTContext() != &Target.AST); in AddSources()
415 *this, Target.AST, Target.FM, S, SharedState)); in AddSources()
[all …]
/freebsd-14.2/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-14.2/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-14.2/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()
435 void AliasSetTracker::add(const AliasSetTracker &AST) { in add() argument
436 assert(&AA == &AST.AA && in add()
442 for (const AliasSet &AS : AST) { in add()
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DHTMLLogger.cpp337 const auto &AST = CFG->getDecl().getASTContext(); in writeCode() local
346 AST.getSourceManager(), AST.getLangOpts()); in writeCode()
350 Range, AST.getSourceManager(), AST.getLangOpts(), &Invalid); in writeCode()
418 AST.getSourceManager(), AST.getLangOpts()); in writeCode()
438 AST.getSourceManager().getSpellingLineNumber(Range.getBegin()); in writeCode()
443 AST.getSourceManager().getFilename(Range.getBegin())), in writeCode()
/freebsd-14.2/share/i18n/esdb/AST/
H A DMakefile5 ESUBDIR= AST
/freebsd-14.2/share/i18n/csmapper/AST/
H A DMakefile4 ESUBDIR= AST
/freebsd-14.2/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h192 std::unique_ptr<ExpressionAST> AST;
200 Expression(std::unique_ptr<ExpressionAST> AST, ExpressionFormat Format) in Expression() argument
201 : AST(std::move(AST)), Format(Format) {} in Expression()
205 ExpressionAST *getAST() const { return AST.get(); } in getAST()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCOptAddrMode.cpp70 const ARCSubtarget *AST = nullptr; member in __anonb020af6a0111::ARCOptAddrMode
469 Ldst.setDesc(AST->getInstrInfo()->get(NewOpcode)); in changeToAddrMode()
508 AST = &MF.getSubtarget<ARCSubtarget>(); in runOnMachineFunction()
509 AII = AST->getInstrInfo(); in runOnMachineFunction()
/freebsd-14.2/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-14.2/targets/pseudo/userland/share/
H A DMakefile.depend28 share/i18n/csmapper/AST \
45 share/i18n/esdb/AST \
/freebsd-14.2/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

1234