llvm::ExpandReductionsPass

New PM pass that expands reduction intrinsics for the target.

Synopsis

Declared in <llvm/CodeGen/ExpandReductions.h>

class ExpandReductionsPass
    : public RequiredPassInfoMixin<ExpandReductionsPass>

Description

Implements IR expansion for reduction intrinsics, allowing targets to keep the intrinsics until just before codegen.

Base Classes

NameDescription
RequiredPassInfoMixin<ExpandReductionsPass>A CRTP mix-in for passes that should not be skipped.

Member Functions

NameDescription
run Expand reduction intrinsics in F.

Static Member Functions

NameDescription
isRequired Return true; required passes cannot be skipped.