|
LLVM 22.0.0git
|
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. | |
| LLVM_ABI_FOR_TEST 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. | |