summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/Lexer.l
Commit message (Collapse)AuthorAgeFilesLines
...
* For PR797:Reid Spencer2006-08-181-7/+6
| | | | | | | | | | | | | Rid the Assembly Parser of exceptions. This is a really gross hack but it will do until the Assembly Parser is re-written as a recursive descent. The basic premise is that wherever the old "ThrowException" function was called (new name: GenerateError) we set a flag (TriggerError). Every production checks that flag and calls YYERROR if it is set. Additionally, each call to ThrowException in the grammar is replaced with GEN_ERROR which calls GenerateError and then YYERROR immediately. This prevents the remaining production from continuing after an error condition. llvm-svn: 29763
* Add support for parsing csretChris Lattner2006-05-191-0/+1
| | | | llvm-svn: 28406
* Parse shufflevectorChris Lattner2006-04-081-0/+1
| | | | llvm-svn: 27511
* random lexer change to test the makefile updating stuffChris Lattner2006-02-151-0/+1
| | | | llvm-svn: 26203
* Parse inline asm objectsChris Lattner2006-01-251-0/+1
| | | | llvm-svn: 25618
* syntax changeChris Lattner2006-01-241-0/+1
| | | | llvm-svn: 25567
* Add support for parsing global asm blocksChris Lattner2006-01-231-0/+1
| | | | llvm-svn: 25557
* Lexer and parser support for the insertelement operation.Robert Bocchino2006-01-171-0/+1
| | | | llvm-svn: 25403
* Added lexer and parser support for the extractelement operation.Robert Bocchino2006-01-101-0/+2
| | | | llvm-svn: 25177
* add a tokenChris Lattner2005-11-121-1/+2
| | | | llvm-svn: 24315
* Add support alignment of allocation instructions.Nate Begeman2005-11-051-0/+1
| | | | | | | | | Add support for specifying alignment and size of setjmp jmpbufs. No targets currently do anything with this information, nor is it presrved in the bytecode representation. That's coming up next. llvm-svn: 24196
* core changes for varargsAndrew Lenharth2005-06-181-3/+3
| | | | llvm-svn: 22254
* Give the asmparser the ability to parse strings. Patch contributed byChris Lattner2005-05-201-0/+7
| | | | | | Alexander Friedman llvm-svn: 22146
* * Convert tabs to spaces, fix code alignmentMisha Brukman2005-05-101-25/+25
| | | | | | | * Remove trailing whitespace * Wrap long lines llvm-svn: 21844
* parse new calling conv specifiersChris Lattner2005-05-061-0/+5
| | | | llvm-svn: 21748
* lex tailChris Lattner2005-05-061-0/+1
| | | | llvm-svn: 21729
* Remove support for 1.0 style varargsAndrew Lenharth2005-05-021-1/+0
| | | | | | amusing of course, because we will have to go back to those semantics soon llvm-svn: 21654
* Silence VS warnings.Chris Lattner2005-01-081-3/+9
| | | | llvm-svn: 19390
* Do not allow empty label names.Alkis Evlogimenos2004-12-101-1/+1
| | | | llvm-svn: 18743
* Implement test/Feature/escaped_label.llChris Lattner2004-12-101-0/+7
| | | | llvm-svn: 18741
* Parse undef and unreachableChris Lattner2004-10-161-1/+2
| | | | llvm-svn: 17053
* Okay, the list of link-time passes wasn't such a hot idea. Its prone toReid Spencer2004-09-141-1/+0
| | | | | | | error. We'll strategize on this when we have multiple front ends to deal with. For now llvm-ld just runs a standard set of transforms. llvm-svn: 16333
* Add support for the link-time pass list to Modules.Reid Spencer2004-09-131-0/+1
| | | | llvm-svn: 16321
* bug 263:Reid Spencer2004-07-251-0/+2
| | | | | | Provide new tokens for target triples and dependent libraries. llvm-svn: 15208
* Remove a gross and crufty "feature" that was never documented and doesn't work.Chris Lattner2004-07-141-1/+0
| | | | llvm-svn: 14809
* Remove use of Type::TypeTy which is no longer defined. This change neededReid Spencer2004-07-041-1/+1
| | | | | | for bug 122 since the "Type Type" concept is gone now. llvm-svn: 14620
* Add support for dos-style filesChris Lattner2004-05-271-1/+1
| | | | llvm-svn: 13837
* Avoid TRUE and FALSE which apparently conflict with some macros on OSXChris Lattner2004-03-311-2/+2
| | | | llvm-svn: 12566
* Hrm, we were leaking ~1M of garbage that valgrind never told us about becauseChris Lattner2004-03-191-0/+8
| | | | | | it was "reachable". Cute. llvm-svn: 12515
* Allow parsing select instruction and constant exprChris Lattner2004-03-121-0/+1
| | | | llvm-svn: 12313
* Change the 'exception' destination to the 'unwind' destination. We will alwaysChris Lattner2004-02-081-1/+1
| | | | | | allow 'except' instead of 'unwind' here though. llvm-svn: 11203
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+5
| | | | llvm-svn: 9903
* Added LLVM copyright header.John Criswell2003-10-211-0/+7
| | | | llvm-svn: 9321
* Change the Opcode enum for PHI nodes from "Instruction::PHINode" to ↵Chris Lattner2003-10-191-1/+1
| | | | | | "Instruction::PHI" to be more consistent with the other instructions. llvm-svn: 9269
* New revised variable argument handling supportChris Lattner2003-10-181-2/+4
| | | | llvm-svn: 9219
* Include <cctype> and <cstdlib> instead of <ctype.h> and "Config/stdlib.h".Brian Gaeke2003-10-101-2/+2
| | | | llvm-svn: 9036
* Accept 'weak' as a linkage type. For now, just turn it into linkonce linkageChris Lattner2003-10-101-0/+1
| | | | llvm-svn: 8998
* Add support for the unwind instructionChris Lattner2003-09-081-0/+1
| | | | llvm-svn: 8408
* Parse volatile loads/storesChris Lattner2003-09-081-0/+1
| | | | llvm-svn: 8402
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-301-1/+1
| | | | | | system. llvm-svn: 7014
* Add support for a new zeroinitializer token which can be used to get rid ofChris Lattner2003-06-281-0/+1
| | | | | | huge arrays of zero initialized values llvm-svn: 6937
* Add support for the new va_arg instructionChris Lattner2003-05-081-0/+1
| | | | llvm-svn: 6029
* Use a union to cast int to fpChris Lattner2003-04-221-7/+9
| | | | llvm-svn: 5849
* Allow information about the target to be specified in the .ll fileChris Lattner2003-04-221-0/+6
| | | | llvm-svn: 5843
* Allow hexadecimal integer constants to be usedChris Lattner2003-04-171-5/+19
| | | | llvm-svn: 5802
* Add new linkage types to support a real frontendChris Lattner2003-04-161-0/+2
| | | | llvm-svn: 5786
* The parser now accepts "external" global variables, in addition to the backwardsChris Lattner2002-10-061-1/+2
| | | | | | compatible "uninitialized" global variables llvm-svn: 4050
* - Remove unused STRING token from lexer & parserChris Lattner2002-08-161-1/+0
| | | | | | | | | | - Changed parser to always use parenthesis on ConstExprs to be consistent - Parser now passes TRUE and FALSE tokens as a special case of the ConstExpr machinery instead of a special case of constant int stuff - Fix the AsmParser to use ValueRef ::= ConstExpr, and remove ResolvedVal ::= ConstExpr this allows constexprs to be used in PHI nodes llvm-svn: 3362
* AsmParser turns 'not' instructions into 'xor' instructions now.Chris Lattner2002-08-141-5/+3
| | | | llvm-svn: 3309
* GCC 3.1 changesChris Lattner2002-07-251-1/+1
| | | | llvm-svn: 3074
OpenPOWER on IntegriCloud