1//===-- NVPTXAsmPrinter.h - NVPTX LLVM assembly writer ----------*- C++ -*-===//
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_NVPTX_NVPTXASMPRINTER_H
10#define LLVM_LIB_TARGET_NVPTX_NVPTXASMPRINTER_H
11
12#include "llvm/CodeGen/MachineFunctionAnalysisManager.h"
13#include "llvm/IR/PassManager.h"
14
15namespace llvm {
16
17class NVPTXAsmPrinterBeginPass
18 : public RequiredPassInfoMixin<NVPTXAsmPrinterBeginPass> {
19public:
20 PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM);
21};
22
23class NVPTXAsmPrinterPass : public RequiredPassInfoMixin<NVPTXAsmPrinterPass> {
24public:
25 PreservedAnalyses run(MachineFunction &MF,
26 MachineFunctionAnalysisManager &MFAM);
27};
28
29class NVPTXAsmPrinterEndPass
30 : public RequiredPassInfoMixin<NVPTXAsmPrinterEndPass> {
31public:
32 PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM);
33};
34
35} // end namespace llvm
36
37#endif // LLVM_LIB_TARGET_NVPTX_NVPTXASMPRINTER_H
38