LLVM 19.0.0git
Classes | Namespaces | Typedefs
MachineOptimizationRemarkEmitter.h File Reference

===- MachineOptimizationRemarkEmitter.h - Opt Diagnostics -*- C++ -*-—===// More...

#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/Function.h"
#include <optional>

Go to the source code of this file.

Classes

class  llvm::DiagnosticInfoMIROptimization
 Common features for diagnostics dealing with optimization remarks that are used by machine passes. More...
 
struct  llvm::DiagnosticInfoMIROptimization::MachineArgument
 MI-specific kinds of diagnostic Arguments. More...
 
class  llvm::MachineOptimizationRemark
 Diagnostic information for applied optimization remarks. More...
 
class  llvm::MachineOptimizationRemarkMissed
 Diagnostic information for missed-optimization remarks. More...
 
class  llvm::MachineOptimizationRemarkAnalysis
 Diagnostic information for optimization analysis remarks. More...
 
class  llvm::MachineOptimizationRemarkEmitter
 The optimization diagnostic interface. More...
 
class  llvm::MachineOptimizationRemarkEmitterPass
 The analysis pass. More...
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::ore
 Add a small namespace to avoid name clashes with the classes used in the streaming interface.
 

Typedefs

using llvm::ore::MNV = DiagnosticInfoMIROptimization::MachineArgument
 

Detailed Description

===- MachineOptimizationRemarkEmitter.h - Opt Diagnostics -*- C++ -*-—===//

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

===------------------------------------------------------------------—===//

Optimization diagnostic interfaces for machine passes. It's packaged as an analysis pass so that by using this service passes become dependent on MBFI as well. MBFI is used to compute the "hotness" of the diagnostic message.

===------------------------------------------------------------------—===//

Definition in file MachineOptimizationRemarkEmitter.h.