- Nov 25, 2004
-
-
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: 18238
-
Chris Lattner authored
llvm-svn: 18237
-
Chris Lattner authored
llvm-svn: 18236
-
Chris Lattner authored
llvm-svn: 18235
-
Reid Spencer authored
llvm-svn: 18234
-
Reid Spencer authored
llvm-svn: 18233
-
Reid Spencer authored
* cache more values * standardize cache value names * organize configure script per autoconf recommendations (10 sections) * Eliminate some redundancies and complexities in the script * Provide better documentation in the script. llvm-svn: 18232
-
Reid Spencer authored
llvm-svn: 18231
-
Reid Spencer authored
llvm-svn: 18230
-
Reid Spencer authored
llvm-svn: 18229
-
Chris Lattner authored
llvm-svn: 18228
-
Chris Lattner authored
All of Olden passes now! :) llvm-svn: 18227
-
Chris Lattner authored
llvm-svn: 18226
-
Chris Lattner authored
llvm-svn: 18225
-
Reid Spencer authored
llvm-svn: 18224
-
Chris Lattner authored
LLVM blocks as the keys for the branch rewriter. This fixes treeadd and many other programs with the JIT. llvm-svn: 18223
-
- Nov 24, 2004
-
-
Chris Lattner authored
* Add relocations for refernces to non-lazy darwin stubs and implement them correctly. With this change, we can correctly references external globals, and now all but two UnitTests and all but 1 Regression/C tests pass. More importantly, bugpoint-jit will start giving us useful testcases, instead of always telling us that references to external globals don't work :) llvm-svn: 18222
-
Nate Begeman authored
storing to fixed alloca slots. llvm-svn: 18221
-
Chris Lattner authored
prolog. llvm-svn: 18220
-
Chris Lattner authored
call the right address. llvm-svn: 18213
-
Chris Lattner authored
obscure problem where we were doing: lmw r3,0(r9) which is undefined on PPC. Now we do: lmw r3,0(r2) by force, not relying on the GCC register allocator for luck :) llvm-svn: 18212
-
Reid Spencer authored
= sign. This needed to support -DNAME=value options as pass-through in llvmc. llvm-svn: 18203
-
Brian Gaeke authored
llvm-svn: 18202
-
Brian Gaeke authored
llvm-svn: 18201
-
Chris Lattner authored
correctly. llvm-svn: 18200
-
Chris Lattner authored
36/42 SingleSource/UnitTests passing! llvm-svn: 18199
-
Chris Lattner authored
llvm-svn: 18198
-
Chris Lattner authored
llvm-svn: 18197
-
Chris Lattner authored
pass 24/42 in UnitTests (up from 20). llvm-svn: 18196
-
Tanya Lattner authored
llvm-svn: 18195
-
Chris Lattner authored
stops the infinite loops! llvm-svn: 18194
-
Chris Lattner authored
them explicitly as well. llvm-svn: 18193
-
Nate Begeman authored
llvm-svn: 18192
-
Reid Spencer authored
llvm-svn: 18191
-
Reid Spencer authored
llvm-svn: 18190
-
Reid Spencer authored
optional so that compatibility with GCC is accomplished. * Implement the -print-file-name option in an attempt to provide the same functionality as GCC. Unfortunately, without loading the cpp or c config files, this option won't help much. llvm-svn: 18189
-
Reid Spencer authored
sub-tool to start reading its standard input instead of the specified input. * Clean up ouput of path names on error. * Extend GetPathForLinkageItem to always search the LibraryPaths and thus make it suitable for an interface function (required by llvmc.cpp). * Implement support for language-specific default library paths. llvm-svn: 18188
-
Reid Spencer authored
Add the GetPathForLinkageItem method to the interface so full paths can be generated for a given linkage item. llvm-svn: 18187
-
Reid Spencer authored
llvm-svn: 18186
-