mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +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:
@@ -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());
|
||||
}
|
||||
|
Reference in New Issue
Block a user