Lines Matching refs:Roots
240 SmallVector<NodeT *, IsPostDom ? 4 : 1> Roots;
257 : Roots(std::move(Arg.Roots)),
267 Roots = std::move(RHS.Roots);
284 const SmallVectorImpl<NodeT *> &getRoots() const { return Roots; }
295 if (Roots.size() != Other.Roots.size())
298 if (!std::is_permutation(Roots.begin(), Roots.end(), Other.Roots.begin()))
439 assert(this->Roots.size() == 1 && "Should always have entry node!");
440 return this->Roots[0];
589 if (Roots.empty()) {
592 assert(Roots.size() == 1);
593 NodeT *OldRoot = Roots.front();
598 Roots[0] = BB;
642 auto RIt = llvm::find(Roots, BB);
643 if (RIt != Roots.end()) {
644 std::swap(*RIt, Roots.back());
645 Roots.pop_back();
672 O << "Roots: ";
673 for (const NodePtr Block : Roots) {
758 void addRoot(NodeT *BB) { this->Roots.push_back(BB); }
762 Roots.clear();