Lines Matching full:roots
68 void findRoots(Function &F, SmallPtrSet<Instruction*,8> &Roots);
73 void walkBackwards(const SmallPtrSetImpl<Instruction*> &Roots);
80 SmallPtrSet<Instruction*,8> Roots; member
130 // Find the roots - instructions that convert from the FP domain to
132 void Float2Int::findRoots(Function &F, SmallPtrSet<Instruction*,8> &Roots) { in findRoots() argument
140 Roots.insert(&I); in findRoots()
145 Roots.insert(&I); in findRoots()
179 // the roots. Populate "SeenInsts" with interesting
188 void Float2Int::walkBackwards(const SmallPtrSetImpl<Instruction*> &Roots) { in walkBackwards() argument
189 std::deque<Instruction*> Worklist(Roots.begin(), Roots.end()); in walkBackwards()
381 // Don't count the roots, as they terminate the graphs. in validateAndTransform()
382 if (Roots.count(I) == 0) { in validateAndTransform()
506 if (Roots.count(I)) in convert()
528 Roots.clear(); in runOnFunction()
532 findRoots(F, Roots); in runOnFunction()
534 walkBackwards(Roots); in runOnFunction()