16#ifndef LLVM_CODEGEN_LAZYMACHINEBLOCKFREQUENCYINFO_H
17#define LLVM_CODEGEN_LAZYMACHINEBLOCKFREQUENCYINFO_H
40 mutable std::unique_ptr<MachineBlockFrequencyInfo> OwnedMBFI;
43 mutable std::unique_ptr<MachineLoopInfo> OwnedMLI;
46 mutable std::unique_ptr<MachineDominatorTree> OwnedMDT;
65 return calculateIfNotAvailable();
71 void releaseMemory()
override;
Represent the analysis usage information of a pass.
MachineBlockFrequencyInfo & getBFI()
Compute and return the block frequencies.
const MachineBlockFrequencyInfo & getBFI() const
Compute and return the block frequencies.
LazyMachineBlockFrequencyInfoPass()
MachineBlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to estimate machine basic b...
MachineFunctionPass(char &ID)
This is an optimization pass for GlobalISel generic memory operations.