Return the intrinsic ID mapped from a call, or not_intrinsic.

Synopsis

Declared in <llvm/Analysis/VectorUtils.h>

Intrinsic::ID
getVectorIntrinsicIDForCall(
    CallInst const* CI,
    TargetLibraryInfo const* TLI);

Description

For the input call instruction it finds mapping intrinsic and returns its intrinsic ID, in case it does not found it return not_intrinsic.

Return Value

The mapped intrinsic ID, or not_intrinsic if none is found.

Parameters

Name

Description

CI

Call instruction to map to an intrinsic.

TLI

Target library info used for call‐to‐intrinsic mapping.

Created with MrDocs