Lines Matching defs:ResultStack
676 struct ResultStack { struct
677 ResultStack(SDNode *Inp) in ResultStack() argument
679 SDNode *InpNode;
680 MVT InpTy;
681 unsigned push(const NodeTemplate &Res) { in push()
685 unsigned push(unsigned Opc, MVT Ty, std::vector<OpRef> &&Ops) { in push()
692 bool empty() const { return List.empty(); } in empty()
693 unsigned size() const { return List.size(); } in size()
694 unsigned top() const { return size()-1; } in top()
695 const NodeTemplate &operator[](unsigned I) const { return List[I]; } in operator []()
696 unsigned reset(unsigned NewTop) { in reset()
701 using BaseType = std::vector<NodeTemplate>;
702 BaseType::iterator begin() { return List.begin(); } in begin()
703 BaseType::iterator end() { return List.end(); } in end()
704 BaseType::const_iterator begin() const { return List.begin(); } in begin()
705 BaseType::const_iterator end() const { return List.end(); } in end()
707 BaseType List;