New PM pass that propagates callee register usage masks onto call sites.
Declared in <llvm/CodeGen/RegUsageInfoPropagate.h>
class RegUsageInfoPropagationPass
: public RequiredPassInfoMixin<RegUsageInfoPropagationPass>
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.
| Name | Description |
|---|---|
RequiredPassInfoMixin<RegUsageInfoPropagationPass> | A CRTP mix-in for passes that should not be skipped. |
| Name | Description |
|---|---|
run | Propagate register usage masks onto call instructions in MF. |
| Name | Description |
|---|---|
isRequired | Return true; required passes cannot be skipped. |