llvm::TargetTransformInfoImplBase::isLegalMaskedStore

Return true if the target supports masked stores of the given type.

Synopsis

Declared in <llvm/Analysis/TargetTransformInfoImpl.h>

virtual
bool
isLegalMaskedStore(
    Type* DataType,
    Align Alignment,
    unsigned int AddressSpace,
    TTI::MaskKind MaskKind) const;

Return Value

True if the target supports masked store.

Parameters

NameDescription
DataTypeElement or vector data type of the memory operation.
AlignmentRequired alignment of the access.
AddressSpaceAddress space of the memory operation.
MaskKindKind of mask used by the masked operation.