mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 21:45:16 +00:00
[C API] Make the 'lower switch' pass available via the C API.
llvm-svn: 217630
This commit is contained in:
parent
74d3a27ed8
commit
b772cdd01b
@ -89,6 +89,9 @@ void LLVMAddMemCpyOptPass(LLVMPassManagerRef PM);
|
||||
/** See llvm::createPartiallyInlineLibCallsPass function. */
|
||||
void LLVMAddPartiallyInlineLibCallsPass(LLVMPassManagerRef PM);
|
||||
|
||||
/** See llvm::createLowerSwitchPass function. */
|
||||
void LLVMAddLowerSwitchPass(LLVMPassManagerRef PM);
|
||||
|
||||
/** See llvm::createPromoteMemoryToRegisterPass function. */
|
||||
void LLVMAddPromoteMemoryToRegisterPass(LLVMPassManagerRef PM);
|
||||
|
||||
|
@ -151,6 +151,10 @@ void LLVMAddPartiallyInlineLibCallsPass(LLVMPassManagerRef PM) {
|
||||
unwrap(PM)->add(createPartiallyInlineLibCallsPass());
|
||||
}
|
||||
|
||||
void LLVMAddLowerSwitchPass(LLVMPassManagerRef PM) {
|
||||
unwrap(PM)->add(createLowerSwitchPass());
|
||||
}
|
||||
|
||||
void LLVMAddPromoteMemoryToRegisterPass(LLVMPassManagerRef PM) {
|
||||
unwrap(PM)->add(createPromoteMemoryToRegisterPass());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user