LLVM 20.0.0git
Macros | Functions | Variables
LazyMachineBlockFrequencyInfo.cpp File Reference

===- LazyMachineBlockFrequencyInfo.cpp - Lazy Machine Block Frequency –===// More...

#include "llvm/CodeGen/LazyMachineBlockFrequencyInfo.h"
#include "llvm/CodeGen/MachineBranchProbabilityInfo.h"
#include "llvm/InitializePasses.h"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "lazy-machine-block-freq"
 

Functions

 INITIALIZE_PASS_BEGIN (LazyMachineBlockFrequencyInfoPass, DEBUG_TYPE, "Lazy Machine Block Frequency Analysis", true, true) INITIALIZE_PASS_END(LazyMachineBlockFrequencyInfoPass
 

Variables

 DEBUG_TYPE
 
Lazy Machine Block Frequency Analysis
 
Lazy Machine Block Frequency true
 

Detailed Description

===- LazyMachineBlockFrequencyInfo.cpp - Lazy Machine Block Frequency –===//

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

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

This is an alternative analysis pass to MachineBlockFrequencyInfo. The difference is that with this pass the block frequencies are not computed when the analysis pass is executed but rather when the BFI result is explicitly requested by the analysis client.

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

Definition in file LazyMachineBlockFrequencyInfo.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "lazy-machine-block-freq"

Definition at line 22 of file LazyMachineBlockFrequencyInfo.cpp.

Function Documentation

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( LazyMachineBlockFrequencyInfoPass  ,
DEBUG_TYPE  ,
"Lazy Machine Block Frequency Analysis"  ,
true  ,
true   
)

Variable Documentation

◆ Analysis

Lazy Machine Block Frequency Analysis

Definition at line 29 of file LazyMachineBlockFrequencyInfo.cpp.

◆ DEBUG_TYPE

DEBUG_TYPE

Definition at line 28 of file LazyMachineBlockFrequencyInfo.cpp.

◆ true

Lazy Machine Block Frequency true

Definition at line 29 of file LazyMachineBlockFrequencyInfo.cpp.