Lines Matching refs:NodeStack
2189 /// NodeStack - The node stack when the scope was formed.
2190 SmallVector<SDValue, 4> NodeStack;
2251 SmallVector<SDValue, 8> NodeStack;
2253 NodeStack.push_back(N);
2378 NewEntry.NodeStack.append(NodeStack.begin(), NodeStack.end());
2391 if (NodeStack.size() > 1)
2392 Parent = NodeStack[NodeStack.size()-2].getNode();
2425 NodeStack.push_back(N);
2430 // Pop the current node off the NodeStack.
2431 NodeStack.pop_back();
2432 assert(!NodeStack.empty() && "Node stack imbalance!");
2433 N = NodeStack.back();
2552 assert(NodeStack.size() != 1 && "No parent node");
2556 for (unsigned i = 1, e = NodeStack.size()-1; i != e; ++i)
2557 if (!NodeStack[i].hasOneUse()) {
2565 if (!IsProfitableToFold(N, NodeStack[NodeStack.size()-2].getNode(),
2567 !IsLegalToFold(N, NodeStack[NodeStack.size()-2].getNode(),
2956 NodeStack.clear();
2957 NodeStack.append(LastScope.NodeStack.begin(), LastScope.NodeStack.end());
2958 N = NodeStack.back();