ΒΆbool callsGCLeafFunction(
const llvm::CallBase* Call,
const llvm::TargetLibraryInfo& TLI)
bool callsGCLeafFunction(
const llvm::CallBase* Call,
const llvm::TargetLibraryInfo& TLI)
Description
Return true if this call calls a gc leaf function. A leaf function is a function that does not safepoint the thread during its execution. During a call or invoke to such a function, the callers stack does not have to be made parseable. Most passes can and should ignore this information, and it is only used during lowering by the GC infrastructure.
Declared at: llvm/include/llvm/Transforms/Utils/Local.h:469
Parameters
- const llvm::CallBase* Call
- const llvm::TargetLibraryInfo& TLI