mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-17 23:44:43 +00:00
Update this file for 2.0 syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46512 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ba42d2b937
commit
0e9dfb0900
@ -11,25 +11,33 @@ endif
|
||||
|
||||
syn case match
|
||||
|
||||
syn keyword llvmType void bool sbyte ubyte
|
||||
syn keyword llvmType short ushort int uint
|
||||
syn keyword llvmType long ulong float double
|
||||
syn keyword llvmType void float double
|
||||
syn keyword llvmType x86_fp80 fp128 ppc_fp128
|
||||
syn keyword llvmType type label opaque
|
||||
syn match llvmType /\<i\d\+\>/
|
||||
|
||||
syn keyword llvmStatement add sub mul div rem
|
||||
syn keyword llvmStatement add sub mul sdiv udiv fdiv srem urem frem
|
||||
syn keyword llvmStatement and or xor
|
||||
syn keyword llvmStatement setne seteq setlt setgt setle setge
|
||||
syn keyword llvmStatement icmp fcmp
|
||||
syn keyword llvmStatement eq ne ugt uge ult ule sgt sge slt sle
|
||||
syn keyword llvmStatement false oeq ogt oge olt ole one ord ueq ugt uge
|
||||
syn keyword llvmStatement ult ule une uno true
|
||||
|
||||
syn keyword llvmStatement phi tail call cast to select shl shr vaarg vanext
|
||||
syn keyword llvmStatement phi tail call to select shl lshr ashr va_arg
|
||||
syn keyword llvmStatement trunc zext sext
|
||||
syn keyword llvmStatement fptrunc fpext fptoui fptosi uitofp sitofp
|
||||
syn keyword llvmStatement ptrtoint inttoptr bitcast
|
||||
syn keyword llvmStatement ret br switch invoke unwind unreachable
|
||||
syn keyword llvmStatement malloc alloca free load store getelementptr
|
||||
|
||||
syn keyword llvmStatement begin end true false zeroinitializer
|
||||
syn keyword llvmStatement declare global constant const
|
||||
syn keyword llvmStatement true false zeroinitializer
|
||||
syn keyword llvmStatement define declare global constant const
|
||||
syn keyword llvmStatement internal uninitialized external implementation
|
||||
syn keyword llvmStatement linkonce weak appending
|
||||
syn keyword llvmStatement undef null to except target endian pointersize deplibs
|
||||
syn keyword llvmStatement undef null to except target datalayout triple deplibs
|
||||
syn keyword llvmStatement big little volatile fastcc coldcc cc
|
||||
syn keyword llvmStatement extractelement insertelement shufflevector
|
||||
syn keyword llvmStatement module asm align
|
||||
|
||||
"syn match llvmFunction /%[a-zA-Z\$._\-][a-zA-Z\$._\-0-9]*/
|
||||
syn match llvmNumber /\<\d\+\>/
|
||||
|
Loading…
x
Reference in New Issue
Block a user