1//===----------------------------------------------------------------------===//
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 LLVM_LIB_TARGET_MSP430_MSP430ASMPRINTER_H
10#define LLVM_LIB_TARGET_MSP430_MSP430ASMPRINTER_H
11
12#include "llvm/CodeGen/MachineFunctionAnalysisManager.h"
13#include "llvm/IR/Analysis.h"
14#include "llvm/IR/PassManager.h"
15
16namespace llvm {
17
18class MSP430AsmPrinterBeginPass
19 : public RequiredPassInfoMixin<MSP430AsmPrinterBeginPass> {
20public:
21 PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM);
22};
23
24class MSP430AsmPrinterPass
25 : public RequiredPassInfoMixin<MSP430AsmPrinterPass> {
26public:
27 PreservedAnalyses run(MachineFunction &MF,
28 MachineFunctionAnalysisManager &MFAM);
29};
30
31class MSP430AsmPrinterEndPass
32 : public RequiredPassInfoMixin<MSP430AsmPrinterEndPass> {
33public:
34 PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM);
35};
36
37} // namespace llvm
38
39#endif // LLVM_LIB_TARGET_MSP430_MSP430ASMPRINTER_H
40