LLVM 22.0.0git
|
Functions | |
LLVM_C_ABI LLVMPassManagerRef | LLVMCreatePassManager (void) |
Constructs a new whole-module pass pipeline. | |
LLVM_C_ABI LLVMPassManagerRef | LLVMCreateFunctionPassManagerForModule (LLVMModuleRef M) |
Constructs a new function-by-function pass pipeline over the module provider. | |
LLVM_C_ABI LLVMPassManagerRef | LLVMCreateFunctionPassManager (LLVMModuleProviderRef MP) |
Deprecated: Use LLVMCreateFunctionPassManagerForModule instead. | |
LLVM_C_ABI LLVMBool | LLVMRunPassManager (LLVMPassManagerRef PM, LLVMModuleRef M) |
Initializes, executes on the provided module, and finalizes all of the passes scheduled in the pass manager. | |
LLVM_C_ABI LLVMBool | LLVMInitializeFunctionPassManager (LLVMPassManagerRef FPM) |
Initializes all of the function passes scheduled in the function pass manager. | |
LLVM_C_ABI LLVMBool | LLVMRunFunctionPassManager (LLVMPassManagerRef FPM, LLVMValueRef F) |
Executes all of the function passes scheduled in the function pass manager on the provided function. | |
LLVM_C_ABI LLVMBool | LLVMFinalizeFunctionPassManager (LLVMPassManagerRef FPM) |
Finalizes all of the function passes scheduled in the function pass manager. | |
LLVM_C_ABI void | LLVMDisposePassManager (LLVMPassManagerRef PM) |
Frees the memory of a pass pipeline. |
LLVM_C_ABI LLVMPassManagerRef LLVMCreateFunctionPassManager | ( | LLVMModuleProviderRef | MP | ) |
Deprecated: Use LLVMCreateFunctionPassManagerForModule instead.
Definition at line 4588 of file Core.cpp.
References LLVMCreateFunctionPassManagerForModule(), and P.
LLVM_C_ABI LLVMPassManagerRef LLVMCreateFunctionPassManagerForModule | ( | LLVMModuleRef | M | ) |
Constructs a new function-by-function pass pipeline over the module provider.
It does not take ownership of the module provider. This type of pipeline is suitable for code generation and JIT compilation tasks.
Definition at line 4584 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
Referenced by LLVMCreateFunctionPassManager().
LLVM_C_ABI LLVMPassManagerRef LLVMCreatePassManager | ( | void | ) |
Constructs a new whole-module pass pipeline.
This type of pipeline is suitable for link-time optimization and whole-module transformations.
Definition at line 4580 of file Core.cpp.
References llvm::wrap().
LLVM_C_ABI void LLVMDisposePassManager | ( | LLVMPassManagerRef | PM | ) |
Frees the memory of a pass pipeline.
For function pipelines, does not free the module provider.
Definition at line 4609 of file Core.cpp.
References llvm::unwrap().
LLVM_C_ABI LLVMBool LLVMFinalizeFunctionPassManager | ( | LLVMPassManagerRef | FPM | ) |
Finalizes all of the function passes scheduled in the function pass manager.
Returns 1 if any of the passes modified the module, 0 otherwise.
Definition at line 4605 of file Core.cpp.
References llvm::unwrap().
LLVM_C_ABI LLVMBool LLVMInitializeFunctionPassManager | ( | LLVMPassManagerRef | FPM | ) |
Initializes all of the function passes scheduled in the function pass manager.
Returns 1 if any of the passes modified the module, 0 otherwise.
Definition at line 4597 of file Core.cpp.
References llvm::unwrap().
LLVM_C_ABI LLVMBool LLVMRunFunctionPassManager | ( | LLVMPassManagerRef | FPM, |
LLVMValueRef | F ) |
Executes all of the function passes scheduled in the function pass manager on the provided function.
Returns 1 if any of the passes modified the function, false otherwise.
Definition at line 4601 of file Core.cpp.
References F, and llvm::unwrap().
LLVM_C_ABI LLVMBool LLVMRunPassManager | ( | LLVMPassManagerRef | PM, |
LLVMModuleRef | M ) |
Initializes, executes on the provided module, and finalizes all of the passes scheduled in the pass manager.
Returns 1 if any of the passes modified the module, 0 otherwise.
Definition at line 4593 of file Core.cpp.
References llvm::unwrap().