Lines Matching refs:PostorderStack
199 Value *V, std::vector<std::pair<Value *, bool>> *PostorderStack, in appendsGenericAddressExpressionToPostorderStack() argument
206 PostorderStack->push_back(std::make_pair(V, false)); in appendsGenericAddressExpressionToPostorderStack()
215 std::vector<std::pair<Value*, bool>> PostorderStack; in collectGenericAddressExpressions() local
223 I.getOperand(0), &PostorderStack, &Visited); in collectGenericAddressExpressions()
226 I.getOperand(1), &PostorderStack, &Visited); in collectGenericAddressExpressions()
231 while (!PostorderStack.empty()) { in collectGenericAddressExpressions()
234 if (PostorderStack.back().second) { in collectGenericAddressExpressions()
235 Postorder.push_back(PostorderStack.back().first); in collectGenericAddressExpressions()
236 PostorderStack.pop_back(); in collectGenericAddressExpressions()
240 PostorderStack.back().second = true; in collectGenericAddressExpressions()
241 for (Value *PtrOperand : getPointerOperands(*PostorderStack.back().first)) { in collectGenericAddressExpressions()
243 PtrOperand, &PostorderStack, &Visited); in collectGenericAddressExpressions()