Returns true if given the TargetLowering's boolean contents information, the value Val contains a false value.

Synopsis

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

bool
isConstFalseVal(
    TargetLowering const& TLI,
    int64_t Val,
    bool IsVector,
    bool IsFP);

Return Value

True if Val represents false for the given boolean contents.

Parameters

Name

Description

TLI

Target lowering used for boolean contents.

Val

Integer value to interpret as a boolean.

IsVector

Whether the compare result is a vector.

IsFP

Whether the compare is floating‐point.

Created with MrDocs