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

12

/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/unittests/ASTMatchers/
H A DASTMatchersInternalTest.cpp1 // unittests/ASTMatchers/ASTMatchersInternalTest.cpp - AST matcher unit tests //
11 #include "clang/AST/PrettyPrinter.h"
142 std::unique_ptr<ASTUnit> AST(tooling::buildASTFromCode("int x;"));
143 ASSERT_TRUE(AST.get());
144 Finder.matchAST(AST->getASTContext());
168 std::unique_ptr<ASTUnit> AST(tooling::buildASTFromCode("int x;"));
169 ASSERT_TRUE(AST.get());
170 Finder.matchAST(AST->getASTContext());
175 std::unique_ptr<ASTUnit> AST = local
177 ASSERT_TRUE(AST
[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"
90 bool FindClassDeclX(ASTUnit *AST) { argument
91 for (std::vector<Decl *>::iterator i = AST->top_level_begin(),
92 e = AST->top_level_end();
121 std::unique_ptr<ASTUnit> AST = buildASTFromCode("class X;"); local
122 ASSERT_TRUE(AST.get());
123 EXPECT_TRUE(FindClassDeclX(AST.get()));
125 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"
132 std::unique_ptr<ASTUnit> AST) {
134 CurrentASTUnit = std::move(AST);
201 // AST files follow a very different path, since they share objects via the
202 // AST unit.
205 "Attempt to pass AST file to preprocessor only action!");
207 "This action does not have AST file support!");
211 std::unique_ptr<ASTUnit> AST local
131 setCurrentInput(const FrontendInputFile &CurrentInput, std::unique_ptr<ASTUnit> AST) argument
[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.
646 ASTUnit &AST, bool CaptureDiagnostics) {
649 Diags->setClient(new StoredDiagnosticConsumer(AST.StoredDiagnostics));
659 std::unique_ptr<ASTUnit> AST(new ASTUnit(true));
663 ASTUnitCleanup(AST
645 ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags, ASTUnit &AST, bool CaptureDiagnostics) argument
1713 std::unique_ptr<ASTUnit> AST; local
1743 ASTUnit *AST = Unit; local
1985 std::unique_ptr<ASTUnit> AST; local
2091 ASTUnit &AST; member in class:__anon1315::AugmentedCodeCompleteConsumer
2095 AugmentedCodeCompleteConsumer(ASTUnit &AST, CodeCompleteConsumer &Next, const CodeCompleteOptions &CodeCompleteOpts) argument
[all...]
/external/llvm/include/llvm/Analysis/
H A DAliasSetTracker.h91 AliasSet *getAliasSet(AliasSetTracker &AST) { argument
95 AS = OldAS->getForwardedTarget(AST);
97 OldAS->dropRef(AST);
157 void dropRef(AliasSetTracker &AST) { argument
160 removeFromTracker(AST);
183 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST);
247 AliasSet *getForwardedTarget(AliasSetTracker &AST) { argument
250 AliasSet *Dest = Forward->getForwardedTarget(AST);
253 Forward->dropRef(AST);
259 void removeFromTracker(AliasSetTracker &AST);
265 removeUnknownInst(AliasSetTracker &AST, Instruction *I) argument
295 AliasSetTracker *AST; member in class:llvm::AliasSetTracker::final
440 operator <<(raw_ostream &OS, const AliasSetTracker &AST) argument
[all...]
/external/llvm/lib/Analysis/
H A DAliasSetTracker.cpp31 void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST) { argument
44 AliasAnalysis &AA = AST.getAliasAnalysis();
80 AS.dropRef(AST);
91 void AliasSet::removeFromTracker(AliasSetTracker &AST) { argument
93 AST.removeAliasSet(this);
96 void AliasSet::addPointer(AliasSetTracker &AST, PointerRec &Entry, argument
104 AliasAnalysis &AA = AST.getAliasAnalysis();
233 /// this alias set, false otherwise. This does not modify the AST object or
405 void AliasSetTracker::add(const AliasSetTracker &AST) { argument
406 assert(&AA == &AST
[all...]
H A DLoopAccessAnalysis.cpp461 : DL(Dl), AST(*AA), LI(LI), DepCands(DA), IsRTCheckAnalysisNeeded(false),
467 AST.add(Ptr, MemoryLocation::UnknownSize, Loc.AATags);
476 AST.add(Ptr, MemoryLocation::UnknownSize, Loc.AATags);
530 AliasSetTracker AST; member in class:__anon12485::AccessAnalysis
598 for (auto &AS : AST) {
707 DEBUG(dbgs() << " AST: "; AST.dump());
720 for (auto &AS : AST) {
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
H A DAliasSetTracker.h83 AliasSet *getAliasSet(AliasSetTracker &AST) { argument
87 AS = OldAS->getForwardedTarget(AST);
89 OldAS->dropRef(AST);
144 void dropRef(AliasSetTracker &AST) { argument
147 removeFromTracker(AST);
172 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST);
239 AliasSet *getForwardedTarget(AliasSetTracker &AST) { argument
242 AliasSet *Dest = Forward->getForwardedTarget(AST);
245 Forward->dropRef(AST);
251 void removeFromTracker(AliasSetTracker &AST);
285 AliasSetTracker *AST; member in class:llvm::AliasSetTracker::ASTCallbackVH
431 operator <<(raw_ostream &OS, const AliasSetTracker &AST) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/Analysis/
H A DAliasSetTracker.cpp31 void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST) { argument
44 AliasAnalysis &AA = AST.getAliasAnalysis();
90 void AliasSet::removeFromTracker(AliasSetTracker &AST) { argument
92 AST.removeAliasSet(this);
95 void AliasSet::addPointer(AliasSetTracker &AST, PointerRec &Entry, argument
103 AliasAnalysis &AA = AST.getAliasAnalysis();
234 /// this alias set, false otherwise. This does not modify the AST object or
366 void AliasSetTracker::add(const AliasSetTracker &AST) { argument
367 assert(&AA == &AST.AA &&
370 // Loop over all of the alias sets in AST, addin
[all...]
/external/clang/lib/Tooling/
H A DTooling.cpp16 #include "clang/AST/ASTConsumer.h"
472 std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromCompilerInvocation( variable
478 if (!AST)
481 ASTs.push_back(std::move(AST));
/external/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp229 AliasSetTracker *AST; member in struct:__anon13443::PromoteMem2Reg
272 AliasSetTracker *AST, AssumptionCache *AC)
275 AST(AST), AC(AC) {}
339 AliasSetTracker *AST) {
391 if (AST && LI->getType()->isPointerTy())
392 AST->deleteValue(LI);
413 if (AST)
414 AST->deleteValue(AI);
438 AliasSetTracker *AST) {
271 PromoteMem2Reg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, AliasSetTracker *AST, AssumptionCache *AC) argument
336 rewriteSingleStoreAlloca(AllocaInst *AI, AllocaInfo &Info, LargeBlockInfo &LBI, DominatorTree &DT, AliasSetTracker *AST) argument
436 promoteSingleBlockAlloca(AllocaInst *AI, const AllocaInfo &Info, LargeBlockInfo &LBI, AliasSetTracker *AST) argument
987 PromoteMemToReg(ArrayRef<AllocaInst *> Allocas, DominatorTree &DT, AliasSetTracker *AST, AssumptionCache *AC) argument
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
H A DLICM.cpp203 assert(InnerAST && "Where is my AST?");
208 // Once we've incorporated the inner loop's AST into ours, we don't need the
220 // Because subloops have already been incorporated into AST, we skip blocks in
471 // This instruction is no longer in the AST for the current loop, because
616 AliasSetTracker &AST; member in class:__anon18936::LoopPromoter
626 PointerMustAliases(PMA), LoopExitBlocks(LEB), AST(ast), DL(dl),
656 AST.copyValue(LI, V);
659 AST.deleteValue(I);
726 assert(!load->isVolatile() && "AST broken");
734 assert(!store->isVolatile() && "AST broke
809 AliasSetTracker *AST = LoopToAliasSetMap.lookup(L); local
819 AliasSetTracker *AST = LoopToAliasSetMap.lookup(L); local
[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"
669 ASTUnit *AST = cxtu::getASTUnit(TU); local
670 if (!AST)
677 ASTUnit::ConcurrencyCheck Check(*AST);
694 &AST->getFileManager());
704 AST->CodeComplete(complete_filename, complete_line, complete_column,
718 Results->CachedCompletionAllocator = AST->getCachedCompletionAllocator();
/external/llvm/lib/Transforms/Scalar/
H A DLICM.cpp211 /// We should delete AST for inner loops in the new pass manager to avoid
768 AliasSetTracker &AST; member in class:__anon13360::LoopPromoter
797 LoopExitBlocks(LEB), LoopInsertPts(LIP), PredCache(PIC), AST(ast),
831 AST.copyValue(LI, V);
833 void instructionDeleted(Instruction *I) const override { AST.deleteValue(I); }
947 assert(!Load->isVolatile() && "AST broken");
959 assert(!Store->isVolatile() && "AST broken");
1073 /// analysis such as cloneBasicBlockAnalysis. So the AST needs to be recompute
1083 // If the AST for this inner loop is missing it may have been merged into
1084 // some other loop's AST an
1130 AliasSetTracker *AST = LICM.getLoopToAliasSetMap().lookup(L); local
1140 AliasSetTracker *AST = LICM.getLoopToAliasSetMap().lookup(L); local
1150 AliasSetTracker *AST = LICM.getLoopToAliasSetMap().lookup(L); local
[all...]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp205 /// AST - An AliasSetTracker object to update. If null, don't update it.
207 AliasSetTracker *AST; member in struct:__anon18998::PromoteMem2Reg
248 : Allocas(A), DT(dt), DIB(0), AST(ast) {}
388 if (AST) PointerAllocaValues.resize(Allocas.size());
406 if (AST) AST->deleteValue(AI);
437 if (AST) AST->deleteValue(AI);
471 if (AST) AST
1132 PromoteMemToReg(const std::vector<AllocaInst*> &Allocas, DominatorTree &DT, AliasSetTracker *AST) argument
[all...]
/external/llvm/examples/Kaleidoscope/Chapter9/
H A Dtoy.cpp97 void emitLocation(ExprAST *AST);
830 void DebugInfo::emitLocation(ExprAST *AST) { argument
831 if (!AST)
839 DebugLoc::get(AST->getLine(), AST->getCol(), Scope));
/external/llvm/lib/Target/ARM/
H A DARMFrameLowering.cpp239 const ARMSubtarget &AST = local
241 const bool CanUseBFC = AST.hasV6T2Ops() || AST.hasV7Ops();
/external/guice/extensions/persist/lib/
H A Dantlr-2.7.5h3.jarMETA-INF/ META-INF/MANIFEST.MF antlr/ antlr/ActionElement.class ActionElement.java package antlr ...
/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/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 ...
/external/guice/extensions/struts2/lib/
H A Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse/jdt/core/ org/eclipse/jdt/core/compiler/ org/ ...
/external/icu/tools/srcgen/currysrc/libs/
H A Dorg.eclipse.jdt.core_3.11.0.v20150602-1242.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSE_.SF META-INF/ECLIPSE_.RSA META ...

Completed in 730 milliseconds

12