summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove tabs.Reid Spencer2004-07-111-2/+2
| | | | llvm-svn: 14763
* Prepare the writer for a non-broken implementation of writing floatingReid Spencer2004-07-112-2/+19
| | | | | | | point values. This will be fixed when I figure out how to do it correctly without depending on knowing the endianess of a platform. llvm-svn: 14762
* The cleanup is done. Update comment.Chris Lattner2004-07-111-5/+2
| | | | llvm-svn: 14761
* Make add constantexprs work with all types, fixing the regressions from last ↵Chris Lattner2004-07-111-4/+28
| | | | | | night llvm-svn: 14760
* Implement TargetRegistrationListenerChris Lattner2004-07-111-0/+26
| | | | llvm-svn: 14759
* Add a new listener class for things that want to be informed about newChris Lattner2004-07-111-6/+21
| | | | | | targets that are loaded llvm-svn: 14758
* Delete the allocate*TargetMachine function, which is now dead.Chris Lattner2004-07-112-10/+2
| | | | | | The shared command line options are now in a header that makes sense. llvm-svn: 14757
* Delete the allocate*TargetMachine function, which is now dead .Chris Lattner2004-07-115-37/+5
| | | | | | The shared command line options are now in a header that makes sense. llvm-svn: 14756
* Delete the allocate*TargetMachine function, which is now dead .Chris Lattner2004-07-111-6/+0
| | | | llvm-svn: 14755
* Delete the allocate*TargetMachine functions. Move options to a header fileChris Lattner2004-07-112-62/+30
| | | | | | that makes sense. llvm-svn: 14754
* Prune unused #includeChris Lattner2004-07-111-1/+0
| | | | llvm-svn: 14753
* Goodbye macro hell, hello nice clean and simple code. This also gives llcChris Lattner2004-07-111-58/+17
| | | | | | | | | the ability to dynamically load and use targets that are not linked into it statically. e.g.: llc -load libparisc.so -march=parisc foo.bc -o foo.s llvm-svn: 14751
* Goodbye macro hell, hello nice clean simple extensible code. This changeChris Lattner2004-07-111-55/+13
| | | | | | | | also gives the JIT the ability to dynamically load targets. e.g. lli -load libparisc.so -march=parisc foo.bc llvm-svn: 14750
* Implement a couple of methods that TargetMachineRegistry now provides. See,Chris Lattner2004-07-111-0/+60
| | | | | | I told you this file wasn't useless :) llvm-svn: 14749
* Add a new TargetNameParser class, which is useful for parsing options.Chris Lattner2004-07-111-4/+36
| | | | | | Add two methods which are useful for autoselecting targets. llvm-svn: 14748
* Make these format a bit nicerChris Lattner2004-07-116-6/+6
| | | | llvm-svn: 14747
* Provide better support for pointer-valued command line argumentsChris Lattner2004-07-111-0/+3
| | | | llvm-svn: 14746
* Auto-registrate targetChris Lattner2004-07-119-6/+84
| | | | llvm-svn: 14745
* Add compilabilityChris Lattner2004-07-113-0/+3
| | | | llvm-svn: 14744
* Initial impl of this file. Yes this is pretty useless right now, but itChris Lattner2004-07-111-0/+21
| | | | | | will grow in time. llvm-svn: 14743
* First cut at TargetMachineRegistry and RegisterTarget classesChris Lattner2004-07-111-0/+76
| | | | llvm-svn: 14742
* Add two new "virtual static" methods to the TargetMachine classChris Lattner2004-07-111-0/+14
| | | | llvm-svn: 14741
* Add -load optionChris Lattner2004-07-114-0/+4
| | | | llvm-svn: 14740
* Add a -load optionChris Lattner2004-07-111-0/+1
| | | | llvm-svn: 14739
* Implicitly getting a new option by linking to support.o instead of support.aChris Lattner2004-07-111-23/+8
| | | | | | | is a bad idea. Make tools that want the option #include PluginSupport.h explicitly. llvm-svn: 14738
* Add a new headerChris Lattner2004-07-111-0/+35
| | | | llvm-svn: 14737
* - Correct grammar of -s descriptionReid Spencer2004-07-101-3/+4
| | | | | | - Normalize -s option specification llvm-svn: 14736
* Group the hidden command line arguments.Reid Spencer2004-07-101-7/+6
| | | | | | Make the -s option actually work and default to the right value. llvm-svn: 14735
* Add link to the stkrc pageChris Lattner2004-07-101-2/+5
| | | | llvm-svn: 14734
* Command Guide for the Stacker language compiler, stkrc.Reid Spencer2004-07-101-0/+95
| | | | llvm-svn: 14733
* Replace use of defunct Type::setName method with SymbolTable::insert.Reid Spencer2004-07-101-1/+1
| | | | | | Patch found and provided by Vladimir Merzliakov. Thanks Vladimir! llvm-svn: 14732
* Make the VBRSavings percentage make sense (as a fraction of the totalReid Spencer2004-07-101-3/+2
| | | | | | expanded size instead of the file size). Thanks Chris. llvm-svn: 14731
* Minor cleanups:Chris Lattner2004-07-101-23/+20
| | | | | | | | | * Mention the --help and --help-hidden options * Don't say program when we really mean any old bytecode file * Add a link to the man pages * Move analyze down in the list, as it's not as important as the rest llvm-svn: 14730
* Error Handling Cleanup:Reid Spencer2004-07-092-121/+129
| | | | | | | | | | - get rid of PARSE_ERROR macro - add error(std::string) function - use error(std::string) for all errors - make input dependent asserts call error(std::string) instead - ensure asserts are only for logic bugs, not input discrepancies. llvm-svn: 14729
* Fix a backwards compatibility bug found by Tanya. In version 1.2, theReid Spencer2004-07-091-0/+5
| | | | | | | | | global type plane starts with a length and the TypeTyID value to identify the type plane has having type definitions. This doesn't happen in 1.3 because the types are read from a known position in the file. However, the TypeTyID must be read in (and ignored) if its a 1.2 bytecode file. llvm-svn: 14728
* Removed unneeded forward declChris Lattner2004-07-091-1/+0
| | | | llvm-svn: 14727
* Remove unused methodChris Lattner2004-07-092-10/+0
| | | | llvm-svn: 14726
* Add checks to ensure that there are no unreachable blocks in the functionChris Lattner2004-07-091-0/+8
| | | | llvm-svn: 14725
* Don't call Type::setName()Chris Lattner2004-07-091-1/+1
| | | | llvm-svn: 14724
* * Add support for indexing into structures, thanks to Chris (x86)Misha Brukman2004-07-092-120/+188
| | | | | | | | | | | | The large diff is because of indentation of a whole region * Fix querying predecessor blocks in SelectPHINodes(), thanks to Brian (v8) * Add support for external functions malloc() and free() * Fix some code indentation Remember, kids: It's not plagiarism if you "creatively borrow" from your sources. It's called "research"! llvm-svn: 14723
* Read/write the offset value for stack-relative loads via correct instr operand.Misha Brukman2004-07-091-7/+5
| | | | llvm-svn: 14722
* * Doxygenify commentsMisha Brukman2004-07-091-104/+96
| | | | | | | | | | | * Fix spacing, grammar in comment * Make code layout consistent * Wrap code at 80 cols * Delete spurious blank lines No functional changes. llvm-svn: 14721
* Fix typo.Alkis Evlogimenos2004-07-091-1/+1
| | | | llvm-svn: 14720
* Improve code comments.Alkis Evlogimenos2004-07-091-5/+11
| | | | llvm-svn: 14719
* No really, he did finish!Chris Lattner2004-07-091-1/+1
| | | | llvm-svn: 14717
* Too much of a title for it's own goodChris Lattner2004-07-091-3/+2
| | | | llvm-svn: 14716
* Fix Validation bugsChris Lattner2004-07-091-2/+7
| | | | llvm-svn: 14715
* Eliminate the UID field in the Type class, bringing it down to 28 bytes.Chris Lattner2004-07-081-11/+1
| | | | llvm-svn: 14709
* The uid mapping is no moreChris Lattner2004-07-081-12/+1
| | | | llvm-svn: 14708
* Eliminate uses of the UniqueID field on Type objectsChris Lattner2004-07-081-23/+18
| | | | llvm-svn: 14707
OpenPOWER on IntegriCloud