ΒΆLLVMErrorRef LLVMRunPasses(
    LLVMModuleRef M,
    const char* Passes,
    LLVMTargetMachineRef TM,
    LLVMPassBuilderOptionsRef Options)

Description

Construct and run a set of passes over a module This function takes a string with the passes that should be used. The format of this string is the same as opt's -passes argument for the new pass manager. Individual passes may be specified, separated by commas. Full pipelines may also be invoked using `default <O3 >` and friends. See opt for full reference of the Passes format.

Declared at: llvm/include/llvm-c/Transforms/PassBuilder.h:49

Parameters

LLVMModuleRef M
const char* Passes
LLVMTargetMachineRef TM
LLVMPassBuilderOptionsRef Options