Searched refs:old_instr (Results 1 – 1 of 1) sorted by relevance
29 HloInstruction* old_instr, HloInstruction* new_instr, in ReplaceUsesWhileKeepingLoopInvariance() argument34 users.reserve(old_instr->user_count()); in ReplaceUsesWhileKeepingLoopInvariance()35 absl::c_copy(old_instr->users(), std::back_inserter(users)); in ReplaceUsesWhileKeepingLoopInvariance()39 if (user->operand(i) == old_instr && in ReplaceUsesWhileKeepingLoopInvariance()