New PM pass that collects physical register usage for IPRA.

Synopsis

Declared in <llvm/CodeGen/RegUsageInfoCollector.h>

class RegUsageInfoCollectorPass
    : public RequiredPassInfoMixin<RegUsageInfoCollectorPass>

Description

Iterates used physical registers in each function, builds a RegMask, and stores it in PhysicalRegisterUsageInfo for interprocedural register allocation.

Base Classes

Name

Description

RequiredPassInfoMixin<RegUsageInfoCollectorPass>

A CRTP mix‐in for passes that should not be skipped.

Member Functions

Name

Description

run

Collect and store register usage information for MF.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs