| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 26988
|
|
|
|
| |
llvm-svn: 26729
|
|
|
|
| |
llvm-svn: 26659
|
|
|
|
|
|
| |
PR709, and paving the way for future progress.
llvm-svn: 26476
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 25355
|
|
|
|
|
|
| |
used by the C backend.
llvm-svn: 25267
|
|
|
|
| |
llvm-svn: 24300
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
pointer marking the end of the list, the zero *must* be cast to the pointer
type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will
not extend the zero to 64 bits, thus allowing the upper 32 bits to be
random junk.
The new END_WITH_NULL macro may be used to annotate a such a function
so that GCC (version 4 or newer) will detect the use of un-casted zero
at compile time.
llvm-svn: 23888
|
|
|
|
| |
llvm-svn: 22523
|
|
|
|
|
|
| |
with the CBE
llvm-svn: 21875
|
|
|
|
| |
llvm-svn: 21874
|
|
|
|
|
|
| |
looks completely untested. :(
llvm-svn: 21873
|
|
|
|
|
|
|
|
| |
'memset'"
warning from the CBE+GCC.
llvm-svn: 21779
|
|
|
|
|
|
|
|
|
| |
population (ctpop). Generic lowering is implemented, however only promotion
is implemented for SelectionDAG at the moment.
More coming soon.
llvm-svn: 21676
|
|
|
|
| |
llvm-svn: 21639
|
|
|
|
| |
llvm-svn: 21629
|
|
|
|
| |
llvm-svn: 21420
|
|
|
|
|
|
| |
backend support.
llvm-svn: 20900
|
|
|
|
|
|
|
|
| |
using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*.
This patch is contributed by Gabor Greif, thanks!
llvm-svn: 20597
|
|
|
|
| |
llvm-svn: 20382
|
|
|
|
| |
llvm-svn: 20375
|
|
|
|
| |
llvm-svn: 15334
|
|
|
|
| |
llvm-svn: 14622
|
|
|
|
| |
llvm-svn: 14266
|
|
|
|
| |
llvm-svn: 10623
|
|
llvm-svn: 10621
|