LLVM
8.0.1
|
Functions | |
LLVMPassManagerRef | LLVMCreatePassManager (void) |
Constructs a new whole-module pass pipeline. More... | |
LLVMPassManagerRef | LLVMCreateFunctionPassManagerForModule (LLVMModuleRef M) |
Constructs a new function-by-function pass pipeline over the module provider. More... | |
LLVMPassManagerRef | LLVMCreateFunctionPassManager (LLVMModuleProviderRef MP) |
Deprecated: Use LLVMCreateFunctionPassManagerForModule instead. More... | |
LLVMBool | LLVMRunPassManager (LLVMPassManagerRef PM, LLVMModuleRef M) |
Initializes, executes on the provided module, and finalizes all of the passes scheduled in the pass manager. More... | |
LLVMBool | LLVMInitializeFunctionPassManager (LLVMPassManagerRef FPM) |
Initializes all of the function passes scheduled in the function pass manager. More... | |
LLVMBool | LLVMRunFunctionPassManager (LLVMPassManagerRef FPM, LLVMValueRef F) |
Executes all of the function passes scheduled in the function pass manager on the provided function. More... | |
LLVMBool | LLVMFinalizeFunctionPassManager (LLVMPassManagerRef FPM) |
Finalizes all of the function passes scheduled in the function pass manager. More... | |
void | LLVMDisposePassManager (LLVMPassManagerRef PM) |
Frees the memory of a pass pipeline. More... | |
LLVMPassManagerRef LLVMCreateFunctionPassManager | ( | LLVMModuleProviderRef | MP | ) |
Deprecated: Use LLVMCreateFunctionPassManagerForModule instead.
Definition at line 3887 of file Core.cpp.
References LLVMCreateFunctionPassManagerForModule().
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 3883 of file Core.cpp.
References llvm::unwrap(), and llvm::wrap().
Referenced by LLVMCreateFunctionPassManager().
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 3879 of file Core.cpp.
References llvm::wrap().
void LLVMDisposePassManager | ( | LLVMPassManagerRef | PM | ) |
Frees the memory of a pass pipeline.
For function pipelines, does not free the module provider.
Definition at line 3908 of file Core.cpp.
References llvm::unwrap().
LLVMBool LLVMFinalizeFunctionPassManager | ( | LLVMPassManagerRef | FPM | ) |
LLVMBool LLVMInitializeFunctionPassManager | ( | LLVMPassManagerRef | FPM | ) |
LLVMBool LLVMRunFunctionPassManager | ( | LLVMPassManagerRef | FPM, |
LLVMValueRef | F | ||
) |
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 3892 of file Core.cpp.
References llvm::unwrap().