LLVM 23.0.0git
llvm::LibcallLoweringInfo Class Reference

Tracks which library functions to use for a particular subtarget. More...

#include "llvm/CodeGen/LibcallLoweringInfo.h"

Public Member Functions

LLVM_ABI LibcallLoweringInfo (const RTLIB::RuntimeLibcallsInfo &RTLCI, const TargetSubtargetInfo &Subtarget)
const RTLIB::RuntimeLibcallsInfogetRuntimeLibcallsInfo () const
const chargetLibcallName (RTLIB::Libcall Call) const
 Get the libcall routine name for the specified libcall.
RTLIB::LibcallImpl getLibcallImpl (RTLIB::Libcall Call) const
 Return the lowering's selection of implementation call for Call.
void setLibcallImpl (RTLIB::Libcall Call, RTLIB::LibcallImpl Impl)
 Rename the default libcall routine name for the specified libcall.
CallingConv::ID getLibcallCallingConv (RTLIB::Libcall Call) const
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

Tracks which library functions to use for a particular subtarget.

Definition at line 23 of file LibcallLoweringInfo.h.

Constructor & Destructor Documentation

◆ LibcallLoweringInfo()

Member Function Documentation

◆ getLibcallCallingConv()

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

Definition at line 58 of file LibcallLoweringInfo.h.

References Call.

◆ getLibcallImpl()

◆ getLibcallImplCallingConv()

◆ getLibcallName()

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

Get the libcall routine name for the specified libcall.

Definition at line 40 of file LibcallLoweringInfo.h.

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

◆ 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 69 of file LibcallLoweringInfo.h.

References getLibcallImpl().

◆ getRuntimeLibcallsInfo()

const RTLIB::RuntimeLibcallsInfo & llvm::LibcallLoweringInfo::getRuntimeLibcallsInfo ( ) const
inline

Definition at line 34 of file LibcallLoweringInfo.h.

◆ setLibcallImpl()

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

Rename the default libcall routine name for the specified libcall.

Definition at line 52 of file LibcallLoweringInfo.h.

References Call.


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