llvm::RegUsageInfoPropagationPass

New PM pass that propagates callee register usage masks onto call sites.

Synopsis

Declared in <llvm/CodeGen/RegUsageInfoPropagate.h>

class RegUsageInfoPropagationPass
    : public RequiredPassInfoMixin<RegUsageInfoPropagationPass>

Description

At each callsite, queries PhysicalRegisterUsageInfo for the callee's RegMask (from actual register allocation) and updates the call instruction when that detail is available, so the register allocator can use it.

Base Classes

NameDescription
RequiredPassInfoMixin<RegUsageInfoPropagationPass>A CRTP mix-in for passes that should not be skipped.

Member Functions

NameDescription
run Propagate register usage masks onto call instructions in MF.

Static Member Functions

NameDescription
isRequired Return true; required passes cannot be skipped.