|
LLVM 24.0.0git
|
#include "llvm/IR/RuntimeLibcalls.h"#include "llvm/ADT/FloatingPointMode.h"#include "llvm/IR/Intrinsics.h"#include "llvm/IR/Module.h"#include "llvm/IR/SystemLibraries.h"#include "llvm/IR/Type.h"#include "llvm/TargetParser/ARMTargetParser.h"#include "llvm/IR/RuntimeLibcalls.inc"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "runtime-libcalls-info" |
| #define | GET_RUNTIME_LIBCALLS_INFO |
| #define | GET_INIT_RUNTIME_LIBCALL_NAMES |
| #define | GET_INIT_RUNTIME_LIBCALL_SIGNATURES |
| #define | GET_RUNTIME_LIBCALL_ATTRIBUTES |
| #define | GET_RUNTIME_LIBCALL_MASKED_VECTOR_LIBCALL_MAPPING |
| #define | GET_SET_TARGET_RUNTIME_LIBCALL_SETS |
| #define | DEFINE_GET_LOOKUP_LIBCALL_IMPL_NAME |
| #define | GET_RUNTIME_LIBCALL_INTRINSIC_TO_LIBCALL |
Variables | |
| static constexpr Attribute::AttrKind | CommonFnAttrs [] |
| #define DEBUG_TYPE "runtime-libcalls-info" |
Definition at line 17 of file RuntimeLibcalls.cpp.
| #define DEFINE_GET_LOOKUP_LIBCALL_IMPL_NAME |
Definition at line 28 of file RuntimeLibcalls.cpp.
| #define GET_INIT_RUNTIME_LIBCALL_NAMES |
Definition at line 23 of file RuntimeLibcalls.cpp.
| #define GET_INIT_RUNTIME_LIBCALL_SIGNATURES |
Definition at line 24 of file RuntimeLibcalls.cpp.
| #define GET_RUNTIME_LIBCALL_ATTRIBUTES |
Definition at line 25 of file RuntimeLibcalls.cpp.
| #define GET_RUNTIME_LIBCALL_INTRINSIC_TO_LIBCALL |
Definition at line 29 of file RuntimeLibcalls.cpp.
| #define GET_RUNTIME_LIBCALL_MASKED_VECTOR_LIBCALL_MAPPING |
Definition at line 26 of file RuntimeLibcalls.cpp.
| #define GET_RUNTIME_LIBCALLS_INFO |
Definition at line 22 of file RuntimeLibcalls.cpp.
| #define GET_SET_TARGET_RUNTIME_LIBCALL_SETS |
Definition at line 27 of file RuntimeLibcalls.cpp.
|
static |
Definition at line 245 of file RuntimeLibcalls.cpp.
References convertToIRType(), DL, llvm::ArrayRef< T >::empty(), Floating, llvm::FixedVectorType::get(), llvm::IntegerType::get(), llvm::PointerType::get(), llvm::ScalableVectorType::get(), llvm::StructType::get(), llvm::Type::getBFloatTy(), llvm::Type::getDoubleTy(), llvm::Type::getFloatTy(), llvm::Type::getFP128Ty(), llvm::Type::getHalfTy(), getInt128Type(), llvm::Type::getInt1Ty(), llvm::Type::getInt32Ty(), llvm::Type::getInt8Ty(), getIntSize(), getLongDoubleType(), getLongSize(), llvm::Type::getPPC_FP128Ty(), getSizeTType(), llvm::Type::getVoidTy(), llvm::Type::getX86_FP80Ty(), Int, llvm::SmallVectorTemplateBase< T, bool >::push_back(), V2F32, and V2F64.
Referenced by convertToIRType(), llvm::RTLIB::RuntimeLibcallsInfo::getDefaultFunctionTy(), and llvm::RTLIB::RuntimeLibcallsInfo::getVariableType().
|
static |
Definition at line 415 of file RuntimeLibcalls.cpp.
Referenced by llvm::RTLIB::RuntimeLibcallsInfo::getDefaultFunctionTy().
|
static |
Definition at line 239 of file RuntimeLibcalls.cpp.
References llvm::FixedVectorType::get(), llvm::Type::getInt128Ty(), and llvm::Type::getInt64Ty().
Referenced by convertToIRType().
|
static |
Definition at line 390 of file RuntimeLibcalls.cpp.
References getIntSize(), isSignedIntArgType(), llvm::Attribute::None, shouldExtI32(), shouldSignExtI32Param(), shouldSignExtI32Return(), shouldZExtBool(), and llvm::Signed.
Referenced by llvm::RTLIB::RuntimeLibcallsInfo::getDefaultFunctionTy().
Definition at line 207 of file RuntimeLibcalls.cpp.
References llvm::RTLIB::RuntimeLibcallsInfo::getIntSize().
Referenced by convertToIRType(), and getIntExtAttr().
|
static |
Definition at line 222 of file RuntimeLibcalls.cpp.
References llvm::Type::getDoubleTy(), llvm::Type::getFloatTy(), llvm::Type::getFP128Ty(), llvm::Type::getPPC_FP128Ty(), llvm::Type::getX86_FP80Ty(), llvm::IEEEdouble, llvm::IEEEquad, llvm::IEEEsingle, llvm_unreachable, llvm::PPCDoubleDouble, and llvm::X87DoubleExtended.
Referenced by convertToIRType().
|
static |
|
static |
TODO: There is really no guarantee that sizeof(size_t) is equal to the index size of the default address space.
This matches TargetLibraryInfo and should be kept in sync.
Definition at line 203 of file RuntimeLibcalls.cpp.
References DL.
Referenced by convertToIRType().
|
static |
Definition at line 32 of file RuntimeLibcalls.cpp.
References llvm::Accelerate, llvm::AMDLIBM, llvm::ArmPL, llvm::DarwinLibSystemM, llvm::LIBMVEC, llvm_unreachable, llvm::MASSV, llvm::NoLibrary, llvm::SLEEFGNUABI, and llvm::SVML.
Referenced by llvm::RTLIB::RuntimeLibcallsInfo::RuntimeLibcallsInfo().
|
static |
Definition at line 164 of file RuntimeLibcalls.cpp.
References llvm::Triple::sparcv9, llvm::Triple::systemz, T, and llvm::Triple::ve.
Referenced by getIntExtAttr(), and llvm::RTLIB::RuntimeLibcallsInfo::initExtensionsForTriple().
Definition at line 171 of file RuntimeLibcalls.cpp.
References T.
Referenced by getIntExtAttr(), and llvm::RTLIB::RuntimeLibcallsInfo::initExtensionsForTriple().
Definition at line 177 of file RuntimeLibcalls.cpp.
References T.
Referenced by getIntExtAttr(), and llvm::RTLIB::RuntimeLibcallsInfo::initExtensionsForTriple().
Definition at line 191 of file RuntimeLibcalls.cpp.
References T.
Referenced by getIntExtAttr(), and llvm::RTLIB::RuntimeLibcallsInfo::initBoolExtensionsForTriple().
|
staticconstexpr |
Definition at line 218 of file RuntimeLibcalls.cpp.
Referenced by llvm::RTLIB::RuntimeLibcallsInfo::getFunctionTy().