LLVM  9.0.0svn
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 dependency graph for MachineOptimizationRemarkEmitter.cpp:

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, false, true) INITIALIZE_PASS_END(MachineOptimizationRemarkEmitterPass
 

Variables

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

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 92 of file MachineOptimizationRemarkEmitter.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

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

Variable Documentation

◆ false

false

Definition at line 97 of file MachineOptimizationRemarkEmitter.cpp.

◆ ore_name

ore_name = "Machine Optimization Remark Emitter"
static

Definition at line 91 of file MachineOptimizationRemarkEmitter.cpp.

◆ ORE_NAME

ORE_NAME

Definition at line 97 of file MachineOptimizationRemarkEmitter.cpp.