ΒΆconst llvm::Value* getSplatValue(
const llvm::Value* V)
const llvm::Value* getSplatValue(
const llvm::Value* V)
Description
Get splat value if the input is a splat vector or return nullptr. The value may be extracted from a splat constants vector or from a sequence of instructions that broadcast a single value into a vector.
Declared at: llvm/include/llvm/Analysis/VectorUtils.h:224
Parameters
- const llvm::Value* V