aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/vim/syntax
AgeCommit message (Collapse)AuthorFilesLines
2016-08-11[vim] Add more attributes to llvm.vimDavid Majnemer1-0/+2
llvm-svn: 278415
2016-08-09[vim] Update the llvm.vim syntax fileDavid Majnemer1-2/+7
We never updated this file to contain the WinEH instructions. Also, add the dereferenceable attribute. llvm-svn: 278146
2016-07-13vim: separate the keywords into one per lineSaleem Abdulrasool1-22/+116
This achieves the same result as previously by using line wrapping. This allows us to have one keyword per line which makes adding a new keyword significantly easier, especially if they are inserted in a lexicographical sort order as you no longer need to reflow the content around it. This only does the keywords as that is the group which changes more often. llvm-svn: 275248
2016-07-13vim: add local_unnamed_addr keywordSaleem Abdulrasool1-6/+6
The `local_unnamed_addr` was introduced in SVN r272709. Update the syntax highlighting rules. llvm-svn: 275245
2016-04-19vim: add swiftcc keywordSaleem Abdulrasool1-3/+3
Update the syntax highlighting for SVN r265480. llvm-svn: 266705
2016-04-06vim: add missing keywordSaleem Abdulrasool1-2/+2
`source_filename` was introduced as a keyword in SVN r264884, but the syntax file was not updated. llvm-svn: 265572
2015-12-28[vim] Add token type to Vim syntax file.Manuel Jacob1-1/+1
llvm-svn: 256512
2015-09-29HHVM calling conventions.Maksim Panchenko1-4/+5
HHVM calling convention, hhvmcc, is used by HHVM JIT for functions in translated cache. We currently support LLVM back end to generate code for X86-64 and may support other architectures in the future. In HHVM calling convention any GP register could be used to pass and return values, with the exception of R12 which is reserved for thread-local area and is callee-saved. Other than R12, we always pass RBX and RBP as args, which are our virtual machine's stack pointer and frame pointer respectively. When we enter translation cache via hhvmcc function, we expect the stack to be aligned at 16 bytes, i.e. skewed by 8 bytes as opposed to standard ABI alignment. This affects stack object alignment and stack adjustments for function calls. One extra calling convention, hhvm_ccc, is used to call C++ helpers from HHVM's translation cache. It is almost identical to standard C calling convention with an exception of first argument which is passed in RBP (before we use RDI, RSI, etc.) Differential Revision: http://reviews.llvm.org/D12681 llvm-svn: 248832
2015-09-03llvm.vim: 'musttail' is a keyword tooJonathan Roelofs1-1/+1
llvm-svn: 246798
2015-07-15[vim] Update the syntax to mark REQUIRES lines and not talk aboutChandler Carruth1-3/+3
dejagnu. I wonder if it would be useful to handle FileCheck prefixes specially? Especially if we could get some error checking. Suggestions welcome. Patches more welcome as I have no idea what I'm doing with vim script.... llvm-svn: 242267
2015-04-21Enhanced vim support.Matthias Braun2-0/+173
This brings the utils/vim folder into a more vim-like format by moving the syntax hightlighting files into a syntax subdirectory. It adds some minimal settings that everyone should agree on to ftdetect/ftplugin and features a new indentation plugin for .ll files. llvm-svn: 235369