blob: d4a3807fc62a7f65ff840433a79286e55111d65f [file] [edit]
//===----------------------------------------------------------------------===//
//
// 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_RISCV_RISCVASMPRINTER_H
#define LLVM_LIB_TARGET_RISCV_RISCVASMPRINTER_H
#include "llvm/CodeGen/MachineFunctionAnalysisManager.h"
#include "llvm/IR/Analysis.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PassManager.h"
namespace llvm {
class RISCVAsmPrinterBeginPass
: public RequiredPassInfoMixin<RISCVAsmPrinterBeginPass> {
public:
PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM);
};
class RISCVAsmPrinterPass : public RequiredPassInfoMixin<RISCVAsmPrinterPass> {
public:
PreservedAnalyses run(MachineFunction &MF,
MachineFunctionAnalysisManager &MFAM);
};
class RISCVAsmPrinterEndPass
: public RequiredPassInfoMixin<RISCVAsmPrinterEndPass> {
public:
PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM);
};
} // namespace llvm
#endif // LLVM_LIB_TARGET_RISCV_RISCVASMPRINTER_H