forked from OSchip/llvm-project
parent
0badea6a94
commit
995ecdd8e9
|
@ -34,7 +34,7 @@
|
|||
;; Arithmetic and Logical Operators
|
||||
'("add\\|sub\\|mul\\|div\\|rem\\|and\\|or\\|xor\\|set\\(ne\\|eq\\|lt\\|gt\\|le\\|ge\\)" . font-lock-keyword-face)
|
||||
;; Special instructions
|
||||
'("phi\\|call\\|cast\\|shl\\|shr" . font-lock-keyword-face)
|
||||
'("phi\\|call\\|cast\\|shl\\|shr\\|va_arg" . font-lock-keyword-face)
|
||||
;; Control instructions
|
||||
'("ret\\|br\\|switch\\|invoke" . font-lock-keyword-face)
|
||||
;; Memory operators
|
||||
|
|
|
@ -20,7 +20,7 @@ syn keyword llvmStatement add sub mul div rem
|
|||
syn keyword llvmStatement and or xor
|
||||
syn keyword llvmStatement setne seteq setlt setgt setle setge
|
||||
|
||||
syn keyword llvmStatement phi call cast shl shr
|
||||
syn keyword llvmStatement phi call cast shl shr va_arg
|
||||
syn keyword llvmStatement ret br switch invoke
|
||||
syn keyword llvmStatement malloc alloca free load store getelementptr
|
||||
|
||||
|
|
Loading…
Reference in New Issue