Lines Matching refs:instruction_list
1164 static void Add(HInstructionList* instruction_list, in Add() argument
1172 instruction_list->AddInstruction(instruction); in Add()
1220 static void Remove(HInstructionList* instruction_list, in Remove() argument
1226 instruction_list->RemoveInstruction(instruction); in Remove()
2340 void HInstructionList::AddAfter(HInstruction* cursor, const HInstructionList& instruction_list) { in AddAfter() argument
2342 if (!instruction_list.IsEmpty()) { in AddAfter()
2344 last_instruction_ = instruction_list.last_instruction_; in AddAfter()
2346 cursor->next_->previous_ = instruction_list.last_instruction_; in AddAfter()
2348 instruction_list.last_instruction_->next_ = cursor->next_; in AddAfter()
2349 cursor->next_ = instruction_list.first_instruction_; in AddAfter()
2350 instruction_list.first_instruction_->previous_ = cursor; in AddAfter()
2354 void HInstructionList::AddBefore(HInstruction* cursor, const HInstructionList& instruction_list) { in AddBefore() argument
2356 if (!instruction_list.IsEmpty()) { in AddBefore()
2358 first_instruction_ = instruction_list.first_instruction_; in AddBefore()
2360 cursor->previous_->next_ = instruction_list.first_instruction_; in AddBefore()
2362 instruction_list.last_instruction_->next_ = cursor; in AddBefore()
2363 instruction_list.first_instruction_->previous_ = cursor->previous_; in AddBefore()
2364 cursor->previous_ = instruction_list.last_instruction_; in AddBefore()
2368 void HInstructionList::Add(const HInstructionList& instruction_list) { in Add() argument
2370 first_instruction_ = instruction_list.first_instruction_; in Add()
2371 last_instruction_ = instruction_list.last_instruction_; in Add()
2373 AddAfter(last_instruction_, instruction_list); in Add()