Identify if a struct‐returning vector intrinsic is overloaded at a field.
Synopsis
Declared in <llvm/Analysis/VectorUtils.h>
bool
isVectorIntrinsicWithStructReturnOverloadAtField(
Intrinsic::ID ID,
int RetIdx,
TargetTransformInfo const* TTI);
Description
Identifies if the vector form of the intrinsic that returns a struct is overloaded at the struct element index RetIdx. TTI is used to consider target specific intrinsics, if no target specific intrinsics will be considered then it is appropriate to pass in nullptr.
Return Value
True if the vector intrinsic is overloaded at struct field RetIdx.
Parameters
Name |
Description |
ID |
Intrinsic identifier to classify. |
RetIdx |
Struct field index that may be an overload type. |
TTI |
Optional TTI used for target‐specific intrinsic rules. |
Created with MrDocs