mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-26 07:34:06 +00:00
Add LLVMAddAlwaysInlinerPass to the C API.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136083 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a03084d86e
commit
3d72290ecb
@ -36,6 +36,9 @@ void LLVMAddFunctionAttrsPass(LLVMPassManagerRef PM);
|
||||
/** See llvm::createFunctionInliningPass function. */
|
||||
void LLVMAddFunctionInliningPass(LLVMPassManagerRef PM);
|
||||
|
||||
/** See llvm::createAlwaysInlinerPass function. */
|
||||
void LLVMAddAlwaysInlinerPass(LLVMPassManagerRef PM);
|
||||
|
||||
/** See llvm::createGlobalDCEPass function. */
|
||||
void LLVMAddGlobalDCEPass(LLVMPassManagerRef PM);
|
||||
|
||||
|
@ -70,6 +70,10 @@ void LLVMAddFunctionInliningPass(LLVMPassManagerRef PM) {
|
||||
unwrap(PM)->add(createFunctionInliningPass());
|
||||
}
|
||||
|
||||
void LLVMAddAlwaysInlinerPass(LLVMPassManagerRef PM) {
|
||||
unwrap(PM)->add(llvm::createAlwaysInlinerPass());
|
||||
}
|
||||
|
||||
void LLVMAddGlobalDCEPass(LLVMPassManagerRef PM) {
|
||||
unwrap(PM)->add(createGlobalDCEPass());
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user