Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 1 | //===- PreISelIntrinsicLowering.h - Pre-ISel intrinsic lowering pass ------===// |
| 2 | // |
Andrew Walbran | 16937d0 | 2019-10-22 13:54:20 +0100 | [diff] [blame] | 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 |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | // |
Andrew Walbran | 16937d0 | 2019-10-22 13:54:20 +0100 | [diff] [blame] | 9 | // This pass implements IR lowering for the llvm.load.relative and llvm.objc.* |
| 10 | // intrinsics. |
Andrew Scull | 5e1ddfa | 2018-08-14 10:06:54 +0100 | [diff] [blame] | 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | #ifndef LLVM_CODEGEN_PREISELINTRINSICLOWERING_H |
| 14 | #define LLVM_CODEGEN_PREISELINTRINSICLOWERING_H |
| 15 | |
| 16 | #include "llvm/IR/PassManager.h" |
| 17 | |
| 18 | namespace llvm { |
| 19 | |
| 20 | class Module; |
| 21 | |
| 22 | struct PreISelIntrinsicLoweringPass |
| 23 | : PassInfoMixin<PreISelIntrinsicLoweringPass> { |
| 24 | PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM); |
| 25 | }; |
| 26 | |
| 27 | } // end namespace llvm |
| 28 | |
| 29 | #endif // LLVM_CODEGEN_PREISELINTRINSICLOWERING_H |