LLVM 22.0.0git
RuntimeLibcalls.cpp File Reference
#include "llvm/IR/RuntimeLibcalls.h"
#include "llvm/ADT/FloatingPointMode.h"
#include "llvm/ADT/StringTable.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/SystemLibraries.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/xxhash.h"
#include "llvm/TargetParser/ARMTargetParser.h"
#include "llvm/IR/RuntimeLibcalls.inc"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "runtime-libcalls-info"
#define GET_RUNTIME_LIBCALLS_INFO
#define GET_INIT_RUNTIME_LIBCALL_NAMES
#define GET_SET_TARGET_RUNTIME_LIBCALL_SETS
#define DEFINE_GET_LOOKUP_LIBCALL_IMPL_NAME

Functions

static IntegerTypegetSizeTType (LLVMContext &Ctx, const DataLayout &DL)
 TODO: There is really no guarantee that sizeof(size_t) is equal to the index size of the default address space.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "runtime-libcalls-info"

Definition at line 18 of file RuntimeLibcalls.cpp.

◆ DEFINE_GET_LOOKUP_LIBCALL_IMPL_NAME

#define DEFINE_GET_LOOKUP_LIBCALL_IMPL_NAME

Definition at line 26 of file RuntimeLibcalls.cpp.

◆ GET_INIT_RUNTIME_LIBCALL_NAMES

#define GET_INIT_RUNTIME_LIBCALL_NAMES

Definition at line 24 of file RuntimeLibcalls.cpp.

◆ GET_RUNTIME_LIBCALLS_INFO

#define GET_RUNTIME_LIBCALLS_INFO

Definition at line 23 of file RuntimeLibcalls.cpp.

◆ GET_SET_TARGET_RUNTIME_LIBCALL_SETS

#define GET_SET_TARGET_RUNTIME_LIBCALL_SETS

Definition at line 25 of file RuntimeLibcalls.cpp.

Function Documentation

◆ getSizeTType()

IntegerType * getSizeTType ( LLVMContext & Ctx,
const DataLayout & DL )
static

TODO: There is really no guarantee that sizeof(size_t) is equal to the index size of the default address space.

This matches TargetLibraryInfo and should be kept in sync.

Definition at line 136 of file RuntimeLibcalls.cpp.

References DL.

Referenced by llvm::RTLIB::RuntimeLibcallsInfo::getFunctionTy().