summaryrefslogtreecommitdiffstats
path: root/llvm/lib/AsmParser
Commit message (Collapse)AuthorAgeFilesLines
...
* Allow negative constants for unsigned integers and unsigned constantsReid Spencer2006-12-201-11/+13
| | | | | | | greater than MAX_INT64 for signed integers. This is now valid and is just waiting for the distinction between signed and unsigned to go away. llvm-svn: 32716
* Hopefully these are the regenerated filesAndrew Lenharth2006-12-083-2184/+1887
| | | | llvm-svn: 32362
* Packed StructuresAndrew Lenharth2006-12-081-0/+14
| | | | llvm-svn: 32361
* Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling2006-12-074-963/+1137
| | | | | | now cerr, cout, and NullStream resp. llvm-svn: 32298
* Regenerate.Reid Spencer2006-12-053-263/+257
| | | | llvm-svn: 32246
* Remove dead var NewVarArgs.Reid Spencer2006-12-051-3/+0
| | | | llvm-svn: 32245
* Regenerate.Reid Spencer2006-12-053-1202/+863
| | | | llvm-svn: 32242
* Dump the old va_arg and va_next upgrade support. No need to keep track ofReid Spencer2006-12-051-156/+2
| | | | | | the current basic block any more either. llvm-svn: 32241
* Regenerate.Reid Spencer2006-12-052-229/+149
| | | | llvm-svn: 32233
* Remove various old upgrade hacks that are no longer needed.Reid Spencer2006-12-051-41/+1
| | | | llvm-svn: 32232
* Regenerate.Reid Spencer2006-12-043-645/+669
| | | | llvm-svn: 32173
* For PR950: For ICmp and FCmp constant expressions, put the predicate ↵Reid Spencer2006-12-041-7/+7
| | | | | | outiside the parentheses to match what llvm-upgrade generates. llvm-svn: 32171
* Regenerate.Reid Spencer2006-12-033-261/+259
| | | | llvm-svn: 32156
* Remove useless #include.Reid Spencer2006-12-031-1/+0
| | | | llvm-svn: 32155
* Regenerate.Reid Spencer2006-12-035-2002/+2077
| | | | llvm-svn: 32152
* Shorten the FCmp and ICmp mnemonics to 3 letters. Make the parserReid Spencer2006-12-032-34/+41
| | | | | | disambiguate them. llvm-svn: 32151
* Regenerate.Reid Spencer2006-12-035-2976/+2981
| | | | llvm-svn: 32145
* Remove backwards compatibility goop. Now implemented in llvm-upgrade.Reid Spencer2006-12-033-602/+424
| | | | llvm-svn: 32144
* Regenerate.Reid Spencer2006-12-014-196/+184
| | | | llvm-svn: 32053
* Introducing external weak linkage. Darwin codegen should be added later.Anton Korobeynikov2006-12-011-1/+1
| | | | llvm-svn: 32052
* Removed #include <iostream> and used llvm streamsBill Wendling2006-11-281-3/+3
| | | | llvm-svn: 31984
* Regenerate.Reid Spencer2006-11-283-586/+678
| | | | llvm-svn: 31965
* Implement signedness caching for values, value lists, constants andReid Spencer2006-11-283-205/+253
| | | | | | | | | | | constant lists. This is just an internal change to the parser in preparation for some backwards compatibility code that is to follow. This will allow things like "uint 4000000000" to retain the unsignedness of the integer constant as the value moves through the parser. In the future, all integer types will be signless but parsing "uint" and friends will be retained for backwards compatibility. llvm-svn: 31964
* For PR950:Reid Spencer2006-11-278-2152/+2569
| | | | | | | | | | 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 PR950:Reid Spencer2006-11-193-215/+277
| | | | | | | | | Retain the signedness of the old integer types in a new TypeInfo structure so that it can be used in the grammar to implement auto-upgrade of things that depended on signedness of types. This doesn't implement any new functionality in the AsmParser, its just plumbing for future changes. llvm-svn: 31866
* Initialize some pointers to quiet the compiler (when doing build_gccBill Wendling2006-11-121-2/+2
| | | | | | builds). llvm-svn: 31694
* For PR950:Reid Spencer2006-11-085-2913/+3999
| | | | | | | | This patch converts the old SHR instruction into two instructions, AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not dependent on the sign of their operands. llvm-svn: 31542
* regenerateChris Lattner2006-11-084-4045/+3042
| | | | llvm-svn: 31539
* Fix a bug noticed by Emil Mikulic.Chris Lattner2006-11-081-2/+2
| | | | llvm-svn: 31538
* For PR786:Reid Spencer2006-11-025-1731/+1844
| | | | | | | | | | 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
* For PR950:Reid Spencer2006-11-022-8/+19
| | | | | | Replace the REM instruction with UREM, SREM and FREM. llvm-svn: 31369
* For PR950:Reid Spencer2006-10-266-1196/+1359
| | | | | | | | Make necessary changes to support DIV -> [SUF]Div. This changes llvm to have three division instructions: signed, unsigned, floating point. The bytecode and assembler are bacwards compatible, however. llvm-svn: 31195
* Removed extraneous semi-colon; this was prevening the grammar file fromJohn Criswell2006-10-242-2/+2
| | | | | | bison'ing correctly. llvm-svn: 31169
* Regenerate.Reid Spencer2006-10-223-2885/+3870
| | | | llvm-svn: 31111
* Remove unneeded CHECK_FOR_ERROR invocations.Reid Spencer2006-10-221-2/+0
| | | | llvm-svn: 31110
* regenerateChris Lattner2006-10-225-4288/+3300
| | | | llvm-svn: 31109
* change keyword to datalayoutChris Lattner2006-10-222-3/+3
| | | | llvm-svn: 31108
* For PR950:Reid Spencer2006-10-205-3049/+4043
| | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063
* Add support for the new "target data" information in .ll files. This providesOwen Anderson2006-10-185-2372/+2224
| | | | | | | | | 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
* Add support for the new "target data" information in .ll files. This providesOwen Anderson2006-10-182-0/+7
| | | | | | | a better encoding of the targets data layout, rather than trying to guess it from the endianness and pointersize like before. llvm-svn: 31030
* regenerateChris Lattner2006-10-153-3858/+2870
| | | | llvm-svn: 30971
* Produce a useful error message for Regression/Verifier/2006-10-15-AddrLabel.llChris Lattner2006-10-151-0/+2
| | | | llvm-svn: 30970
* Fix PR886:Reid Spencer2006-10-094-2878/+3894
| | | | | | | | | | The result of yyparse() was not being checked. When YYERROR or YYABORT is called it causes yyparse() to return 1 to indicate the error. The code was silently ignoring this situation because it previously expected either an exception or a null ParserResult to indicate an error. The patch corrects this situation. llvm-svn: 30834
* Eliminate ConstantBool::True and ConstantBool::False. Instead, provideChris Lattner2006-09-285-3868/+2876
| | | | | | ConstantBool::getTrue() and ConstantBool::getFalse(). llvm-svn: 30665
* Fix PR902:Reid Spencer2006-09-284-1292/+1421
| | | | | | | | | | | | | | Errors are generated with the YYERROR macro which can only be called from a production (inside yyparse) because of the goto statement in the macro. This lead to several situations where GEN_ERROR was not called but GenerateError was used instead (because it doesn't use YYERROR). However, in such situations, catching the error much later (e.g. at the end of the production) is not sufficient because LLVM can assert on invalid data before the end of the production is reached. The solution is to ensure that the CHECK_FOR_ERROR macro (which invokes YYERROR if there's an error) is used as soon as possible after a call to GenerateError has been made. llvm-svn: 30650
* Added some eye-candy for Subtarget type checkingAnton Korobeynikov2006-09-177-1607/+1684
| | | | | | Added X86 StdCall & FastCall calling conventions. Codegen will follow. llvm-svn: 30446
* Small fixes for supporting dll* linkage typesAnton Korobeynikov2006-09-173-110/+107
| | | | llvm-svn: 30441
* Adding generated files for the last commitAnton Korobeynikov2006-09-143-4054/+5507
| | | | llvm-svn: 30375
* Adding dllimport, dllexport and external weak linkage types.Anton Korobeynikov2006-09-144-30/+106
| | | | | | | | | 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
* regenerateChris Lattner2006-08-184-3844/+2881
| | | | llvm-svn: 29771
OpenPOWER on IntegriCloud