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);

Return Value

True if Reg cannot be poison.

Parameters

NameDescription
RegVirtual register to analyze.
MRIRegister information for the function.
DepthRecursion depth limit for the analysis.