ΒΆbool isMathLibCallNoop(
    const llvm::CallBase* Call,
    const llvm::TargetLibraryInfo* TLI)

Description

Check whether the given call has no side-effects. Specifically checks for math routimes which sometimes set errno.

Declared at: llvm/include/llvm/Analysis/ConstantFolding.h:191

Parameters

const llvm::CallBase* Call
const llvm::TargetLibraryInfo* TLI