ΒΆOptional<SmallVector<unsigned int>>
ConstantFoldCTLZ(
    llvm::Register Src,
    const llvm::MachineRegisterInfo& MRI)

Description

Tries to constant fold a G_CTLZ operation on \p Src. If \p Src is a vector then it tries to do an element-wise constant fold.

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

Parameters

llvm::Register Src
const llvm::MachineRegisterInfo& MRI