/external/syzkaller/vendor/github.com/ianlancetaylor/demangle/ |
D | ast.go | 15 type AST interface { interface 21 Traverse(func(AST) bool) 28 Copy(copy func(AST) AST, skip func(AST) bool) AST argument 36 func ASTToString(a AST, options ...Option) string { argument 60 inner []AST 65 printing []AST 83 func (ps *printState) print(a AST) { 116 func (n *Name) Traverse(fn func(AST) bool) { 120 func (n *Name) Copy(fn func(AST) AST, skip func(AST) bool) AST { 137 Name AST [all …]
|
D | demangle.go | 66 func ToAST(name string, options ...Option) (AST, error) { 93 func globalCDtorName(name string, options ...Option) (AST, error) { 129 func doDemangle(name string, options ...Option) (ret AST, err error) { 255 func (st *state) encoding(params bool) AST { 342 func hasReturnType(a AST) bool { argument 357 func isCDtorConversion(a AST) bool { argument 369 func (st *state) taggedName(a AST) AST { 388 func (st *state) name() AST { 408 var a AST 464 func (st *state) nestedName() AST { [all …]
|
/external/clang/lib/Frontend/ |
D | ASTUnit.cpp | 646 ASTUnit &AST, bool CaptureDiagnostics) { in ConfigureDiags() argument 649 Diags->setClient(new StoredDiagnosticConsumer(AST.StoredDiagnostics)); in ConfigureDiags() 659 std::unique_ptr<ASTUnit> AST(new ASTUnit(true)); in LoadFromASTFile() local 663 ASTUnitCleanup(AST.get()); in LoadFromASTFile() 668 ConfigureDiags(Diags, *AST, CaptureDiagnostics); in LoadFromASTFile() 670 AST->OnlyLocalDecls = OnlyLocalDecls; in LoadFromASTFile() 671 AST->CaptureDiagnostics = CaptureDiagnostics; in LoadFromASTFile() 672 AST->Diagnostics = Diags; in LoadFromASTFile() 674 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile() 675 AST->UserFilesAreVolatile = UserFilesAreVolatile; in LoadFromASTFile() [all …]
|
/external/deqp-deps/glslang/Test/ |
D | dce.frag | 10 ++c; // should still show up in AST 14 flag ? ++c : ++c; // both should still show up in AST 20 ++c; // should still show up in AST 23 ++c; // should still show up in AST 29 ++c; // should still show up in AST 34 ++c; // should still show up in AST 37 ++c; // should still show up in AST 43 ++c; // should still show up in AST 46 int foo() // not called, but should still show up in AST 50 ++c; // should still show up in AST [all …]
|
/external/clang/docs/ |
D | IntroductionToTheClangAST.rst | 2 Introduction to the Clang AST 6 AST. It is targeted at developers who either want to contribute to 7 Clang, or use tools that work based on Clang's AST, like the AST 19 Clang's AST is different from ASTs produced by some other compilers in 22 constants are available in an unreduced form in the AST. This makes 23 Clang's AST a good fit for refactoring tools. 25 Documentation for all Clang AST nodes is available via the generated 28 make a search for clang and the AST node's class name usually turn up 32 Examining the AST 35 A good way to familarize yourself with the Clang AST is to actually look [all …]
|
D | PCHInternals.rst | 60 headers to save a serialized AST file (one per module) and use those AST 65 AST file format required for modules are discussed in the section on 68 Clang's AST files are designed with a compact on-disk representation, which 69 minimizes both creation time and the time required to initially load the AST 70 file. The AST file itself contains a serialized representation of Clang's 75 Clang's AST files are loaded "lazily" from disk. When an AST file is initially 76 loaded, Clang reads only a small amount of data from the AST file to establish 78 this initial load is independent of the size of the AST file, such that a 79 larger AST file does not lead to longer AST load times. The actual header data 80 in the AST file --- macros, functions, variables, types, etc. --- is loaded [all …]
|
D | LibASTMatchers.rst | 2 Matching the Clang AST 6 nodes of the AST and execute code that uses the matched nodes. Combined with 10 We assume basic knowledge about the Clang AST. See the :doc:`Introduction 11 to the Clang AST <IntroductionToTheClangAST>` if you want to learn more 12 about how the AST is structured. 20 Clang's AST. This DSL is written in and can be used from C++, allowing users 21 to write a single program to both match AST nodes and access the node's C++ 23 provided on the AST level. 25 AST matchers are predicates on nodes in the AST. Matchers are created by 30 in the AST of a translation unit, you can call `recordDecl() [all …]
|
D | RAVFrontendAction.rst | 9 a RecursiveASTVisitor to find CXXRecordDecl AST nodes with a specified 18 actions as part of the compilation. To run tools over the AST clang 38 ASTConsumer is an interface used to write generic actions on an AST, 39 regardless of how the AST was produced. ASTConsumer provides many 50 // will visit all nodes in the AST. 62 RecursiveASTVisitor to extract the relevant information from the AST. 65 VisitNodeType(NodeType \*) for most AST nodes; the exception are TypeLoc 78 // For debugging, dumping the AST nodes will show which nodes are already 83 // Return false to stop the traversal of the AST. 89 of the Clang AST to drill through to the parts that are interesting for [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | AliasSetTracker.h | 106 AliasSet *getAliasSet(AliasSetTracker &AST) { in getAliasSet() argument 110 AS = OldAS->getForwardedTarget(AST); in getAliasSet() 112 OldAS->dropRef(AST); in getAliasSet() 185 void dropRef(AliasSetTracker &AST) { in dropRef() argument 188 removeFromTracker(AST); in dropRef() 214 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST); 276 AliasSet *getForwardedTarget(AliasSetTracker &AST) { in getForwardedTarget() argument 279 AliasSet *Dest = Forward->getForwardedTarget(AST); in getForwardedTarget() 282 Forward->dropRef(AST); in getForwardedTarget() 288 void removeFromTracker(AliasSetTracker &AST); [all …]
|
/external/clang/ |
D | Android.bp | 84 "clang/AST/AttrDump.inc", 85 "clang/AST/AttrImpl.inc", 86 "clang/AST/Attrs.inc", 87 "clang/AST/AttrVisitor.inc", 109 in: "include/clang/AST/CommentCommands.td", 111 "clang/AST/CommentCommandInfo.inc", 112 "clang/AST/CommentCommandList.inc", 118 in: "include/clang/AST/CommentHTMLNamedCharacterReferences.td", 119 outs: ["clang/AST/CommentHTMLNamedCharacterReferences.inc"], 124 in: "include/clang/AST/CommentHTMLTags.td", [all …]
|
/external/llvm/include/llvm/Analysis/ |
D | AliasSetTracker.h | 91 AliasSet *getAliasSet(AliasSetTracker &AST) { in getAliasSet() argument 95 AS = OldAS->getForwardedTarget(AST); in getAliasSet() 97 OldAS->dropRef(AST); in getAliasSet() 157 void dropRef(AliasSetTracker &AST) { in dropRef() argument 160 removeFromTracker(AST); in dropRef() 183 void mergeSetIn(AliasSet &AS, AliasSetTracker &AST); 247 AliasSet *getForwardedTarget(AliasSetTracker &AST) { 250 AliasSet *Dest = Forward->getForwardedTarget(AST); 253 Forward->dropRef(AST); 259 void removeFromTracker(AliasSetTracker &AST); [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | AliasSetTracker.h | 83 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/ |
D | PromoteMemoryToRegister.cpp | 229 AliasSetTracker *AST; member 272 AliasSetTracker *AST, AssumptionCache *AC) in PromoteMem2Reg() 275 AST(AST), AC(AC) {} in PromoteMem2Reg() 339 AliasSetTracker *AST) { in rewriteSingleStoreAlloca() argument 391 if (AST && LI->getType()->isPointerTy()) in rewriteSingleStoreAlloca() 392 AST->deleteValue(LI); in rewriteSingleStoreAlloca() 413 if (AST) in rewriteSingleStoreAlloca() 414 AST->deleteValue(AI); in rewriteSingleStoreAlloca() 438 AliasSetTracker *AST) { in promoteSingleBlockAlloca() argument 484 if (AST && LI->getType()->isPointerTy()) in promoteSingleBlockAlloca() [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | AST.stg | 29 /* AST parserHeaderFile.memVars */ 32 <@super.memVars()> /* AST super.memVars */ 33 <parserMemVars()> /* AST parserMemVars */ 37 /* AST parserHeaderFile.properties */ 38 <@super.properties()> /* AST super.properties */ 39 <parserProperties()> /* AST parserproperties */ 43 /* AST parserHeaderFile.methodsDecl */ 44 <@super.methodsDecl()> /* AST super.methodsDecl */ 45 <parserMethodsDecl()> /* AST parsermethodsDecl */ 49 /* AST genericParser.synthesize */ [all …]
|
/external/clang/include/clang/ |
D | module.modulemap | 12 umbrella "AST" 14 textual header "AST/BuiltinTypes.def" 15 textual header "AST/OperationKinds.def" 16 textual header "AST/TypeLocNodes.def" 17 textual header "AST/TypeNodes.def" 64 module AST { header "AST/ASTDiagnostic.h" export * } 65 module Comment { header "AST/CommentDiagnostic.h" export * } 134 // FIXME: Exclude this header to avoid pulling all of the AST matchers 136 // importing the AST matchers library gives a link dependency on the AST 137 // matchers (and thus the AST), which clang-format should not have.
|
/external/antlr/runtime/ObjC/Framework/examples/treeparser/ |
D | LangParser.m | 46 /* AST returnScope.synthesize */ 59 /* AST returnScope.methods */ 84 /* AST returnScope.synthesize */ 97 /* AST returnScope.methods */ 122 /* AST returnScope.synthesize */ 135 /* AST returnScope.methods */ 171 /* AST genericParser.synthesize */ 172 /* AST parserProperties */ 199 /* AST genericParser.init */ 207 /* AST genericParser.dealloc */ [all …]
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/ |
D | ReplaceIcuTags.java | 22 import org.eclipse.jdt.core.dom.AST; 38 AST ast = tag.getAST(); in visitTagElement() 83 private static TagElement createIcuEnhancementText(AST ast, IDocElement fragment) { in createIcuEnhancementText() 89 private static TagElement createIcuUsageText(AST ast) { in createIcuUsageText() 96 private static TagElement createIcuNoteText(AST ast) { in createIcuNoteText() 100 private static TagElement createIcuMarker(AST ast) { in createIcuMarker() 104 private static TagElement createDiscouragedText(AST ast, List<IDocElement> fragments) { in createDiscouragedText()
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | ASTParser.stg | 18 // TOKEN AST STUFF 20 /** ID and output=AST */ 29 /** ID! and output=AST (same as plain tokenRef) */ 32 /** ID^ and output=AST */ 41 /** ids+=ID! and output=AST */ 47 /** label+=TOKEN when output=AST but not rewrite alt */ 53 /** Match label+=TOKEN^ when output=AST but not rewrite alt */ 59 // SET AST 92 // RULE REF AST 94 /** rule when output=AST */ [all …]
|
/external/antlr/runtime/ObjC/Framework/examples/treerewrite/ |
D | TreeRewriteParser.m | 44 /* AST returnScope.synthesize */ 57 /* AST returnScope.methods */ 82 /* AST returnScope.synthesize */ 95 /* AST returnScope.methods */ 131 /* AST genericParser.synthesize */ 132 /* AST parserProperties */ 158 /* AST genericParser.init */ 166 /* AST genericParser.dealloc */ 175 /* AST genericParser.methods */ 176 /* AST parserMethods */ [all …]
|
/external/clang/include/clang/Basic/ |
D | DiagnosticSerializationKinds.td | 11 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 " 59 "%select{PCH|module|AST}0 file '%1' not found%select{|: %3}2">, DefaultFatal; 61 "%select{PCH|module|AST}0 file '%1' is out of date and " 64 "file '%1' is not a valid precompiled %select{PCH|module|AST}0 file">, DefaultFatal; 68 "AST file '%0' was not built as a module">, DefaultFatal; 71 "module '%0' in AST file '%1' (imported by AST file '%2') " 75 "module '%0' imported by AST file '%1' found in a different module map file" [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | AliasSetTracker.cpp | 50 void AliasSet::mergeSetIn(AliasSet &AS, AliasSetTracker &AST) { in mergeSetIn() argument 64 AliasAnalysis &AA = AST.getAliasAnalysis(); in mergeSetIn() 77 AST.TotalMayAliasSetSize += size(); in mergeSetIn() 79 AST.TotalMayAliasSetSize += AS.size(); in mergeSetIn() 109 AS.dropRef(AST); in mergeSetIn() 124 void AliasSet::removeFromTracker(AliasSetTracker &AST) { in removeFromTracker() argument 126 AST.removeAliasSet(this); in removeFromTracker() 129 void AliasSet::addPointer(AliasSetTracker &AST, PointerRec &Entry, in addPointer() argument 137 AliasAnalysis &AA = AST.getAliasAnalysis(); in addPointer() 143 AST.TotalMayAliasSetSize += size(); in addPointer() [all …]
|
/external/clang/unittests/ASTMatchers/ |
D | ASTMatchersInternalTest.cpp | 142 std::unique_ptr<ASTUnit> AST(tooling::buildASTFromCode("int x;")); in TEST() local 143 ASSERT_TRUE(AST.get()); in TEST() 144 Finder.matchAST(AST->getASTContext()); in TEST() 168 std::unique_ptr<ASTUnit> AST(tooling::buildASTFromCode("int x;")); in TEST() local 169 ASSERT_TRUE(AST.get()); in TEST() 170 Finder.matchAST(AST->getASTContext()); in TEST() 175 std::unique_ptr<ASTUnit> AST = in TEST() local 177 ASSERT_TRUE(AST.get()); in TEST() 179 "x", match(pointerType().bind("x"), AST->getASTContext())); in TEST()
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
D | ASTParser.stg | 56 // TOKEN AST STUFF 58 /** ID and output=AST */ 67 /** ID! and output=AST (same as plain tokenRef) */ 70 /** ID^ and output=AST */ 79 /** ids+=ID! and output=AST */ 85 /** label+=TOKEN when output=AST but not rewrite alt */ 91 /** Match label+=TOKEN^ when output=AST but not rewrite alt */ 97 // SET AST 130 // RULE REF AST 132 /** rule when output=AST */ [all …]
|
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/ |
D | ASTParser.stg | 56 // TOKEN AST STUFF 58 /** ID and output=AST */ 67 /** ID! and output=AST (same as plain tokenRef) */ 70 /** ID^ and output=AST */ 79 /** ids+=ID! and output=AST */ 85 /** label+=TOKEN when output=AST but not rewrite alt */ 91 /** Match label+=TOKEN^ when output=AST but not rewrite alt */ 97 // SET AST 130 // RULE REF AST 132 /** rule when output=AST */ [all …]
|
/external/tensorflow/tensorflow/python/autograph/pyct/ |
D | ast_util.py | 44 elif not isinstance(node, (gast.AST, ast.AST)): 49 assert isinstance(node, (gast.AST, ast.AST)) 179 elif isinstance(v, (gast.AST, ast.AST)): 286 if (not isinstance(n, (ast.AST, gast.AST, str)) or 287 not isinstance(o, (ast.AST, gast.AST, str)) or 313 elif isinstance(n_child, (gast.AST, ast.AST)):
|