LLVM 19.0.0git
Namespaces | Macros | Enumerations | Functions
RuntimeLibcalls.h File Reference
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/Support/AtomicOrdering.h"
#include "llvm/IR/RuntimeLibcalls.def"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::RTLIB
 

Macros

#define HANDLE_LIBCALL(code, name)   code,
 

Enumerations

enum  llvm::RTLIB::Libcall
 RTLIB::Libcall enum - This enum defines all of the runtime library calls the backend can emit. More...
 

Functions

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.
 
Libcall llvm::RTLIB::getFPEXT (EVT OpVT, EVT RetVT)
 getFPEXT - Return the FPEXT_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
 
Libcall llvm::RTLIB::getFPROUND (EVT OpVT, EVT RetVT)
 getFPROUND - Return the FPROUND_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
 
Libcall llvm::RTLIB::getFPTOSINT (EVT OpVT, EVT RetVT)
 getFPTOSINT - Return the FPTOSINT_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
 
Libcall llvm::RTLIB::getFPTOUINT (EVT OpVT, EVT RetVT)
 getFPTOUINT - Return the FPTOUINT_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
 
Libcall llvm::RTLIB::getSINTTOFP (EVT OpVT, EVT RetVT)
 getSINTTOFP - Return the SINTTOFP_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
 
Libcall llvm::RTLIB::getUINTTOFP (EVT OpVT, EVT RetVT)
 getUINTTOFP - Return the UINTTOFP_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
 
Libcall llvm::RTLIB::getPOWI (EVT RetVT)
 getPOWI - Return the POWI_* value for the given types, or UNKNOWN_LIBCALL if there is none.
 
Libcall llvm::RTLIB::getLDEXP (EVT RetVT)
 getLDEXP - Return the LDEXP_* value for the given types, or UNKNOWN_LIBCALL if there is none.
 
Libcall llvm::RTLIB::getFREXP (EVT RetVT)
 getFREXP - Return the FREXP_* value for the given types, or UNKNOWN_LIBCALL if there is none.
 
Libcall llvm::RTLIB::getSYNC (unsigned Opc, MVT VT)
 Return the SYNC_FETCH_AND_* value for the given opcode and type, or UNKNOWN_LIBCALL if there is none.
 
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.
 
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.
 
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.
 
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.
 
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.
 

Macro Definition Documentation

◆ HANDLE_LIBCALL

#define HANDLE_LIBCALL (   code,
  name 
)    code,

Definition at line 31 of file RuntimeLibcalls.h.