Return true if the target supports broadcasting a load to a vector.
Synopsis
Declared in <llvm/Analysis/TargetTransformInfo.h>
bool
isLegalBroadcastLoad(
Type* ElementTy,
ElementCount NumElements) const;
Description
The broadcast produces a vector of type <NumElements x ElementTy>.
Return Value
True if the target supports broadcasting a load to a vector.
Parameters
Name |
Description |
ElementTy |
Element type of the broadcast. |
NumElements |
Number of vector elements. |
Created with MrDocs