Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:32

0001 //===- llvm/CodeGen/MachineVerifier.h - Machine Code Verifier ---*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 
0009 #ifndef LLVM_CODEGEN_MACHINEVERIFIER_H
0010 #define LLVM_CODEGEN_MACHINEVERIFIER_H
0011 
0012 #include "llvm/CodeGen/MachinePassManager.h"
0013 #include <string>
0014 
0015 namespace llvm {
0016 class MachineVerifierPass : public PassInfoMixin<MachineVerifierPass> {
0017   std::string Banner;
0018 
0019 public:
0020   MachineVerifierPass(const std::string &Banner = std::string())
0021       : Banner(Banner) {}
0022   PreservedAnalyses run(MachineFunction &MF,
0023                         MachineFunctionAnalysisManager &MFAM);
0024   static bool isRequired() { return true; }
0025 };
0026 
0027 } // namespace llvm
0028 
0029 #endif // LLVM_CODEGEN_MACHINEVERIFIER_H