LLVM: lib/CodeGen/MachineOptimizationRemarkEmitter.cpp File Reference (original) (raw)
===- 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.