ΒΆbool isKnownNegative(
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)
bool isKnownNegative(
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 given value is known be negative (i.e. non-positive and non-zero).
Declared at: llvm/include/llvm/Analysis/ValueTracking.h:134
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