LLVM 24.0.0git
RuntimeLibcallUtil.h File Reference
#include "llvm/CodeGen/ISDOpcodes.h"
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/IR/RuntimeLibcalls.h"
#include "llvm/Support/AtomicOrdering.h"
#include "llvm/Support/Compiler.h"
#include "llvm/IR/RuntimeLibcalls.inc"

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 GET_RUNTIME_LIBCALL_FP_SELECTOR_DECLS
 The floating-point selectors get<OP>(EVT) return the <OP>_* libcall for the given type, or UNKNOWN_LIBCALL.

Functions

LLVM_ABI Libcall llvm::RTLIB::getSHL (EVT VT)
LLVM_ABI Libcall llvm::RTLIB::getSRL (EVT VT)
LLVM_ABI Libcall llvm::RTLIB::getSRA (EVT VT)
LLVM_ABI Libcall llvm::RTLIB::getMUL (EVT VT)
LLVM_ABI Libcall llvm::RTLIB::getMULO (EVT VT)
LLVM_ABI Libcall llvm::RTLIB::getSDIV (EVT VT)
LLVM_ABI Libcall llvm::RTLIB::getUDIV (EVT VT)
LLVM_ABI Libcall llvm::RTLIB::getSREM (EVT VT)
LLVM_ABI Libcall llvm::RTLIB::getUREM (EVT VT)
LLVM_ABI Libcall llvm::RTLIB::getCTPOP (EVT VT)
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.
LLVM_ABI Libcall llvm::RTLIB::getFPEXT (EVT OpVT, EVT RetVT)
 getFPEXT - Return the FPEXT_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
LLVM_ABI Libcall llvm::RTLIB::getFPROUND (EVT OpVT, EVT RetVT)
 getFPROUND - Return the FPROUND_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
LLVM_ABI Libcall llvm::RTLIB::getFPTOSINT (EVT OpVT, EVT RetVT)
 getFPTOSINT - Return the FPTOSINT_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
LLVM_ABI Libcall llvm::RTLIB::getFPTOUINT (EVT OpVT, EVT RetVT)
 getFPTOUINT - Return the FPTOUINT_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
LLVM_ABI Libcall llvm::RTLIB::getSINTTOFP (EVT OpVT, EVT RetVT)
 getSINTTOFP - Return the SINTTOFP_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
LLVM_ABI Libcall llvm::RTLIB::getUINTTOFP (EVT OpVT, EVT RetVT)
 getUINTTOFP - Return the UINTTOFP_*_* value for the given types, or UNKNOWN_LIBCALL if there is none.
LLVM_ABI 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.
LLVM_ABI 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.
LLVM_ABI 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.
LLVM_ABI 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.
LLVM_ABI 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.
LLVM_ABI 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

◆ GET_RUNTIME_LIBCALL_FP_SELECTOR_DECLS

#define GET_RUNTIME_LIBCALL_FP_SELECTOR_DECLS

The floating-point selectors get<OP>(EVT) return the <OP>_* libcall for the given type, or UNKNOWN_LIBCALL.

Generated from the RuntimeLibcallFamily table in RuntimeLibcalls.td.

Definition at line 98 of file RuntimeLibcallUtil.h.