[#llvm-isVectorIntrinsicWithOverloadTypeAtArg] = xref:llvm.adoc[llvm]::isVectorIntrinsicWithOverloadTypeAtArg :relfileprefix: ../ :mrdocs: Identify if a vector intrinsic is overloaded on an operand or return type. == Synopsis Declared in `<llvm/Analysis/VectorUtils.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isVectorIntrinsicWithOverloadTypeAtArg( xref:llvm/Intrinsic/ID-0b.adoc[Intrinsic::ID] ID, int OpdIdx, xref:llvm/TargetTransformInfo.adoc[TargetTransformInfo] const* TTI); ---- == Description Identifies if the vector form of the intrinsic is overloaded on the type of the operand at index `OpdIdx,` or on the return type if `OpdIdx` is ‐1. `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 on the type at `OpdIdx.` == Parameters [cols="1,4"] |=== | Name| Description | *ID* | Intrinsic identifier to classify. | *OpdIdx* | Operand index to check, or ‐1 for the return type. | *TTI* | Optional TTI used for target‐specific intrinsic rules. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#