llvm::LibcallLoweringInfo

Tracks which library functions to use for a particular subtarget or function.

Synopsis

Declared in <llvm/Analysis/LibcallLoweringInfo.h>

class LibcallLoweringInfo;

Type Aliases

NameDescription
ApplyContextRulesFn Callback applying the caller's context-specific (e.g. subtarget) libcall rules on top of the module-level defaults.

Member Functions

NameDescription
LibcallLoweringInfo [constructor]Construct libcall lowering info from module-level runtime libcall info.
getLibcallCallingConv Get the CallingConv that should be used for the specified libcall.
getLibcallImpl Return the lowering's selection of implementation call for Call.
getLibcallImplCallingConv Get the CallingConv that should be used for the specified libcall.
getLibcallName Get the libcall routine name for the specified libcall.
getMemcpyImpl Return a function impl compatible with RTLIB::MEMCPY, or RTLIB::Unsupported if fully unsupported.
getRuntimeLibcallsInfo Return the module-level runtime libcall information used by this lowering.
setLibcallImpl Remap the default libcall routine name for the specified libcall.

Non-Member Functions

NameDescription
getLibcallLoweringResolve the LibcallLoweringInfo for Subtarget from the module-level ModuleInfo, applying the subtarget's libcall overrides.