ΒΆOptional<int64_t> getIConstantSplatSExtVal(
    const llvm::Register Reg,
    const llvm::MachineRegisterInfo& MRI)

Declared at: llvm/include/llvm/CodeGen/GlobalISel/Utils.h:385

Parameters

const llvm::Register Reg
const llvm::MachineRegisterInfo& MRI

Returns

the scalar sign extended integral splat value of \p Reg if possible.