diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-02-06 01:16:28 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-02-06 01:16:28 +0000 |
| commit | 7718073fd2b0913241388a391b57589323f48a3b (patch) | |
| tree | 306ece29a43dcc79fe17a0665e6534ce137e4582 /lib/AsmParser/LLToken.h | |
| parent | 4844f9636a384a2b27f93513b94a50223ac31894 (diff) | |
| download | external_llvm-7718073fd2b0913241388a391b57589323f48a3b.zip external_llvm-7718073fd2b0913241388a391b57589323f48a3b.tar.gz external_llvm-7718073fd2b0913241388a391b57589323f48a3b.tar.bz2 | |
Reintroduce the InlineHint function attribute.
This time it's for real! I am going to hook this up in the frontends as well.
The inliner has some experimental heuristics for dealing with the inline hint.
When given a -respect-inlinehint option, functions marked with the inline
keyword are given a threshold just above the default for -O3.
We need some experiments to determine if that is the right thing to do.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95466 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLToken.h')
| -rw-r--r-- | lib/AsmParser/LLToken.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/AsmParser/LLToken.h b/lib/AsmParser/LLToken.h index 80eb194..7f1807c 100644 --- a/lib/AsmParser/LLToken.h +++ b/lib/AsmParser/LLToken.h @@ -85,6 +85,7 @@ namespace lltok { kw_readnone, kw_readonly, + kw_inlinehint, kw_noinline, kw_alwaysinline, kw_optsize, |
