summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser/Lexer.l.cvs
Commit message (Collapse)AuthorAgeFilesLines
* Replace the original flex lexer with a hand writen one. This Chris Lattner2007-11-181-512/+0
| | | | | | | drops a dependency on flex and lets us make future progress more easily. Yay for 2 fewer .cvs files to make silly conflicts with. llvm-svn: 44213
* RegenerateAnton Korobeynikov2007-11-141-0/+2
| | | | llvm-svn: 44110
* Next PPC long double bits. First cut at constants.Dale Johannesen2007-10-111-1/+1
| | | | | | | | | No compile-time support for constant operations yet, just format transformations. Make readers and writers work. Split constants into 2 doubles in Legalize. llvm-svn: 42865
* Generated files for previous patch.Dale Johannesen2007-09-121-6/+6
| | | | llvm-svn: 41876
* Generated files for previous patch.Dale Johannesen2007-09-111-3/+57
| | | | llvm-svn: 41859
* Next round of APFloat changes.Dale Johannesen2007-09-061-2/+4
| | | | | | | | | | | | | | Use APFloat in UpgradeParser and AsmParser. Change all references to ConstantFP to use the APFloat interface rather than double. Remove the ConstantFP double interfaces. Use APFloat functions for constant folding arithmetic and comparisons. (There are still way too many places APFloat is just a wrapper around host float/double, but we're getting there.) llvm-svn: 41747
* Long double, part 1 of N. Support in IR.Dale Johannesen2007-08-031-0/+3
| | | | llvm-svn: 40774
* Regenerate (again).Reid Spencer2007-07-311-2/+2
| | | | llvm-svn: 40613
* Regenerate.Reid Spencer2007-07-311-0/+10
| | | | llvm-svn: 40611
* update the .cvs filesChris Lattner2007-07-051-0/+1
| | | | llvm-svn: 37918
* Regenerate.Reid Spencer2007-05-221-11/+20
| | | | llvm-svn: 37294
* Regenerate.Reid Spencer2007-05-221-44/+33
| | | | llvm-svn: 37292
* update commentChris Lattner2007-05-221-1/+1
| | | | llvm-svn: 37282
* regenerateChris Lattner2007-05-221-11/+2
| | | | llvm-svn: 37281
* RegenerateReid Spencer2007-05-191-0/+6
| | | | llvm-svn: 37258
* Implement protected visibility. This partly implements PR1363. LinkerAnton Korobeynikov2007-04-291-0/+1
| | | | | | should be taught to deal with protected symbols. llvm-svn: 36565
* RegenerateAnton Korobeynikov2007-04-251-0/+1
| | | | llvm-svn: 36437
* Implement the "thread_local" keyword.Lauro Ramos Venancio2007-04-121-0/+1
| | | | llvm-svn: 35950
* RegenerateReid Spencer2007-04-091-1/+0
| | | | llvm-svn: 35795
* Regenerate.Reid Spencer2007-03-291-1/+1
| | | | llvm-svn: 35473
* Regenerate.Reid Spencer2007-03-281-1/+1
| | | | llvm-svn: 35411
* Regenerate.Reid Spencer2007-03-221-0/+2
| | | | llvm-svn: 35259
* Regenerate.Reid Spencer2007-03-091-1/+1
| | | | llvm-svn: 35050
* Regenerate.Reid Spencer2007-02-281-13/+45
| | | | llvm-svn: 34716
* Changes to support making the shift instructions be true BinaryOperators.Reid Spencer2007-02-021-5/+7
| | | | | | | | | | | | This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax for llvm assembly to make shl, ashr and lshr instructions look like a binary operator: shl i32 %X, 1 instead of shl i32 %X, i8 1 Additionally, this should help a few passes perform additional optimizations. llvm-svn: 33776
* Propagate changes from my local tree. This patch includes:Anton Korobeynikov2007-01-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | 1. New parameter attribute called 'inreg'. It has meaning "place this parameter in registers, if possible". This is some generalization of gcc's regparm(n) attribute. It's currently used only in X86-32 backend. 2. Completely rewritten CC handling/lowering code inside X86 backend. Merged stdcall + c CCs and fastcall + fast CC. 3. Dropped CSRET CC. We cannot add struct return variant for each target-specific CC (e.g. stdcall + csretcc and so on). 4. Instead of CSRET CC introduced 'sret' parameter attribute. Setting in on first attribute has meaning 'This is hidden pointer to structure return. Handle it gently'. 5. Fixed small bug in llvm-extract + add new feature to FunctionExtraction pass, which relinks all internal-linkaged callees from deleted function to external linkage. This will allow further linking everything together. NOTEs: 1. Documentation will be updated soon. 2. llvm-upgrade should be improved to translate csret => sret. Before this, there will be some unexpected test fails. llvm-svn: 33597
* Regenerate for PR645 and PR761Reid Spencer2007-01-261-26/+33
| | | | llvm-svn: 33525
* Regenerate.Reid Spencer2007-01-131-1/+0
| | | | llvm-svn: 33182
* * PIC codegen for X86/Linux has been implementedAnton Korobeynikov2007-01-121-0/+1
| | | | | | | | * PIC-aware internal structures in X86 Codegen have been refactored * Visibility (default/weak) has been added * Docs fixes (external weak linkage, visibility, formatting) llvm-svn: 33136
* Regenerate.Reid Spencer2007-01-121-1/+1
| | | | llvm-svn: 33117
* For PR1064:Reid Spencer2007-01-121-4/+9
| | | | | | | | | | | | | | | | | | | | | | | Implement the arbitrary bit-width integer feature. The feature allows integers of any bitwidth (up to 64) to be defined instead of just 1, 8, 16, 32, and 64 bit integers. This change does several things: 1. Introduces a new Derived Type, IntegerType, to represent the number of bits in an integer. The Type classes SubclassData field is used to store the number of bits. This allows 2^23 bits in an integer type. 2. Removes the five integer Type::TypeID values for the 1, 8, 16, 32 and 64-bit integers. These are replaced with just IntegerType which is not a primitive any more. 3. Adjust the rest of LLVM to account for this change. Note that while this incremental change lays the foundation for arbitrary bit-width integers, LLVM has not yet been converted to actually deal with them in any significant way. Most optimization passes, for example, will still only deal with the byte-width integer types. Future increments will rectify this situation. llvm-svn: 33113
* Rename BoolTy as Int1Ty. Patch by Sheng Zhou.Reid Spencer2007-01-111-1/+1
| | | | llvm-svn: 33076
* For PR950:Reid Spencer2006-12-311-8/+4
| | | | | | Regenerate llvm-svn: 32782
* Regenerate.Reid Spencer2006-12-291-0/+1
| | | | llvm-svn: 32772
* For PR950:Reid Spencer2006-12-231-6/+0
| | | | | | | | This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced with ICmpInst and FCmpInst. llvm-svn: 32751
* Regenerate.Reid Spencer2006-12-031-28/+20
| | | | llvm-svn: 32152
* Regenerate.Reid Spencer2006-12-031-31/+44
| | | | llvm-svn: 32145
* Regenerate.Reid Spencer2006-12-011-23/+17
| | | | llvm-svn: 32053
* For PR950:Reid Spencer2006-11-271-15/+40
| | | | | | | | | | The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the exception of 175.vpr which fails only on a slight floating point output difference. llvm-svn: 31931
* For PR786:Reid Spencer2006-11-021-3/+19
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* regenerateChris Lattner2006-10-221-1/+1
| | | | llvm-svn: 31109
* Add support for the new "target data" information in .ll files. This providesOwen Anderson2006-10-181-0/+1
| | | | | | | | | a better encoding of the targets data layout, rather than trying to guess it from the endianness and pointersize like before. Update the generated files. llvm-svn: 31031
* Added some eye-candy for Subtarget type checkingAnton Korobeynikov2006-09-171-0/+2
| | | | | | Added X86 StdCall & FastCall calling conventions. Codegen will follow. llvm-svn: 30446
* Adding dllimport, dllexport and external weak linkage types.Anton Korobeynikov2006-09-141-0/+3
| | | | | | | | | DLL* linkages got full (I hope) codegeneration support in C & both x86 assembler backends. External weak linkage added for future use, we don't provide any codegeneration, etc. support for it. llvm-svn: 30374
* 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
* RegenerateChris Lattner2006-05-191-0/+1
| | | | llvm-svn: 28407
* regenerateChris Lattner2006-04-081-0/+1
| | | | llvm-svn: 27512
* random lexer change to test the makefile updating stuffChris Lattner2006-02-151-0/+1
| | | | llvm-svn: 26203
* adjust to new style of handling lexer changesChris Lattner2006-02-141-0/+355
llvm-svn: 26162
OpenPOWER on IntegriCloud