Fork channel

Create a new channel as a copy of main.

Rename channel

Rename main to:

Delete channel

Delete main? This cannot be undone.

basic.ll
; RUN: opt -S -passes=strip-dead-prototypes < %s | FileCheck %s

; CHECK: declare i32 @f
declare i32 @f()
; CHECK-NOT: declare i32 @g
declare i32 @g()

define i32 @foo() {
  %call = call i32 @f()
  ret i32 %call
}