LLVM 17.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.


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


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


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.