Lines Matching refs:use

109     Use* use = use_ptr - 1 - current;  in New()  local
110 use->bit_field_ = Use::InputIndexField::encode(current) | in New()
112 to->AppendUse(use); in New()
147 Use* use = GetUsePtr(inline_count); in AppendInput() local
148 use->bit_field_ = Use::InputIndexField::encode(inline_count) | in AppendInput()
150 new_to->AppendUse(use); in AppendInput()
175 Use* use = GetUsePtr(input_count); in AppendInput() local
176 use->bit_field_ = Use::InputIndexField::encode(input_count) | in AppendInput()
178 new_to->AppendUse(use); in AppendInput()
241 for (const Use* use = first_use_; use; use = use->next) { in UseCount() local
254 for (Use* use = this->first_use_; use; use = use->next) { in ReplaceUses() local
255 *use->input_ptr() = that; in ReplaceUses()
256 last_use = use; in ReplaceUses()
270 for (Use* use = first_use_; use; use = use->next) { in OwnedBy() local
271 Node* from = use->from(); in OwnedBy()
303 void Node::AppendUse(Use* use) { in AppendUse() argument
305 DCHECK_EQ(this, *use->input_ptr()); in AppendUse()
306 use->next = first_use_; in AppendUse()
307 use->prev = nullptr; in AppendUse()
308 if (first_use_) first_use_->prev = use; in AppendUse()
309 first_use_ = use; in AppendUse()
313 void Node::RemoveUse(Use* use) { in RemoveUse() argument
315 if (use->prev) { in RemoveUse()
316 DCHECK_NE(first_use_, use); in RemoveUse()
317 use->prev->next = use->next; in RemoveUse()
319 DCHECK_EQ(first_use_, use); in RemoveUse()
320 first_use_ = use->next; in RemoveUse()
322 if (use->next) { in RemoveUse()
323 use->next->prev = use->prev; in RemoveUse()