summaryrefslogtreecommitdiffstats
path: root/llvm/utils/vim
Commit message (Collapse)AuthorAgeFilesLines
* Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman2009-06-041-1/+2
| | | | | | | | | | | | | | | integer and floating-point opcodes, introducing FAdd, FSub, and FMul. For now, the AsmParser, BitcodeReader, and IRBuilder all preserve backwards compatability, and the Core LLVM APIs preserve backwards compatibility for IR producers. Most front-ends won't need to change immediately. This implements the first step of the plan outlined here: http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt llvm-svn: 72897
* It makes no sense to have a ODR version of commonDuncan Sands2009-03-111-1/+1
| | | | | | linkage, so remove it. llvm-svn: 66690
* Remove the one-definition-rule version of extern_weakDuncan Sands2009-03-111-1/+1
| | | | | | | linkage: this linkage type only applies to declarations, but ODR is only relevant to globals with definitions. llvm-svn: 66650
* Introduce new linkage types linkonce_odr, weak_odr, common_odrDuncan Sands2009-03-071-1/+2
| | | | | | | | | | | | | | | | | | | | | and extern_weak_odr. These are the same as the non-odr versions, except that they indicate that the global will only be overridden by an *equivalent* global. In C, a function with weak linkage can be overridden by a function which behaves completely differently. This means that IP passes have to skip weak functions, since any deductions made from the function definition might be wrong, since the definition could be replaced by something completely different at link time. This is not allowed in C++, thanks to the ODR (One-Definition-Rule): if a function is replaced by another at link-time, then the new function must be the same as the original function. If a language knows that a function or other global can only be overridden by an equivalent global, it can give it the weak_odr linkage type, and the optimizers will understand that it is alright to make deductions based on the function body. The code generators on the other hand map weak and weak_odr linkage to the same thing. llvm-svn: 66339
* Fix a missing word.Dan Gohman2009-01-211-2/+2
| | | | llvm-svn: 62720
* Versions of VIM included with Intrepid and Leopard at least appearDan Gohman2009-01-211-7/+8
| | | | | | | to handle symlinks just fine, so reword the instructions in the README accordingly. llvm-svn: 62719
* Enable syntax highlighting of LLVM and tablegen files by default,Dan Gohman2009-01-211-0/+12
| | | | | | so that users don't have to copy text from the README to get this. llvm-svn: 62718
* Only set cindent for C and C++ source files.Dan Gohman2009-01-211-4/+8
| | | | llvm-svn: 62717
* Use VIM's built-in shorthand for whitespace in regex.Misha Brukman2009-01-081-1/+1
| | | | llvm-svn: 61906
* Add the keyword 'default'.Dan Gohman2009-01-051-1/+1
| | | | llvm-svn: 61710
* gc is not an obsolete keyword.Dan Gohman2009-01-051-2/+2
| | | | llvm-svn: 61670
* The .llx suffix is obsolete.Dan Gohman2009-01-041-1/+0
| | | | llvm-svn: 61647
* Update VIM LLVM IR syntax highlighting.Dan Gohman2009-01-041-18/+52
| | | | | | | | | - Add several new keywords - Clean up some obsolete keywords - Improve the patterns for constants. - Add syntax-highlighting for dejagnu test command comments llvm-svn: 61646
* Set a few more vimrc indentation options.Dan Gohman2009-01-041-2/+4
| | | | llvm-svn: 61628
* Use softtabstop instead of redefining tabstop.Dan Gohman2009-01-041-1/+1
| | | | llvm-svn: 61618
* Switch the vimrc file from smartindent to cindent, which isDan Gohman2009-01-041-2/+3
| | | | | | | | smarter about C-ish syntax, and supports the cinoptions variable. Set cinoptions to suppress the extra indentation for switch case labels. llvm-svn: 61617
* vimrcMisha Brukman2009-01-023-7/+20
| | | | | | | | | | | | * Fixed cursors in terminal by setting nocompatible (sorry, vi users) * Enable syntax highlighting so that this file can stand on its own * Highlight trailing whitespace * Fixed commands to delete trailing whitespaces and convert tabs to spaces llvm.vim and tablegen.vim * Removed trailing whitespace, as it's now very visible llvm-svn: 61582
* Added support for:Bill Wendling2008-04-271-7/+20
| | | | | | | | | | | | - defm and multiclass - imbricatable multiline C style comment - FIXME/TODO highlight in comment - binary and hexadecimal number - code using [{ }] is no highlighted as special (perhaps not the best choice) Patch by Cedric Venet! llvm-svn: 50319
* Update this file for 2.0 syntax.Dan Gohman2008-01-291-9/+17
| | | | llvm-svn: 46512
* Remove blank line at end of file, removing test user "foo" from CVS history.Reid Spencer2006-08-111-1/+0
| | | | llvm-svn: 29623
* Convert llvm.cs.uiuc.edu -> llvm.orgReid Spencer2006-03-142-2/+2
| | | | llvm-svn: 26748
* add support for fastcc and friendsChris Lattner2005-05-131-1/+1
| | | | llvm-svn: 21979
* * Fix wording of the warningMisha Brukman2005-05-121-2/+8
| | | | | | * Add autoindent, smartindent, and smarttab options to the file llvm-svn: 21905
* Hilight tailChris Lattner2005-05-061-1/+1
| | | | llvm-svn: 21726
* .vimrc file to aid in LLVM coding standards conformanceMisha Brukman2005-04-241-0/+34
| | | | llvm-svn: 21496
* Test commitTest Commit2004-12-091-0/+1
| | | | llvm-svn: 18687
* Add support for undef and unreachableChris Lattner2004-10-161-2/+2
| | | | llvm-svn: 17059
* Add `deplibs' keyword for specifying a list of dependent librariesMisha Brukman2004-09-281-1/+1
| | | | llvm-svn: 16557
* Add hint about syntax-highlighting non-standardly-named LLVM Makefiles.Misha Brukman2004-05-191-0/+9
| | | | llvm-svn: 13606
* Added `zeroinitializer' keyword.Misha Brukman2004-04-281-1/+1
| | | | llvm-svn: 13253
* Teach vim about the select instruction. Allow it to forget about the long-deadChris Lattner2004-03-121-2/+2
| | | | | | not instruction. llvm-svn: 12327
* Make sure to syntax hilight the 'unwind' keyword!Chris Lattner2003-10-271-1/+1
| | | | llvm-svn: 9524
* Syntax highlight the new operatorsChris Lattner2003-10-211-1/+1
| | | | llvm-svn: 9328
* Add support for the weak linkage specifierChris Lattner2003-10-101-1/+1
| | | | llvm-svn: 9000
* syntax highlightifyChris Lattner2003-09-081-1/+1
| | | | llvm-svn: 8397
* Added keyword `include', and a FIXME for hex and binary constants.Misha Brukman2003-08-111-1/+2
| | | | llvm-svn: 7740
* tablegen.vim:Misha Brukman2003-08-112-4/+9
| | | | | | | | | | | * Added keyword `field' * Keywords get different highlighting than types * Added a simple attempt at multi-line C-style comments with FIXME README: * Added note about symlinking an entire directory ~/.vim/syntax llvm-svn: 7733
* Add .llxChris Lattner2003-08-111-0/+1
| | | | llvm-svn: 7732
* Added a TableGen syntax highlighting mode for VIM and a README that describesMisha Brukman2003-08-112-0/+68
| | | | | | how to add the functionality to the user's VIM installation. llvm-svn: 7731
* * Added the `to' keyword, as in `cast <type> <data> to <type>'.Misha Brukman2003-06-031-8/+8
| | | | | | | * Gave the file a maintainer. * Cleaned up the layout somewhat. llvm-svn: 6556
* Add support for new va_arg instructionChris Lattner2003-05-081-1/+1
| | | | llvm-svn: 6026
* Update to add new keywordsChris Lattner2003-04-221-3/+4
| | | | llvm-svn: 5846
* Add new linkage keywords. Spell uninitialized correctlyChris Lattner2003-04-161-1/+2
| | | | llvm-svn: 5784
* LLVM syntax highlighting for VIM.Nick Hildenbrandt2002-10-071-0/+59
llvm-svn: 4067
OpenPOWER on IntegriCloud