llvm::isGuaranteedNotToBePoison

Returns true if Reg cannot be poison, but may be undef.

Synopsis

Declared in <llvm/CodeGen/GlobalISel/Utils.h>

bool
isGuaranteedNotToBePoison(
    Register Reg,
    MachineRegisterInfo const& MRI,
    unsigned int Depth = 0);

Parameters

NameDescription
RegWrapper class representing virtual and physical registers. Should be passed by value.
MRIMachineRegisterInfo - Keep track of information for virtual and physical registers, including vreg register classes, use/def chains for registers, etc.