- Dec 19, 2006
-
-
Chris Lattner authored
delete some dead ones. llvm-svn: 32694
-
Chris Lattner authored
llvm-svn: 32693
-
Chris Lattner authored
llvm-svn: 32692
-
Chris Lattner authored
converted, we lose a static initializer. This also allows GCC to emit warnings about unused statistics. llvm-svn: 32690
-
- Dec 18, 2006
-
-
Reid Spencer authored
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
-
Reid Spencer authored
form so we can remove that method from ConstantExpr. llvm-svn: 32652
-
- Dec 17, 2006
-
-
Bill Wendling authored
rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then dispatch to the correct print() method. llvm-svn: 32636
-
- Dec 16, 2006
-
-
Chris Lattner authored
zero arg vararg functions, pass undef instead of 'int 0', which is cheaper. llvm-svn: 32634
-
- Dec 15, 2006
-
-
Chris Lattner authored
llvm-svn: 32595
-
- Dec 13, 2006
-
-
Reid Spencer authored
used to determine whether a ZExt or SExt cast is performed. Instead, pass an "isSigned" bool to the function and determine its value from the opcode of the cast involved. Also, clean up some cruft from previous patches. llvm-svn: 32548
-
Reid Spencer authored
cast instructions. A few are bug fixes. llvm-svn: 32544
-
Reid Spencer authored
make sure to also check that it is a zext from bool, not any other cast operation type. llvm-svn: 32539
-
Reid Spencer authored
The cast patch introduced the possibility that the wrong cast opcode could be used and that this transform could trigger on different kinds of cast operations. This patch rectifies that. llvm-svn: 32538
-
Reid Spencer authored
so the decision of which opcode to use is pushed upward to the caller. Adjust the callers to pass the expected opcode. llvm-svn: 32535
-
Reid Spencer authored
llvm-svn: 32534
-
Chris Lattner authored
obscure bugs affecting the X86 code generator. I will reenable this when fixed. llvm-svn: 32524
-
Reid Spencer authored
creation calls. llvm-svn: 32521
-
Reid Spencer authored
Rename getZeroExtend and getSignExtend to getZExt and getSExt to match the the casting mnemonics in the rest of LLVM. llvm-svn: 32514
-
- Dec 12, 2006
-
-
Chris Lattner authored
llvm-svn: 32487
-
Chris Lattner authored
llvm-svn: 32486
-
Reid Spencer authored
llvm-svn: 32479
-
Reid Spencer authored
llvm-svn: 32477
-
Reid Spencer authored
llvm-svn: 32469
-
Chris Lattner authored
llvm-svn: 32468
-
- Dec 11, 2006
-
-
Chris Lattner authored
llvm-svn: 32426
-
Chris Lattner authored
This implements Transforms/ScalarRepl/union-packed.ll llvm-svn: 32422
-
Chris Lattner authored
* Add support for promoting unions with fp values in them. This produces our new int<->fp bitcast instructions, implementing Transforms/ScalarRepl/union-fp-int.ll As an example, this allows us to compile this: union intfloat { int i; float f; }; float invsqrt(const float arg_x) { union intfloat x = { .f = arg_x }; const float xhalf = arg_x * 0.5f; x.i = 0x5f3759df - (x.i >> 1); return x.f * (1.5f - xhalf * x.f * x.f); } into: _invsqrt: movss 4(%esp), %xmm0 movd %xmm0, %eax sarl %eax movl $1597463007, %ecx subl %eax, %ecx movd %ecx, %xmm1 mulss LCPI1_0, %xmm0 mulss %xmm1, %xmm0 movss LCPI1_1, %xmm2 mulss %xmm1, %xmm0 subss %xmm0, %xmm2 movl 8(%esp), %eax mulss %xmm2, %xmm1 movss %xmm1, (%eax) ret instead of: _invsqrt: subl $4, %esp movss 8(%esp), %xmm0 movss %xmm0, (%esp) movl (%esp), %eax movl $1597463007, %ecx sarl %eax subl %eax, %ecx movl %ecx, (%esp) mulss LCPI1_0, %xmm0 movss (%esp), %xmm1 mulss %xmm1, %xmm0 mulss %xmm1, %xmm0 movss LCPI1_1, %xmm2 subss %xmm0, %xmm2 mulss %xmm2, %xmm1 movl 12(%esp), %eax movss %xmm1, (%eax) addl $4, %esp ret llvm-svn: 32418
-
- Dec 08, 2006
-
-
Reid Spencer authored
MarkAliveBlocks. llvm-svn: 32375
-
- Dec 07, 2006
-
-
Bill Wendling authored
llvm-svn: 32333
-
Bill Wendling authored
llvm-svn: 32320
-
Bill Wendling authored
now cerr, cout, and NullStream resp. llvm-svn: 32298
-
- Dec 06, 2006
-
-
Reid Spencer authored
llvm-svn: 32288
-
Chris Lattner authored
llvm-svn: 32280
-
Chris Lattner authored
is 'unsigned'. llvm-svn: 32279
-
Chris Lattner authored
passing false would make the asmprinter fail anyway. llvm-svn: 32264
-
Chris Lattner authored
llvm-svn: 32252
-
- Dec 05, 2006
-
-
Chris Lattner authored
7.48s. This regression is due to unforseen consequences of the cast patch. llvm-svn: 32209
-
Devang Patel authored
for now. llvm-svn: 32208
-
- Dec 04, 2006
-
-
Reid Spencer authored
llvm-svn: 32166
-
- Dec 02, 2006
-
-
Jeff Cohen authored
llvm-svn: 32113
-