ΒΆllvm::ConstantRange computeConstantRange(
    const llvm::Value* V,
    bool ForSigned,
    bool UseInstrInfo = true,
    llvm::AssumptionCache* AC = nullptr,
    const llvm::Instruction* CtxI = nullptr,
    const llvm::DominatorTree* DT = nullptr,
    unsigned int Depth = 0)

Description

Determine the possible constant range of an integer or vector of integer value. This is intended as a cheap, non-recursive check.

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

Parameters

const llvm::Value* V
bool ForSigned
bool UseInstrInfo = true
llvm::AssumptionCache* AC = nullptr
const llvm::Instruction* CtxI = nullptr
const llvm::DominatorTree* DT = nullptr
unsigned int Depth = 0