Home
last modified time | relevance | path

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

/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/llvm/include/llvm/Analysis/
DRegionInfo.h175 template <class T> inline T *getNodeAs() const;
890 RegionNodeBase<RegionTraits<Function>>::getNodeAs<BasicBlock>() const {
898 RegionNodeBase<RegionTraits<Function>>::getNodeAs<Region>() const {
911 return OS << Node.template getNodeAs<RegionT>()->getNameStr();
913 return OS << Node.template getNodeAs<BlockT>()->getName();
DRegionInfoImpl.h395 BlockT *BB = (*I)->template getNodeAs<BlockT>(); in addSubRegion()
547 const RegionT *SR = I->template getNodeAs<RegionT>(); in verifyBBMap()
550 BlockT *BB = I->template getNodeAs<BlockT>(); in verifyBBMap()
DRegionIterator.h82 return getNode()->template getNodeAs<RegionT>()->getExit(); in getRegionSucc()
/external/llvm/include/llvm/CodeGen/
DMachineRegionInfo.h123 inline MachineBasicBlock* RegionNodeBase<RegionTraits<MachineFunction>>::getNodeAs<MachineBasicBloc…
130 inline MachineRegion* RegionNodeBase<RegionTraits<MachineFunction>>::getNodeAs<MachineRegion>() con…
/external/clang/unittests/AST/
DNamedDeclPrinterTest.cpp41 const NamedDecl *ND = Result.Nodes.getNodeAs<NamedDecl>("id"); in run()
DMatchVerifier.h132 const NodeType *Node = Result.Nodes.getNodeAs<NodeType>(""); in run()
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp352 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops()
358 BasicBlock *BB = N->getNodeAs<BasicBlock>(); in analyzeLoops()
651 Region *SubRegion = Node->getNodeAs<Region>(); in changeExit()
685 BasicBlock *BB = Node->getNodeAs<BasicBlock>(); in changeExit()
/external/clang/include/clang/ASTMatchers/
DASTMatchFinder.h258 if (const NodeT *Node = N.getNodeAs<NodeT>(BoundTo)) in selectFirst()
DASTMatchers.h75 const T *getNodeAs(StringRef ID) const { in getNodeAs() function
76 return MyBoundNodes.getNodeAs<T>(ID); in getNodeAs()
83 return getNodeAs<T>(ID); in getDeclAs()
87 return getNodeAs<T>(ID); in getStmtAs()
DASTMatchersInternal.h78 const T *getNodeAs(StringRef ID) const { in getNodeAs() function
/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/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp115 return buildExtractionBlockSet(RN.getNodeAs<BasicBlock>()); in buildExtractionBlockSet()
117 const Region &R = *RN.getNodeAs<Region>(); in buildExtractionBlockSet()
/external/clang/unittests/ASTMatchers/
DASTMatchersTest.cpp770 if (Nodes->getNodeAs<T>(Id)) { in run()
772 if (const NamedDecl *Named = Nodes->getNodeAs<NamedDecl>(Id)) { in run()
775 Nodes->getNodeAs<NestedNameSpecifier>(Id)) { in run()
782 EXPECT_EQ(Nodes->getNodeAs<T>(Id), I->second.get<T>()); in run()
4129 const Stmt *Node = Nodes->getNodeAs<Stmt>("node"); in TEST()
4672 const T *Node = Nodes->getNodeAs<T>(Id); in run()
4723 const T *Node = Nodes->getNodeAs<T>(""); in run()
4749 const auto *Dec = Nodes.getNodeAs<FieldDecl>("decl"); in verify()