ΒΆbool isSplatValue(const llvm::Value* V,
                  unsigned int Depth = 0)

Description

Return true if the input value is known to be a vector with all identical elements (potentially including undefined elements). This may be more powerful than the related getSplatValue() because it is not limited by finding a scalar source value to a splatted vector.

Declared at: llvm/include/llvm/Analysis/VectorUtils.h:230

Parameters

const llvm::Value* V
unsigned int Depth = 0