Lines Matching refs:instruction_list
991 static void Add(HInstructionList* instruction_list,
999 instruction_list->AddInstruction(instruction);
1047 static void Remove(HInstructionList* instruction_list,
1053 instruction_list->RemoveInstruction(instruction);
2068 void HInstructionList::AddAfter(HInstruction* cursor, const HInstructionList& instruction_list) {
2070 if (!instruction_list.IsEmpty()) {
2072 last_instruction_ = instruction_list.last_instruction_;
2074 cursor->next_->previous_ = instruction_list.last_instruction_;
2076 instruction_list.last_instruction_->next_ = cursor->next_;
2077 cursor->next_ = instruction_list.first_instruction_;
2078 instruction_list.first_instruction_->previous_ = cursor;
2082 void HInstructionList::AddBefore(HInstruction* cursor, const HInstructionList& instruction_list) {
2084 if (!instruction_list.IsEmpty()) {
2086 first_instruction_ = instruction_list.first_instruction_;
2088 cursor->previous_->next_ = instruction_list.first_instruction_;
2090 instruction_list.last_instruction_->next_ = cursor;
2091 instruction_list.first_instruction_->previous_ = cursor->previous_;
2092 cursor->previous_ = instruction_list.last_instruction_;
2096 void HInstructionList::Add(const HInstructionList& instruction_list) {
2098 first_instruction_ = instruction_list.first_instruction_;
2099 last_instruction_ = instruction_list.last_instruction_;
2101 AddAfter(last_instruction_, instruction_list);