Go to the source code of this file.
|
| #define | GET_TARGET_LIBRARY_INFO_STRING_TABLE |
| #define | GET_TARGET_LIBRARY_INFO_SIGNATURE_TABLE |
| #define | TLI_DEFINE_ACCELERATE_VECFUNCS |
| #define | TLI_DEFINE_DARWIN_LIBSYSTEM_M_VECFUNCS |
| #define | TLI_DEFINE_LIBMVEC_X86_VECFUNCS |
| #define | TLI_DEFINE_LIBMVEC_AARCH64_VECFUNCS |
| #define | TLI_DEFINE_VECFUNC(SCAL, VEC, VF, MASK, VABI_PREFIX, CC) |
| #define | TLI_DEFINE_MASSV_VECFUNCS |
| #define | TLI_DEFINE_SVML_VECFUNCS |
| #define | TLI_DEFINE_SLEEFGNUABI_VF2_VECFUNCS |
| #define | TLI_DEFINE_VECFUNC(SCAL, VEC, VF, VABI_PREFIX) |
| #define | TLI_DEFINE_SLEEFGNUABI_VF4_VECFUNCS |
| #define | TLI_DEFINE_VECFUNC(SCAL, VEC, VF, VABI_PREFIX) |
| #define | TLI_DEFINE_SLEEFGNUABI_SCALABLE_VECFUNCS |
| #define | TLI_DEFINE_VECFUNC(SCAL, VEC, VF, MASK, VABI_PREFIX) |
| #define | TLI_DEFINE_SLEEFGNUABI_SCALABLE_VECFUNCS_RISCV |
| #define | TLI_DEFINE_VECFUNC(SCAL, VEC, VF, MASK, VABI_PREFIX) |
| #define | TLI_DEFINE_ARMPL_VECFUNCS |
| #define | TLI_DEFINE_VECFUNC(SCAL, VEC, VF, MASK, VABI_PREFIX, CC) |
| #define | TLI_DEFINE_AMDLIBM_VECFUNCS |
| #define | TLI_DEFINE_VECFUNC(SCAL, VEC, VF, MASK, VABI_PREFIX) |
|
| static bool | hasSinCosPiStret (const Triple &T) |
| static bool | hasBcmp (const Triple &TT) |
| static bool | isCallingConvCCompatible (CallingConv::ID CC, const Triple &TT, FunctionType *FuncTy) |
| static void | initializeBase (TargetLibraryInfoImpl &TLI, const Triple &T) |
| static void | initializeLibCalls (TargetLibraryInfoImpl &TLI, const Triple &T, const llvm::StringTable &StandardNames, VectorLibrary VecLib) |
| | Initialize the set of available library functions based on the specified target triple.
|
| static void | initialize (TargetLibraryInfoImpl &TLI, const Triple &T, const llvm::StringTable &StandardNames, VectorLibrary VecLib) |
| | Initialize the set of available library functions based on the specified target triple.
|
| static bool | initializeIsErrnoFunctionCall (const Triple &T) |
| static StringRef | sanitizeFunctionName (StringRef funcName) |
| static DenseMap< StringRef, LibFunc > | buildIndexMap (const llvm::StringTable &StandardNames) |
| static bool | matchType (FuncArgTypeID ArgTy, const Type *Ty, unsigned IntBits, unsigned SizeTBits) |
| static bool | isValidProtoForSizeReturningNew (const FunctionType &FTy, LibFunc F, const Module &M, int SizeTSizeBits) |
| static bool | compareByScalarFnName (const VecDesc &LHS, const VecDesc &RHS) |
| static bool | compareByVectorFnName (const VecDesc &LHS, const VecDesc &RHS) |
| static bool | compareWithScalarFnName (const VecDesc &LHS, StringRef S) |
|
| constexpr EnumStringDef< VecDescData, 3 > | VecFuncDefs_Accelerate [] |
| constexpr auto | VecFuncs_Accelerate = BUILD_ENUM_STRINGS(VecFuncDefs_Accelerate) |
| constexpr EnumStringDef< VecDescData, 3 > | VecFuncDefs_DarwinLibSystemM [] |
| constexpr auto | VecFuncs_DarwinLibSystemM |
| constexpr EnumStringDef< VecDescData, 3 > | VecFuncDefs_LIBMVEC_X86 [] |
| constexpr auto | VecFuncs_LIBMVEC_X86 |
| constexpr EnumStringDef< VecDescData, 3 > | VecFuncDefs_LIBMVEC_AARCH64 [] |
| constexpr auto | VecFuncs_LIBMVEC_AARCH64 |
| constexpr EnumStringDef< VecDescData, 3 > | VecFuncDefs_MASSV [] |
| constexpr auto | VecFuncs_MASSV = BUILD_ENUM_STRINGS(VecFuncDefs_MASSV) |
| constexpr EnumStringDef< VecDescData, 3 > | VecFuncDefs_SVML [] |
| constexpr auto | VecFuncs_SVML = BUILD_ENUM_STRINGS(VecFuncDefs_SVML) |
| constexpr EnumStringDef< VecDescData, 3 > | VecFuncDefs_SLEEFGNUABI_VF2 [] |
| constexpr auto | VecFuncs_SLEEFGNUABI_VF2 |
| constexpr EnumStringDef< VecDescData, 3 > | VecFuncDefs_SLEEFGNUABI_VF4 [] |
| constexpr auto | VecFuncs_SLEEFGNUABI_VF4 |
| constexpr EnumStringDef< VecDescData, 3 > | VecFuncDefs_SLEEFGNUABI_VFScalable [] |
| constexpr auto | VecFuncs_SLEEFGNUABI_VFScalable |
| constexpr EnumStringDef< VecDescData, 3 > | VecFuncDefs_SLEEFGNUABI_VFScalableRISCV [] |
| constexpr auto | VecFuncs_SLEEFGNUABI_VFScalableRISCV |
| constexpr EnumStringDef< VecDescData, 3 > | VecFuncDefs_ArmPL [] |
| constexpr auto | VecFuncs_ArmPL = BUILD_ENUM_STRINGS(VecFuncDefs_ArmPL) |
| constexpr EnumStringDef< VecDescData, 3 > | VecFuncDefs_AMDLIBM [] |
| constexpr auto | VecFuncs_AMDLIBM = BUILD_ENUM_STRINGS(VecFuncDefs_AMDLIBM) |
◆ GET_TARGET_LIBRARY_INFO_SIGNATURE_TABLE
| #define GET_TARGET_LIBRARY_INFO_SIGNATURE_TABLE |
◆ GET_TARGET_LIBRARY_INFO_STRING_TABLE
| #define GET_TARGET_LIBRARY_INFO_STRING_TABLE |
◆ TLI_DEFINE_ACCELERATE_VECFUNCS
| #define TLI_DEFINE_ACCELERATE_VECFUNCS |
◆ TLI_DEFINE_AMDLIBM_VECFUNCS
| #define TLI_DEFINE_AMDLIBM_VECFUNCS |
◆ TLI_DEFINE_ARMPL_VECFUNCS
| #define TLI_DEFINE_ARMPL_VECFUNCS |
◆ TLI_DEFINE_DARWIN_LIBSYSTEM_M_VECFUNCS
| #define TLI_DEFINE_DARWIN_LIBSYSTEM_M_VECFUNCS |
◆ TLI_DEFINE_LIBMVEC_AARCH64_VECFUNCS
| #define TLI_DEFINE_LIBMVEC_AARCH64_VECFUNCS |
◆ TLI_DEFINE_LIBMVEC_X86_VECFUNCS
| #define TLI_DEFINE_LIBMVEC_X86_VECFUNCS |
◆ TLI_DEFINE_MASSV_VECFUNCS
| #define TLI_DEFINE_MASSV_VECFUNCS |
◆ TLI_DEFINE_SLEEFGNUABI_SCALABLE_VECFUNCS
| #define TLI_DEFINE_SLEEFGNUABI_SCALABLE_VECFUNCS |
◆ TLI_DEFINE_SLEEFGNUABI_SCALABLE_VECFUNCS_RISCV
| #define TLI_DEFINE_SLEEFGNUABI_SCALABLE_VECFUNCS_RISCV |
◆ TLI_DEFINE_SLEEFGNUABI_VF2_VECFUNCS
| #define TLI_DEFINE_SLEEFGNUABI_VF2_VECFUNCS |
◆ TLI_DEFINE_SLEEFGNUABI_VF4_VECFUNCS
| #define TLI_DEFINE_SLEEFGNUABI_VF4_VECFUNCS |
◆ TLI_DEFINE_SVML_VECFUNCS
| #define TLI_DEFINE_SVML_VECFUNCS |
◆ TLI_DEFINE_VECFUNC [1/7]
| #define TLI_DEFINE_VECFUNC |
( |
| SCAL, |
|
|
| VEC, |
|
|
| VF, |
|
|
| MASK, |
|
|
| VABI_PREFIX ) |
Value: {{SCAL, VEC, VABI_PREFIX}, {VF, MASK, std::nullopt}},
◆ TLI_DEFINE_VECFUNC [2/7]
| #define TLI_DEFINE_VECFUNC |
( |
| SCAL, |
|
|
| VEC, |
|
|
| VF, |
|
|
| MASK, |
|
|
| VABI_PREFIX ) |
Value: {{SCAL, VEC, VABI_PREFIX}, {VF, MASK, std::nullopt}},
◆ TLI_DEFINE_VECFUNC [3/7]
| #define TLI_DEFINE_VECFUNC |
( |
| SCAL, |
|
|
| VEC, |
|
|
| VF, |
|
|
| MASK, |
|
|
| VABI_PREFIX ) |
Value: {{SCAL, VEC, VABI_PREFIX}, {VF, MASK, std::nullopt}},
◆ TLI_DEFINE_VECFUNC [4/7]
| #define TLI_DEFINE_VECFUNC |
( |
| SCAL, |
|
|
| VEC, |
|
|
| VF, |
|
|
| MASK, |
|
|
| VABI_PREFIX, |
|
|
| CC ) |
Value: {{SCAL, VEC, VABI_PREFIX}, {VF, MASK,
CC}},
◆ TLI_DEFINE_VECFUNC [5/7]
| #define TLI_DEFINE_VECFUNC |
( |
| SCAL, |
|
|
| VEC, |
|
|
| VF, |
|
|
| MASK, |
|
|
| VABI_PREFIX, |
|
|
| CC ) |
Value: {{SCAL, VEC, VABI_PREFIX}, {VF, MASK,
CC}},
◆ TLI_DEFINE_VECFUNC [6/7]
| #define TLI_DEFINE_VECFUNC |
( |
| SCAL, |
|
|
| VEC, |
|
|
| VF, |
|
|
| VABI_PREFIX ) |
Value: {{SCAL, VEC, VABI_PREFIX}, {VF, false, std::nullopt}},
◆ TLI_DEFINE_VECFUNC [7/7]
| #define TLI_DEFINE_VECFUNC |
( |
| SCAL, |
|
|
| VEC, |
|
|
| VF, |
|
|
| VABI_PREFIX ) |
Value: {{SCAL, VEC, VABI_PREFIX}, {VF, false, std::nullopt}},
◆ buildIndexMap()
◆ compareByScalarFnName()
◆ compareByVectorFnName()
◆ compareWithScalarFnName()
◆ hasBcmp()
◆ hasSinCosPiStret()
◆ initialize()
Initialize the set of available library functions based on the specified target triple.
This should be carefully written so that a missing target triple gets a sane set of defaults.
Definition at line 933 of file TargetLibraryInfo.cpp.
References initializeBase(), initializeLibCalls(), T, and TLI.
Referenced by INITIALIZE_PASS(), llvm::OProfileWrapper::op_close_agent(), llvm::OProfileWrapper::op_major_version(), llvm::OProfileWrapper::op_minor_version(), llvm::OProfileWrapper::op_open_agent(), llvm::OProfileWrapper::op_unload_native_code(), llvm::OProfileWrapper::op_write_debug_line_info(), llvm::OProfileWrapper::op_write_native_code(), and llvm::TargetLibraryInfoImpl::TargetLibraryInfoImpl().
◆ initializeBase()
◆ initializeIsErrnoFunctionCall()
◆ initializeLibCalls()
Initialize the set of available library functions based on the specified target triple.
This should be carefully written so that a missing target triple gets a sane set of defaults.
Definition at line 148 of file TargetLibraryInfo.cpp.
References llvm::Triple::aarch64, llvm::Triple::arm, llvm::Triple::CheriotRTOS, llvm::Triple::Darwin, llvm::Triple::DragonFly, llvm::Triple::Emscripten, llvm::Triple::FreeBSD, hasBcmp(), hasSinCosPiStret(), llvm::Triple::IOS, llvm::Triple::Linux, llvm::Triple::MacOSX, llvm::Triple::OpenBSD, T, llvm::Triple::tce, TLI, llvm::Triple::TvOS, llvm::Triple::WatchOS, llvm::Triple::x86, llvm::Triple::x86_64, llvm::Triple::xcore, and llvm::Triple::XROS.
Referenced by initialize().
◆ isCallingConvCCompatible()
◆ isValidProtoForSizeReturningNew()
◆ matchType()
◆ sanitizeFunctionName()
◆ VecFuncDefs_Accelerate
◆ VecFuncDefs_AMDLIBM
Initial value:= {
#define TLI_DEFINE_AMDLIBM_VECFUNCS
#define TLI_DEFINE_VECFUNC(SCAL, VEC, VF, MASK, VABI_PREFIX) \
}
Definition at line 1401 of file TargetLibraryInfo.cpp.
◆ VecFuncDefs_ArmPL
Initial value:= {
#define TLI_DEFINE_ARMPL_VECFUNCS
#define TLI_DEFINE_VECFUNC(SCAL, VEC, VF, MASK, VABI_PREFIX, CC) \
}
Definition at line 1392 of file TargetLibraryInfo.cpp.
◆ VecFuncDefs_DarwinLibSystemM
◆ VecFuncDefs_LIBMVEC_AARCH64
Initial value:= {
#define TLI_DEFINE_LIBMVEC_AARCH64_VECFUNCS
#define TLI_DEFINE_VECFUNC(SCAL, VEC, VF, MASK, VABI_PREFIX, CC) \
}
Definition at line 1329 of file TargetLibraryInfo.cpp.
◆ VecFuncDefs_LIBMVEC_X86
◆ VecFuncDefs_MASSV
◆ VecFuncDefs_SLEEFGNUABI_VF2
Initial value:= {
#define TLI_DEFINE_SLEEFGNUABI_VF2_VECFUNCS
#define TLI_DEFINE_VECFUNC(SCAL, VEC, VF, VABI_PREFIX) \
}
Definition at line 1353 of file TargetLibraryInfo.cpp.
◆ VecFuncDefs_SLEEFGNUABI_VF4
Initial value:= {
#define TLI_DEFINE_SLEEFGNUABI_VF4_VECFUNCS
#define TLI_DEFINE_VECFUNC(SCAL, VEC, VF, VABI_PREFIX) \
}
Definition at line 1362 of file TargetLibraryInfo.cpp.
◆ VecFuncDefs_SLEEFGNUABI_VFScalable
Initial value:= {
#define TLI_DEFINE_SLEEFGNUABI_SCALABLE_VECFUNCS
#define TLI_DEFINE_VECFUNC(SCAL, VEC, VF, MASK, VABI_PREFIX) \
}
Definition at line 1371 of file TargetLibraryInfo.cpp.
◆ VecFuncDefs_SLEEFGNUABI_VFScalableRISCV
Initial value:= {
#define TLI_DEFINE_SLEEFGNUABI_SCALABLE_VECFUNCS_RISCV
#define TLI_DEFINE_VECFUNC(SCAL, VEC, VF, MASK, VABI_PREFIX) \
}
Definition at line 1382 of file TargetLibraryInfo.cpp.
◆ VecFuncDefs_SVML
◆ VecFuncs_Accelerate
◆ VecFuncs_AMDLIBM
◆ VecFuncs_ArmPL
◆ VecFuncs_DarwinLibSystemM
| auto VecFuncs_DarwinLibSystemM |
|
constexpr |
◆ VecFuncs_LIBMVEC_AARCH64
| auto VecFuncs_LIBMVEC_AARCH64 |
|
constexpr |
◆ VecFuncs_LIBMVEC_X86
| auto VecFuncs_LIBMVEC_X86 |
|
constexpr |
◆ VecFuncs_MASSV
◆ VecFuncs_SLEEFGNUABI_VF2
| auto VecFuncs_SLEEFGNUABI_VF2 |
|
constexpr |
◆ VecFuncs_SLEEFGNUABI_VF4
| auto VecFuncs_SLEEFGNUABI_VF4 |
|
constexpr |
◆ VecFuncs_SLEEFGNUABI_VFScalable
| auto VecFuncs_SLEEFGNUABI_VFScalable |
|
constexpr |
◆ VecFuncs_SLEEFGNUABI_VFScalableRISCV
| auto VecFuncs_SLEEFGNUABI_VFScalableRISCV |
|
constexpr |
◆ VecFuncs_SVML