ΒΆbool isKnownNonNegative(
    const llvm::Value* V,
    const llvm::DataLayout& DL,
    unsigned int Depth = 0,
    llvm::AssumptionCache* AC = nullptr,
    const llvm::Instruction* CxtI = nullptr,
    const llvm::DominatorTree* DT = nullptr,
    bool UseInstrInfo = true)

Description

Returns true if the give value is known to be non-negative.

Declared at: llvm/include/llvm/Analysis/ValueTracking.h:117

Parameters

const llvm::Value* V
const llvm::DataLayout& DL
unsigned int Depth = 0
llvm::AssumptionCache* AC = nullptr
const llvm::Instruction* CxtI = nullptr
const llvm::DominatorTree* DT = nullptr
bool UseInstrInfo = true