Lines Matching +defs:region +defs:end
30 assign(attributes.begin(), attributes.end());
154 assign(rhs.begin(), rhs.end());
176 operands(operands.begin(), operands.end()),
177 types(types.begin(), types.end()),
178 attributes(attributes.begin(), attributes.end()),
179 successors(successors.begin(), successors.end()) {
208 operands.append(newOperands.begin(), newOperands.end());
212 successors.append(newSuccessors.begin(), newSuccessors.end());
220 void OperationState::addRegion(std::unique_ptr<Region> &®ion) {
221 regions.push_back(std::move(region));
226 for (std::unique_ptr<Region> ®ion : regions)
227 addRegion(std::move(region));
299 // Shift all operands down if the operand to remove is not at the end.
302 std::rotate(indexIt, std::next(indexIt, length), operands.end());
317 // Shift all of the removed operands to the end, and destroy them.
358 std::uninitialized_move(origOperands.begin(), origOperands.end(),
409 std::accumulate(sizeData.begin(), sizeData.end(), 0));
539 MutableArrayRef<OpOperand>::iterator MutableOperandRange::end() const {
540 return owner->getOpOperands().slice(start, length).end();
586 return use_iterator(*this, /*end=*/true);
598 ResultRange::UseIterator::UseIterator(ResultRange results, bool end)
599 : it(end ? results.end() : results.begin()), endIt(results.end()) {
622 // first result (sentinel value used for end).
774 for (; lhsIt != lhsRange.end(); ++lhsIt, ++rhsIt) {
778 if (lhsIt == lhsRange.end())
791 auto lhsSorted = sortValues({lhsIt, lhsRange.end()});
792 auto rhsSorted = sortValues({rhsIt, rhsRange.end()});
930 for (Region ®ion : op->getRegions()) {
931 for (Block &block : region) {