llvm::CallBase::setCalledFunction

setCalledFunction overloads

Synopses

Declared in <llvm/IR/InstrTypes.h>

Set the called function and update the function type.

void
setCalledFunction(FunctionCallee Fn);
» more...

Set the called function and update the function type.

void
setCalledFunction(Function* Fn);
» more...

Set the called function with an explicit function type.

void
setCalledFunction(
    FunctionType* FTy,
    Value* Fn);
» more...

Parameters

NameDescription
FnCallee wrapper providing type and value.
FTyFunction type of the call.