summaryrefslogtreecommitdiffstats
path: root/llvm/tools
Commit message (Collapse)AuthorAgeFilesLines
* Made detailed output the default and changed -details option to -nodetails.Reid Spencer2004-06-101-2/+2
| | | | llvm-svn: 14114
* Clean up the documentation.Reid Spencer2004-06-081-60/+24
| | | | | | Simplify the file handling. It now only writes to std::cout. llvm-svn: 14059
* Eliminate more traces of the -c optionChris Lattner2004-06-071-14/+3
| | | | llvm-svn: 14049
* Commit For New Tool: llvm-abcd (Analysis of ByteCode Dumper). This toolReid Spencer2004-06-073-1/+130
| | | | | | | | | | | | | | | | | | | | | will (eventually) provide statistical analysis of bytecode files as well as the ability to dump them in a low level format (slot numbers not resolved). The purpose of this is to aid in the Type!=Value change of bug 122. With this initial release, llvm-abcd merely dumps out the bytecode. However, the infrastructure for separating bytecode parsing from handling the parsing events is in place. The style chosen is similar to SAX XML parsing where a handler object is called to handlign the parsing events. This probably isn't useful to anyone but me right now as there is no analysis yet, and the dumper doesn't work on every bytecode file. It will probably be useful by the end of this week. Note that there is some duplication of code from the bytecode reader. This was done to eliminate errors from being introduced in the reader and to minimize the impact to other LLVM developers. At some point, the Analyzer and the Reader will be integrated to use the same infrastructure. Also, sorry for the minor change to Instruction.h but I just couldn't bring myself to write code that depends on Instruction internals. llvm-svn: 14048
* Make gccld copy the llvm-stub program to be the execution wrapper forChris Lattner2004-06-021-1/+16
| | | | | | | | | | | bytecode files on win32 systems. We keep the shell script on unix systems because it is much more transparent for the users and supports -load options. This allows llvmgcc work correctly on win32 systems without the -native or -native-cbe options. llvm-svn: 13946
* Fix a double negation (in grammar).Misha Brukman2004-06-021-1/+1
| | | | llvm-svn: 13943
* Move some functions out of gccld.cpp to GenerateCode.cpp. This allows usChris Lattner2004-06-024-110/+86
| | | | | | | to reduce the inter-file interface in the gccld tool and gets some uninteresting code out of gccld.cpp. llvm-svn: 13942
* Refactor a bit of code into a function, no functionality changes.Chris Lattner2004-06-021-29/+36
| | | | llvm-svn: 13941
* No really cygwin, we LIKE .exe'ness.Chris Lattner2004-06-021-0/+8
| | | | llvm-svn: 13939
* Build the llvm-stub directoryChris Lattner2004-06-011-1/+1
| | | | llvm-svn: 13938
* Initial checkin of a stub executable that can be used by gccld to forward toChris Lattner2004-06-012-0/+64
| | | | | | bytecode files on systems that don't support #!/bin/sh natively (ie, win32). llvm-svn: 13937
* Neuter the -q option. Stop printing the "program modified" message, everChris Lattner2004-05-271-3/+2
| | | | llvm-svn: 13844
* Re-introduce the -q option and make opt always return 0, even if theReid Spencer2004-05-271-3/+7
| | | | | | | optimization pasess fail. This is necessary to avoid breaking feature tests in the tests suite that depend on this behavior. *sigh* llvm-svn: 13832
* Removed the -q option and the default message written to stderr. TheReid Spencer2004-05-271-6/+3
| | | | | | output produces confusing results in TestRunner.sh llvm-svn: 13828
* Right, globals aren't values yet..Chris Lattner2004-05-271-1/+1
| | | | llvm-svn: 13822
* Add a simple pass.Chris Lattner2004-05-271-0/+45
| | | | llvm-svn: 13820
* Uhh, that doesn't exist.Chris Lattner2004-05-271-1/+0
| | | | llvm-svn: 13815
* Header file movedChris Lattner2004-05-2717-16/+17
| | | | llvm-svn: 13813
* Convert to SymbolTable's new iteration interface.Reid Spencer2004-05-251-3/+3
| | | | llvm-svn: 13754
* Turn the block extractor on by default now that it basically works, ↵Chris Lattner2004-05-121-7/+0
| | | | | | eliminating the option. llvm-svn: 13502
* Check to see if all blocks are extractible first.Chris Lattner2004-05-121-8/+19
| | | | llvm-svn: 13491
* Don't leave dead bytecode.output files around if the optimizer/block ↵Chris Lattner2004-05-121-6/+5
| | | | | | extractor crashes. llvm-svn: 13477
* Implement the final missing bits for block extractor support. Now bugpointChris Lattner2004-05-121-2/+35
| | | | | | can extract basic blocks up to the limit of the block extractor implementation. llvm-svn: 13475
* Implement basic block extraction for the miscompilation debugger. This ↵Chris Lattner2004-05-113-0/+188
| | | | | | | | | | | | | | | | still needs two things: the FIXME in ExtractBlocks needs to be implemented, and the basic block extractor itself needs to have enough bugs fixed for this to be more or less useful. Until the time that this is generally useful, it is hidden behind the new bugpoint -enable-block-extraction option. I hope to get the FIXME done tonight. Also of note, this patch adds a -extract-bbs option to bugpoint which can be used to debug the block extractor. (hint hint Misha :) llvm-svn: 13471
* A class that is meant to be a base class should have a virtual destructorChris Lattner2004-05-111-0/+2
| | | | llvm-svn: 13470
* Allow the user to set the LLVMINTERP environment variable as a workaround, forBrian Gaeke2004-05-071-2/+5
| | | | | | | | | | | | when they have to run a gccld shell script without having lli in their path. This is intended to address Bug 289. Also, emit the traditional syntax ${1+"$@"} for passing all of a shell script's args to a subprocess. If you have arguments that have spaces in them, $* will not preserve the quoting (i.e., the quoted string "foo bar" as an argument will end up as two arguments "foo" "bar" to lli.) llvm-svn: 13414
* Use the new commandline flag to allow us to call bugpoint like this:Chris Lattner2004-05-061-2/+2
| | | | | | | | bugpoint ... --tool-args -enable-correct-eh-support -regalloc=linearscan --args -- -foo So that tool-args option gets the -enable-correct-eh-support -regalloc=linearscan flags instead of bugpoint. llvm-svn: 13389
* Remove a really old commentChris Lattner2004-05-061-9/+0
| | | | llvm-svn: 13385
* Add --tool-args flag which lets you pass arguments to llc or lli.Brian Gaeke2004-05-041-9/+22
| | | | | | This is intended to address Bug 40. llvm-svn: 13358
* Teach bugpoint to be a little bit smarter and avoid repeating workChris Lattner2004-04-231-1/+5
| | | | llvm-svn: 13132
* Add command-line option to select whether to isolate or delete function fromMisha Brukman2004-04-221-1/+5
| | | | | | module. Default is `isolate' as before. llvm-svn: 13113
* Add a space before result for readability on the command line.Misha Brukman2004-04-221-7/+7
| | | | llvm-svn: 13109
* Add doxygenified comments to functions.Misha Brukman2004-04-211-0/+18
| | | | llvm-svn: 13097
* Include cerrno (gcc-3.4 fix)Alkis Evlogimenos2004-04-211-0/+1
| | | | llvm-svn: 13091
* As per Chris, greatly simplify handling of external functions by using theMisha Brukman2004-04-191-75/+22
| | | | | | | wrapper idea uniformly: we can use Value::replaceAllUsesWith() instead of special-casing by class of user. llvm-svn: 13063
* * Reorder #includesMisha Brukman2004-04-191-2/+3
| | | | | | * Wrap a long line llvm-svn: 13061
* Finally implement rewriting global initializers which use external functionsMisha Brukman2004-04-191-10/+83
| | | | | | | | | | | by creating an internal wrapper function with same signature as the external function, and use it instead of the "real" function. The wrapper then calls the external function using the same JIT function resolution API that has been used before for rewriting instructions, since the wrapper has an explicit call instruction which we can rewrite. llvm-svn: 13054
* Move loop optimization passes up, add loop unrollerChris Lattner2004-04-181-1/+5
| | | | llvm-svn: 13030
* Don't use invalid HTML in a doxygen comment.Misha Brukman2004-04-151-1/+1
| | | | llvm-svn: 12962
* Add a couple more IPO'sChris Lattner2004-04-121-0/+3
| | | | llvm-svn: 12863
* finegrainify namespacificationChris Lattner2004-04-121-17/+16
| | | | llvm-svn: 12862
* Disambiguate symbols after loop extraction so that we can diagnose a codeChris Lattner2004-04-111-16/+18
| | | | | | generator bug if multiple loops are extracted from a function. llvm-svn: 12847
* Fix an obvious bug in the refactoring I did a few days agoChris Lattner2004-04-091-1/+1
| | | | llvm-svn: 12797
* Disable strict alias analysis in the backend c compiler, as the code weChris Lattner2004-04-081-0/+1
| | | | | | generate is not TBAA safe. llvm-svn: 12774
* Revert previous patch, I'm a moron :)Chris Lattner2004-04-081-6/+5
| | | | llvm-svn: 12773
* Right, we break strict aliasing requirements. Make sure to disable strictChris Lattner2004-04-081-5/+6
| | | | | | aliasing in the C compiler. llvm-svn: 12772
* Wrap at 80 cols.Misha Brukman2004-04-061-7/+6
| | | | llvm-svn: 12701
* Minor cleanupsChris Lattner2004-04-061-32/+18
| | | | llvm-svn: 12700
* Add a new gccld -native-cbe option which causes gccld to generate native codeChris Lattner2004-04-063-1/+48
| | | | | | for the application with the C backend instead of the native LLVM code generator llvm-svn: 12698
* Merge the code generator miscompilation code into the optimizer miscompilationChris Lattner2004-04-053-312/+265
| | | | | | | code. This "instantly" gives us loop-extractor power to assist with the debugment of our nasty codegen issues. :) llvm-svn: 12678
OpenPOWER on IntegriCloud