LLVM  8.0.1
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++ -*—===//

The LLVM Compiler Infrastructure

This file is distributed under the University of Illinois Open Source License. See LICENSE.TXT for details.

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

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

◆ ore_name

ore_name = "Machine Optimization Remark Emitter"
static

Definition at line 92 of file MachineOptimizationRemarkEmitter.cpp.

◆ ORE_NAME

ORE_NAME

Definition at line 98 of file MachineOptimizationRemarkEmitter.cpp.