LLVM  15.0.0git
Classes | Namespaces | Functions
RegAllocScore.h File Reference
#include "llvm/ADT/STLFunctionalExtras.h"
Include dependency graph for RegAllocScore.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::RegAllocScore
 Regalloc score. More...
 

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Functions

RegAllocScore llvm::calculateRegAllocScore (const MachineFunction &MF, const MachineBlockFrequencyInfo &MBFI, AAResults &AAResults)
 Calculate a score. More...
 
RegAllocScore llvm::calculateRegAllocScore (const MachineFunction &MF, llvm::function_ref< double(const MachineBasicBlock &)> GetBBFreq, llvm::function_ref< bool(const MachineInstr &)> IsTriviallyRematerializable)
 Implementation of the above, which is also more easily unittestable. More...