ΒΆllvm::Value* getShuffleReduction(
    llvm::IRBuilderBase& Builder,
    llvm::Value* Src,
    unsigned int Op,
    llvm::RecurKind MinMaxKind = RecurKind::None)

Description

Generates a vector reduction using shufflevectors to reduce the value. Fast-math-flags are propagated using the IRBuilder's setting.

Declared at: llvm/include/llvm/Transforms/Utils/LoopUtils.h:376

Parameters

llvm::IRBuilderBase& Builder
llvm::Value* Src
unsigned int Op
llvm::RecurKind MinMaxKind = RecurKind::None