- Dec 04, 2006
-
-
Reid Spencer authored
llvm-svn: 32173
-
- Dec 03, 2006
-
-
Reid Spencer authored
llvm-svn: 32156
-
Reid Spencer authored
llvm-svn: 32152
-
Reid Spencer authored
llvm-svn: 32145
-
- Dec 01, 2006
-
-
Reid Spencer authored
llvm-svn: 32053
-
- Nov 28, 2006
-
-
Reid Spencer authored
llvm-svn: 31965
-
- Nov 27, 2006
-
-
Reid Spencer authored
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
-
- Nov 08, 2006
-
-
Reid Spencer authored
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
-
Chris Lattner authored
llvm-svn: 31539
-
- Nov 02, 2006
-
-
Reid Spencer authored
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
-
- Oct 26, 2006
-
-
Reid Spencer authored
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
-
- Oct 24, 2006
-
-
John Criswell authored
bison'ing correctly. llvm-svn: 31169
-
- Oct 22, 2006
-
-
Reid Spencer authored
llvm-svn: 31111
-
Chris Lattner authored
llvm-svn: 31109
-
- Oct 20, 2006
-
-
Reid Spencer authored
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
-
- Oct 18, 2006
-
-
Owen Anderson authored
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
-
- Oct 16, 2006
-
-
Chris Lattner authored
llvm-svn: 30971
-
- Oct 09, 2006
-
-
Reid Spencer authored
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
-
- Sep 29, 2006
-
-
Chris Lattner authored
Eliminate ConstantBool::True and ConstantBool::False. Instead, provide ConstantBool::getTrue() and ConstantBool::getFalse(). llvm-svn: 30665
-
- Sep 28, 2006
-
-
Reid Spencer authored
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
-
- Sep 17, 2006
-
-
Anton Korobeynikov authored
Added X86 StdCall & FastCall calling conventions. Codegen will follow. llvm-svn: 30446
-
Anton Korobeynikov authored
llvm-svn: 30441
-
- Sep 14, 2006
-
-
Anton Korobeynikov authored
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
-
- Aug 18, 2006
-
-
Chris Lattner authored
llvm-svn: 29771
-
Reid Spencer authored
llvm-svn: 29769
-
Reid Spencer authored
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
-
- Jun 21, 2006
-
-
Chris Lattner authored
llvm-svn: 28897
-
- May 19, 2006
-
-
Chris Lattner authored
llvm-svn: 28407
-
- Apr 08, 2006
-
-
Chris Lattner authored
llvm-svn: 27526
-
Chris Lattner authored
llvm-svn: 27521
-
Chris Lattner authored
llvm-svn: 27512
-
- Mar 04, 2006
-
-
Chris Lattner authored
llvm-svn: 26522
-
- Feb 15, 2006
-
-
Chris Lattner authored
llvm-svn: 26206
-
- Jan 25, 2006
-
-
Chris Lattner authored
llvm-svn: 25618
-
- Jan 24, 2006
-
-
Chris Lattner authored
llvm-svn: 25571
-
Chris Lattner authored
llvm-svn: 25567
-
Chris Lattner authored
llvm-svn: 25557
-
- Jan 19, 2006
-
-
Reid Spencer authored
llvm-svn: 25434
-
- Jan 17, 2006
-
-
Robert Bocchino authored
llvm-svn: 25403
-
- Jan 16, 2006
-
-
Reid Spencer authored
This patch is an incremental step towards supporting a flat symbol table. It de-overloads the intrinsic functions by providing type-specific intrinsics and arranging for automatically upgrading from the old overloaded name to the new non-overloaded name. Specifically: llvm.isunordered -> llvm.isunordered.f32, llvm.isunordered.f64 llvm.sqrt -> llvm.sqrt.f32, llvm.sqrt.f64 llvm.ctpop -> llvm.ctpop.i8, llvm.ctpop.i16, llvm.ctpop.i32, llvm.ctpop.i64 llvm.ctlz -> llvm.ctlz.i8, llvm.ctlz.i16, llvm.ctlz.i32, llvm.ctlz.i64 llvm.cttz -> llvm.cttz.i8, llvm.cttz.i16, llvm.cttz.i32, llvm.cttz.i64 New code should not use the overloaded intrinsic names. Warnings will be emitted if they are used. llvm-svn: 25366
-