Lines Matching refs:operands_

181   iterator begin() { return operands_.begin(); }  in begin()
182 iterator end() { return operands_.end(); } in end()
183 const_iterator begin() const { return operands_.cbegin(); } in begin()
184 const_iterator end() const { return operands_.cend(); } in end()
186 const_iterator cbegin() const { return operands_.cbegin(); } in cbegin()
187 const_iterator cend() const { return operands_.cend(); } in cend()
191 return static_cast<uint32_t>(operands_.size()); in NumOperands()
223 operands_.erase(operands_.begin() + index); in RemoveOperand()
228 return static_cast<uint32_t>(operands_.size() - TypeResultIdCount()); in NumInOperands()
241 operands_.erase(operands_.begin() + index + TypeResultIdCount()); in RemoveInOperand()
462 OperandList operands_; variable
492 assert(index < operands_.size() && "operand index out of bound"); in GetOperand()
493 return operands_[index]; in GetOperand()
497 assert(index < operands_.size() && "operand index out of bound"); in GetOperand()
498 return operands_[index]; in GetOperand()
502 operands_.push_back(std::move(operand)); in AddOperand()
512 assert(index < operands_.size() && "operand index out of bound"); in SetOperand()
514 operands_[index].words = std::move(data); in SetOperand()
519 operands_.erase(operands_.begin() + TypeResultIdCount(), operands_.end()); in SetInOperands()
521 operands_.insert(operands_.end(), new_operands.begin(), new_operands.end()); in SetInOperands()
536 operands_[ridx].words = {res_id}; in SetResultId()
550 operands_.front().words = {ty_id}; in SetResultType()
555 operands_.empty(); in IsNop()
562 operands_.clear(); in ToNop()
608 for (auto& opnd : operands_) in ForEachId()
614 for (const auto& opnd : operands_) in ForEachId()
620 for (auto& opnd : operands_) { in WhileEachInId()
630 for (const auto& opnd : operands_) { in WhileEachInId()
655 for (auto& opnd : operands_) { in WhileEachInOperand()
670 for (const auto& opnd : operands_) { in WhileEachInOperand()