LLVM: Pass Managers (original) (raw)
| 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. |
◆ LLVMCreateFunctionPassManager()
◆ LLVMCreateFunctionPassManagerForModule()
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.
See also
llvm::FunctionPassManager::FunctionPassManager
Definition at line 4634 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
Referenced by LLVMCreateFunctionPassManager().
◆ LLVMCreatePassManager()
◆ LLVMDisposePassManager()
◆ LLVMFinalizeFunctionPassManager()
Finalizes all of the function passes scheduled in the function pass manager.
Returns 1 if any of the passes modified the module, 0 otherwise.
See also
llvm::FunctionPassManager::doFinalization
Definition at line 4655 of file Core.cpp.
References llvm::unwrap().
◆ LLVMInitializeFunctionPassManager()
Initializes all of the function passes scheduled in the function pass manager.
Returns 1 if any of the passes modified the module, 0 otherwise.
See also
llvm::FunctionPassManager::doInitialization
Definition at line 4647 of file Core.cpp.
References llvm::unwrap().
◆ LLVMRunFunctionPassManager()
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.
See also
llvm::FunctionPassManager::run(Function&)
Definition at line 4651 of file Core.cpp.
References F, and llvm::unwrap().
◆ LLVMRunPassManager()
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.
See also
llvm::PassManager::run(Module&)
Definition at line 4643 of file Core.cpp.
References llvm::unwrap().