LLVM 20.0.0git
Classes | Namespaces | Functions
RegAllocScore.h File Reference
#include "llvm/ADT/STLFunctionalExtras.h"

Go to the source code of this file.

Classes

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

Namespaces

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

Functions

RegAllocScore llvm::calculateRegAllocScore (const MachineFunction &MF, const MachineBlockFrequencyInfo &MBFI)
 Calculate a score.
 
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.