llvm::IRBuilderBase::CreateMaskedGather

Create a call to Masked Gather intrinsic

Synopsis

Declared in <llvm/IR/IRBuilder.h>

CallInst*
CreateMaskedGather(
    Type* Ty,
    Value* Ptrs,
    Align Alignment,
    Value* Mask = nullptr,
    Value* PassThru = nullptr,
    Twine const& Name = "");

Return Value

The created masked gather intrinsic call.

Parameters

NameDescription
TyType of the loaded, allocated, or created value.
PtrsVector of pointers for a gather or scatter.
AlignmentRequired alignment of the memory access.
MaskVector mask selecting active lanes.
PassThruPassthrough value for inactive masked lanes.
NameName of the new instruction or value.