diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2013-08-23 11:53:55 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2013-08-23 11:53:55 +0000 |
commit | 5768bb8d77892926dff0d078b1fb08c14ea791f3 (patch) | |
tree | 3a2f35fef53650a9e8988416a19f8787d0186f3d /utils | |
parent | a550b51bac50493db75a7b5788a3f2c3b62fd913 (diff) | |
download | external_llvm-5768bb8d77892926dff0d078b1fb08c14ea791f3.zip external_llvm-5768bb8d77892926dff0d078b1fb08c14ea791f3.tar.gz external_llvm-5768bb8d77892926dff0d078b1fb08c14ea791f3.tar.bz2 |
Add function attribute 'optnone'.
This function attribute indicates that the function is not optimized
by any optimization or code generator passes with the
exception of interprocedural optimization passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189101 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rw-r--r-- | utils/kate/llvm.xml | 1 | ||||
-rw-r--r-- | utils/vim/llvm.vim | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/utils/kate/llvm.xml b/utils/kate/llvm.xml index 1778cfc..3e32b50 100644 --- a/utils/kate/llvm.xml +++ b/utils/kate/llvm.xml @@ -85,6 +85,7 @@ <item> noredzone </item> <item> noreturn </item> <item> nounwind </item> + <item> optnone </item> <item> optsize </item> <item> readnone </item> <item> readonly </item> diff --git a/utils/vim/llvm.vim b/utils/vim/llvm.vim index 6c87cff..b28c07f 100644 --- a/utils/vim/llvm.vim +++ b/utils/vim/llvm.vim @@ -48,7 +48,7 @@ syn keyword llvmKeyword linkonce linkonce_odr linkonce_odr_auto_hide syn keyword llvmKeyword localdynamic localexec minsize module monotonic syn keyword llvmKeyword msp430_intrcc naked nest noalias nocapture syn keyword llvmKeyword noimplicitfloat noinline nonlazybind noredzone noreturn -syn keyword llvmKeyword nounwind optsize personality private protected +syn keyword llvmKeyword nounwind optnone optsize personality private protected syn keyword llvmKeyword ptx_device ptx_kernel readnone readonly release syn keyword llvmKeyword returns_twice sanitize_thread sanitize_memory syn keyword llvmKeyword section seq_cst sideeffect signext singlethread |