LLVM 22.0.0git
llvm::LibcallLoweringInfo Class Reference

#include "llvm/CodeGen/LibcallLoweringInfo.h"

Public Member Functions

LLVM_ABI LibcallLoweringInfo (const RTLIB::RuntimeLibcallsInfo &RTLCI)
LLVM_ABI const chargetLibcallName (RTLIB::Libcall Call) const
 Get the libcall routine name for the specified libcall.
LLVM_ABI RTLIB::LibcallImpl getLibcallImpl (RTLIB::Libcall Call) const
 Return the lowering's selection of implementation call for Call.
LLVM_ABI void setLibcallImpl (RTLIB::Libcall Call, RTLIB::LibcallImpl Impl)
 Rename the default libcall routine name for the specified libcall.
LLVM_ABI CallingConv::ID getLibcallCallingConv (RTLIB::Libcall Call) const
LLVM_ABI CallingConv::ID getLibcallImplCallingConv (RTLIB::LibcallImpl Call) const
 Get the CallingConv that should be used for the specified libcall.
RTLIB::LibcallImpl getMemcpyImpl () const
 Return a function impl compatible with RTLIB::MEMCPY, or RTLIB::Unsupported if fully unsupported.

Detailed Description

Definition at line 16 of file LibcallLoweringInfo.h.

Constructor & Destructor Documentation

◆ LibcallLoweringInfo()

LibcallLoweringInfo::LibcallLoweringInfo ( const RTLIB::RuntimeLibcallsInfo & RTLCI)

Member Function Documentation

◆ getLibcallCallingConv()

LLVM_ABI CallingConv::ID llvm::LibcallLoweringInfo::getLibcallCallingConv ( RTLIB::Libcall Call) const
inline

Definition at line 46 of file LibcallLoweringInfo.h.

References Call, and LLVM_ABI.

◆ getLibcallImpl()

LLVM_ABI RTLIB::LibcallImpl llvm::LibcallLoweringInfo::getLibcallImpl ( RTLIB::Libcall Call) const
inline

Return the lowering's selection of implementation call for Call.

Definition at line 35 of file LibcallLoweringInfo.h.

References Call, and LLVM_ABI.

Referenced by getMemcpyImpl().

◆ getLibcallImplCallingConv()

LLVM_ABI CallingConv::ID llvm::LibcallLoweringInfo::getLibcallImplCallingConv ( RTLIB::LibcallImpl Call) const
inline

Get the CallingConv that should be used for the specified libcall.

Definition at line 52 of file LibcallLoweringInfo.h.

References Call.

◆ getLibcallName()

LLVM_ABI const char * llvm::LibcallLoweringInfo::getLibcallName ( RTLIB::Libcall Call) const
inline

Get the libcall routine name for the specified libcall.

Definition at line 28 of file LibcallLoweringInfo.h.

References Call, llvm::StringRef::data(), llvm::RTLIB::RuntimeLibcallsInfo::getLibcallImplName(), and LLVM_ABI.

◆ getMemcpyImpl()

RTLIB::LibcallImpl llvm::LibcallLoweringInfo::getMemcpyImpl ( ) const
inline

Return a function impl compatible with RTLIB::MEMCPY, or RTLIB::Unsupported if fully unsupported.

Definition at line 58 of file LibcallLoweringInfo.h.

References getLibcallImpl().

◆ setLibcallImpl()

LLVM_ABI void llvm::LibcallLoweringInfo::setLibcallImpl ( RTLIB::Libcall Call,
RTLIB::LibcallImpl Impl )
inline

Rename the default libcall routine name for the specified libcall.

Definition at line 40 of file LibcallLoweringInfo.h.

References Call, and LLVM_ABI.


The documentation for this class was generated from the following files: