summaryrefslogtreecommitdiff
path: root/utils/llvm.grm
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-08-26 01:08:21 +0000
committerDale Johannesen <dalej@apple.com>2009-08-26 01:08:21 +0000
commitde86d473fcc18fe769fa9edb075984880ef1a015 (patch)
tree3abd3fea11f095755a9ddb18abea48e164d14985 /utils/llvm.grm
parent8af76bdb7450b097efa17f7c192882111a9e8f10 (diff)
downloadllvm-de86d473fcc18fe769fa9edb075984880ef1a015.tar.gz
llvm-de86d473fcc18fe769fa9edb075984880ef1a015.tar.bz2
llvm-de86d473fcc18fe769fa9edb075984880ef1a015.tar.xz
Add an 'inline hint' attribute to represent source
code hints that it would be a good idea to inline a function ("inline" keyword). No functional change yet; FEs do not emit this and inliner does not use it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80063 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/llvm.grm')
-rw-r--r--utils/llvm.grm1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/llvm.grm b/utils/llvm.grm
index 4499d4b35a..86a707a925 100644
--- a/utils/llvm.grm
+++ b/utils/llvm.grm
@@ -161,6 +161,7 @@ FuncAttr ::= noreturn
| signext
| readnone
| readonly
+ | inlinehint
| noinline
| alwaysinline
| optsize