LLVM 24.0.0git
SPIRVAsmPrinter.h
Go to the documentation of this file.
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_SPIRV_SPIRVASMPRINTER_H
10#define LLVM_LIB_TARGET_SPIRV_SPIRVASMPRINTER_H
11
13#include "llvm/IR/Analysis.h"
14#include "llvm/IR/PassManager.h"
15
16namespace llvm {
17
19 : public RequiredPassInfoMixin<SPIRVAsmPrinterBeginPass> {
20public:
22};
23
24class SPIRVAsmPrinterPass : public RequiredPassInfoMixin<SPIRVAsmPrinterPass> {
25public:
28};
29
31 : public RequiredPassInfoMixin<SPIRVAsmPrinterEndPass> {
32public:
34};
35
36} // namespace llvm
37
38#endif // LLVM_LIB_TARGET_SPIRV_SPIRVASMPRINTER_H
This header defines various interfaces for pass management in LLVM.
ModuleAnalysisManager MAM
A Module instance is used to store all the information related to an LLVM module.
Definition Module.h:67
A set of analyses that are preserved following a run of a transformation pass.
Definition Analysis.h:112
PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM)
PreservedAnalyses run(Module &M, ModuleAnalysisManager &MAM)
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
Pass manager infrastructure for declaring and invalidating analyses.
This is an optimization pass for GlobalISel generic memory operations.
AnalysisManager< MachineFunction > MachineFunctionAnalysisManager
AnalysisManager< Module > ModuleAnalysisManager
Convenience typedef for the Module analysis manager.
Definition MIRParser.h:39
A CRTP mix-in for passes that should not be skipped.