LLVM: lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp File Reference (original) (raw)

===- 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.