|
LLVM 23.0.0git
|
===- 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 | |
===- 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.
| #define ORE_NAME "machine-opt-remark-emitter" |
Definition at line 108 of file MachineOptimizationRemarkEmitter.cpp.
| INITIALIZE_PASS_BEGIN | ( | MachineOptimizationRemarkEmitterPass | , |
| ORE_NAME | , | ||
| ore_name | , | ||
| true | , | ||
| true | ) |
References INITIALIZE_PASS_DEPENDENCY, ORE_NAME, and ore_name.
| ORE_NAME |
Definition at line 113 of file MachineOptimizationRemarkEmitter.cpp.
|
static |
Definition at line 107 of file MachineOptimizationRemarkEmitter.cpp.
| true |
Definition at line 114 of file MachineOptimizationRemarkEmitter.cpp.