LLVM 22.0.0git
|
Classes | |
struct | RuntimeLibcallsInfo |
A simple container for information about the supported runtime calls. More... | |
Functions | |
LLVM_ABI Libcall | getFPLibCall (EVT VT, Libcall Call_F32, Libcall Call_F64, Libcall Call_F80, Libcall Call_F128, Libcall Call_PPCF128) |
GetFPLibCall - Helper to return the right libcall for the given floating point type, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getFPEXT (EVT OpVT, EVT RetVT) |
getFPEXT - Return the FPEXT_*_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getFPROUND (EVT OpVT, EVT RetVT) |
getFPROUND - Return the FPROUND_*_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getFPTOSINT (EVT OpVT, EVT RetVT) |
getFPTOSINT - Return the FPTOSINT_*_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getFPTOUINT (EVT OpVT, EVT RetVT) |
getFPTOUINT - Return the FPTOUINT_*_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getSINTTOFP (EVT OpVT, EVT RetVT) |
getSINTTOFP - Return the SINTTOFP_*_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getUINTTOFP (EVT OpVT, EVT RetVT) |
getUINTTOFP - Return the UINTTOFP_*_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getPOWI (EVT RetVT) |
getPOWI - Return the POWI_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getPOW (EVT RetVT) |
getPOW - Return the POW_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getLDEXP (EVT RetVT) |
getLDEXP - Return the LDEXP_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getFREXP (EVT RetVT) |
getFREXP - Return the FREXP_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getSIN (EVT RetVT) |
Return the SIN_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getCOS (EVT RetVT) |
Return the COS_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getSINCOS (EVT RetVT) |
getSINCOS - Return the SINCOS_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getSINCOSPI (EVT RetVT) |
getSINCOSPI - Return the SINCOSPI_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getMODF (EVT RetVT) |
getMODF - Return the MODF_* value for the given types, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getSYNC (unsigned Opc, MVT VT) |
Return the SYNC_FETCH_AND_* value for the given opcode and type, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getOutlineAtomicHelper (const Libcall(&LC)[5][4], AtomicOrdering Order, uint64_t MemSize) |
Return the outline atomics value for the given atomic ordering, access size and set of libcalls for a given atomic, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getOUTLINE_ATOMIC (unsigned Opc, AtomicOrdering Order, MVT VT) |
Return the outline atomics value for the given opcode, atomic ordering and type, or UNKNOWN_LIBCALL if there is none. | |
LLVM_ABI Libcall | getMEMCPY_ELEMENT_UNORDERED_ATOMIC (uint64_t ElementSize) |
getMEMCPY_ELEMENT_UNORDERED_ATOMIC - Return MEMCPY_ELEMENT_UNORDERED_ATOMIC_* value for the given element size or UNKNOW_LIBCALL if there is none. | |
LLVM_ABI Libcall | getMEMMOVE_ELEMENT_UNORDERED_ATOMIC (uint64_t ElementSize) |
getMEMMOVE_ELEMENT_UNORDERED_ATOMIC - Return MEMMOVE_ELEMENT_UNORDERED_ATOMIC_* value for the given element size or UNKNOW_LIBCALL if there is none. | |
LLVM_ABI Libcall | getMEMSET_ELEMENT_UNORDERED_ATOMIC (uint64_t ElementSize) |
getMEMSET_ELEMENT_UNORDERED_ATOMIC - Return MEMSET_ELEMENT_UNORDERED_ATOMIC_* value for the given element size or UNKNOW_LIBCALL if there is none. | |
static auto | libcalls () |
static auto | libcall_impls () |
RTLIB::Libcall llvm::RTLIB::getCOS | ( | EVT | RetVT | ) |
Return the COS_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 417 of file TargetLoweringBase.cpp.
References getFPLibCall().
getFPEXT - Return the FPEXT_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 120 of file TargetLoweringBase.cpp.
Referenced by getConvRTLibDesc().
LLVM_ABI Libcall llvm::RTLIB::getFPLibCall | ( | EVT | VT, |
Libcall | Call_F32, | ||
Libcall | Call_F64, | ||
Libcall | Call_F80, | ||
Libcall | Call_F128, | ||
Libcall | Call_PPCF128 | ||
) |
GetFPLibCall - Helper to return the right libcall for the given floating point type, or UNKNOWN_LIBCALL if there is none.
Referenced by getCOS(), getFREXP(), getLDEXP(), getMODF(), getPOW(), getPOWI(), getSIN(), getSINCOS(), and getSINCOSPI().
getFPROUND - Return the FPROUND_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 155 of file TargetLoweringBase.cpp.
Referenced by getConvRTLibDesc(), and llvm::RISCVTargetLowering::LowerOperation().
getFPTOSINT - Return the FPTOSINT_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 202 of file TargetLoweringBase.cpp.
Referenced by findFPToIntLibcall(), getConvRTLibDesc(), llvm::LoongArchTargetLowering::ReplaceNodeResults(), and llvm::RISCVTargetLowering::ReplaceNodeResults().
getFPTOUINT - Return the FPTOUINT_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 251 of file TargetLoweringBase.cpp.
Referenced by findFPToIntLibcall(), getConvRTLibDesc(), and llvm::RISCVTargetLowering::ReplaceNodeResults().
RTLIB::Libcall llvm::RTLIB::getFREXP | ( | EVT | RetVT | ) |
getFREXP - Return the FREXP_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 408 of file TargetLoweringBase.cpp.
References getFPLibCall().
RTLIB::Libcall llvm::RTLIB::getLDEXP | ( | EVT | RetVT | ) |
getLDEXP - Return the LDEXP_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 403 of file TargetLoweringBase.cpp.
References getFPLibCall().
RTLIB::Libcall llvm::RTLIB::getMEMCPY_ELEMENT_UNORDERED_ATOMIC | ( | uint64_t | ElementSize | ) |
getMEMCPY_ELEMENT_UNORDERED_ATOMIC - Return MEMCPY_ELEMENT_UNORDERED_ATOMIC_* value for the given element size or UNKNOW_LIBCALL if there is none.
Definition at line 561 of file TargetLoweringBase.cpp.
Referenced by llvm::SelectionDAG::getAtomicMemcpy().
RTLIB::Libcall llvm::RTLIB::getMEMMOVE_ELEMENT_UNORDERED_ATOMIC | ( | uint64_t | ElementSize | ) |
getMEMMOVE_ELEMENT_UNORDERED_ATOMIC - Return MEMMOVE_ELEMENT_UNORDERED_ATOMIC_* value for the given element size or UNKNOW_LIBCALL if there is none.
Definition at line 578 of file TargetLoweringBase.cpp.
Referenced by llvm::SelectionDAG::getAtomicMemmove().
RTLIB::Libcall llvm::RTLIB::getMEMSET_ELEMENT_UNORDERED_ATOMIC | ( | uint64_t | ElementSize | ) |
getMEMSET_ELEMENT_UNORDERED_ATOMIC - Return MEMSET_ELEMENT_UNORDERED_ATOMIC_* value for the given element size or UNKNOW_LIBCALL if there is none.
Definition at line 595 of file TargetLoweringBase.cpp.
Referenced by llvm::SelectionDAG::getAtomicMemset().
RTLIB::Libcall llvm::RTLIB::getMODF | ( | EVT | RetVT | ) |
getMODF - Return the MODF_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 431 of file TargetLoweringBase.cpp.
References getFPLibCall().
Referenced by llvm::BasicTTIImplBase< T >::getIntrinsicInstrCost().
RTLIB::Libcall llvm::RTLIB::getOUTLINE_ATOMIC | ( | unsigned | Opc, |
AtomicOrdering | Order, | ||
MVT | VT | ||
) |
Return the outline atomics value for the given opcode, atomic ordering and type, or UNKNOWN_LIBCALL if there is none.
Definition at line 481 of file TargetLoweringBase.cpp.
References llvm::ISD::ATOMIC_CMP_SWAP, llvm::ISD::ATOMIC_LOAD_ADD, llvm::ISD::ATOMIC_LOAD_CLR, llvm::ISD::ATOMIC_LOAD_OR, llvm::ISD::ATOMIC_LOAD_XOR, llvm::ISD::ATOMIC_SWAP, getOutlineAtomicHelper(), llvm::MVT::getScalarSizeInBits(), llvm::MVT::isScalarInteger(), LCALL5, and Opc.
RTLIB::Libcall llvm::RTLIB::getOutlineAtomicHelper | ( | const Libcall(&) | LC[5][4], |
AtomicOrdering | Order, | ||
uint64_t | MemSize | ||
) |
Return the outline atomics value for the given atomic ordering, access size and set of libcalls for a given atomic, or UNKNOWN_LIBCALL if there is none.
Definition at line 436 of file TargetLoweringBase.cpp.
Referenced by getOUTLINE_ATOMIC().
RTLIB::Libcall llvm::RTLIB::getPOW | ( | EVT | RetVT | ) |
getPOW - Return the POW_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 399 of file TargetLoweringBase.cpp.
References getFPLibCall().
RTLIB::Libcall llvm::RTLIB::getPOWI | ( | EVT | RetVT | ) |
getPOWI - Return the POWI_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 394 of file TargetLoweringBase.cpp.
References getFPLibCall().
RTLIB::Libcall llvm::RTLIB::getSIN | ( | EVT | RetVT | ) |
Return the SIN_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 413 of file TargetLoweringBase.cpp.
References getFPLibCall().
RTLIB::Libcall llvm::RTLIB::getSINCOS | ( | EVT | RetVT | ) |
getSINCOS - Return the SINCOS_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 421 of file TargetLoweringBase.cpp.
References getFPLibCall().
Referenced by llvm::BasicTTIImplBase< T >::getIntrinsicInstrCost(), and isSinCosLibcallAvailable().
RTLIB::Libcall llvm::RTLIB::getSINCOSPI | ( | EVT | RetVT | ) |
getSINCOSPI - Return the SINCOSPI_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 426 of file TargetLoweringBase.cpp.
References getFPLibCall().
Referenced by llvm::BasicTTIImplBase< T >::getIntrinsicInstrCost().
getSINTTOFP - Return the SINTTOFP_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 300 of file TargetLoweringBase.cpp.
Referenced by getConvRTLibDesc().
Return the SYNC_FETCH_AND_* value for the given opcode and type, or UNKNOWN_LIBCALL if there is none.
Definition at line 523 of file TargetLoweringBase.cpp.
References llvm::ISD::ATOMIC_CMP_SWAP, llvm::ISD::ATOMIC_LOAD_ADD, llvm::ISD::ATOMIC_LOAD_AND, llvm::ISD::ATOMIC_LOAD_MAX, llvm::ISD::ATOMIC_LOAD_MIN, llvm::ISD::ATOMIC_LOAD_NAND, llvm::ISD::ATOMIC_LOAD_OR, llvm::ISD::ATOMIC_LOAD_SUB, llvm::ISD::ATOMIC_LOAD_UMAX, llvm::ISD::ATOMIC_LOAD_UMIN, llvm::ISD::ATOMIC_LOAD_XOR, llvm::ISD::ATOMIC_SWAP, OP_TO_LIBCALL, and Opc.
getUINTTOFP - Return the UINTTOFP_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
Definition at line 348 of file TargetLoweringBase.cpp.
Referenced by getConvRTLibDesc().
|
inlinestatic |
Definition at line 52 of file RuntimeLibcalls.h.
References llvm::enum_seq().
|
inlinestatic |
Definition at line 48 of file RuntimeLibcalls.h.
References llvm::enum_seq().