Home
last modified time | relevance | path

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

123

/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDASTUnit.cpp645 ASTUnit &AST, bool CaptureDiagnostics) { in ConfigureDiags() argument
648 Diags->setClient(new StoredDiagnosticConsumer(AST.StoredDiagnostics)); in ConfigureDiags()
658 std::unique_ptr<ASTUnit> AST(new ASTUnit(true)); in LoadFromASTFile() local
662 ASTUnitCleanup(AST.get()); in LoadFromASTFile()
667 ConfigureDiags(Diags, *AST, CaptureDiagnostics); in LoadFromASTFile()
669 AST->OnlyLocalDecls = OnlyLocalDecls; in LoadFromASTFile()
670 AST->CaptureDiagnostics = CaptureDiagnostics; in LoadFromASTFile()
671 AST->Diagnostics = Diags; in LoadFromASTFile()
673 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile()
674 AST->UserFilesAreVolatile = UserFilesAreVolatile; in LoadFromASTFile()
[all …]
HDFrontendAction.cpp132 std::unique_ptr<ASTUnit> AST) { in setCurrentInput() argument
134 CurrentASTUnit = std::move(AST); in setCurrentInput()
193 std::unique_ptr<ASTUnit> AST = in BeginSourceFile() local
197 if (!AST) in BeginSourceFile()
206 CI.setFileManager(&AST->getFileManager()); in BeginSourceFile()
207 CI.setSourceManager(&AST->getSourceManager()); in BeginSourceFile()
208 CI.setPreprocessor(&AST->getPreprocessor()); in BeginSourceFile()
209 CI.setASTContext(&AST->getASTContext()); in BeginSourceFile()
211 setCurrentInput(Input, std::move(AST)); in BeginSourceFile()
/NextBSD/contrib/llvm/include/llvm/Analysis/
HDAliasSetTracker.h83 AliasSet *getAliasSet(AliasSetTracker &AST) { in getAliasSet() argument
87 AS = OldAS->getForwardedTarget(AST); in getAliasSet()
89 OldAS->dropRef(AST); in getAliasSet()
149 void dropRef(AliasSetTracker &AST) { in dropRef() argument
152 removeFromTracker(AST); in dropRef()
177 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST);
240 AliasSet *getForwardedTarget(AliasSetTracker &AST) {
243 AliasSet *Dest = Forward->getForwardedTarget(AST);
246 Forward->dropRef(AST);
252 void removeFromTracker(AliasSetTracker &AST);
[all …]
/NextBSD/contrib/llvm/lib/Transforms/Utils/
HDPromoteMemoryToRegister.cpp230 AliasSetTracker *AST; member
273 AliasSetTracker *AST, AssumptionCache *AC) in PromoteMem2Reg()
276 AST(AST), AC(AC) {} in PromoteMem2Reg()
340 AliasSetTracker *AST) { in rewriteSingleStoreAlloca() argument
392 if (AST && LI->getType()->isPointerTy()) in rewriteSingleStoreAlloca()
393 AST->deleteValue(LI); in rewriteSingleStoreAlloca()
415 if (AST) in rewriteSingleStoreAlloca()
416 AST->deleteValue(AI); in rewriteSingleStoreAlloca()
437 AliasSetTracker *AST) { in promoteSingleBlockAlloca() argument
478 if (AST && LI->getType()->isPointerTy()) in promoteSingleBlockAlloca()
[all …]
/NextBSD/contrib/llvm/tools/clang/include/clang/
HDmodule.modulemap12 umbrella "AST"
14 textual header "AST/BuiltinTypes.def"
15 textual header "AST/TypeLocNodes.def"
16 textual header "AST/TypeNodes.def"
61 module AST { header "AST/ASTDiagnostic.h" export * }
62 module Comment { header "AST/CommentDiagnostic.h" export * }
125 // FIXME: Exclude this header to avoid pulling all of the AST matchers
127 // importing the AST matchers library gives a link dependency on the AST
128 // matchers (and thus the AST), which clang-format should not have.
/NextBSD/contrib/llvm/lib/Analysis/
HDAliasSetTracker.cpp30 void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST) { in mergeSetIn() argument
43 AliasAnalysis &AA = AST.getAliasAnalysis(); in mergeSetIn()
79 AS.dropRef(AST); in mergeSetIn()
90 void AliasSet::removeFromTracker(AliasSetTracker &AST) { in removeFromTracker() argument
92 AST.removeAliasSet(this); in removeFromTracker()
95 void AliasSet::addPointer(AliasSetTracker &AST, PointerRec &Entry, in addPointer() argument
103 AliasAnalysis &AA = AST.getAliasAnalysis(); in addPointer()
379 void AliasSetTracker::add(const AliasSetTracker &AST) { in add() argument
380 assert(&AA == &AST.AA && in add()
386 for (const_iterator I = AST.begin(), E = AST.end(); I != E; ++I) { in add()
[all …]
HDLoopAccessAnalysis.cpp394 : DL(Dl), AST(*AA), LI(LI), DepCands(DA), in AccessAnalysis()
400 AST.add(Ptr, MemoryLocation::UnknownSize, Loc.AATags); in addLoad()
409 AST.add(Ptr, MemoryLocation::UnknownSize, Loc.AATags); in addStore()
463 AliasSetTracker AST; member in __anon26667fe20111::AccessAnalysis
511 for (auto &AS : AST) { in canCheckPtrAtRT()
621 DEBUG(dbgs() << " AST: "; AST.dump()); in processMemAccesses()
634 for (auto &AS : AST) { in processMemAccesses()
/NextBSD/contrib/llvm/tools/clang/include/clang/Basic/
HDDiagnosticSerializationKinds.td11 let CategoryName = "AST Deserialization Issue" in {
18 "malformed or corrupted AST file: '%0'">, DefaultFatal;
35 "%select{AST file|current translation unit}0 was compiled with the target "
36 "feature'%1' but the %select{current translation unit is|AST file was}0 "
57 "module '%0' in AST file '%1' (imported by AST file '%2') "
61 "module '%0' imported by AST file '%1' found in a different module map file"
62 " (%2) than when the importing AST file was built (%3)">, DefaultFatal;
HDLangOptions.def15 // BENIGN_LANGOPT: for options that don't affect the construction of the AST in
19 // COMPATIBLE_LANGOPT: for options that affect the construction of the AST in
227 …ainCommentsFromSystemHeaders, 1, 0, "retain documentation comments from system headers in the AST")
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDLICM.cpp721 AliasSetTracker &AST; member in __anon8521e7a70211::LoopPromoter
752 LoopExitBlocks(LEB), LoopInsertPts(LIP), PredCache(PIC), AST(ast), in LoopPromoter()
785 AST.copyValue(LI, V); in replaceLoadWithValue()
788 AST.deleteValue(I); in instructionDeleted()
979 AliasSetTracker *AST = LoopToAliasSetMap.lookup(L); in cloneBasicBlockAnalysis() local
980 if (!AST) in cloneBasicBlockAnalysis()
983 AST->copyValue(From, To); in cloneBasicBlockAnalysis()
989 AliasSetTracker *AST = LoopToAliasSetMap.lookup(L); in deleteAnalysisValue() local
990 if (!AST) in deleteAnalysisValue()
993 AST->deleteValue(V); in deleteAnalysisValue()
[all …]
HDLoadCombine.cpp233 AliasSetTracker AST(*AA); in runOnBasicBlock() local
238 if (I.mayThrow() || (I.mayWriteToMemory() && AST.containsUnknown(&I))) { in runOnBasicBlock()
242 AST.clear(); in runOnBasicBlock()
255 AST.add(LI); in runOnBasicBlock()
/NextBSD/contrib/llvm/tools/clang/
HDFREEBSD-Xlist20 include/clang/AST/CMakeLists.txt
21 include/clang/AST/Makefile
39 lib/AST/CMakeLists.txt
40 lib/AST/Makefile
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDTypeNodes.def1 //===-- TypeNodes.def - Metadata about Type AST nodes -----------*- C++ -*-===//
10 // This file defines the AST type info database. Each type node is
16 // TYPE(Class, Base) - A type that can show up anywhere in the AST,
24 // anywhere in the AST but will never be a part of a canonical
HDTypeLocNodes.def35 #include "clang/AST/TypeNodes.def"
/NextBSD/share/i18n/esdb/AST/
HDMakefile6 ESUBDIR= AST
/NextBSD/share/i18n/csmapper/AST/
HDMakefile5 ESUBDIR= AST
/NextBSD/contrib/llvm/include/llvm/Transforms/Utils/
HDPromoteMemToReg.h45 AliasSetTracker *AST = nullptr,
/NextBSD/share/i18n/csmapper/
HDMakefile.depend6 share/i18n/csmapper/AST \
HDMakefile6 SUBDIR= APPLE AST BIG5 CNS CP EBCDIC GB GEORGIAN ISO646 ISO-8859 JIS \
/NextBSD/share/i18n/esdb/
HDMakefile.depend6 share/i18n/esdb/AST \
HDMakefile6 SUBDIR= APPLE AST BIG5 CP DEC EUC EBCDIC GB GEORGIAN ISO-2022 ISO-8859 \
/NextBSD/sys/dev/videomode/
HDediddevs48 vendor AST AST Research
/NextBSD/contrib/llvm/tools/clang/lib/Tooling/
HDTooling.cpp396 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( in runInvocation() local
401 if (!AST) in runInvocation()
404 ASTs.push_back(std::move(AST)); in runInvocation()
/NextBSD/targets/pseudo/userland/share/
HDMakefile.depend95 share/i18n/csmapper/AST \
112 share/i18n/esdb/AST \
/NextBSD/lib/clang/libclangast/
HDMakefile7 SRCDIR= tools/clang/lib/AST

123