Default heuristic priority advisor used by greedy register allocation.
Synopsis
Declared in <llvm/CodeGen/RegAllocPriorityAdvisor.h>
class DefaultPriorityAdvisor
: public RegAllocPriorityAdvisor
Base Classes
Name |
Description |
Interface to the priority advisor, which is responsible for prioritizing live ranges. |
Member Functions
Name |
Description |
|
Construct the default advisor for |
|
Find the priority value for a live range. A float value is used since ML prefers it. |
Protected Data Members
Name |
Description |
Slot indexes for the current function. |
|
Live interval analysis for the current function. |
|
Machine register info for the current function. |
|
Greedy register allocator that owns related analyses. |
|
Cached register class information for the current function. |
|
Whether register‐class priority should outweigh globalness. |
|
Whether local live ranges should be assigned in reverse order. |
|
Target register info for the current subtarget. |
|
Mapping from virtual to physical registers. |
Created with MrDocs