| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
alias itself.
Also, fix a case, when target doesn't have weak symbols supported.
llvm-svn: 41746
|
| |
|
|
| |
llvm-svn: 41286
|
| |
|
|
|
|
| |
for prettiness.
llvm-svn: 40593
|
| |
|
|
| |
llvm-svn: 40500
|
| |
|
|
|
|
| |
be 8 for 64-bit targets.
llvm-svn: 37421
|
| |
|
|
|
|
|
|
| |
smaller than the preferred alignment, but so that the target can actually
specify a minimum alignment if needed. This fixes some objc protocol
failures Devang tracked down.
llvm-svn: 37373
|
| |
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
# InlineAsm Start
subfc r3,r5,r4
subfze r4,r3
# InlineAsm End
print:
# InlineAsm Start
subfc r3,r5,r4
subfze r4,r3
# InlineAsm End
llvm-svn: 36589
|
| |
|
|
| |
llvm-svn: 36564
|
| |
|
|
|
|
| |
bitcasts of them.
llvm-svn: 36537
|
| |
|
|
|
|
| |
will follow.
llvm-svn: 36435
|
| |
|
|
| |
llvm-svn: 36383
|
| |
|
|
| |
llvm-svn: 36368
|
| |
|
|
| |
llvm-svn: 34981
|
| |
|
|
| |
llvm-svn: 34479
|
| |
|
|
| |
llvm-svn: 34478
|
| |
|
|
| |
llvm-svn: 34337
|
| |
|
|
|
|
|
| |
Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and
PackedTyID -> VectorTyID. No functional changes.
llvm-svn: 34293
|
| |
|
|
| |
llvm-svn: 34161
|
| |
|
|
| |
llvm-svn: 34157
|
| |
|
|
| |
llvm-svn: 34156
|
| |
|
|
| |
llvm-svn: 33946
|
| |
|
|
| |
llvm-svn: 33924
|
| |
|
|
| |
llvm-svn: 33888
|
| |
|
|
| |
llvm-svn: 33757
|
| |
|
|
| |
llvm-svn: 33755
|
| |
|
|
|
|
| |
for debugging and exception handling.
llvm-svn: 33550
|
| |
|
|
| |
llvm-svn: 33537
|
| |
|
|
| |
llvm-svn: 33498
|
| |
|
|
| |
llvm-svn: 33454
|
| |
|
|
| |
llvm-svn: 33314
|
| |
|
|
|
|
|
|
| |
LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for
the X86 and PPC backends. It defaults to "0", the first variant of a compound
inline asm expression.
llvm-svn: 33246
|
| |
|
|
|
|
|
|
|
| |
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: 33123
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
recommended that getBoolValue be replaced with getZExtValue and that
get(bool) be replaced by get(const Type*, uint64_t). This implements
those changes.
llvm-svn: 33110
|
| |
|
|
| |
llvm-svn: 33076
|
| |
|
|
|
|
|
| |
Merge ConstantIntegral and ConstantBool into ConstantInt.
Remove ConstantIntegral and ConstantBool from LLVM.
llvm-svn: 33073
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
doesn't matter as it is determined in the way the constant is used.
llvm-svn: 32733
|
| |
|
|
| |
llvm-svn: 32685
|
| |
|
|
| |
llvm-svn: 32648
|
| |
|
|
|
|
| |
2. Allow the jit to handle PIC relocable jump tables.
llvm-svn: 32581
|
| |
|
|
| |
llvm-svn: 32471
|
| |
|
|
| |
llvm-svn: 32470
|
| |
|
|
| |
llvm-svn: 32462
|
| |
|
|
| |
llvm-svn: 32460
|