Pass that scalarizes masked memory intrinsics unsupported by the target.

Synopsis

Declared in <llvm/Transforms/Scalar/ScalarizeMaskedMemIntrin.h>

struct ScalarizeMaskedMemIntrinPass
    : RequiredPassInfoMixin<ScalarizeMaskedMemIntrinPass>

Description

Replaces those intrinsics with a chain of basic blocks that handle each element one‐by‐one when the corresponding mask bit is set.

Base Classes

Name

Description

RequiredPassInfoMixin<ScalarizeMaskedMemIntrinPass>

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

Member Functions

Name

Description

run

Run masked‐memory intrinsic scalarization over the function.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs