Lines Matching refs:Roots
65 void findRoots(Function &F, SmallPtrSet<Instruction*,8> &Roots);
70 void walkBackwards(const SmallPtrSetImpl<Instruction*> &Roots);
77 SmallPtrSet<Instruction*,8> Roots;
127 void Float2Int::findRoots(Function &F, SmallPtrSet<Instruction*,8> &Roots) {
133 Roots.insert(&I);
138 Roots.insert(&I);
181 void Float2Int::walkBackwards(const SmallPtrSetImpl<Instruction*> &Roots) {
182 std::deque<Instruction*> Worklist(Roots.begin(), Roots.end());
375 if (Roots.count(I) == 0) {
499 if (Roots.count(I))
522 Roots.clear();
526 findRoots(F, Roots);
528 walkBackwards(Roots);