Decide whether region splitting should run for VirtReg.
Declared in <llvm/CodeGen/TargetRegisterInfo.h>
virtual
bool
shouldRegionSplitForVirtReg(
MachineFunction const& MF,
LiveInterval const& VirtReg) const;
Region split has a high compile time cost especially for large live range. This method is used to decide whether or not VirtReg should go through this expensive splitting heuristic.
True if region splitting should run for VirtReg.
| Name | Description |
|---|---|
| MF | Function that owns VirtReg. |
| VirtReg | Live interval being considered for region splitting. |