Home
last modified time | relevance | path

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

1234

/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DZ3Solver.cpp147 Z3_ast AST; member in __anonca7d1dd80111::Z3Expr
155 Z3Expr(const Z3Expr &Copy) : SMTExpr(), Context(Copy.Context), AST(Copy.AST) { in Z3Expr()
164 AST = Other.AST; in operator =()
172 if (AST) in ~Z3Expr()
476 Z3_ast Args[2] = {toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST}; in mkAnd()
481 Z3_ast Args[2] = {toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST}; in mkOr()
521 toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST))); in mkFPMul()
529 toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST))); in mkFPDiv()
543 toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST))); in mkFPAdd()
551 toZ3Expr(*LHS).AST, toZ3Expr(*RHS).AST))); in mkFPSub()
[all …]
/freebsd-13.1/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-13.1/lib/clang/libclang/
H A DMakefile49 SRCS_MIN+= AST/APValue.cpp
61 SRCS_MIN+= AST/Comment.cpp
70 SRCS_MIN+= AST/Decl.cpp
72 SRCS_MIN+= AST/DeclCXX.cpp
80 SRCS_MIN+= AST/Expr.cpp
81 SRCS_MIN+= AST/ExprCXX.cpp
113 SRCS_MIN+= AST/Mangle.cpp
116 SRCS_MIN+= AST/NSAPI.cpp
119 SRCS_MIN+= AST/OSLog.cpp
130 SRCS_MIN+= AST/Stmt.cpp
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp788 AST->HeaderInfo.reset(new HeaderSearch(AST->HSOpts, in LoadFromASTFile()
801 AST->PPOpts, AST->getDiagnostics(), *AST->LangOpts, in LoadFromASTFile()
808 AST->Ctx = new ASTContext(*AST->LangOpts, AST->getSourceManager(), in LoadFromASTFile()
823 *AST->PP, AST->Ctx.get(), *AST->HSOpts, *AST->PPOpts, *AST->LangOpts, in LoadFromASTFile()
824 AST->TargetOpts, AST->Target, Counter)); in LoadFromASTFile()
832 AST->Ctx->setExternalSource(AST->Reader); in LoadFromASTFile()
859 AST->TheSema.reset(new Sema(PP, *AST->Ctx, *AST->Consumer)); in LoadFromASTFile()
861 AST->Reader->InitializeSema(*AST->TheSema); in LoadFromASTFile()
867 return AST; in LoadFromASTFile()
1496 AST->SourceMgr = new SourceManager(AST->getDiagnostics(), *AST->FileMgr, in create()
[all …]
H A DFrontendAction.cpp140 CurrentASTUnit = std::move(AST); in setCurrentInput()
582 if (!AST) in BeginSourceFile()
589 CI.getLangOpts() = AST->getLangOpts(); in BeginSourceFile()
593 CI.setFileManager(&AST->getFileManager()); in BeginSourceFile()
616 auto Kind = AST->getInputKind(); in BeginSourceFile()
624 auto &OldSM = AST->getSourceManager(); in BeginSourceFile()
631 setCurrentInput(Input, std::move(AST)); in BeginSourceFile()
651 if (!AST) in BeginSourceFile()
660 CI.setFileManager(&AST->getFileManager()); in BeginSourceFile()
666 CI.setASTContext(&AST->getASTContext()); in BeginSourceFile()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h112 AliasSet *getAliasSet(AliasSetTracker &AST) { in getAliasSet() argument
116 AS = OldAS->getForwardedTarget(AST); in getAliasSet()
118 OldAS->dropRef(AST); in getAliasSet()
188 void dropRef(AliasSetTracker &AST) { in dropRef() argument
191 removeFromTracker(AST); in dropRef()
214 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST);
291 Forward->dropRef(AST); in getForwardedTarget()
297 void removeFromTracker(AliasSetTracker &AST);
313 dropRef(AST); in removeUnknownInst()
333 AliasSetTracker *AST; variable
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/
H A Dmodule.modulemap9 // FIXME: Exclude these headers to avoid pulling all of the AST matchers
11 // importing the AST matchers library gives a link dependency on the AST
12 // matchers (and thus the AST), which clang-format should not have.
18 umbrella "AST"
20 textual header "AST/BuiltinTypes.def"
21 textual header "AST/CXXRecordDeclDefinitionBits.def"
22 textual header "AST/OperationKinds.def"
23 textual header "AST/TypeLocNodes.def"
85 module AST { header "AST/ASTDiagnostic.h" export * }
86 module Comment { header "AST/CommentDiagnostic.h" export * }
[all …]
/freebsd-13.1/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-13.1/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-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasSetTracker.cpp74 AST.TotalMayAliasSetSize += size(); in mergeSetIn()
76 AST.TotalMayAliasSetSize += AS.size(); in mergeSetIn()
106 AS.dropRef(AST); in mergeSetIn()
128 AST.removeAliasSet(this); in removeFromTracker()
166 AST.TotalMayAliasSetSize++; in addPointer()
517 assert(&AA == &AST.AA && in add()
523 for (const AliasSet &AS : AST) { in add()
708 AST->deleteValue(getValPtr()); in deleted()
713 AST->copyValue(getValPtr(), V); in allUsesReplacedWith()
717 : CallbackVH(V), AST(ast) {} in ASTCallbackVH()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp114 Impl(SyntaxTree *Parent, ASTContext &AST);
121 ASTContext &AST) in Impl() argument
126 ASTContext &AST) in Impl() argument
130 ASTContext * member in clang::diff::SyntaxTree::Impl
263 : Parent(Parent), AST(AST), TypePP(AST.getLangOpts()) { in Impl()
268 : Impl(Parent, AST) { in Impl()
275 : Impl(Parent, AST) { in Impl()
369 else if (AST.getLangOpts().CPlusPlus11) in getRelativeName()
442 Lexer::getSourceText(Range, AST.getSourceManager(), AST.getLangOpts())); in getDeclValue()
970 SyntaxTree::SyntaxTree(ASTContext &AST) in SyntaxTree() argument
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExternalASTMerger.cpp213 Parent.HasImporterForOrigin(*FromOrigins.at(FromDC).AST)) { in Imported()
219 << (void*)FromOrigins.at(FromDC).AST in Imported()
302 << ", (ASTContext*)" << (void*)&Target.AST in ForEachMatchingDC()
371 LazyASTImporter &Importer = LazyImporterForOrigin(*this, *Origin.AST); in MaybeRecordOrigin()
382 << ", (ASTContext*)" << (void*)&Origin.AST in MaybeRecordOrigin()
388 RecordOriginImpl(ToDC, Origin, ImporterForOrigin(*Origin.AST)); in ForceRecordOrigin()
400 *Target.AST.getTranslationUnitDecl()); in ExternalASTMerger()
405 assert(&D->getASTContext() == &Target.AST); in FindOriginalDecl()
414 assert(&S.getASTContext() != &Target.AST); in AddSources()
418 *this, Target.AST, Target.FM, S, SharedState)); in AddSources()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DExtract.cpp108 ASTContext &AST = Context.getASTContext(); in createSourceReplacements() local
109 SourceManager &SM = AST.getSourceManager(); in createSourceReplacements()
110 const LangOptions &LangOpts = AST.getLangOpts(); in createSourceReplacements()
116 QualType ReturnType = AST.VoidTy; in createSourceReplacements()
142 PrintingPolicy PP = AST.getPrintingPolicy(); in createSourceReplacements()
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h70 SyntaxTree(ASTContext &AST);
73 SyntaxTree(T *Node, ASTContext &AST) in SyntaxTree() argument
74 : TreeImpl(std::make_unique<Impl>(this, Node, AST)) {} in SyntaxTree()
/freebsd-13.1/contrib/googletest/googlemock/scripts/generator/
H A DREADME.cppclean26 * (planned) Store AST in a SQL database so relationships can be queried
28 AST is Abstract Syntax Tree, a representation of parsed source code.
99 work reasonably well. Function bodies are not transformed to an AST,
101 and storing an AST in a database.
108 * Compiling to machine code (or anything beyond an AST)
/freebsd-13.1/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;
81 "module '%0' in AST file '%1' %select{(imported by AST file '%2') |}4"
88 " (%2) than when the importing AST file was built (%3)">, DefaultFatal;
[all …]
/freebsd-13.1/share/i18n/esdb/AST/
H A DMakefile6 ESUBDIR= AST
/freebsd-13.1/share/i18n/csmapper/AST/
H A DMakefile5 ESUBDIR= AST
/freebsd-13.1/contrib/llvm-project/llvm/lib/FileCheck/
H A DFileCheckImpl.h240 std::unique_ptr<ExpressionAST> AST;
248 Expression(std::unique_ptr<ExpressionAST> AST, ExpressionFormat Format) in Expression() argument
249 : AST(std::move(AST)), Format(Format) {} in Expression()
253 ExpressionAST *getAST() const { return AST.get(); } in getAST()
/freebsd-13.1/targets/pseudo/userland/share/
H A DMakefile.depend29 share/i18n/csmapper/AST \
46 share/i18n/esdb/AST \
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARC/
H A DARCOptAddrMode.cpp59 const ARCSubtarget *AST = nullptr; member in __anon60b36c280111::ARCOptAddrMode
459 Ldst.setDesc(AST->getInstrInfo()->get(NewOpcode)); in changeToAddrMode()
491 AST = &MF.getSubtarget<ARCSubtarget>(); in runOnMachineFunction()
492 AII = AST->getInstrInfo(); in runOnMachineFunction()
/freebsd-13.1/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DLookup.cpp143 auto &AST = UseContext.getParentASTContext(); in disambiguateSpellingInScope() local
156 auto LookupRes = NS->lookup(DeclarationName(&AST.Idents.get(Head))); in disambiguateSpellingInScope()
/freebsd-13.1/share/i18n/csmapper/
H A DMakefile.depend6 share/i18n/csmapper/AST \
/freebsd-13.1/share/i18n/esdb/
H A DMakefile.depend6 share/i18n/esdb/AST \

1234