diff options
author | Hans Wennborg <hans@hanshq.net> | 2016-06-22 16:56:16 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2016-06-22 16:56:16 +0000 |
commit | 44d061a4714769b33e17c6099a35a61e3c62b726 (patch) | |
tree | 7773dc6d0c287f39e9afddf854ff5be755c83fb8 /llvm/lib/Support/ThreadPool.cpp | |
parent | eeec4c83648a9a296724c801e1a3fa8686270d4e (diff) | |
download | llvm-44d061a4714769b33e17c6099a35a61e3c62b726.zip llvm-44d061a4714769b33e17c6099a35a61e3c62b726.tar.gz llvm-44d061a4714769b33e17c6099a35a61e3c62b726.tar.bz2 |
Add support for /Ob1 and -finline-hint-functions flags
Add support for /Ob1 (and equivalent -finline-hint-functions), which enable
inlining only for functions marked inline, either explicitly (via inline
keyword, for example), or implicitly (function definition in class body,
for example).
This works by enabling inlining pass, and adding noinline attribute to
every function not marked inline.
Patch by Rudy Pons <rudy.pons@ilod.org>!
Differential Revision: http://reviews.llvm.org/D20647
llvm-svn: 273440
Diffstat (limited to 'llvm/lib/Support/ThreadPool.cpp')
0 files changed, 0 insertions, 0 deletions