Return true if I requires a mask when vectorized.
Declared in <llvm/Transforms/Vectorize/LoopVectorizationLegality.h>
bool
isMaskRequired(
Instruction const* I,
bool TailFolded) const;
Accounts for both control flow masking (conditionally executed blocks) and tail-folding masking (predicated loop vectorization).
True if I requires a mask when vectorized.
| Name | Description |
|---|---|
| I | Instruction that may need masking. |
| TailFolded | If true, check tail-folding masks; otherwise control flow masks. |