Home | History | Annotate | Download | only in opt

Lines Matching defs:operands_

181   iterator begin() { return operands_.begin(); }
182 iterator end() { return operands_.end(); }
183 const_iterator begin() const { return operands_.cbegin(); }
184 const_iterator end() const { return operands_.cend(); }
186 const_iterator cbegin() const { return operands_.cbegin(); }
187 const_iterator cend() const { return operands_.cend(); }
191 return static_cast<uint32_t>(operands_.size());
223 operands_.erase(operands_.begin() + index);
228 return static_cast<uint32_t>(operands_.size() - TypeResultIdCount());
241 operands_.erase(operands_.begin() + index + TypeResultIdCount());
462 OperandList operands_;
492 assert(index < operands_.size() && "operand index out of bound");
493 return operands_[index];
497 assert(index < operands_.size() && "operand index out of bound");
498 return operands_[index];
502 operands_.push_back(std::move(operand));
512 assert(index < operands_.size() && "operand index out of bound");
514 operands_[index].words = std::move(data);
519 operands_.erase(operands_.begin() + TypeResultIdCount(), operands_.end());
521 operands_.insert(operands_.end(), new_operands.begin(), new_operands.end());
526 // previously. Need to make room in the operands_ array to place the result,
531 // if there was a result id previously to remove it from the operands_ array
536 operands_[ridx].words = {res_id};
541 // previously. Need to make room in the operands_ array to place the result,
546 // if there was a type id previously to remove it from the operands_ array
550 operands_.front().words = {ty_id};
555 operands_.empty();
562 operands_.clear();
608 for (auto& opnd : operands_)
614 for (const auto& opnd : operands_)
620 for (auto& opnd : operands_) {
630 for (const auto& opnd : operands_) {
655 for (auto& opnd : operands_) {
670 for (const auto& opnd : operands_) {