|
LLVM 23.0.0git
|
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::RuntimeLibcallsInfo & | getRuntimeLibcallsInfo () const |
| LLVM_ABI const char * | getLibcallName (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. | |
Tracks which library functions to use for a particular subtarget.
Definition at line 23 of file LibcallLoweringInfo.h.
| LibcallLoweringInfo::LibcallLoweringInfo | ( | const RTLIB::RuntimeLibcallsInfo & | RTLCI, |
| const TargetSubtargetInfo & | Subtarget ) |
Definition at line 17 of file LibcallLoweringInfo.cpp.
References llvm::RTLIB::RuntimeLibcallsInfo::getLibcallFromImpl(), llvm::TargetSubtargetInfo::initLibcallLoweringInfo(), and llvm::RTLIB::libcall_impls().
|
inline |
Definition at line 58 of file LibcallLoweringInfo.h.
|
inline |
Return the lowering's selection of implementation call for Call.
Definition at line 47 of file LibcallLoweringInfo.h.
References Call, and LLVM_ABI.
Referenced by CreateFailBB(), emitRestoreZALazySave(), emitSMEStateSaveRestore(), llvm::ARMSelectionDAGInfo::EmitSpecializedLibcall(), llvm::AArch64SelectionDAGInfo::EmitStreamingCompatibleMemLibCall(), llvm::HexagonSelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::XCoreSelectionDAGInfo::EmitTargetCodeForMemcpy(), getMemcpyImpl(), getRuntimeCallSDValueHelper(), isDivRemLibcallAvailable(), isSinCosLibcallAvailable(), llvm::SparcTargetLowering::LowerF128Op(), and llvm::AArch64GISelUtils::tryEmitBZero().
|
inline |
Get the CallingConv that should be used for the specified libcall.
Definition at line 64 of file LibcallLoweringInfo.h.
References Call.
Referenced by emitRestoreZALazySave(), emitSMEStateSaveRestore(), llvm::ARMSelectionDAGInfo::EmitSpecializedLibcall(), llvm::AArch64SelectionDAGInfo::EmitStreamingCompatibleMemLibCall(), llvm::HexagonSelectionDAGInfo::EmitTargetCodeForMemcpy(), llvm::XCoreSelectionDAGInfo::EmitTargetCodeForMemcpy(), getRuntimeCallSDValueHelper(), and llvm::SparcTargetLowering::LowerF128Op().
Get the libcall routine name for the specified libcall.
Definition at line 40 of file LibcallLoweringInfo.h.
References Call, llvm::StringRef::data(), llvm::RTLIB::RuntimeLibcallsInfo::getLibcallImplName(), and LLVM_ABI.
|
inline |
Return a function impl compatible with RTLIB::MEMCPY, or RTLIB::Unsupported if fully unsupported.
Definition at line 70 of file LibcallLoweringInfo.h.
References getLibcallImpl().
|
inline |
Definition at line 34 of file LibcallLoweringInfo.h.
|
inline |
Rename the default libcall routine name for the specified libcall.
Definition at line 52 of file LibcallLoweringInfo.h.