Searched refs:IsRemovable (Results 1 – 6 of 6) sorted by relevance
38 if (comp->IsRemovable(instruction) && in Run()
52 computation->IsRemovable(instruction) && in Run()
45 if (!conditional->parent()->IsRemovable(conditional) || in TryRemoveConditional()
195 bool HloComputation::IsRemovable(const HloInstruction* instruction) { in IsRemovable() function in xla::HloComputation226 TF_RET_CHECK(IsRemovable(instruction)) in RemoveInstructionAndUnusedOperands()236 item == root_instruction() || !IsRemovable(item) || in RemoveInstructionAndUnusedOperands()253 TF_RET_CHECK(IsRemovable(instruction)) in RemoveInstruction()
379 bool IsRemovable(const HloInstruction* instruction);
49 if (!while_op->parent()->IsRemovable(while_op) || while_op->HasSideEffect()) { in TryRemoveDeadWhileParams()468 if (!while_op->parent()->IsRemovable(while_op) || while_op->HasSideEffect()) { in TryRemoveWhileLoop()