summaryrefslogtreecommitdiffstats
path: root/llvm/utils/vim
Commit message (Collapse)AuthorAgeFilesLines
...
* [tsan/msan] adding thread_safety and uninitialized_checks attributesKostya Serebryany2013-02-111-0/+1
| | | | llvm-svn: 174864
* Add the IR attribute 'sspstrong'.Bill Wendling2013-01-231-4/+4
| | | | | | | | | | | | | | | | | | | | | SSPStrong applies a heuristic to insert stack protectors in these situations: * A Protector is required for functions which contain an array, regardless of type or length. * A Protector is required for functions which contain a structure/union which contains an array, regardless of type or length. Note, there is no limit to the depth of nesting. * A protector is required when the address of a local variable (i.e., stack based variable) is exposed. (E.g., such as through a local whose address is taken as part of the RHS of an assignment or a local whose address is taken as part of a function argument.) This patch implements the SSPString attribute to be equivalent to SSPRequired. This will change in a subsequent patch. llvm-svn: 173230
* Bring vim keyword lists up to date.Benjamin Kramer2012-12-021-36/+33
| | | | llvm-svn: 169110
* Vim mode updated to recognize fast-math flagsMichael Ilseman2012-11-301-1/+1
| | | | llvm-svn: 169055
* lit: Remove support for XTARGET.Daniel Dunbar2012-10-191-1/+0
| | | | | | | | - The XTARGET feature (inherited from old DG tests) was just confusing (and barely ever used). The same effect can now be achieved with a combination of the more useful REQUIRES and XFAIL. llvm-svn: 166305
* Add the half type to the LLVM IR vim syntax highlighting.Owen Anderson2012-05-031-1/+1
| | | | llvm-svn: 156080
* Add Foreach LoopDavid Greene2012-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add some data structures to represent for loops. These will be referenced during object processing to do any needed iteration and instantiation. Add foreach keyword support to the lexer. Add a mode to indicate that we're parsing a foreach loop. This allows the value parser to early-out when processing the foreach value list. Add a routine to parse foreach iteration declarations. This is separate from ParseDeclaration because the type of the named value (the iterator) doesn't match the type of the initializer value (the value list). It also needs to add two values to the foreach record: the iterator and the value list. Add parsing support for foreach. Add the code to process foreach loops and create defs based on iterator values. Allow foreach loops to be matched at the top level. When parsing an IDValue check if it is a foreach loop iterator for one of the active loops. If so, return a VarInit for it. Add Emacs keyword support for foreach. Add VIM keyword support for foreach. Add tests to check foreach operation. Add TableGen documentation for foreach. Support foreach with multiple objects. Support non-braced foreach body with one object. Do not require types for the foreach declaration. Assume the iterator type from the iteration list element type. llvm-svn: 151164
* Remove MultidefsDavid Greene2011-10-071-1/+1
| | | | | | | | | | | | | | | | | | | Multidefs are a bit unwieldy and incomplete. Remove them in favor of another mechanism, probably for loops. Revert "Make Test More Thorough" Revert "Fix a typo." Revert "Vim Support for Multidefs" Revert "Emacs Support for Multidefs" Revert "Document Multidefs" Revert "Add a Multidef Test" Revert "Update Test for Multidefs" Revert "Process Multidefs" Revert "Parser Multidef Support" Revert "Lexer Support for Multidefs" Revert "Add Multidef Data Structures" llvm-svn: 141378
* Vim Support for MultidefsDavid Greene2011-10-051-1/+1
| | | | | | Add vim highlighting support for multidefs. llvm-svn: 141238
* Update uwtable vim color!Bruno Cardoso Lopes2011-08-171-1/+1
| | | | llvm-svn: 137806
* Enable clang autocompletion by default.Dan Gohman2010-10-261-3/+4
| | | | llvm-svn: 117415
* Add ret instruction to PTX backendChe-Liang Chiou2010-09-251-0/+1
| | | | llvm-svn: 114788
* Remove a TODO comment; this is now filed in bugzilla (PR8005).Dan Gohman2010-09-031-4/+0
| | | | llvm-svn: 112982
* Remove obsolete keywords which are no longer relevant.Dan Gohman2010-08-281-2/+1
| | | | llvm-svn: 112382
* Remove unions from the vim syntax highlighting.Dan Gohman2010-08-281-1/+0
| | | | llvm-svn: 112381
* Clarify a comment.Dan Gohman2010-08-271-1/+1
| | | | llvm-svn: 112266
* Parse " (Hidden)" and cope with it.Dan Gohman2010-08-271-0/+7
| | | | llvm-svn: 112265
* Default to looking for clang++ in the PATH, rather than trying toDan Gohman2010-08-271-2/+2
| | | | | | guess a path that will work. llvm-svn: 112264
* Experimental clang-based code-completion support for vim. This currentlyDan Gohman2010-08-261-0/+124
| | | | | | depends on some clang patches which are not yet upstream. llvm-svn: 112204
* Make un-named values legible in certain vim configurations.Owen Anderson2010-07-291-2/+2
| | | | llvm-svn: 109772
* Fix grammaro in a comment.Dan Gohman2010-02-261-1/+1
| | | | llvm-svn: 97273
* Add Revision keywords to these files, as it's common for them to beDan Gohman2010-02-263-1/+3
| | | | | | copied out of the source tree. llvm-svn: 97270
* Improve the vim code for highlighting trailing whitespace and linesDan Gohman2010-02-261-5/+25
| | | | | | | | longer than 80 columns. This replaces the heavy-handed "textwidth" mechanism, and makes the trailing-whitespace highlighting lazy so that it isn't constantly jumping on the user during typing. llvm-svn: 97267
* Add the alignstack keyword.Dan Gohman2010-02-261-1/+1
| | | | llvm-svn: 97264
* Remove bogus Updated line.Dan Gohman2010-02-261-1/+0
| | | | llvm-svn: 97263
* Add the union keyword.Dan Gohman2010-02-251-0/+1
| | | | llvm-svn: 97155
* Reintroduce the InlineHint function attribute.Jakob Stoklund Olesen2010-02-061-1/+1
| | | | | | | | | | | | This time it's for real! I am going to hook this up in the frontends as well. The inliner has some experimental heuristics for dealing with the inline hint. When given a -respect-inlinehint option, functions marked with the inline keyword are given a threshold just above the default for -O3. We need some experiments to determine if that is the right thing to do. llvm-svn: 95466
* Remove the InlineHint attribute. There are no current or plannedEric Christopher2010-01-151-1/+1
| | | | | | users. llvm-svn: 93558
* Tighten up the vim LLVM IR syntax highlighting regex for labels, and add aDan Gohman2010-01-091-1/+3
| | | | | | highlighting rule for identifiers. llvm-svn: 93056
* Set the vim auto-indent setting for open braces after case statements toDan Gohman2010-01-091-1/+1
| | | | | | | | | | | | | | | | follow LLVM source convention. Before: case X: { stuff; } After: case X: { stuff; } llvm-svn: 93055
* Add indirectbr and blockaddress to the vim syntax highlighting file.Dan Gohman2009-10-291-1/+2
| | | | llvm-svn: 85451
* Add an 'inline hint' attribute to represent sourceDale Johannesen2009-08-261-1/+1
| | | | | | | | code hints that it would be a good idea to inline a function ("inline" keyword). No functional change yet; FEs do not emit this and inliner does not use it. llvm-svn: 80063
* Add new function attribute keywords to the vim syntax.Dan Gohman2009-08-051-1/+2
| | | | llvm-svn: 78205
* vim syntax highlighting for inbounds keyword.Dan Gohman2009-07-271-1/+1
| | | | llvm-svn: 77260
* Add new keywords to the vim syntax highlighting.Dan Gohman2009-07-221-0/+1
| | | | llvm-svn: 76812
* Add the private keyword to the VIM syntax highlighting.Dan Gohman2009-07-171-1/+1
| | | | llvm-svn: 76134
* 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
OpenPOWER on IntegriCloud