llvm.org GIT mirror llvm / f39eab9
Bring vim keyword lists up to date. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169110 91177308-0d34-0410-b5e6-96231b3b80d8 Benjamin Kramer 6 years ago
1 changed file(s) with 33 addition(s) and 36 deletion(s). Raw diff Collapse all Expand all
1313 " Types.
1414 " Types also include struct, array, vector, etc. but these don't
1515 " benefit as much from having dedicated highlighting rules.
16 syn keyword llvmType void float double half
17 syn keyword llvmType x86_fp80 fp128 ppc_fp128
16 syn keyword llvmType void half float double x86_fp80 fp128 ppc_fp128
17 syn keyword llvmType label metadata x86_mmx
1818 syn keyword llvmType type label opaque
1919 syn match llvmType /\/
2121 " Instructions.
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.
24 syn keyword llvmStatement add fadd sub fsub mul fmul
25 syn keyword llvmStatement sdiv udiv fdiv srem urem frem
26 syn keyword llvmStatement and or xor
27 syn keyword llvmStatement icmp fcmp
28 syn keyword llvmStatement eq ne ugt uge ult ule sgt sge slt sle
29 syn keyword llvmStatement oeq ogt oge olt ole one ord ueq ugt uge
30 syn keyword llvmStatement ult ule une uno
31 syn keyword llvmStatement nuw nsw exact inbounds nnan ninf nsz arcp fast
32 syn keyword llvmStatement phi call select shl lshr ashr va_arg
33 syn keyword llvmStatement trunc zext sext
34 syn keyword llvmStatement fptrunc fpext fptoui fptosi uitofp sitofp
35 syn keyword llvmStatement ptrtoint inttoptr bitcast
36 syn keyword llvmStatement ret br indirectbr switch invoke unwind unreachable
37 syn keyword llvmStatement malloc alloca free load store getelementptr
38 syn keyword llvmStatement extractelement insertelement shufflevector
39 syn keyword llvmStatement extractvalue insertvalue
24 syn keyword llvmStatement add alloca and arcp ashr atomicrmw bitcast br call
25 syn keyword llvmStatement cmpxchg eq exact extractelement extractvalue fadd fast
26 syn keyword llvmStatement fcmp fdiv fence fmul fpext fptosi fptoui fptrunc free
27 syn keyword llvmStatement frem fsub getelementptr icmp inbounds indirectbr
28 syn keyword llvmStatement insertelement insertvalue inttoptr invoke landingpad
29 syn keyword llvmStatement load lshr malloc max min mul nand ne ninf nnan nsw nsz
30 syn keyword llvmStatement nuw oeq oge ogt ole olt one or ord phi ptrtoint resume
31 syn keyword llvmStatement ret sdiv select sext sge sgt shl shufflevector sitofp
32 syn keyword llvmStatement sle slt srem store sub switch trunc udiv ueq uge ugt
33 syn keyword llvmStatement uitofp ule ult umax umin une uno unreachable unwind
34 syn keyword llvmStatement urem va_arg xchg xor zext
4136 " Keywords.
42 syn keyword llvmKeyword define declare global constant
43 syn keyword llvmKeyword internal external private
44 syn keyword llvmKeyword linkonce linkonce_odr weak weak_odr appending
45 syn keyword llvmKeyword common extern_weak
46 syn keyword llvmKeyword thread_local dllimport dllexport
47 syn keyword llvmKeyword hidden protected default
48 syn keyword llvmKeyword except deplibs
49 syn keyword llvmKeyword volatile fastcc coldcc cc ccc
50 syn keyword llvmKeyword x86_stdcallcc x86_fastcallcc
51 syn keyword llvmKeyword ptx_kernel ptx_device
52 syn keyword llvmKeyword signext zeroext inreg sret nounwind noreturn
53 syn keyword llvmKeyword nocapture byval nest readnone readonly noalias uwtable
54 syn keyword llvmKeyword inlinehint noinline alwaysinline optsize ssp sspreq
55 syn keyword llvmKeyword noredzone noimplicitfloat naked alignstack
56 syn keyword llvmKeyword module asm align tail to
57 syn keyword llvmKeyword addrspace section alias sideeffect c gc
58 syn keyword llvmKeyword target datalayout triple
59 syn keyword llvmKeyword blockaddress
37 syn keyword llvmKeyword acq_rel acquire address_safety addrspace alias align
38 syn keyword llvmKeyword alignstack alwaysinline appending arm_aapcs_vfpcc
39 syn keyword llvmKeyword arm_aapcscc arm_apcscc asm atomic available_externally
40 syn keyword llvmKeyword blockaddress byval c catch cc ccc cleanup coldcc common
41 syn keyword llvmKeyword constant datalayout declare default define deplibs
42 syn keyword llvmKeyword dllexport dllimport except extern_weak external fastcc
43 syn keyword llvmKeyword filter gc global hidden initialexec inlinehint inreg
44 syn keyword llvmKeyword intel_ocl_bicc inteldialect internal linker_private
45 syn keyword llvmKeyword linker_private_weak linker_private_weak_def_auto
46 syn keyword llvmKeyword linkonce linkonce_odr linkonce_odr_auto_hide
47 syn keyword llvmKeyword localdynamic localexec minsize module monotonic
48 syn keyword llvmKeyword msp430_intrcc naked nest noalias nocapture
49 syn keyword llvmKeyword noimplicitfloat noinline nonlazybind noredzone noreturn
50 syn keyword llvmKeyword nounwind optsize personality private protected
51 syn keyword llvmKeyword ptx_device ptx_kernel readnone readonly release
52 syn keyword llvmKeyword returns_twice section seq_cst sideeffect signext
53 syn keyword llvmKeyword singlethread spir_func spir_kernel sret ssp sspreq tail
54 syn keyword llvmKeyword target thread_local to triple unnamed_addr unordered
55 syn keyword llvmKeyword uwtable volatile weak weak_odr x86_fastcallcc
56 syn keyword llvmKeyword x86_stdcallcc x86_thiscallcc zeroext
6158 " Obsolete keywords.
6259 syn keyword llvmError getresult begin end