summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Add methodChris Lattner2004-11-302-2/+33
| | | | llvm-svn: 18368
* New testcase for simplifycfgChris Lattner2004-11-301-0/+11
| | | | llvm-svn: 18367
* If we have something like this:Chris Lattner2004-11-301-0/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | if (x) { code ... } else { code ... } Turn it into: code if (x) { ... } else { ... } This reduces code size and in some common cases allows us to completely eliminate the conditional. This turns several if/then/else blocks in loops into straightline code in 179.art, turning the loops into single basic blocks (good for modsched even!). Maybe now brg will leave me alone ;-) llvm-svn: 18366
* Remove extraneous namespacification. In particular, don't define ↵Chris Lattner2004-11-301-11/+9
| | | | | | llvm::llvm::createInternalGlobalMapperPass llvm-svn: 18365
* Fix a typo.John Criswell2004-11-291-3/+3
| | | | | | Corrected a potential grammary issue. llvm-svn: 18364
* Allow hoisting loads of globals and alloca's in conditionals.Chris Lattner2004-11-291-0/+6
| | | | llvm-svn: 18363
* Make built bytecode libraries depend on gccas/gccld as appropriate. ThisChris Lattner2004-11-291-5/+8
| | | | | | should fix the stale runtime libraries problem. llvm-svn: 18361
* Fix two bugs:Reid Spencer2004-11-291-3/+1
| | | | | | | | | 1. Nothing should happen on "make all". Doc generation is quick, but we don't want to do it unless we're installing. 2. Correct a dependency for the *.ps files .. didn't notice this before because of cruft in my directory. It failed on a clean build. llvm-svn: 18359
* Functionality moved to portable lib/System/DynamicLibrary.cppReid Spencer2004-11-291-96/+0
| | | | | | implementation llvm-svn: 18358
* Use System/DynamicLibrary instead of Support/DynamicLinkerReid Spencer2004-11-294-12/+20
| | | | llvm-svn: 18357
* Use System/DynamicLibrary instead of Support/DynamicLinker to implement.Reid Spencer2004-11-291-2/+12
| | | | llvm-svn: 18356
* Implement two new functions: LoadLibraryPermanently andReid Spencer2004-11-291-28/+62
| | | | | | SearchForAddressOfSymbol. llvm-svn: 18355
* Add in some methods for use by the JIT. LoadLibraryPermanently brings theReid Spencer2004-11-291-0/+25
| | | | | | | | library into the address space permanently. SearchForAddressOfSymbol looks in all previously permanently loaded libraries and any currently open libraries for a symbol, instead of just one library like GetAddressOfSymbol llvm-svn: 18354
* Shared library extension is now in LTDL_SHLIB_EXTReid Spencer2004-11-292-3/+3
| | | | llvm-svn: 18353
* We just use ltdl's implementation for this abstraction now. Its portable toReid Spencer2004-11-291-13/+3
| | | | | | more platforms than LLVM supports. llvm-svn: 18352
* Allow reconfig from any directory, not just the top build directory, byReid Spencer2004-11-291-2/+3
| | | | | | | changing directory first. Also make sure that we don't attempt to run config.status if the recheck didn't work. llvm-svn: 18351
* Changes resulting from AC_LIB_LTDL usage.Reid Spencer2004-11-291-11/+136
| | | | llvm-svn: 18350
* * Implement embedding libltdl into LLVM which required some rearranging.Reid Spencer2004-11-292-1665/+5236
| | | | llvm-svn: 18349
* * Update instructions about upgrading libtoolReid Spencer2004-11-291-8/+35
| | | | | | * Add instructions about upgrading autoconf llvm-svn: 18348
* Don't include ltdl.h any more. Its nested in lib/System now.Reid Spencer2004-11-291-4/+0
| | | | llvm-svn: 18347
* Mods for compilation with llvm.Reid Spencer2004-11-291-7/+10
| | | | llvm-svn: 18346
* Original version of ltdl.h from libtool 1.5.10Reid Spencer2004-11-291-0/+366
| | | | llvm-svn: 18345
* Original version of ltdl.c from libtool 1.5.10Reid Spencer2004-11-291-0/+4495
| | | | llvm-svn: 18344
* Converted with autoupdate for autoconf 2.50 -> 2.59 differences.Reid Spencer2004-11-291-12/+9
| | | | llvm-svn: 18343
* This file contains macros that allow us to incorporate the ltdl source intoReid Spencer2004-11-291-0/+430
| | | | | | | our own library so that it is magically hidden and we don't have to depend on linking with -lltdl option. llvm-svn: 18342
* Implement the default constructor which causes the current program to beReid Spencer2004-11-293-5/+29
| | | | | | opened as if it was a dynamic library so its symbols can be searched too. llvm-svn: 18341
* Make the default constructor cause the program's symbols to be loaded asReid Spencer2004-11-291-2/+10
| | | | | | if it was a dynamic library. llvm-svn: 18340
* Make it HTML 4.01 Strict compliant.Reid Spencer2004-11-291-2/+3
| | | | llvm-svn: 18339
* * Document how to turn on doxygen documentation generationReid Spencer2004-11-291-3/+50
| | | | | | | * Document the new "LLVMLIBS=JIT" feature to make building JIT programs super easy. llvm-svn: 18338
* No longer necessary, moved Makefile.rulesReid Spencer2004-11-291-68/+0
| | | | llvm-svn: 18337
* Use LLVMLIBS=JIT to get JIT librariesReid Spencer2004-11-294-18/+6
| | | | llvm-svn: 18333
* Incorporate tools/Makefile.JITReid Spencer2004-11-291-0/+57
| | | | llvm-svn: 18332
* Make sure the program's symbols can be dlsym'd as well.Reid Spencer2004-11-291-0/+2
| | | | llvm-svn: 18331
* Revamp long/ulong comparisons to use a much more efficient sequence (thanksChris Lattner2004-11-291-36/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * Allow date command to be printed in verbose modeReid Spencer2004-11-291-17/+8
| | | | | | | | | | | | * Get rid of appending -lbz2 and -lz to ExtraLibs now that we don't need them any more. * Fix the dist-check target so that EXTRA_DIST can be defined AFTER the include of Makefile.common. This is needed because Makefile.common provides variable definitions that may need to be used in computing the value of EXTRA_DIST. * Clean up some "distdir" target output. llvm-svn: 18329
* Add "docs" as a descendable directory (at the end)Reid Spencer2004-11-291-2/+2
| | | | llvm-svn: 18328
* * allow doxygen documentation to be enabled/disabled (default off)Reid Spencer2004-11-292-42/+458
| | | | | | | | | * organize programs we test for properly * add new programs needed for documentation generation * Adjust install paths so llvm stuff doesn't muck up /usr/local or /usr if $prefix is set to those. llvm-svn: 18327
* * Get additional configured values into the makefilesReid Spencer2004-11-291-31/+54
| | | | | | | * Provide support for ENABLE_DOXYGEN * New tools that documentation generation requires llvm-svn: 18326
* Make the check a little quieter.Reid Spencer2004-11-291-3/+5
| | | | llvm-svn: 18325
* * Make this makefile compliant with LLVM makefile standardsReid Spencer2004-11-291-5/+53
| | | | | | | * Implement optional doxygen doc generation * Implement HTML and doxygen installation llvm-svn: 18324
* Moved --> doxygen.cfg.inReid Spencer2004-11-291-863/+0
| | | | llvm-svn: 18323
* Reworked branching so we don't handle BAs specially. It just updates the ↵Tanya Lattner2004-11-292-139/+97
| | | | | | branchTO regardless of what type of branch it is. llvm-svn: 18322
* * Get rid of extraneous directoriesReid Spencer2004-11-291-12/+18
| | | | | | | | * Ensure things installed to same place are all getting there by using a variable to name that place. * Make sure missing index.html, images and *.css files get installed. llvm-svn: 18321
* * add llvmc and llvm-ldReid Spencer2004-11-291-19/+25
| | | | | | | * fix the links to not be in an html subdir as that's not how this gets installed (anymore). llvm-svn: 18320
* Adjust this so that doxygen doesn't barf on it.Reid Spencer2004-11-291-9/+2
| | | | llvm-svn: 18319
* * Adjust so this falls in line with LLVM Makefile standards.Reid Spencer2004-11-291-11/+48
| | | | | | | * Implement installation of doxygen and html documentation * Fix it so it works with objdir != srcdir. llvm-svn: 18318
* * Fix an item list.Reid Spencer2004-11-291-0/+10
| | | | | | * Add an ENVIRONMENT section to describe LLVM_LIB_SEARCH_PATH llvm-svn: 18317
* Add a link.Reid Spencer2004-11-292-2/+2
| | | | llvm-svn: 18316
* For PR393:Reid Spencer2004-11-291-0/+863
| | | | | | | | This file was originally doxygen.cfg, but it needs to be configured to get the right srcdir/objdir paths for things. This is needed because building the doxygen will now be part of the install and dist-check targets. llvm-svn: 18315
* Fixed bug where instructions in the kernel were not ordered right to ↵Tanya Lattner2004-11-284-7/+32
| | | | | | preserve dependencies in a cycle. llvm-svn: 18314
OpenPOWER on IntegriCloud