Home | History | Annotate | Download | only in xla

Lines Matching refs:stack_

350           stack_.push_back({node_, child_index});
362 stack_(other.stack_),
369 while (!stack_.empty()) {
370 node_ = stack_.back().first;
371 int64 next_child_index = stack_.back().second - 1;
372 stack_.pop_back();
379 stack_.push_back({node_, next_child_index});
383 stack_.push_back({node_, child_index});
393 stack_.push_back({node_, /*child-index=*/0});
404 while (!stack_.empty()) {
405 node_ = stack_.back().first;
406 int64 next_child_index = stack_.back().second + 1;
407 stack_.pop_back();
409 stack_.push_back({node_, next_child_index});
445 for (auto& node_and_index : stack_) {
458 std::vector<std::pair<NodeType*, int64>> stack_;