llvm::ScalarizeMaskedMemIntrinPass

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

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

Member Functions

NameDescription
run Run masked-memory intrinsic scalarization over the function.

Static Member Functions

NameDescription
isRequired Return true; required passes cannot be skipped.