Home
last modified time | relevance | path

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

1234

/external/clang/lib/Frontend/
DASTUnit.cpp489 ASTUnit &AST, bool CaptureDiagnostics) { in ConfigureDiags() argument
496 Client = new StoredDiagnosticClient(AST.StoredDiagnostics); in ConfigureDiags()
500 Diags->setClient(new StoredDiagnosticClient(AST.StoredDiagnostics)); in ConfigureDiags()
511 llvm::OwningPtr<ASTUnit> AST(new ASTUnit(true)); in LoadFromASTFile() local
515 ASTUnitCleanup(AST.get()); in LoadFromASTFile()
520 ConfigureDiags(Diags, 0, 0, *AST, CaptureDiagnostics); in LoadFromASTFile()
522 AST->OnlyLocalDecls = OnlyLocalDecls; in LoadFromASTFile()
523 AST->CaptureDiagnostics = CaptureDiagnostics; in LoadFromASTFile()
524 AST->Diagnostics = Diags; in LoadFromASTFile()
525 AST->FileMgr = new FileManager(FileSystemOpts); in LoadFromASTFile()
[all …]
DFrontendAction.cpp86 ASTUnit *AST) { in setCurrentFile() argument
89 CurrentASTUnit.reset(AST); in setCurrentFile()
146 ASTUnit *AST = ASTUnit::LoadFromASTFile(Filename, Diags, in BeginSourceFile() local
148 if (!AST) in BeginSourceFile()
151 setCurrentFile(Filename, InputKind, AST); in BeginSourceFile()
155 CI.setFileManager(&AST->getFileManager()); in BeginSourceFile()
156 CI.setSourceManager(&AST->getSourceManager()); in BeginSourceFile()
157 CI.setPreprocessor(&AST->getPreprocessor()); in BeginSourceFile()
158 CI.setASTContext(&AST->getASTContext()); in BeginSourceFile()
/external/clang/examples/wpa/
Dclang-wpa.cpp51 ASTUnit *AST; member in __anon7a99d5b80111::ASTUnitTU
57 : AST(ast), DeclRefMap(AST->getASTContext()), SelMap(AST->getASTContext()) { in ASTUnitTU()
61 return AST->getASTContext(); in getASTContext()
65 return AST->getPreprocessor(); in getPreprocessor()
69 return AST->getDiagnostics(); in getDiagnostic()
97 llvm::OwningPtr<ASTUnit> AST(ASTUnit::LoadFromASTFile(InFile, Diags, in main() local
100 if (!AST) in main()
103 ASTUnits.push_back(AST.take()); in main()
/external/llvm/include/llvm/Analysis/
DAliasSetTracker.h83 AliasSet *getAliasSet(AliasSetTracker &AST) { in getAliasSet() argument
87 AS = OldAS->getForwardedTarget(AST); in getAliasSet()
89 OldAS->dropRef(AST); in getAliasSet()
144 void dropRef(AliasSetTracker &AST) { in dropRef() argument
147 removeFromTracker(AST); in dropRef()
172 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST);
239 AliasSet *getForwardedTarget(AliasSetTracker &AST) {
242 AliasSet *Dest = Forward->getForwardedTarget(AST);
245 Forward->dropRef(AST);
251 void removeFromTracker(AliasSetTracker &AST);
[all …]
/external/llvm/lib/Transforms/Utils/
DPromoteMemoryToRegister.cpp203 AliasSetTracker *AST; member
244 : Allocas(A), DT(dt), DIB(0), AST(ast) {} in PromoteMem2Reg()
384 if (AST) PointerAllocaValues.resize(Allocas.size()); in run()
402 if (AST) AST->deleteValue(AI); in run()
433 if (AST) AST->deleteValue(AI); in run()
467 if (AST) AST->deleteValue(AI); in run()
512 if (AST) in run()
567 if (AST) AST->deleteValue(A); in run()
590 if (AST && PN->getType()->isPointerTy()) in run()
591 AST->deleteValue(PN); in run()
[all …]
/external/clang/lib/Index/
DEntity.cpp167 Decl *EntityImpl::getDecl(ASTContext &AST) { in getDecl() argument
169 Parent.isInvalid() ? AST.getTranslationUnitDecl() in getDecl()
170 : cast<DeclContext>(Parent.getDecl(AST)); in getDecl()
177 IdentifierInfo &II = AST.Idents.get(GlobII->getName()); in getDecl()
184 LocalName = GSel.getSelector(AST); in getDecl()
228 Decl *Entity::getDecl(ASTContext &AST) const { in getDecl()
234 return (&D->getASTContext() == &AST) ? D : 0; in getDecl()
236 return Val.get<EntityImpl *>()->getDecl(AST); in getDecl()
DGlobalSelector.cpp22 Selector GlobalSelector::getSelector(ASTContext &AST) const { in getSelector()
32 IdentifierInfo *II = &AST.Idents.get(GlobII->getName()); in getSelector()
36 return AST.Selectors.getSelector(GlobSel.getNumArgs(), Ids.data()); in getSelector()
/external/llvm/lib/Analysis/
DAliasSetTracker.cpp31 void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST) { in mergeSetIn() argument
44 AliasAnalysis &AA = AST.getAliasAnalysis(); 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()
365 void AliasSetTracker::add(const AliasSetTracker &AST) { in add() argument
366 assert(&AA == &AST.AA && in add()
372 for (const_iterator I = AST.begin(), E = AST.end(); I != E; ++I) { in add()
600 assert(AST && "ASTCallbackVH called with a null AliasSetTracker!"); in deleted()
[all …]
/external/clang/
Dclang-tblgen-rules.mk13 LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/AST/AttrImpl.inc
14 $(intermediates)/include/clang/AST/AttrImpl.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(T…
48 LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/AST/Attrs.inc
49 $(intermediates)/include/clang/AST/Attrs.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/Attr.td $(TBLG…
86 LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/AST/DeclNodes.inc
87 $(intermediates)/include/clang/AST/DeclNodes.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/DeclNodes.…
93 LOCAL_GENERATED_SOURCES += $(intermediates)/include/clang/AST/StmtNodes.inc
94 $(intermediates)/include/clang/AST/StmtNodes.inc: $(CLANG_ROOT_PATH)/include/clang/Basic/StmtNodes.…
DAndroid.mk8 lib/AST \
/external/llvm/docs/HistoricalNotes/
D2007-OriginalClangReadme.txt33 libast - Provides classes to represent the C AST, the C type system,
35 manipulating the AST (visitors, pretty printers, etc). This
46 libsema - Provides a set of parser actions to build a standardized AST
47 for programs. AST's are 'streamed' out a top-level declaration
67 libcodegen - Lower the AST to LLVM IR for optimization & codegen. Depends
78 compiler tool, it makes sense to take those plus the AST building and semantic
80 you'd take these components plus the AST to LLVM lowering code.
110 * -parse-noop parses code without building an AST. This is useful
111 for timing the cost of the parser without including AST building
115 useful for timing AST building vs -parse-noop.
/external/llvm/lib/Transforms/Scalar/
DLICM.cpp607 AliasSetTracker &AST; member in __anon377fa5bd0211::LoopPromoter
617 PointerMustAliases(PMA), LoopExitBlocks(LEB), AST(ast), DL(dl), in LoopPromoter()
647 AST.copyValue(LI, V); in replaceLoadWithValue()
650 AST.deleteValue(I); in instructionDeleted()
793 AliasSetTracker *AST = LoopToAliasSetMap.lookup(L); in cloneBasicBlockAnalysis() local
794 if (!AST) in cloneBasicBlockAnalysis()
797 AST->copyValue(From, To); in cloneBasicBlockAnalysis()
803 AliasSetTracker *AST = LoopToAliasSetMap.lookup(L); in deleteAnalysisValue() local
804 if (!AST) in deleteAnalysisValue()
807 AST->deleteValue(V); in deleteAnalysisValue()
/external/mesa3d/src/glsl/
DTODO14 - Implement AST-to-HIR conversion of bit-shift operators.
16 - Implement AST-to-HIR conversion of bit-wise {&,|,^,!} operators.
18 - Implement AST-to-HIR conversion of switch-statements
/external/chromium/testing/gmock/scripts/generator/
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)
/external/clang/include/clang/AST/
DTypeNodes.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
/external/clang/unittests/
DCMakeLists.txt53 add_clang_unittest(AST
54 AST/APValueTest.cpp
DMakefile17 PARALLEL_DIRS = AST Basic Frontend
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp547 ASTUnit *AST = static_cast<ASTUnit *>(TU->TUData); in clang_codeCompleteAt_Impl() local
548 if (!AST) in clang_codeCompleteAt_Impl()
551 ASTUnit::ConcurrencyCheck Check(*AST); in clang_codeCompleteAt_Impl()
569 new AllocatedCXCodeCompleteResults(AST->getFileSystemOpts()); in clang_codeCompleteAt_Impl()
577 AST->CodeComplete(complete_filename, complete_line, complete_column, in clang_codeCompleteAt_Impl()
590 Results->CachedCompletionAllocator = AST->getCachedCompletionAllocator(); in clang_codeCompleteAt_Impl()
/external/clang/include/clang/
DCMakeLists.txt1 add_subdirectory(AST)
/external/clang/unittests/AST/
DMakefile11 TESTNAME = AST
/external/clang/lib/
DMakefile11 PARALLEL_DIRS = Headers Basic Lex Parse AST Sema CodeGen Analysis \
DCMakeLists.txt5 add_subdirectory(AST)
/external/llvm/include/llvm/Transforms/Utils/
DPromoteMemToReg.h41 DominatorTree &DT, AliasSetTracker *AST = 0);
/external/clang/clang.xcodeproj/
Dproject.pbxproj28 …h = 2; lastKnownFileType = sourcecode.c.h; name = DeclBase.h; path = clang/AST/DeclBase.h; sourceT…
30 … 2; lastKnownFileType = sourcecode.c.h; name = ASTImporter.h; path = clang/AST/ASTImporter.h; sour…
31 … = 2; lastKnownFileType = sourcecode.c.h; name = ASTVector.h; path = clang/AST/ASTVector.h; source…
32 … = 2; lastKnownFileType = sourcecode.c.h; name = CharUnits.h; path = clang/AST/CharUnits.h; source…
33 … lastKnownFileType = sourcecode.c.h; name = DeclAccessPair.h; path = clang/AST/DeclAccessPair.h; s…
34 …= 2; lastKnownFileType = sourcecode.c.h; name = DeclFriend.h; path = clang/AST/DeclFriend.h; sourc…
35 …KnownFileType = sourcecode.c.h; name = DependentDiagnostic.h; path = clang/AST/DependentDiagnostic…
36 …2; lastKnownFileType = sourcecode.c.h; name = TemplateBase.h; path = clang/AST/TemplateBase.h; sou…
37 …; lastKnownFileType = sourcecode.c.h; name = UnresolvedSet.h; path = clang/AST/UnresolvedSet.h; so…
38 …nownFileType = sourcecode.c.h; name = UsuallyTinyPtrVector.h; path = clang/AST/UsuallyTinyPtrVecto…
[all …]
/external/icu4c/tools/tzcode/
Dicuzones27 Zone SystemV/AST4 -4:00 - AST
45 Link America/Anchorage AST

1234