| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 46514
|
| |
|
|
| |
llvm-svn: 46433
|
| |
|
|
| |
llvm-svn: 45418
|
| |
|
|
|
|
| |
of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space.
llvm-svn: 45082
|
| |
|
|
| |
llvm-svn: 43309
|
| |
|
|
| |
llvm-svn: 42439
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use APFloat in UpgradeParser and AsmParser.
Change all references to ConstantFP to use the
APFloat interface rather than double. Remove
the ConstantFP double interfaces.
Use APFloat functions for constant folding arithmetic
and comparisons.
(There are still way too many places APFloat is
just a wrapper around host float/double, but we're
getting there.)
llvm-svn: 41747
|
| |
|
|
|
|
|
|
| |
indexing an empty std::vector.
Updates to all clients.
llvm-svn: 40660
|
| |
|
|
| |
llvm-svn: 36873
|
| |
|
|
| |
llvm-svn: 36662
|
| |
|
|
|
|
|
| |
Due to darwin gcc bug, one version of darwin linker coalesces
static const int, which defauts PassID based pass identification.
llvm-svn: 36652
|
| |
|
|
| |
llvm-svn: 36632
|
| |
|
|
| |
llvm-svn: 36047
|
| |
|
|
|
|
|
|
| |
printf("") -> noop. Still need to do the xforms for fprintf.
This implements Transforms/SimplifyLibCalls/Printf.ll
llvm-svn: 35984
|
| |
|
|
| |
llvm-svn: 35768
|
| |
|
|
|
|
| |
fwrite optimizer.
llvm-svn: 35758
|
| |
|
|
|
|
| |
just return the string itself.
llvm-svn: 35755
|
| |
|
|
| |
llvm-svn: 35754
|
| |
|
|
|
|
| |
Fix some miscompilations in fprintf optimizer.
llvm-svn: 35753
|
| |
|
|
|
|
| |
and Prolangs-C/cdecl
llvm-svn: 35749
|
| |
|
|
| |
llvm-svn: 35713
|
| |
|
|
| |
llvm-svn: 35712
|
| |
|
|
| |
llvm-svn: 35711
|
| |
|
|
| |
llvm-svn: 35710
|
| |
|
|
| |
llvm-svn: 35709
|
| |
|
|
| |
llvm-svn: 35708
|
| |
|
|
| |
llvm-svn: 35707
|
| |
|
|
|
|
| |
SimplifyLibCalls/2007-04-06-strchr-miscompile.ll and PR1307
llvm-svn: 35706
|
| |
|
|
| |
llvm-svn: 35704
|
| |
|
|
|
|
| |
the start index of the array as well as the length. No functionality change.
llvm-svn: 35703
|
| |
|
|
|
|
| |
Constant::isNullValue() in situations where it is possible.
llvm-svn: 34821
|
| |
|
|
| |
llvm-svn: 34222
|
| |
|
|
|
|
|
| |
the Transforms library. This reduces debug library size by 132 KB, debug
binary size by 376 KB, and reduces link time for llvm tools slightly.
llvm-svn: 33939
|
| |
|
|
| |
llvm-svn: 33712
|
| |
|
|
|
|
| |
confusion with external linkage types.
llvm-svn: 33663
|
| |
|
|
| |
llvm-svn: 33397
|
| |
|
|
|
|
|
|
|
| |
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: 33218
|
| |
|
|
| |
llvm-svn: 33147
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Implement the arbitrary bit-width integer feature. The feature allows
integers of any bitwidth (up to 64) to be defined instead of just 1, 8,
16, 32, and 64 bit integers.
This change does several things:
1. Introduces a new Derived Type, IntegerType, to represent the number of
bits in an integer. The Type classes SubclassData field is used to
store the number of bits. This allows 2^23 bits in an integer type.
2. Removes the five integer Type::TypeID values for the 1, 8, 16, 32 and
64-bit integers. These are replaced with just IntegerType which is not
a primitive any more.
3. Adjust the rest of LLVM to account for this change.
Note that while this incremental change lays the foundation for arbitrary
bit-width integers, LLVM has not yet been converted to actually deal with
them in any significant way. Most optimization passes, for example, will
still only deal with the byte-width integer types. Future increments
will rectify this situation.
llvm-svn: 33113
|
| |
|
|
| |
llvm-svn: 33076
|
| |
|
|
| |
llvm-svn: 33001
|
| |
|
|
|
|
|
|
| |
resolve PR1088, and to help PR411.
This simplifies many clients also
llvm-svn: 32989
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This patch replaces signed integer types with signless ones:
1. [US]Byte -> Int8
2. [U]Short -> Int16
3. [U]Int -> Int32
4. [U]Long -> Int64.
5. Removal of isSigned, isUnsigned, getSignedVersion, getUnsignedVersion
and other methods related to signedness. In a few places this warranted
identifying the signedness information from other sources.
llvm-svn: 32785
|
| |
|
|
|
|
|
|
| |
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: 32729
|
| |
|
|
| |
llvm-svn: 32709
|
| |
|
|
| |
llvm-svn: 32693
|
| |
|
|
| |
llvm-svn: 32534
|
| |
|
|
|
|
| |
creation calls.
llvm-svn: 32521
|