| 1 | /*========================== begin_copyright_notice ============================ |
| 2 | |
| 3 | Copyright (C) 2017-2021 Intel Corporation |
| 4 | |
| 5 | SPDX-License-Identifier: MIT |
| 6 | |
| 7 | ============================= end_copyright_notice ===========================*/ |
| 8 | |
| 9 | #ifndef _OPENCL_KERNELFUNCTIONCLONING_H_ |
| 10 | #define _OPENCL_KERNELFUNCTIONCLONING_H_ |
| 11 | |
| 12 | #include "common/LLVMWarningsPush.hpp" |
| 13 | #include <llvm/Pass.h> |
| 14 | #include <llvm/PassRegistry.h> |
| 15 | #include "common/LLVMWarningsPop.hpp" |
| 16 | |
| 17 | namespace IGC { |
| 18 | |
| 19 | void initializeKernelFunctionCloningPass(llvm::PassRegistry &); |
| 20 | llvm::ModulePass *createKernelFunctionCloningPass(); |
| 21 | |
| 22 | } // namespace IGC |
| 23 | |
| 24 | #endif // _OPENCL_KERNELFUNCTIONCLONING_H_ |