ΒΆvoid LLVMAddInternalizePassWithMustPreservePredicate(
    LLVMPassManagerRef PM,
    void* Context,
    LLVMBool (*)(LLVMValueRef, void*)
        MustPreserve)

Description

Create and add the internalize pass to the given pass manager with the provided preservation callback. The context parameter is forwarded to the callback on each invocation. As such, it is the responsibility of the caller to extend its lifetime until execution of this pass has finished.

Declared at: llvm/include/llvm-c/Transforms/IPO.h:82

Parameters

LLVMPassManagerRef PM
void* Context
LLVMBool (*)(LLVMValueRef, void*) MustPreserve