From: Devang Patel Date: Wed, 3 Sep 2008 20:24:05 +0000 (+0000) Subject: Add missing decls. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3d566ddd05120d1ff85eb4f93283e0e85366fa82;p=oota-llvm.git Add missing decls. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55719 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/LinkAllPasses.h b/include/llvm/LinkAllPasses.h index 9e82e67507b..2f2d55d114e 100644 --- a/include/llvm/LinkAllPasses.h +++ b/include/llvm/LinkAllPasses.h @@ -62,6 +62,7 @@ namespace { (void) llvm::createDeadTypeEliminationPass(); (void) llvm::createEdgeProfilerPass(); (void) llvm::createFunctionInliningPass(); + (void) llvm::createAlwaysInlinerPass(); (void) llvm::createFunctionProfilerPass(); (void) llvm::createGlobalDCEPass(); (void) llvm::createGlobalOptimizerPass(); diff --git a/include/llvm/Transforms/IPO.h b/include/llvm/Transforms/IPO.h index 72d9d6055cc..5eeea8b7ce4 100644 --- a/include/llvm/Transforms/IPO.h +++ b/include/llvm/Transforms/IPO.h @@ -94,6 +94,11 @@ ModulePass *createGVExtractionPass(std::vector& GVs, bool Pass *createFunctionInliningPass(); Pass *createFunctionInliningPass(int Threshold); +//===----------------------------------------------------------------------===// +/// createAlwaysInlinerPass - Return a new pass object that inlines only +/// functions that are marked as "always_inline". +Pass *createAlwaysInlinerPass(); + //===----------------------------------------------------------------------===// /// createPruneEHPass - Return a new pass object which transforms invoke /// instructions into calls, if the callee can _not_ unwind the stack.