LLVM 19.0.0git
MachineVerifier.h
Go to the documentation of this file.
1//===- llvm/CodeGen/MachineVerifier.h - Machine Code Verifier ---*- 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_CODEGEN_MACHINEVERIFIER_H
10#define LLVM_CODEGEN_MACHINEVERIFIER_H
11
13#include <string>
14
15namespace llvm {
16class MachineVerifierPass : public PassInfoMixin<MachineVerifierPass> {
17 std::string Banner;
18
19public:
20 MachineVerifierPass(const std::string &Banner = std::string())
21 : Banner(Banner) {}
24};
25
26} // namespace llvm
27
28#endif // LLVM_CODEGEN_MACHINEVERIFIER_H
A container for analyses that lazily runs them and caches their results.
Definition: PassManager.h:253
PreservedAnalyses run(MachineFunction &MF, MachineFunctionAnalysisManager &MFAM)
MachineVerifierPass(const std::string &Banner=std::string())
A set of analyses that are preserved following a run of a transformation pass.
Definition: Analysis.h:111
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
A CRTP mix-in to automatically provide informational APIs needed for passes.
Definition: PassManager.h:69