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();
Represent the analysis usage information of a pass.
This is an alternative analysis pass to MachineBlockFrequencyInfo.
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
MachineBlockFrequencyInfo & getBFI()
Compute and return the block frequencies.
const MachineBlockFrequencyInfo & getBFI() const
Compute and return the block frequencies.
LazyMachineBlockFrequencyInfoPass()
void releaseMemory() override
releaseMemory() - This member can be implemented by a pass if it wants to be able to release its memo...
bool runOnMachineFunction(MachineFunction &F) override
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...
MachineBlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to estimate machine basic b...
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...
This is an optimization pass for GlobalISel generic memory operations.