Return a bias score for scheduling physreg‐related unit SU.

Synopsis

Declared in <llvm/CodeGen/MachineScheduler.h>

int
biasPhysReg(
    SUnit const* SU,
    bool isTop,
    bool BiasPRegsExtra = false);

Return Value

A bias score favoring physreg‐related scheduling of SU.

Parameters

Name

Description

SU

Scheduling unit being scored.

isTop

True if SU would be scheduled from the top boundary.

BiasPRegsExtra

Enable additional physreg bias cases.

Created with MrDocs