Home
last modified time | relevance | path

Searched refs:getNodeAs (Results 1 – 25 of 35) sorted by relevance

12

/external/v8/tools/clang/blink_gc_plugin/
DBadPatternFinder.cpp45 auto* bad_use = result.Nodes.getNodeAs<clang::Expr>("bad"); in run()
46 auto* bad_function = result.Nodes.getNodeAs<clang::FunctionDecl>("badfunc"); in run()
47 auto* gc_type = result.Nodes.getNodeAs<clang::CXXRecordDecl>("gctype"); in run()
75 auto* bad_use = result.Nodes.getNodeAs<clang::Expr>("bad"); in run()
76 auto* optional = result.Nodes.getNodeAs<clang::CXXRecordDecl>("optional"); in run()
77 auto* gc_type = result.Nodes.getNodeAs<clang::CXXRecordDecl>("gctype"); in run()
/external/v8/tools/clang/traffic_annotation_extractor/
Dtraffic_annotation_extractor.cpp142 result.Nodes.getNodeAs<clang::CallExpr>("monitored_function")) { in run()
145 result.Nodes.getNodeAs<clang::CXXConstructExpr>( in run()
149 result.Nodes.getNodeAs<clang::MemberExpr>( in run()
168 result.Nodes.getNodeAs<clang::FunctionDecl>("function_context"); in GetInstanceLocation()
194 (result.Nodes.getNodeAs<clang::RecordDecl>("annotation") != nullptr); in AddFunction()
244 result.Nodes.getNodeAs<clang::StringLiteral>("unique_id"); in AddAnnotation()
246 result.Nodes.getNodeAs<clang::StringLiteral>("annotation_text"); in AddAnnotation()
248 result.Nodes.getNodeAs<clang::StringLiteral>("group_id"); in AddAnnotation()
250 result.Nodes.getNodeAs<clang::StringLiteral>("completing_id"); in AddAnnotation()
254 result.Nodes.getNodeAs<clang::CallExpr>("definition_function"))) { in AddAnnotation()
[all …]
/external/v8/tools/clang/empty_string/
DEmptyStringConverter.cpp112 result.Nodes.getNodeAs<clang::StringLiteral>("literal"); in run()
117 result.Nodes.getNodeAs<clang::CXXConstructExpr>("call"); in run()
126 result.Nodes.getNodeAs<clang::StringLiteral>("literal"); in run()
131 result.Nodes.getNodeAs<clang::CXXConstructExpr>("call"); in run()
138 result.Nodes.getNodeAs<clang::StringLiteral>("literal"); in run()
143 result.Nodes.getNodeAs<clang::CXXConstructExpr>("call"); in run()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DRegionPrinter.cpp44 BasicBlock *BB = Node->getNodeAs<BasicBlock>(); in getNodeLabel()
82 BasicBlock *srcBB = srcNode->getNodeAs<BasicBlock>(); in getEdgeAttributes()
83 BasicBlock *destBB = destNode->getNodeAs<BasicBlock>(); in getEdgeAttributes()
126 BasicBlock *BB = (*BI)->getNodeAs<BasicBlock>(); in printRegionCluster()
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DRegionInfo.h116 inline T* getNodeAs() const;
131 inline BasicBlock* RegionNode::getNodeAs<BasicBlock>() const {
137 inline Region* RegionNode::getNodeAs<Region>() const {
682 return OS << Node.getNodeAs<Region>()->getNameStr();
684 return OS << Node.getNodeAs<BasicBlock>()->getNameStr();
/external/v8/tools/clang/base_bind_rewriters/
DBaseBindRewriters.cpp78 auto* target = result.Nodes.getNodeAs<CallExpr>("target"); in run()
169 auto* target = result.Nodes.getNodeAs<clang::CallExpr>("target"); in run()
206 auto* target = result.Nodes.getNodeAs<clang::ParmVarDecl>("target"); in run()
404 auto* target = result.Nodes.getNodeAs<clang::DeclRefExpr>("target"); in run()
422 if (auto* ctor = result.Nodes.getNodeAs<LambdaExpr>("enclosing_ctor")) in run()
425 result.Nodes.getNodeAs<FunctionDecl>("enclosing_func")) in run()
428 result.Nodes.getNodeAs<LambdaExpr>("enclosing_lambda")) in run()
620 auto* target = result.Nodes.getNodeAs<clang::CallExpr>("target"); in run()
/external/v8/tools/clang/rewrite_scoped_refptr/
DRewriteScopedRefptr.cpp168 const clang::Expr* arg = result.Nodes.getNodeAs<clang::Expr>("arg"); in run()
187 result.Nodes.getNodeAs<clang::DeclaratorDecl>("var"); in run()
221 result.Nodes.getNodeAs<clang::FunctionDecl>("fn"); in run()
229 result.Nodes.getNodeAs<clang::VarDecl>("var"); in run()
253 const clang::Expr* const expr = result.Nodes.getNodeAs<clang::Expr>("expr"); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DRegionPrinter.cpp47 BasicBlock *BB = Node->getNodeAs<BasicBlock>(); in getNodeLabel()
83 BasicBlock *srcBB = srcNode->getNodeAs<BasicBlock>(); in getEdgeAttributes()
84 BasicBlock *destBB = destNode->getNodeAs<BasicBlock>(); in getEdgeAttributes()
/external/llvm/lib/Analysis/
DRegionPrinter.cpp47 BasicBlock *BB = Node->getNodeAs<BasicBlock>(); in getNodeLabel()
83 BasicBlock *srcBB = srcNode->getNodeAs<BasicBlock>(); in getEdgeAttributes()
84 BasicBlock *destBB = destNode->getNodeAs<BasicBlock>(); in getEdgeAttributes()
/external/v8/tools/clang/pass_to_move/
DPassToMove.cpp43 result.Nodes.getNodeAs<clang::CXXMemberCallExpr>("expr"); in run()
47 const clang::Expr* arg = result.Nodes.getNodeAs<clang::Expr>("arg"); in run()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.h327 if (Nodes->getNodeAs<T>(Id)) { in run()
329 if (const NamedDecl *Named = Nodes->getNodeAs<NamedDecl>(Id)) { in run()
332 Nodes->getNodeAs<NestedNameSpecifier>(Id)) { in run()
339 EXPECT_EQ(Nodes->getNodeAs<T>(Id), I->second.get<T>()); in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp310 Region *SubRegion = RN->getNodeAs<Region>(); in getAdjustedLoop()
320 Region *SubR = RN->getNodeAs<Region>(); in getAdjustedLoopDepth()
382 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops()
388 BasicBlock *BB = N->getNodeAs<BasicBlock>(); in analyzeLoops()
656 Region *SubRegion = Node->getNodeAs<Region>(); in changeExit()
689 BasicBlock *BB = Node->getNodeAs<BasicBlock>(); in changeExit()
938 for (auto BB : E->getNodeAs<Region>()->blocks()) { in hasOnlyUniformBranches()
/external/llvm/include/llvm/Analysis/
DRegionInfo.h176 template <class T> inline T *getNodeAs() const;
953 RegionNodeBase<RegionTraits<Function>>::getNodeAs<BasicBlock>() const {
961 RegionNodeBase<RegionTraits<Function>>::getNodeAs<Region>() const {
974 return OS << Node.template getNodeAs<RegionT>()->getNameStr();
976 return OS << Node.template getNodeAs<BlockT>()->getName();
DRegionInfoImpl.h394 BlockT *BB = (*I)->template getNodeAs<BlockT>(); in addSubRegion()
546 const RegionT *SR = I->template getNodeAs<RegionT>(); in verifyBBMap()
549 BlockT *BB = I->template getNodeAs<BlockT>(); in verifyBBMap()
/external/llvm/include/llvm/CodeGen/
DMachineRegionInfo.h123 inline MachineBasicBlock* RegionNodeBase<RegionTraits<MachineFunction>>::getNodeAs<MachineBasicBloc…
130 inline MachineRegion* RegionNodeBase<RegionTraits<MachineFunction>>::getNodeAs<MachineRegion>() con…
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineRegionInfo.h113 RegionNodeBase<RegionTraits<MachineFunction>>::getNodeAs<MachineBasicBlock>()
122 RegionNodeBase<RegionTraits<MachineFunction>>::getNodeAs<MachineRegion>()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DRegionInfo.h184 template <class T> inline T *getNodeAs() const;
1001 RegionNodeBase<RegionTraits<Function>>::getNodeAs<BasicBlock>() const {
1009 RegionNodeBase<RegionTraits<Function>>::getNodeAs<Region>() const {
1022 return OS << Node.template getNodeAs<RegionT>()->getNameStr();
1024 return OS << Node.template getNodeAs<BlockT>()->getName();
DRegionInfoImpl.h413 BlockT *BB = Element->template getNodeAs<BlockT>(); in addSubRegion()
556 const RegionT *SR = Element->template getNodeAs<RegionT>(); in verifyBBMap()
559 BlockT *BB = Element->template getNodeAs<BlockT>(); in verifyBBMap()
/external/clang/unittests/Analysis/
DCFGTest.cpp36 const auto *Func = Result.Nodes.getNodeAs<FunctionDecl>("func"); in TEST()
/external/v8/tools/clang/value_cleanup/
DValueRewriter.cpp21 auto* callExpr = result.Nodes.getNodeAs<clang::CXXMemberCallExpr>(method()); in run()
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp362 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops()
368 BasicBlock *BB = N->getNodeAs<BasicBlock>(); in analyzeLoops()
657 Region *SubRegion = Node->getNodeAs<Region>(); in changeExit()
691 BasicBlock *BB = Node->getNodeAs<BasicBlock>(); in changeExit()
/external/clang/unittests/AST/
DNamedDeclPrinterTest.cpp41 const NamedDecl *ND = Result.Nodes.getNodeAs<NamedDecl>("id"); in run()
DMatchVerifier.h151 const NodeType *Node = Result.Nodes.getNodeAs<NodeType>(""); in run()
/external/clang/docs/
DLibASTMatchersTutorial.rst283 if (const ForStmt *FS = Result.Nodes.getNodeAs<clang::ForStmt>("forLoop"))
467 using the ``getNodeAs()`` member function.
503 const VarDecl *IncVar = Result.Nodes.getNodeAs<VarDecl>("incVarName");
504 const VarDecl *CondVar = Result.Nodes.getNodeAs<VarDecl>("condVarName");
505 const VarDecl *InitVar = Result.Nodes.getNodeAs<VarDecl>("initVarName");
/external/clang/include/clang/ASTMatchers/
DASTMatchFinder.h263 if (const NodeT *Node = N.getNodeAs<NodeT>(BoundTo)) in selectFirst()

12