Searched refs:ToSimplify (Results 1 - 2 of 2) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInstSimplifyPass.cpp33 SmallPtrSet<const Instruction *, 8> S1, S2, *ToSimplify = &S1, *Next = &S2; local
45 // The first time through the loop, ToSimplify is empty and we try to
46 // simplify all instructions. On later iterations, ToSimplify is not
48 if (!ToSimplify->empty() && !ToSimplify->count(&I))
73 // into ToSimplify.
74 std::swap(ToSimplify, Next);
76 } while (!ToSimplify->empty());
H A DLoopInstSimplify.cpp63 SmallPtrSet<const Instruction *, 8> S1, S2, *ToSimplify = &S1, *Next = &S2; local
98 // empty `ToSimplify` set.
99 bool IsFirstIteration = ToSimplify->empty();
101 if (!IsFirstIteration && !ToSimplify->count(&I))
134 ToSimplify->insert(UserI);
168 std::swap(Next, ToSimplify);

Completed in 112 milliseconds