diff options
author | Andrew Kaylor <andrew.kaylor@intel.com> | 2016-05-23 21:57:54 +0000 |
---|---|---|
committer | Andrew Kaylor <andrew.kaylor@intel.com> | 2016-05-23 21:57:54 +0000 |
commit | 312768009eb545e2f4c760b2426311cd3959f7b4 (patch) | |
tree | 8d2328537a7b36e3cfebe20113abc1301b9b6d91 /include | |
parent | 6c0183644255737ac16e13649b40afc0db718cd0 (diff) |
Avoid including AlwaysInliner pass in opt-bisect search.
Differential Revision: http://reviews.llvm.org/D19640
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270495 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Transforms/IPO/InlinerPass.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Transforms/IPO/InlinerPass.h b/include/llvm/Transforms/IPO/InlinerPass.h index 9fc702646b4..e911f2e34a3 100644 --- a/include/llvm/Transforms/IPO/InlinerPass.h +++ b/include/llvm/Transforms/IPO/InlinerPass.h @@ -62,6 +62,12 @@ struct Inliner : public CallGraphSCCPass { /// deal with that subset of the functions. bool removeDeadFunctions(CallGraph &CG, bool AlwaysInlineOnly = false); + /// This function performs the main work of the pass. The default + /// of Inlinter::runOnSCC() calls skipSCC() before calling this method, but + /// derived classes which cannot be skipped can override that method and + /// call this function unconditionally. + bool inlineCalls(CallGraphSCC &SCC); + private: // InsertLifetime - Insert @llvm.lifetime intrinsics. bool InsertLifetime; |