Create a call that matches an invoke's operands and attributes.

Synopsis

Declared in <llvm/Transforms/Utils/Local.h>

CallInst*
createCallMatchingInvoke(InvokeInst* II);

Description

Create a call that matches the invoke II in terms of arguments, attributes, debug information, etc. The call is not placed in a block and it will not have a name. The invoke instruction is not removed, nor are the uses replaced by the new call.

Return Value

Newly created call matching the invoke.

Parameters

Name

Description

II

Invoke instruction to mirror as a call.

Created with MrDocs