- Nov 29, 2004
-
-
Chris Lattner authored
llvm-svn: 18363
-
Reid Spencer authored
implementation llvm-svn: 18358
-
Reid Spencer authored
llvm-svn: 18357
-
Reid Spencer authored
llvm-svn: 18356
-
Reid Spencer authored
SearchForAddressOfSymbol. llvm-svn: 18355
-
Reid Spencer authored
llvm-svn: 18353
-
Reid Spencer authored
more platforms than LLVM supports. llvm-svn: 18352
-
Reid Spencer authored
llvm-svn: 18346
-
Reid Spencer authored
llvm-svn: 18345
-
Reid Spencer authored
llvm-svn: 18344
-
Reid Spencer authored
opened as if it was a dynamic library so its symbols can be searched too. llvm-svn: 18341
-
Chris Lattner authored
to Brian and the Sun compiler for pointing out that the obvious works :) This also enables folding all long comparisons into setcc and branch instructions: before we could only do == and != For example, for: void test(unsigned long long A, unsigned long long B) { if (A < B) foo(); } We now generate: test: subl $4, %esp movl %esi, (%esp) movl 8(%esp), %eax movl 12(%esp), %ecx movl 16(%esp), %edx movl 20(%esp), %esi subl %edx, %eax sbbl %esi, %ecx jae .LBBtest_2 # UnifiedReturnBlock .LBBtest_1: # then call foo movl (%esp), %esi addl $4, %esp ret .LBBtest_2: # UnifiedReturnBlock movl (%esp), %esi addl $4, %esp ret Instead of: test: subl $12, %esp movl %esi, 8(%esp) movl %ebx, 4(%esp) movl 16(%esp), %eax movl 20(%esp), %ecx movl 24(%esp), %edx movl 28(%esp), %esi cmpl %edx, %eax setb %al cmpl %esi, %ecx setb %bl cmove %ax, %bx testb %bl, %bl je .LBBtest_2 # UnifiedReturnBlock .LBBtest_1: # then call foo movl 4(%esp), %ebx movl 8(%esp), %esi addl $12, %esp ret .LBBtest_2: # UnifiedReturnBlock movl 4(%esp), %ebx movl 8(%esp), %esi addl $12, %esp ret llvm-svn: 18330
-
Tanya Lattner authored
Reworked branching so we don't handle BAs specially. It just updates the branchTO regardless of what type of branch it is. llvm-svn: 18322
-
Tanya Lattner authored
Fixed bug where instructions in the kernel were not ordered right to preserve dependencies in a cycle. llvm-svn: 18314
-
- Nov 28, 2004
-
-
Reid Spencer authored
* Make sure we handle signed to unsigned conversion correctly * Move this visitSetCondInst case to its own method. llvm-svn: 18312
-
Chris Lattner authored
llvm-svn: 18311
-
Chris Lattner authored
llvm-svn: 18309
-
Chris Lattner authored
llvm-svn: 18308
-
Chris Lattner authored
PR449 llvm-svn: 18306
-
Chris Lattner authored
llvm-svn: 18303
-
Reid Spencer authored
llvm-svn: 18300
-
- Nov 27, 2004
-
-
Chris Lattner authored
a must alias set unless all of the pointers in the resultant set are must aliased together. llvm-svn: 18275
-
Chris Lattner authored
occurs many times in crafty llvm-svn: 18273
-
Nate Begeman authored
place to help bring up the PowerPC back end on Darwin. This code is no longer serves any purpose now that the AsmPrinter does the right thing all the time printing GlobalValues. --Cruft. llvm-svn: 18267
-
- Nov 26, 2004
-
-
Chris Lattner authored
llvm-svn: 18266
-
Chris Lattner authored
allows us to hoist more loads in some cases. llvm-svn: 18265
-
Chris Lattner authored
llvm-svn: 18264
-
Chris Lattner authored
llvm-svn: 18263
-
Chris Lattner authored
llvm-svn: 18262
-
Chris Lattner authored
the global. This implements Regression/Analysis/BasicAA/global-size.ll llvm-svn: 18261
-
- Nov 25, 2004
-
-
Reid Spencer authored
llvm-svn: 18251
-
Reid Spencer authored
llvm-svn: 18250
-
Reid Spencer authored
llvm-svn: 18249
-
Reid Spencer authored
llvm-svn: 18246
-
Reid Spencer authored
llvm-svn: 18245
-
Reid Spencer authored
-lstdsup++ no -lc be passed on the command line to llvm linkers if the progam being linked was compiled with the C/C++ Front End or Stacker. llvm-svn: 18243
-
Reid Spencer authored
Make sure lines don't exceed 80 cols. llvm-svn: 18242
-
Nate Begeman authored
static global variables whose addresses are taken. This allows us to convert the following code for taking the address of a static function foo addis r2, r30, ha16(Ll1__2E_foo_2$non_lazy_ptr-"L00001$pb") lwz r3, lo16(Ll1__2E_foo_2$non_lazy_ptr-"L00001$pb")(r2) which also includes linker stub code emitted at the end of the .s file not shown here, and replace it with this: addis r2, r30, ha16(l1__2E_foo_2-"L00001$pb") la r3, lo16(l1__2E_foo_2-"L00001$pb")(r2) which in addition to not needing linker help, also has no load instruction. For those not up on PowerPC mnemonics, la is shorthand for add immediate. llvm-svn: 18239
-
Chris Lattner authored
llvm-svn: 18235
-
Chris Lattner authored
llvm-svn: 18228
-