Function LLVMRunPassesOnFunction

Source
pub unsafe extern "C" fn LLVMRunPassesOnFunction(
    F: LLVMValueRef,
    Passes: *const c_char,
    TM: LLVMTargetMachineRef,
    Options: LLVMPassBuilderOptionsRef,
) -> LLVMErrorRef
Expand description

Construct and run a set of passes over a function.

This function behaves the same as LLVMRunPasses, but operates on a single function instead of an entire module.