Lines Matching refs:bundle_iterator
141 /// bundle_iterator - MachineBasicBlock iterator that automatically skips over
144 class bundle_iterator
149 bundle_iterator(IterTy mii) : MII(mii) {}
151 bundle_iterator(Ty &mi) : MII(mi) {
153 "It's not legal to initialize bundle_iterator with a bundled MI");
155 bundle_iterator(Ty *mi) : MII(mi) {
157 "It's not legal to initialize bundle_iterator with a bundled MI");
161 bundle_iterator(const bundle_iterator<OtherTy, OtherIterTy> &I)
163 bundle_iterator() : MII(nullptr) {}
170 bool operator==(const bundle_iterator &x) const {
173 bool operator!=(const bundle_iterator &x) const {
178 bundle_iterator &operator--() { // predecrement - Back up
183 bundle_iterator &operator++() { // preincrement - Advance
189 bundle_iterator operator--(int) { // postdecrement operators...
190 bundle_iterator tmp = *this;
194 bundle_iterator operator++(int) { // postincrement operators...
195 bundle_iterator tmp = *this;
212 bundle_iterator<MachineInstr,instr_iterator> iterator;
214 bundle_iterator<const MachineInstr,const_instr_iterator> const_iterator;