Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DRegionPrinter.cpp35 std::string DOTGraphTraits<RegionNode *>::getNodeLabel(RegionNode *Node, in getNodeLabel()
36 RegionNode *Graph) { in getNodeLabel()
50 struct DOTGraphTraits<RegionInfo *> : public DOTGraphTraits<RegionNode *> {
53 : DOTGraphTraits<RegionNode*>(isSimple) {} in DOTGraphTraits()
57 std::string getNodeLabel(RegionNode *Node, RegionInfo *G) { in getNodeLabel()
58 return DOTGraphTraits<RegionNode *>::getNodeLabel( in getNodeLabel()
59 Node, reinterpret_cast<RegionNode *>(G->getTopLevelRegion())); in getNodeLabel()
62 std::string getEdgeAttributes(RegionNode *srcNode, in getEdgeAttributes()
65 RegionNode *destNode = *CI; in getEdgeAttributes()
/llvm-project-15.0.7/polly/include/polly/
H A DScopGraphPrinter.h43 struct DOTGraphTraits<polly::ScopDetection *> : DOTGraphTraits<RegionNode *> {
45 : DOTGraphTraits<RegionNode *>(isSimple) {}
50 std::string getEdgeAttributes(RegionNode *srcNode,
54 std::string getNodeLabel(RegionNode *Node, polly::ScopDetection *SD) {
55 return DOTGraphTraits<RegionNode *>::getNodeLabel(
56 Node, reinterpret_cast<RegionNode *>(SD->getRI()->getTopLevelRegion()));
H A DScopBuilder.h762 void buildSchedule(RegionNode *RN, LoopStackTy &LoopStack);
H A DScopInfo.h57 using llvm::RegionNode;
2341 ArrayRef<ScopStmt *> getStmtListFor(RegionNode *RN) const;
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp94 using NodeRef = std::pair<RegionNode *, SmallDenseSet<RegionNode *> *>;
104 SmallDenseSet<RegionNode *> *Nodes;
247 SmallVector<RegionNode *, 8> Order;
261 RegionNode *PrevNode;
265 void analyzeLoops(RegionNode *N);
269 void gatherPredicates(RegionNode *N);
300 bool isPredictableTrue(RegionNode *Node);
376 SmallDenseSet<RegionNode *> Nodes; in INITIALIZE_PASS_DEPENDENCY()
525 for (RegionNode *RN : reverse(Order)) { in collectInfos()
871 RegionNode *Node = Order.back(); in handleLoops()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DRegionPrinter.h31 struct DOTGraphTraits<RegionNode *> : public DefaultDOTGraphTraits {
34 std::string getNodeLabel(RegionNode *Node, RegionNode *Graph);
H A DRegionIterator.h320 RegionNodeGraphTraits(RegionNode, BasicBlock, Region);
321 RegionNodeGraphTraits(const RegionNode, BasicBlock, Region);
323 RegionGraphTraits(Region, RegionNode);
324 RegionGraphTraits(const Region, const RegionNode);
327 : public GraphTraits<FlatIt<RegionNode*>> {
H A DRegionInfo.h68 class RegionNode; variable
89 using RegionNodeT = RegionNode;
879 class RegionNode : public RegionNodeBase<RegionTraits<Function>> {
881 inline RegionNode(Region *Parent, BasicBlock *Entry, bool isSubRegion = false)
885 return this == reinterpret_cast<const RegionNode *>(&RN);
895 bool operator==(const RegionNode &RN) const {
896 return &RN == reinterpret_cast<const RegionNode *>(this);
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopGraphPrinter.cpp35 RegionNode *srcNode, GraphTraits<RegionInfo *>::ChildIteratorType CI, in getEdgeAttributes()
37 RegionNode *destNode = *CI; in getEdgeAttributes()
H A DScopBuilder.cpp163 static inline BasicBlock *getRegionNodeBasicBlock(RegionNode *RN) { in getRegionNodeBasicBlock()
170 getRegionNodeSuccessor(RegionNode *RN, Instruction *TI, unsigned idx) { in getRegionNodeSuccessor()
178 static bool containsErrorBlock(RegionNode *RN, const Region &R, in containsErrorBlock()
1213 std::deque<RegionNode *> WorkList(RTraversal.begin(), RTraversal.end()); in buildSchedule()
1214 std::deque<RegionNode *> DelayList; in buildSchedule()
1225 RegionNode *RN; in buildSchedule()
1253 void ScopBuilder::buildSchedule(RegionNode *RN, LoopStackTy &LoopStack) { in buildSchedule()
H A DScopInfo.cpp2378 ArrayRef<ScopStmt *> Scop::getStmtListFor(RegionNode *RN) const { in getStmtListFor()
/llvm-project-15.0.7/polly/include/polly/Support/
H A DScopHelper.h31 class RegionNode; variable
426 unsigned getNumBlocksInRegionNode(llvm::RegionNode *RN);
429 llvm::Loop *getRegionNodeLoop(llvm::RegionNode *RN, llvm::LoopInfo &LI);
/llvm-project-15.0.7/polly/lib/Support/
H A DScopHelper.cpp462 unsigned polly::getNumBlocksInRegionNode(RegionNode *RN) { in getNumBlocksInRegionNode()
470 Loop *polly::getRegionNodeLoop(RegionNode *RN, LoopInfo &LI) { in getRegionNodeLoop()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp794 for (RegionNode *E : R->elements()) { in findScope()