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

Name

Description

RequiredPassInfoMixin<ExpandReductionsPass>

A CRTP mix‐in for passes that should not be skipped.

Member Functions

Name

Description

run

Expand reduction intrinsics in F.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs