| //===----------------------------------------------------------------------===// |
| // |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| // |
| //===----------------------------------------------------------------------===// |
| |
| #ifndef LLVM_LIB_TARGET_MSP430_MSP430ASMPRINTER_H |
| #define LLVM_LIB_TARGET_MSP430_MSP430ASMPRINTER_H |
| |
| #include "llvm/CodeGen/MachineFunctionAnalysisManager.h" |
| #include "llvm/IR/Analysis.h" |
| #include "llvm/IR/PassManager.h" |
| |
| namespace llvm { |
| |
| class MSP430AsmPrinterBeginPass |
| : public RequiredPassInfoMixin<MSP430AsmPrinterBeginPass> { |
| public: |
| PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM); |
| }; |
| |
| class MSP430AsmPrinterPass |
| : public RequiredPassInfoMixin<MSP430AsmPrinterPass> { |
| public: |
| PreservedAnalyses run(MachineFunction &MF, |
| MachineFunctionAnalysisManager &MFAM); |
| }; |
| |
| class MSP430AsmPrinterEndPass |
| : public RequiredPassInfoMixin<MSP430AsmPrinterEndPass> { |
| public: |
| PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM); |
| }; |
| |
| } // namespace llvm |
| |
| #endif // LLVM_LIB_TARGET_MSP430_MSP430ASMPRINTER_H |