Enable more optimizations.

This commit is contained in:
Rafael Ávila de Espíndola
2011-04-12 15:33:39 -04:00
parent 73eecbd0ca
commit dd6fc607a4
2 changed files with 10 additions and 9 deletions

View File

@@ -749,7 +749,7 @@ native mod llvm = llvm_lib {
fn LLVMAddFunctionInliningPass(PassManagerRef PM);
fn LLVMAddFunctionAttrsPass(PassManagerRef PM);
fn LLVMAddScalarReplAggregatesPass(PassManagerRef PM);
// fn LLVMAddScalarReplAggregatesPassSSA(PassManagerRef PM);
fn LLVMAddScalarReplAggregatesPassSSA(PassManagerRef PM);
fn LLVMAddJumpThreadingPass(PassManagerRef PM);
fn LLVMAddConstantPropagationPass(PassManagerRef PM);
fn LLVMAddReassociatePass(PassManagerRef PM);
@@ -770,10 +770,11 @@ native mod llvm = llvm_lib {
fn LLVMAddIndVarSimplifyPass(PassManagerRef PM);
fn LLVMAddAggressiveDCEPass(PassManagerRef PM);
fn LLVMAddGlobalDCEPass(PassManagerRef PM);
// fn LLVMAddCorrelatedValuePropagationPass(PassManagerRef PM);
fn LLVMAddCorrelatedValuePropagationPass(PassManagerRef PM);
fn LLVMAddPruneEHPass(PassManagerRef PM);
fn LLVMAddSimplifyLibCallsPass(PassManagerRef PM);
// fn LLVMAddLoopIdiomPass(PassManagerRef PM);
fn LLVMAddLoopIdiomPass(PassManagerRef PM);
fn LLVMAddEarlyCSEPass(PassManagerRef PM);
/** Destroys a memory buffer. */
fn LLVMDisposeMemoryBuffer(MemoryBufferRef MemBuf);