llvm.org GIT mirror llvm / c93602e
[vim] Update the llvm.vim syntax file We never updated this file to contain the WinEH instructions. Also, add the dereferenceable attribute. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278146 91177308-0d34-0410-b5e6-96231b3b80d8 David Majnemer 3 years ago
1 changed file(s) with 7 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
2222 " The true and false tokens can be used for comparison opcodes, but it's
2323 " much more common for these tokens to be used for boolean constants.
2424 syn keyword llvmStatement add addrspacecast alloca and arcp ashr atomicrmw
25 syn keyword llvmStatement bitcast br call cmpxchg eq exact extractelement
25 syn keyword llvmStatement bitcast br catchpad catchswitch catchret call
26 syn keyword llvmStatement cleanuppad cleanupret cmpxchg eq exact extractelement
2627 syn keyword llvmStatement extractvalue fadd fast fcmp fdiv fence fmul fpext
2728 syn keyword llvmStatement fptosi fptoui fptrunc free frem fsub getelementptr
2829 syn keyword llvmStatement icmp inbounds indirectbr insertelement insertvalue
5455 \ byval
5556 \ c
5657 \ catch
58 \ caller
5759 \ cc
5860 \ ccc
5961 \ cleanup
6567 \ default
6668 \ define
6769 \ deplibs
70 \ dereferenceable
6871 \ distinct
6972 \ dllexport
7073 \ dllimport
7477 \ extern_weak
7578 \ fastcc
7679 \ filter
80 \ from
7781 \ gc
7882 \ global
7983 \ hhvmcc
145149 \ volatile
146150 \ weak
147151 \ weak_odr
152 \ within
148153 \ x86_64_sysvcc
149154 \ x86_64_win64cc
150155 \ x86_fastcallcc
161166 syn match llvmFloat /-\?\<\d\+\.\d*\(e[+-]\d\+\)\?\>/
162167 syn match llvmFloat /\<0x\x\+\>/
163168 syn keyword llvmBoolean true false
164 syn keyword llvmConstant zeroinitializer undef null
169 syn keyword llvmConstant zeroinitializer undef null none
165170 syn match llvmComment /;.*$/
166171 syn region llvmString start=/"/ skip=/\\"/ end=/"/
167172 syn match llvmLabel /[-a-zA-Z$._][-a-zA-Z$._0-9]*:/