| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
Patch by Sterling Stein!
llvm-svn: 41758
|
|
|
|
|
|
| |
introduced by chandler's patch.
llvm-svn: 40864
|
|
|
|
|
|
|
|
| |
indexing an empty std::vector.
Updates to all clients.
llvm-svn: 40660
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
so must be lowered to a value, not nothing at all.
Subtle point: I made eh_selector return 0 and
eh_typeid_for return 1. This means that only
cleanups (destructors) will be run as the exception
unwinds [if eh_typeid_for returned 0 then it would
be as if the first catch always matched, and the
corresponding handler would be run], which is
probably want you want in the CBE.
llvm-svn: 37947
|
|
|
|
|
|
| |
Drop the eh.filter intrinsic.
llvm-svn: 37875
|
|
|
|
| |
llvm-svn: 37608
|
|
|
|
| |
llvm-svn: 37544
|
|
|
|
| |
llvm-svn: 37397
|
|
|
|
| |
llvm-svn: 37331
|
|
|
|
| |
llvm-svn: 37071
|
|
|
|
|
|
| |
just aids in readability and debugability of the output. No functional change.
llvm-svn: 37037
|
|
|
|
| |
llvm-svn: 37006
|
|
|
|
| |
llvm-svn: 36180
|
|
|
|
|
|
|
| |
linkage so we only end up with one of them in a program. These are, after
all overloaded and templatish in nature.
llvm-svn: 35956
|
|
|
|
|
|
| |
barf when CBE is run with a program that contains these intrinsics.
llvm-svn: 35946
|
|
|
|
|
|
| |
the size of the value, not just zext. Also, give better names to two BBs.
llvm-svn: 35945
|
|
|
|
|
|
| |
Implement the "part_set" intrinsic.
llvm-svn: 35938
|
|
|
|
|
|
| |
commit a LOT of files.
llvm-svn: 35858
|
|
|
|
| |
llvm-svn: 35678
|
|
|
|
|
|
|
| |
Make sure that the CTPOP result is casted to i32 as the bit counting
intrinsics all return i32 now (this affects CTLZ and CTTZ as well).
llvm-svn: 35567
|
|
|
|
|
|
| |
Support overloaded intrinsics bswap, ctpop, cttz, ctlz.
llvm-svn: 35547
|
|
|
|
| |
llvm-svn: 34802
|
|
|
|
| |
llvm-svn: 34751
|
|
|
|
| |
llvm-svn: 34502
|
|
|
|
| |
llvm-svn: 34494
|
|
|
|
| |
llvm-svn: 34481
|
|
|
|
| |
llvm-svn: 34223
|
|
|
|
|
|
|
|
| |
1. Memset takes an i32 for the value to set, not i8. This was causing GCC to
ICE all over the place (PR1183).
2. memcpy/memmove were not properly zext/trunc'ing the size in some cases.
llvm-svn: 33970
|
|
|
|
| |
llvm-svn: 33957
|
|
|
|
| |
llvm-svn: 33784
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
confusion with external linkage types.
llvm-svn: 33663
|
|
|
|
|
|
|
|
| |
functions like memcpy, memmove and memset. Ensure only one prototype is
used for these functions and that it matches the system definition by
using the appropriate type for the size argument.
llvm-svn: 33618
|
|
|
|
|
|
|
| |
Force memcpy to be the 32-bit variant. Since this is only used with
CBE and lli which both target 32-bit machines, this should be okay.
llvm-svn: 33608
|
|
|
|
|
|
|
|
|
| |
rename Type::getIntegralTypeMask to Type::getIntegerTypeMask.
This makes naming much more consistent. For example, there are now no longer any
instances of IntegerType that are not considered isInteger! :)
llvm-svn: 33225
|
|
|
|
| |
llvm-svn: 33222
|
|
|
|
| |
llvm-svn: 32994
|
|
|
|
|
|
|
|
| |
resolve PR1088, and to help PR411.
This simplifies many clients also
llvm-svn: 32989
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Three changes:
1. Convert signed integer types to signless versions.
2. Implement the @sext and @zext parameter attributes. Previously the
type of an function parameter was used to determine whether it should
be sign extended or zero extended before the call. This information is
now communicated via the function type's parameter attributes.
3. The interface to LowerCallTo had to be changed in order to accommodate
the parameter attribute information. Although it would have been
convenient to pass in the FunctionType itself, there isn't always one
present in the caller. Consequently, a signedness indication for the
result type and for each parameter was provided for in the interface
to this method. All implementations were changed to make the adjustment
necessary.
llvm-svn: 32788
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 32731
|
|
|
|
|
|
|
|
| |
creation. These changes are still temporary but at least this pushes
knowledge of signedness out closer to where it can be determined properly
and allows signedness to be removed from VMCore.
llvm-svn: 32654
|
|
|
|
| |
llvm-svn: 32472
|
|
|
|
| |
llvm-svn: 32460
|
|
|
|
|
|
| |
now cerr, cout, and NullStream resp.
llvm-svn: 32298
|
|
|
|
| |
llvm-svn: 31954
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
CBE and interpreter.
llvm-svn: 31755
|
|
|
|
|
|
|
|
| |
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
|