Changeset View
Changeset View
Standalone View
Standalone View
llvm/include/llvm/Analysis/VectorUtils.h
Show First 20 Lines • Show All 314 Lines • ▼ Show 20 Lines | |||||
/// Identifies if the vector form of the intrinsic has a scalar operand. | /// Identifies if the vector form of the intrinsic has a scalar operand. | ||||
bool isVectorIntrinsicWithScalarOpAtArg(Intrinsic::ID ID, | bool isVectorIntrinsicWithScalarOpAtArg(Intrinsic::ID ID, | ||||
unsigned ScalarOpdIdx); | unsigned ScalarOpdIdx); | ||||
/// Identifies if the vector form of the intrinsic has a operand that has | /// Identifies if the vector form of the intrinsic has a operand that has | ||||
/// an overloaded type. | /// an overloaded type. | ||||
bool isVectorIntrinsicWithOverloadTypeAtArg(Intrinsic::ID ID, unsigned OpdIdx); | bool isVectorIntrinsicWithOverloadTypeAtArg(Intrinsic::ID ID, unsigned OpdIdx); | ||||
/// Identifies if the vector form of the intrinsic uses return type as the | |||||
/// first overloaded type. | |||||
bool isVectorIntrinsicWithReturnOverloadType(Intrinsic::ID ID); | |||||
eopXD: I personally think OverloadReturnType makes more sense. | |||||
/// Returns intrinsic ID for call. | /// Returns intrinsic ID for call. | ||||
/// For the input call instruction it finds mapping intrinsic and returns | /// For the input call instruction it finds mapping intrinsic and returns | ||||
/// its intrinsic ID, in case it does not found it return not_intrinsic. | /// its intrinsic ID, in case it does not found it return not_intrinsic. | ||||
Intrinsic::ID getVectorIntrinsicIDForCall(const CallInst *CI, | Intrinsic::ID getVectorIntrinsicIDForCall(const CallInst *CI, | ||||
const TargetLibraryInfo *TLI); | const TargetLibraryInfo *TLI); | ||||
/// Find the operand of the GEP that should be checked for consecutive | /// Find the operand of the GEP that should be checked for consecutive | ||||
/// stores. This ignores trailing indices that have no effect on the final | /// stores. This ignores trailing indices that have no effect on the final | ||||
▲ Show 20 Lines • Show All 642 Lines • Show Last 20 Lines |
I personally think OverloadReturnType makes more sense.