Create a call to Masked Gather intrinsic
Declared in <llvm/IR/IRBuilder.h>
CallInst*
CreateMaskedGather(
Type* Ty,
Value* Ptrs,
Align Alignment,
Value* Mask = nullptr,
Value* PassThru = nullptr,
Twine const& Name = "");
The created masked gather intrinsic call.
| Name | Description |
|---|---|
| Ty | Type of the loaded, allocated, or created value. |
| Ptrs | Vector of pointers for a gather or scatter. |
| Alignment | Required alignment of the memory access. |
| Mask | Vector mask selecting active lanes. |
| PassThru | Passthrough value for inactive masked lanes. |
| Name | Name of the new instruction or value. |