LLVM 19.0.0git
Public Member Functions | List of all members
llvm::RTLIB::RuntimeLibcallsInfo Struct Reference

A simple container for information about the supported runtime calls. More...

#include "llvm/IR/RuntimeLibcalls.h"

Public Member Functions

 RuntimeLibcallsInfo (const Triple &TT)
 
void setLibcallName (RTLIB::Libcall Call, const char *Name)
 Rename the default libcall routine name for the specified libcall.
 
void setLibcallName (ArrayRef< RTLIB::Libcall > Calls, const char *Name)
 
const chargetLibcallName (RTLIB::Libcall Call) const
 Get the libcall routine name for the specified libcall.
 
void setCmpLibcallCC (RTLIB::Libcall Call, ISD::CondCode CC)
 Override the default CondCode to be used to test the result of the comparison libcall against zero.
 
ISD::CondCode getCmpLibcallCC (RTLIB::Libcall Call) const
 Get the CondCode that's to be used to test the result of the comparison libcall against zero.
 
void setLibcallCallingConv (RTLIB::Libcall Call, CallingConv::ID CC)
 Set the CallingConv that should be used for the specified libcall.
 
CallingConv::ID getLibcallCallingConv (RTLIB::Libcall Call) const
 Get the CallingConv that should be used for the specified libcall.
 
iterator_range< const char ** > getLibcallNames ()
 

Detailed Description

A simple container for information about the supported runtime calls.

Definition at line 41 of file RuntimeLibcalls.h.

Constructor & Destructor Documentation

◆ RuntimeLibcallsInfo()

llvm::RTLIB::RuntimeLibcallsInfo::RuntimeLibcallsInfo ( const Triple TT)
inlineexplicit

Definition at line 42 of file RuntimeLibcalls.h.

Member Function Documentation

◆ getCmpLibcallCC()

ISD::CondCode llvm::RTLIB::RuntimeLibcallsInfo::getCmpLibcallCC ( RTLIB::Libcall  Call) const
inline

Get the CondCode that's to be used to test the result of the comparison libcall against zero.

Definition at line 70 of file RuntimeLibcalls.h.

Referenced by llvm::TargetLoweringBase::getCmpLibcallCC().

◆ getLibcallCallingConv()

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

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

Definition at line 80 of file RuntimeLibcalls.h.

Referenced by llvm::TargetLoweringBase::getLibcallCallingConv().

◆ getLibcallName()

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

Get the libcall routine name for the specified libcall.

Definition at line 58 of file RuntimeLibcalls.h.

Referenced by llvm::TargetLoweringBase::getLibcallName().

◆ getLibcallNames()

iterator_range< const char ** > llvm::RTLIB::RuntimeLibcallsInfo::getLibcallNames ( )
inline

Definition at line 84 of file RuntimeLibcalls.h.

References llvm::make_range().

Referenced by llvm::lto::LTO::getRuntimeLibcallSymbols().

◆ setCmpLibcallCC()

void llvm::RTLIB::RuntimeLibcallsInfo::setCmpLibcallCC ( RTLIB::Libcall  Call,
ISD::CondCode  CC 
)
inline

Override the default CondCode to be used to test the result of the comparison libcall against zero.

Definition at line 64 of file RuntimeLibcalls.h.

References CC.

Referenced by llvm::TargetLoweringBase::setCmpLibcallCC().

◆ setLibcallCallingConv()

void llvm::RTLIB::RuntimeLibcallsInfo::setLibcallCallingConv ( RTLIB::Libcall  Call,
CallingConv::ID  CC 
)
inline

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

Definition at line 75 of file RuntimeLibcalls.h.

References CC.

Referenced by llvm::TargetLoweringBase::setLibcallCallingConv().

◆ setLibcallName() [1/2]

void llvm::RTLIB::RuntimeLibcallsInfo::setLibcallName ( ArrayRef< RTLIB::Libcall Calls,
const char Name 
)
inline

Definition at line 52 of file RuntimeLibcalls.h.

References Name, and setLibcallName().

◆ setLibcallName() [2/2]

void llvm::RTLIB::RuntimeLibcallsInfo::setLibcallName ( RTLIB::Libcall  Call,
const char Name 
)
inline

Rename the default libcall routine name for the specified libcall.

Definition at line 48 of file RuntimeLibcalls.h.

References Name.

Referenced by setLibcallName(), and llvm::TargetLoweringBase::setLibcallName().


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