|
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 243 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 237 of file RuntimeLibcalls.cpp.
References llvm::FixedVectorType::get(), llvm::Type::getInt128Ty(), and llvm::Type::getInt64Ty().
Referenced by convertToIRType().
|
static |
Definition at line 387 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 205 of file RuntimeLibcalls.cpp.
References llvm::RTLIB::RuntimeLibcallsInfo::getIntSize().
Referenced by convertToIRType(), and getIntExtAttr().
|
static |
Definition at line 220 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 201 of file RuntimeLibcalls.cpp.
References DL.
Referenced by convertToIRType(), and llvm::RTLIB::RuntimeLibcallsInfo::getFunctionTy().
|
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 162 of file RuntimeLibcalls.cpp.
References llvm::Triple::sparcv9, llvm::Triple::systemz, and T.
Referenced by getIntExtAttr(), and llvm::RTLIB::RuntimeLibcallsInfo::initExtensionsForTriple().
Definition at line 169 of file RuntimeLibcalls.cpp.
References T.
Referenced by getIntExtAttr(), and llvm::RTLIB::RuntimeLibcallsInfo::initExtensionsForTriple().
Definition at line 175 of file RuntimeLibcalls.cpp.
References T.
Referenced by getIntExtAttr(), and llvm::RTLIB::RuntimeLibcallsInfo::initExtensionsForTriple().
Definition at line 189 of file RuntimeLibcalls.cpp.
References T.
Referenced by getIntExtAttr(), and llvm::RTLIB::RuntimeLibcallsInfo::initBoolExtensionsForTriple().
|
staticconstexpr |
Definition at line 216 of file RuntimeLibcalls.cpp.
Referenced by llvm::RTLIB::RuntimeLibcallsInfo::getFunctionTy().