Create a priority advisor for MF and allocator RA.
Declared in <llvm/CodeGen/RegAllocPriorityAdvisor.h>
virtual
std::unique_ptr<RegAllocPriorityAdvisor>
getAdvisor(
MachineFunction const& MF,
RAGreedy const& RA,
SlotIndexes& SI) = 0;
Priority advisor for the given machine function and allocator.
| Name | Description |
|---|---|
| MF | Machine function being allocated. |
| RA | Greedy register allocator requesting advice. |
| SI | Slot indexes used when computing priorities. |