1 //===- transforms_coroutines.go - Bindings for coroutines -----------------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // This file defines bindings for the coroutines component.
11 //===----------------------------------------------------------------------===//
16 #include "llvm-c/Transforms/Coroutines.h"
20 func (pm PassManager
) AddCoroEarlyPass() { C
.LLVMAddCoroEarlyPass(pm
.C
) }
21 func (pm PassManager
) AddCoroSplitPass() { C
.LLVMAddCoroSplitPass(pm
.C
) }
22 func (pm PassManager
) AddCoroElidePass() { C
.LLVMAddCoroElidePass(pm
.C
) }
23 func (pm PassManager
) AddCoroCleanupPass() { C
.LLVMAddCoroCleanupPass(pm
.C
) }