ΒΆbool UpgradeIntrinsicFunction(
    llvm::Function* F,
    llvm::Function*& NewFn)

Description

This is a more granular function that simply checks an intrinsic function for upgrading, and returns true if it requires upgrading. It may return null in NewFn if the all calls to the original intrinsic function should be transformed to non-function-call instructions.

Declared at: llvm/include/llvm/IR/AutoUpgrade.h:34

Parameters

llvm::Function* F
llvm::Function*& NewFn