| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
rounding the stack frame to a multiple of stack alignment.
llvm-svn: 33504
|
| |
|
|
|
|
| |
2. Clean up end of lines.
llvm-svn: 33499
|
| |
|
|
| |
llvm-svn: 33498
|
| |
|
|
|
|
| |
by value so that clean up is less confusing (these vectors tend to be small.)
llvm-svn: 33488
|
| |
|
|
| |
llvm-svn: 33485
|
| |
|
|
|
|
| |
Writer" for the pass name.
llvm-svn: 33483
|
| |
|
|
| |
llvm-svn: 33482
|
| |
|
|
| |
llvm-svn: 33478
|
| |
|
|
|
|
| |
the stack. Each target can further adjust the frame size if necessary.
llvm-svn: 33460
|
| |
|
|
| |
llvm-svn: 33457
|
| |
|
|
| |
llvm-svn: 33454
|
| |
|
|
| |
llvm-svn: 33449
|
| |
|
|
|
|
|
| |
Clean up handling of isFloatingPoint() and dealing with PackedType.
Patch by Gordon Henriksen!
llvm-svn: 33415
|
| |
|
|
|
|
| |
these alignment amounts to align scalars when we can. Patch by Scott Michel!
llvm-svn: 33409
|
| |
|
|
| |
llvm-svn: 33398
|
| |
|
|
| |
llvm-svn: 33396
|
| |
|
|
|
|
| |
emitPrologue(). Each target can make adjustments to the stack frame and re-align the stack as it deem appropriate. Do not align it twice which can end up wasting stack space.
llvm-svn: 33387
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
rejected during its quest to find a suitable reload register. This avoids an infinite loop in case like this:
t1 := op t2, t3
t2 <- assigned r0 for use by the reload but ended up reuse r1
t3 <- assigned r1 for use by the reload but ended up reuse r0
t1 <- desires r1
sees r1 is taken by t2, tries t2's reload register r0
sees r0 is taken by t3, tries t3's reload register r1
sees r1 is taken by t2, tries t2's reload register r0 ...
llvm-svn: 33382
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the final patch for this PR. It implements some minor cleanup
in the use of IntegerType, to wit:
1. Type::getIntegerTypeMask -> IntegerType::getBitMask
2. Type::Int*Ty changed to IntegerType* from Type*
3. ConstantInt::getType() returns IntegerType* now, not Type*
This also fixes PR1120.
Patch by Sheng Zhou.
llvm-svn: 33370
|
| |
|
|
|
|
|
|
|
|
| |
(shl (add x, c1), c2) -> (add (shl x, c2), c1<<c2)
Replace it with:
(add (shl (add x, c1), c2), ) -> (add (add (shl x, c2), c1<<c2), )
This fixes test/CodeGen/ARM/smul.ll
llvm-svn: 33361
|
| |
|
|
| |
llvm-svn: 33316
|
| |
|
|
| |
llvm-svn: 33314
|
| |
|
|
|
|
| |
writers.
llvm-svn: 33311
|
| |
|
|
| |
llvm-svn: 33298
|
| |
|
|
| |
llvm-svn: 33289
|
| |
|
|
|
|
|
| |
careful when folding "c ? load p : load q" that C doesn't reach either load.
If so, folding this into load (c ? p : q) will induce a cycle in the graph.
llvm-svn: 33251
|
| |
|
|
| |
llvm-svn: 33249
|
| |
|
|
|
|
|
|
| |
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: 33222
|
| |
|
|
| |
llvm-svn: 33159
|
| |
|
|
| |
llvm-svn: 33158
|
| |
|
|
| |
llvm-svn: 33149
|
| |
|
|
| |
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: 33105
|
| |
|
|
| |
llvm-svn: 33076
|
| |
|
|
|
|
|
| |
Merge ConstantIntegral and ConstantBool into ConstantInt.
Remove ConstantIntegral and ConstantBool from LLVM.
llvm-svn: 33073
|
| |
|
|
| |
llvm-svn: 33026
|
| |
|
|
|
|
|
|
|
|
| |
register pressure.
- Fixed bugs in sethi-ullman number computation and priority queue comparison
functions.
- Separate code that handles priority computation special cases from SU number computation.
llvm-svn: 33025
|
| |
|
|
|
|
| |
This implements CodeGen/PowerPC/unsafe-math.ll
llvm-svn: 33024
|
| |
|
|
| |
llvm-svn: 33022
|
| |
|
|
| |
llvm-svn: 32994
|
| |
|
|
| |
llvm-svn: 32992
|
| |
|
|
|
|
|
|
| |
resolve PR1088, and to help PR411.
This simplifies many clients also
llvm-svn: 32989
|
| |
|
|
| |
llvm-svn: 32940
|
| |
|
|
|
|
| |
before or'ing in the sign bit of operand 1.
llvm-svn: 32930
|
| |
|
|
|
|
| |
GlobalBaseReg.
llvm-svn: 32929
|
| |
|
|
| |
llvm-svn: 32888
|