Lines Matching refs:Loop
37 class Loop {
39 Loop* parent() const { return parent_; } in parent()
40 const ZoneVector<Loop*>& children() const { return children_; } in children()
51 explicit Loop(Zone* zone) in Loop() function
59 Loop* parent_;
61 ZoneVector<Loop*> children_;
69 Loop* ContainingLoop(Node* node) { in ContainingLoop()
77 bool Contains(Loop* loop, Node* node) { in Contains()
78 for (Loop* c = ContainingLoop(node); c != nullptr; c = c->parent_) { in Contains()
85 const ZoneVector<Loop*>& outer_loops() const { return outer_loops_; } in outer_loops()
88 int LoopNum(Loop* loop) const { in LoopNum()
93 NodeRange HeaderNodes(Loop* loop) { in HeaderNodes()
99 Node* HeaderNode(Loop* loop);
102 NodeRange BodyNodes(Loop* loop) { in BodyNodes()
108 NodeRange ExitNodes(Loop* loop) { in ExitNodes()
114 NodeRange LoopNodes(Loop* loop) { in LoopNodes()
120 Node* GetLoopControl(Loop* loop) { in GetLoopControl()
133 Loop* NewLoop() { in NewLoop()
134 all_loops_.push_back(Loop(zone_)); in NewLoop()
135 Loop* result = &all_loops_.back(); in NewLoop()
139 void SetParent(Loop* parent, Loop* child) { in SetParent()
150 ZoneVector<Loop*> outer_loops_;
151 ZoneVector<Loop> all_loops_;