ΒΆbool returnTypeIsEligibleForTailCall(
    const llvm::Function* F,
    const llvm::Instruction* I,
    const llvm::ReturnInst* Ret,
    const llvm::TargetLoweringBase& TLI)

Description

Test if given that the input instruction is in the tail call position if the return type or any attributes of the function will inhibit tail call optimization.

Declared at: llvm/include/llvm/CodeGen/Analysis.h:141

Parameters

const llvm::Function* F
const llvm::Instruction* I
const llvm::ReturnInst* Ret
const llvm::TargetLoweringBase& TLI