LLVM 20.0.0git
|
Interface to the priority advisor, which is responsible for prioritizing live ranges. More...
#include "CodeGen/RegAllocPriorityAdvisor.h"
Public Member Functions | |
RegAllocPriorityAdvisor (const RegAllocPriorityAdvisor &)=delete | |
RegAllocPriorityAdvisor (RegAllocPriorityAdvisor &&)=delete | |
virtual | ~RegAllocPriorityAdvisor ()=default |
virtual unsigned | getPriority (const LiveInterval &LI) const =0 |
Find the priority value for a live range. | |
RegAllocPriorityAdvisor (const MachineFunction &MF, const RAGreedy &RA, SlotIndexes *const Indexes) | |
Interface to the priority advisor, which is responsible for prioritizing live ranges.
Definition at line 24 of file RegAllocPriorityAdvisor.h.
|
delete |
|
delete |
|
virtualdefault |
RegAllocPriorityAdvisor::RegAllocPriorityAdvisor | ( | const MachineFunction & | MF, |
const RAGreedy & | RA, | ||
SlotIndexes *const | Indexes | ||
) |
Definition at line 104 of file RegAllocPriorityAdvisor.cpp.
|
pure virtual |
Find the priority value for a live range.
A float value is used since ML prefers it.
Implemented in llvm::MLPriorityAdvisor.
|
protected |
Definition at line 44 of file RegAllocPriorityAdvisor.h.
|
protected |
Definition at line 39 of file RegAllocPriorityAdvisor.h.
|
protected |
Definition at line 41 of file RegAllocPriorityAdvisor.h.
Definition at line 38 of file RegAllocPriorityAdvisor.h.
Referenced by llvm::MLPriorityAdvisor::getPriorityImpl().
|
protected |
Definition at line 43 of file RegAllocPriorityAdvisor.h.
Definition at line 45 of file RegAllocPriorityAdvisor.h.
Definition at line 46 of file RegAllocPriorityAdvisor.h.
|
protected |
Definition at line 42 of file RegAllocPriorityAdvisor.h.
|
protected |
Definition at line 40 of file RegAllocPriorityAdvisor.h.