17 #ifndef LLVM_ANALYSIS_LAZYMACHINEBLOCKFREQUENCYINFO_H 18 #define LLVM_ANALYSIS_LAZYMACHINEBLOCKFREQUENCYINFO_H 41 mutable std::unique_ptr<MachineBlockFrequencyInfo> OwnedMBFI;
44 mutable std::unique_ptr<MachineLoopInfo> OwnedMLI;
47 mutable std::unique_ptr<MachineDominatorTree> OwnedMDT;
66 return calculateIfNotAvailable();
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
const MachineBlockFrequencyInfo & getBFI() const
Compute and return the block frequencies.
MachineBlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to estimate machine basic b...
void print(raw_ostream &OS, const Module *M) const override
print - Print out the internal state of the pass.
MachineFunctionPass - This class adapts the FunctionPass interface to allow convenient creation of pa...
MachineBlockFrequencyInfo & getBFI()
Compute and return the block frequencies.
bool runOnMachineFunction(MachineFunction &F) override
runOnMachineFunction - This method must be overloaded to perform the desired machine code transformat...
void getAnalysisUsage(AnalysisUsage &AU) const override
getAnalysisUsage - This function should be overriden by passes that need analysis information to do t...
This is an alternative analysis pass to MachineBlockFrequencyInfo.
Represent the analysis usage information of a pass.
void releaseMemory() override
releaseMemory() - This member can be implemented by a pass if it wants to be able to release its memo...
LazyMachineBlockFrequencyInfoPass()
This class implements an extremely fast bulk output stream that can only output to a stream...