Searched refs:old_terminator (Results 1 – 3 of 3) sorted by relevance
315 Operation* old_terminator = cluster.GetBody().getTerminator(); in UpdateClusterResults() local316 builder->setInsertionPoint(old_terminator); in UpdateClusterResults()317 builder->create<tf_device::ReturnOp>(old_terminator->getLoc(), in UpdateClusterResults()319 old_terminator->erase(); in UpdateClusterResults()
387 Operation* old_terminator = execute_region->front().getTerminator(); in ReplaceParallelExecute() local389 builder->create<tf_device::ReturnOp>(old_terminator->getLoc(), in ReplaceParallelExecute()391 old_terminator->erase(); in ReplaceParallelExecute()
134 auto old_terminator = block.getTerminator(); in AddTensorListSizesToTerminator() local135 auto new_outputs = llvm::to_vector<8>(old_terminator->getOperands()); in AddTensorListSizesToTerminator()138 for (auto retval : llvm::enumerate(old_terminator->getOperands())) { in AddTensorListSizesToTerminator()145 OpBuilder(old_terminator) in AddTensorListSizesToTerminator()146 .create<TerminatorOp>(old_terminator->getLoc(), new_outputs); in AddTensorListSizesToTerminator()147 old_terminator->erase(); in AddTensorListSizesToTerminator()