llvm::CallBase::getCalledFunction

Returns the function called, or null if this is an indirect function invocation or the function signature does not match the call signature, or the call target is an alias.

Synopsis

Declared in <llvm/IR/InstrTypes.h>

Function*
getCalledFunction() const;