New PM pass that initializes undef values with temporary pseudos.
Declared in <llvm/CodeGen/InitUndef.h>
class InitUndefPass
: public RequiredPassInfoMixin<InitUndefPass>
Gives undef early-clobber operands a pseudo definition so register allocation cannot assign an overlapping register, and rewrites NoReg tied operands back to IMPLICIT_DEF before TwoAddressInstruction.
| Name | Description |
|---|---|
RequiredPassInfoMixin<InitUndefPass> | A CRTP mix-in for passes that should not be skipped. |
| Name | Description |
|---|---|
run | Initialize undef values and fix NoReg tied operands in MF. |
| Name | Description |
|---|---|
isRequired | Return true; required passes cannot be skipped. |