Searched defs:AST (Results 1 - 15 of 15) sorted by relevance

/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/tree/
H A Dvisitor.rb36 module AST module in class:ANTLR3
38 =begin rdoc ANTLR3::AST::Visitor
40 AST::Visitor is an extra utility class for working with tree objects. Visitor
H A Dwizard.rb38 module AST module in class:ANTLR3
40 =begin rdoc ANTLR3::AST::Wizard
42 AST::Wizard is an extra utility class that allows quick creation of AST objects
46 AST for a particular node structure. These features make tree wizards useful
47 while testing and debugging AST constructing parsers and tree parsers. This
58 adaptor = ANTLR3::AST::CommonTreeAdaptor.new
59 wizard = ANTLR3::AST::Wizard.new(adaptor, token_names)
122 =begin rdoc ANTLR3::AST::Wizard::PatternLexer
124 A class that is used internally by AST
[all...]
/external/clang/lib/Frontend/
H A DFrontendAction.cpp11 #include "clang/AST/ASTConsumer.h"
12 #include "clang/AST/ASTContext.h"
13 #include "clang/AST/DeclGroup.h"
130 ASTUnit *AST) {
132 CurrentASTUnit.reset(AST);
145 // modifiy the AST.
180 // AST files follow a very different path, since they share objects via the
181 // AST unit.
184 "Attempt to pass AST file to preprocessor only action!");
186 "This action does not have AST fil
129 setCurrentInput(const FrontendInputFile &CurrentInput, ASTUnit *AST) argument
190 ASTUnit *AST = ASTUnit::LoadFromASTFile(InputFile, Diags, local
[all...]
H A DASTUnit.cpp15 #include "clang/AST/ASTConsumer.h"
16 #include "clang/AST/ASTContext.h"
17 #include "clang/AST/DeclVisitor.h"
18 #include "clang/AST/StmtVisitor.h"
19 #include "clang/AST/TypeOrdering.h"
235 // If we loaded from an AST file, balance out the BeginSourceFile call.
650 ASTUnit &AST, bool CaptureDiagnostics) {
656 Client = new StoredDiagnosticConsumer(AST.StoredDiagnostics);
661 Diags->setClient(new StoredDiagnosticConsumer(AST.StoredDiagnostics));
673 std::unique_ptr<ASTUnit> AST(ne
648 ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> &Diags, const char **ArgBegin, const char **ArgEnd, ASTUnit &AST, bool CaptureDiagnostics) argument
1736 std::unique_ptr<ASTUnit> AST; local
1764 ASTUnit *AST = Unit; local
2001 std::unique_ptr<ASTUnit> AST; local
2101 ASTUnit &AST; member in class:__anon17908::AugmentedCodeCompleteConsumer
2105 AugmentedCodeCompleteConsumer(ASTUnit &AST, CodeCompleteConsumer &Next, const CodeCompleteOptions &CodeCompleteOpts) argument
[all...]
/external/clang/unittests/Tooling/
H A DToolingTest.cpp10 #include "clang/AST/ASTConsumer.h"
11 #include "clang/AST/DeclCXX.h"
12 #include "clang/AST/DeclGroup.h"
84 bool FindClassDeclX(ASTUnit *AST) { argument
85 for (std::vector<Decl *>::iterator i = AST->top_level_begin(),
86 e = AST->top_level_end();
111 std::unique_ptr<ASTUnit> AST = buildASTFromCode("class X;"); local
112 ASSERT_TRUE(AST.get());
113 EXPECT_TRUE(FindClassDeclX(AST.get()));
115 AST
[all...]
/external/llvm/lib/Analysis/
H A DAliasSetTracker.cpp30 void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST) { argument
43 AliasAnalysis &AA = AST.getAliasAnalysis();
89 void AliasSet::removeFromTracker(AliasSetTracker &AST) { argument
91 AST.removeAliasSet(this);
94 void AliasSet::addPointer(AliasSetTracker &AST, PointerRec &Entry, argument
102 AliasAnalysis &AA = AST.getAliasAnalysis();
235 /// this alias set, false otherwise. This does not modify the AST object or
365 void AliasSetTracker::add(const AliasSetTracker &AST) { argument
366 assert(&AA == &AST.AA &&
369 // Loop over all of the alias sets in AST, addin
[all...]
/external/clang/lib/Tooling/
H A DTooling.cpp16 #include "clang/AST/ASTConsumer.h"
380 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( variable
384 if (!AST)
387 ASTs.push_back(std::move(AST));
/external/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h82 AliasSet *getAliasSet(AliasSetTracker &AST) { argument
86 AS = OldAS->getForwardedTarget(AST);
88 OldAS->dropRef(AST);
142 void dropRef(AliasSetTracker &AST) { argument
145 removeFromTracker(AST);
170 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST);
238 AliasSet *getForwardedTarget(AliasSetTracker &AST) { argument
241 AliasSet *Dest = Forward->getForwardedTarget(AST);
244 Forward->dropRef(AST);
250 void removeFromTracker(AliasSetTracker &AST);
285 AliasSetTracker *AST; member in class:llvm::AliasSetTracker::ASTCallbackVH
431 operator <<(raw_ostream &OS, const AliasSetTracker &AST) argument
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DLICM.cpp246 assert(InnerAST && "Where is my AST?");
251 // Once we've incorporated the inner loop's AST into ours, we don't need the
263 // Because subloops have already been incorporated into AST, we skip blocks in
689 AliasSetTracker &AST; member in class:__anon26288::LoopPromoter
719 LoopExitBlocks(LEB), LoopInsertPts(LIP), PredCache(PIC), AST(ast),
752 AST.copyValue(LI, V);
755 AST.deleteValue(I);
825 assert(!load->isVolatile() && "AST broken");
833 assert(!store->isVolatile() && "AST broken");
923 AliasSetTracker *AST local
933 AliasSetTracker *AST = LoopToAliasSetMap.lookup(L); local
[all...]
/external/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp239 AliasSetTracker *AST; member in struct:__anon26359::PromoteMem2Reg
282 AliasSetTracker *AST)
284 DIB(*DT.getRoot()->getParent()->getParent()), AST(AST) {}
350 AliasSetTracker *AST) {
402 if (AST && LI->getType()->isPointerTy())
403 AST->deleteValue(LI);
424 if (AST)
425 AST->deleteValue(AI);
446 AliasSetTracker *AST) {
281 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, AliasSetTracker *AST) argument
347 rewriteSingleStoreAlloca(AllocaInst *AI, AllocaInfo &Info, LargeBlockInfo &LBI, DominatorTree &DT, AliasSetTracker *AST) argument
444 promoteSingleBlockAlloca(AllocaInst *AI, const AllocaInfo &Info, LargeBlockInfo &LBI, AliasSetTracker *AST) argument
1069 PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, AliasSetTracker *AST) argument
[all...]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
H A Dtree.rb39 =begin rdoc ANTLR3::AST
46 module AST module in class:ANTLR3
55 =begin rdoc ANTLR3::AST::TreeParser
75 You can take the information encapsulated by the AST and process it directly in
77 capable of walking through the AST, verifying its structure and performing
190 =begin rdoc ANTLR3::AST::Tree
194 As ANTLR is concerned, an Abstract Syntax Tree (AST) node is an object that
199 class for AST classes; it specifies the attributes that are expected of basic
206 throughout the AST library:
303 =begin rdoc ANTLR3::AST
[all...]
/external/clang/tools/libclang/
H A DCIndexCodeCompletion.cpp21 #include "clang/AST/Decl.h"
22 #include "clang/AST/DeclObjC.h"
23 #include "clang/AST/Type.h"
681 ASTUnit *AST = cxtu::getASTUnit(TU); local
682 if (!AST)
689 ASTUnit::ConcurrencyCheck Check(*AST);
706 &AST->getFileManager());
716 AST->CodeComplete(complete_filename, complete_line, complete_column,
732 Results->CachedCompletionAllocator = AST->getCachedCompletionAllocator();
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...
/external/chromium_org/third_party/checkstyle/
H A Dcheckstyle-5.7-all.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml checkstylecompilation.properties checkstyletask.properties com/ ...
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.jdt.core_3.6.2.v_A76_R36x.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 185 milliseconds