llvm::InitUndefPass

New PM pass that initializes undef values with temporary pseudos.

Synopsis

Declared in <llvm/CodeGen/InitUndef.h>

class InitUndefPass
    : public RequiredPassInfoMixin<InitUndefPass>

Description

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.

Base Classes

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

Member Functions

NameDescription
run Initialize undef values and fix NoReg tied operands in MF.

Static Member Functions

NameDescription
isRequired Return true; required passes cannot be skipped.