[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment
[llvm-core.git] / bindings / go / llvm / transforms_coroutines.go
blobc18c3fe936c1ea50f0332c94de66c83eeba5e2be
1 //===- transforms_coroutines.go - Bindings for coroutines -----------------===//
2 //
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
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file defines bindings for the coroutines component.
11 //===----------------------------------------------------------------------===//
13 package llvm
16 #include "llvm-c/Transforms/Coroutines.h"
18 import "C"
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) }