• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- AsyncToLLVM.h - Convert Async to LLVM dialect ------------*- C++ -*-===//
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 #ifndef MLIR_CONVERSION_ASYNCTOLLVM_ASYNCTOLLVM_H
10 #define MLIR_CONVERSION_ASYNCTOLLVM_ASYNCTOLLVM_H
11 
12 #include <memory>
13 
14 namespace mlir {
15 
16 class ModuleOp;
17 template <typename T>
18 class OperationPass;
19 
20 /// Create a pass to convert Async operations to the LLVM dialect.
21 std::unique_ptr<OperationPass<ModuleOp>> createConvertAsyncToLLVMPass();
22 
23 } // namespace mlir
24 
25 #endif // MLIR_CONVERSION_ASYNCTOLLVM_ASYNCTOLLVM_H
26