LLVM 19.0.0git
Macros | Functions | Variables
MachineOptimizationRemarkEmitter.cpp File Reference

===- MachineOptimizationRemarkEmitter.cpp - Opt Diagnostic -*- C++ -*—===// More...

#include "llvm/CodeGen/MachineOptimizationRemarkEmitter.h"
#include "llvm/CodeGen/LazyMachineBlockFrequencyInfo.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/InitializePasses.h"
#include <optional>

Go to the source code of this file.

Macros

#define ORE_NAME   "machine-opt-remark-emitter"
 

Functions

 INITIALIZE_PASS_BEGIN (MachineOptimizationRemarkEmitterPass, ORE_NAME, ore_name, true, true) INITIALIZE_PASS_END(MachineOptimizationRemarkEmitterPass
 

Variables

static const char ore_name [] = "Machine Optimization Remark Emitter"
 
 ORE_NAME
 
 true
 

Detailed Description

===- MachineOptimizationRemarkEmitter.cpp - Opt Diagnostic -*- 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.cpp.

Macro Definition Documentation

◆ ORE_NAME

#define ORE_NAME   "machine-opt-remark-emitter"

Definition at line 91 of file MachineOptimizationRemarkEmitter.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( MachineOptimizationRemarkEmitterPass  ,
ORE_NAME  ,
ore_name  ,
true  ,
true   
)

Variable Documentation

◆ ore_name

ore_name = "Machine Optimization Remark Emitter"
static

Definition at line 90 of file MachineOptimizationRemarkEmitter.cpp.

◆ ORE_NAME

ORE_NAME

Definition at line 96 of file MachineOptimizationRemarkEmitter.cpp.

◆ true

true

Definition at line 97 of file MachineOptimizationRemarkEmitter.cpp.