Tracks processor resources consumed while building an SMS schedule.

Synopsis

Declared in <llvm/CodeGen/MachinePipeliner.h>

class ResourceManager;

Member Functions

Name

Description

ResourceManager [constructor]

Construct a resource manager for subtarget ST and schedule DAG DAG.

calculateResMII

Compute the resource‐constrained minimum initiation interval.

canReserveResources

Check if the resources occupied by a machine instruction are available in the current state.

init

Initialize resources with the initiation interval II.

initProcResourceVectors

Initialize processor resource mask vectors from scheduling model SM.

reserveResources

Reserve the resources occupied by a machine instruction and change the current state to reflect that change.

Created with MrDocs