LLVM 20.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 111 of file MachineOptimizationRemarkEmitter.cpp.
INITIALIZE_PASS_BEGIN | ( | MachineOptimizationRemarkEmitterPass | , |
ORE_NAME | , | ||
ore_name | , | ||
true | , | ||
true | |||
) |
|
static |
Definition at line 110 of file MachineOptimizationRemarkEmitter.cpp.
ORE_NAME |
Definition at line 116 of file MachineOptimizationRemarkEmitter.cpp.
true |
Definition at line 117 of file MachineOptimizationRemarkEmitter.cpp.