| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 32362
|
|
|
|
| |
llvm-svn: 32361
|
|
|
|
|
|
| |
now cerr, cout, and NullStream resp.
llvm-svn: 32298
|
|
|
|
| |
llvm-svn: 32246
|
|
|
|
| |
llvm-svn: 32245
|
|
|
|
| |
llvm-svn: 32242
|
|
|
|
|
|
| |
the current basic block any more either.
llvm-svn: 32241
|
|
|
|
| |
llvm-svn: 32233
|
|
|
|
| |
llvm-svn: 32232
|
|
|
|
| |
llvm-svn: 32173
|
|
|
|
|
|
| |
outiside the parentheses to match what llvm-upgrade generates.
llvm-svn: 32171
|
|
|
|
| |
llvm-svn: 32156
|
|
|
|
| |
llvm-svn: 32155
|
|
|
|
| |
llvm-svn: 32152
|
|
|
|
|
|
| |
disambiguate them.
llvm-svn: 32151
|
|
|
|
| |
llvm-svn: 32145
|
|
|
|
| |
llvm-svn: 32144
|
|
|
|
| |
llvm-svn: 32053
|
|
|
|
| |
llvm-svn: 32052
|
|
|
|
| |
llvm-svn: 31984
|
|
|
|
| |
llvm-svn: 31965
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
builds).
llvm-svn: 31694
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 31539
|
|
|
|
| |
llvm-svn: 31538
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Replace the REM instruction with UREM, SREM and FREM.
llvm-svn: 31369
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
bison'ing correctly.
llvm-svn: 31169
|
|
|
|
| |
llvm-svn: 31111
|
|
|
|
| |
llvm-svn: 31110
|
|
|
|
| |
llvm-svn: 31109
|
|
|
|
| |
llvm-svn: 31108
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
a better encoding of the targets data layout, rather than trying to guess it
from the endianness and pointersize like before.
llvm-svn: 31030
|
|
|
|
| |
llvm-svn: 30971
|
|
|
|
| |
llvm-svn: 30970
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
ConstantBool::getTrue() and ConstantBool::getFalse().
llvm-svn: 30665
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 X86 StdCall & FastCall calling conventions. Codegen will follow.
llvm-svn: 30446
|
|
|
|
| |
llvm-svn: 30441
|
|
|
|
| |
llvm-svn: 30375
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 29771
|