llvm.org GIT mirror llvm / 84a6f39
Syntax highlight the new operators git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9328 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 16 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
3030 ;; Arithmetic and Logical Operators
3131 '("add\\|sub\\|mul\\|div\\|rem\\|and\\|or\\|xor\\|set\\(ne\\|eq\\|lt\\|gt\\|le\\|ge\\)" . font-lock-keyword-face)
3232 ;; Special instructions
33 '("phi\\|call\\|cast\\|to\\|shl\\|shr\\|va_arg" . font-lock-keyword-face)
33 '("phi\\|call\\|cast\\|to\\|shl\\|shr\\|vaarg\\|vanext" . font-lock-keyword-face)
3434 ;; Control instructions
3535 '("ret\\|br\\|switch\\|invoke" . font-lock-keyword-face)
3636 ;; Memory operators
1919 syn keyword llvmStatement and or xor
2020 syn keyword llvmStatement setne seteq setlt setgt setle setge
2121
22 syn keyword llvmStatement phi call cast to shl shr va_arg
22 syn keyword llvmStatement phi call cast to shl shr vaarg vanext
2323 syn keyword llvmStatement ret br switch invoke
2424 syn keyword llvmStatement malloc alloca free load store getelementptr
2525