summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
* Fix a really annoying bug in bugpoint that made reducing C++ testcasesChris Lattner2006-03-081-4/+89
| | | | | | | almost impossible with the new CFE. It now guarantees that the static ctor/dtor list is correctly split between the modules. llvm-svn: 26624
* Fit to 80 columns.Chris Lattner2006-03-081-7/+14
| | | | | | | Add support for running static ctor/dtors that aren't handled by __main. This fixes programs with the JIT and the new CFE, such as HBD. llvm-svn: 26620
* Make sure command line options are parsed before we try to add the LibPathReid Spencer2006-03-061-4/+4
| | | | | | (-L options) to TheLinker. Problem noticed by Wink Saville. llvm-svn: 26571
* For transforms the behave differently if main goes away, add an option to ↵Andrew Lenharth2006-03-051-0/+13
| | | | | | prevent bugpoint from removing main llvm-svn: 26557
* Implemented -quiet feature for analyzeRobert Bocchino2006-03-031-30/+35
| | | | llvm-svn: 26494
* Turn on loop unswitching tonightChris Lattner2006-02-221-0/+1
| | | | llvm-svn: 26312
* reorder some librariesChris Lattner2006-02-221-1/+1
| | | | llvm-svn: 26309
* remove support for the skeleton targetChris Lattner2006-02-161-5/+0
| | | | llvm-svn: 26236
* Adjust to new style "generated files in CVS" mechanism for lex outputChris Lattner2006-02-142-0/+201
| | | | llvm-svn: 26163
* SparcV8 -> SparcChris Lattner2006-02-051-2/+2
| | | | llvm-svn: 26008
* Pass plugins on to children when optimizing.Andrew Lenharth2006-01-261-1/+10
| | | | llvm-svn: 25650
* Remove dead #includeChris Lattner2006-01-231-1/+0
| | | | llvm-svn: 25520
* It doesn't make sense to give llc a list of passes on the command line,Chris Lattner2006-01-231-18/+0
| | | | | | LLVM doesn't use it and it can't work anyway. llvm-svn: 25519
* this doesn't work, remove itChris Lattner2006-01-231-2/+0
| | | | llvm-svn: 25518
* add explicit #includes of iostreamChris Lattner2006-01-222-0/+2
| | | | llvm-svn: 25510
* For PR521:Reid Spencer2006-01-102-2/+15
| | | | | | | | | With these patches we implement the ability for the Linker library to keep track of which libraries were actually bytecode files (not archives) and cause their users to remove such files from the list of libraries to pass to the native linker. llvm-svn: 25169
* Fix line length of a comment.Reid Spencer2006-01-081-2/+2
| | | | llvm-svn: 25149
* remove unused headerChris Lattner2006-01-051-1/+0
| | | | llvm-svn: 25101
* Applied some recommend changes from sabre. The dominate one beginning "let theJim Laskey2006-01-041-3/+0
| | | | | | | pass manager do it's thing." Fixes crash when compiling -g files and suppresses dwarf statements if no debug info is present. llvm-svn: 25100
* Adding MachineDebugInfo as a immutable pass.Jim Laskey2006-01-041-0/+4
| | | | llvm-svn: 25088
* Revert removal of std:: prefixes and addtion of "using namespace std;".Reid Spencer2005-12-301-55/+55
| | | | | | This violates the LLVM coding standards. llvm-svn: 25050
* don't need this anymoreDuraid Madina2005-12-301-1/+0
| | | | llvm-svn: 25049
* delete file portablyDuraid Madina2005-12-301-1/+2
| | | | llvm-svn: 25048
* General cleanup:Reid Spencer2005-12-291-61/+66
| | | | | | | | 1. Don't mix C++ and C standard I/O, convert to C++ iostreams 2. Wrap long lines 3. use the std namespace to simplify/shorten the code llvm-svn: 25042
* dittoDuraid Madina2005-12-281-0/+1
| | | | llvm-svn: 25038
* more compliance stufffDuraid Madina2005-12-281-0/+1
| | | | llvm-svn: 25037
* behold my standards-compliant humps!Duraid Madina2005-12-281-1/+2
| | | | llvm-svn: 25033
* WAKEY WAKEYDuraid Madina2005-12-281-1/+1
| | | | llvm-svn: 25032
* Get bugpoint building with VC++ again.Jeff Cohen2005-12-231-0/+1
| | | | llvm-svn: 24977
* For PR351:Reid Spencer2005-12-224-65/+97
| | | | | | | | | | | | Generally, remove use of fork/exec from bugpoint in favor of the portable sys::Program::ExecuteAndWait method. This change requires two new options to bugpoint to tell it that it is running in "child" mode. In this mode, it reads its input and runs the passes. The result code signals to the parent instance of bugpoint what happened (success, fail, crash). This change should make bugpoint usable on Win32 systems. llvm-svn: 24961
* Fix test/Regression/Other/2002-01-31-CallGraph.ll after the recent callgraphChris Lattner2005-12-221-3/+17
| | | | | | rework. llvm-svn: 24959
* Implement PR679:Reid Spencer2005-12-223-7/+15
| | | | | | | | | | * Changed the -rpath option from cl::opt to cl::list * Changed the interface to GenerateNative to take a std::vector<std::string> instead of just a std::string * Changed GenerateNative to generate multiple -Wl,-rpath, options to be passed to gcc. llvm-svn: 24930
* Implement PR512:Reid Spencer2005-12-211-0/+39
| | | | | | | | | | | | This patch adds a -post-link-opts option to llvm-ld which allows an arbitrary program to optimize bytecode after linking. The program is passed two file names. The first is the input (linked bytecode) the second is where it must place its output (presumably after optimizing). If the output file is bytecode, it is used as a substitute for the input. This will allow things like poolalloc to be written as a separate program instead of a loadable module or built into LLVM. llvm-svn: 24893
* rename option for consistency with -mcpu -mattr etcChris Lattner2005-12-161-1/+1
| | | | llvm-svn: 24734
* rename optionChris Lattner2005-12-161-1/+1
| | | | llvm-svn: 24732
* provide an option to override the target triple in a module from the ↵Chris Lattner2005-12-161-1/+7
| | | | | | commandline. llvm-svn: 24730
* provide an option to override the target triple in a module from the commandChris Lattner2005-12-161-0/+6
| | | | | | line. llvm-svn: 24729
* Fix printing of the instructions.Chris Lattner2005-12-141-1/+1
| | | | llvm-svn: 24714
* Remove -start-group and -end-group no-op options, accidentally committedReid Spencer2005-12-141-5/+0
| | | | | | in last patch. llvm-svn: 24710
* Adjust the constructor to the Linker class to take an argument that namesReid Spencer2005-12-132-2/+6
| | | | | | | | the module being constructed. This is used to correctly name the module. Previously the name of the linker tool was used which produces confusing output when the module identifier is used in an error message. llvm-svn: 24699
* This solves the problem of the CBE renaming symbols that start with . but ↵Andrew Lenharth2005-12-061-0/+2
| | | | | | the assembly side still trying to reference them by their old names. Should be safe untill we hit a language front end that lets you specify such a name. llvm-svn: 24626
* Revert my previous patch which broke due to lazy streaming of functionsChris Lattner2005-12-021-1/+1
| | | | | | from .bc files. llvm-svn: 24575
* If a module has a main, but it is defined externally, refuse to run it.Chris Lattner2005-12-011-1/+1
| | | | | | Attempting to run it will find lli's main, which isn't the desired effect. llvm-svn: 24569
* Allow users to specify -Wl,-native* multiple times if they pleaseChris Lattner2005-11-171-2/+2
| | | | llvm-svn: 24392
* Add a new -fast option, which generates code quickly.Chris Lattner2005-11-081-1/+5
| | | | llvm-svn: 24234
* add a hack that fixes:Chris Lattner2005-11-031-1/+4
| | | | | | | | | | llvm-gcc main.c -Wl,-native -o a.out -g This is important because it used by many configure scripts. John, please pull this onto the 1.6 branch. llvm-svn: 24163
* Move some constant folding code shared by Analysis and Transform passesJohn Criswell2005-10-278-8/+8
| | | | | | | | into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. llvm-svn: 24036
* 1. Remove libraries no longer created from the list of libraries linked into theJohn Criswell2005-10-268-8/+8
| | | | | | | | | | SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. llvm-svn: 24023
* transforms before analysesChris Lattner2005-10-251-1/+1
| | | | llvm-svn: 23976
* Remove a now-unneeded libraryChris Lattner2005-10-242-2/+2
| | | | llvm-svn: 23942
OpenPOWER on IntegriCloud