Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove tabs. | Reid Spencer | 2004-07-11 | 1 | -2/+2 |
| | | | | llvm-svn: 14763 | ||||
* | Prepare the writer for a non-broken implementation of writing floating | Reid Spencer | 2004-07-11 | 2 | -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 Lattner | 2004-07-11 | 1 | -5/+2 |
| | | | | llvm-svn: 14761 | ||||
* | Make add constantexprs work with all types, fixing the regressions from last ↵ | Chris Lattner | 2004-07-11 | 1 | -4/+28 |
| | | | | | | night llvm-svn: 14760 | ||||
* | Implement TargetRegistrationListener | Chris Lattner | 2004-07-11 | 1 | -0/+26 |
| | | | | llvm-svn: 14759 | ||||
* | Add a new listener class for things that want to be informed about new | Chris Lattner | 2004-07-11 | 1 | -6/+21 |
| | | | | | | targets that are loaded llvm-svn: 14758 | ||||
* | Delete the allocate*TargetMachine function, which is now dead. | Chris Lattner | 2004-07-11 | 2 | -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 Lattner | 2004-07-11 | 5 | -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 Lattner | 2004-07-11 | 1 | -6/+0 |
| | | | | llvm-svn: 14755 | ||||
* | Delete the allocate*TargetMachine functions. Move options to a header file | Chris Lattner | 2004-07-11 | 2 | -62/+30 |
| | | | | | | that makes sense. llvm-svn: 14754 | ||||
* | Prune unused #include | Chris Lattner | 2004-07-11 | 1 | -1/+0 |
| | | | | llvm-svn: 14753 | ||||
* | Goodbye macro hell, hello nice clean and simple code. This also gives llc | Chris Lattner | 2004-07-11 | 1 | -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 change | Chris Lattner | 2004-07-11 | 1 | -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 Lattner | 2004-07-11 | 1 | -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 Lattner | 2004-07-11 | 1 | -4/+36 |
| | | | | | | Add two methods which are useful for autoselecting targets. llvm-svn: 14748 | ||||
* | Make these format a bit nicer | Chris Lattner | 2004-07-11 | 6 | -6/+6 |
| | | | | llvm-svn: 14747 | ||||
* | Provide better support for pointer-valued command line arguments | Chris Lattner | 2004-07-11 | 1 | -0/+3 |
| | | | | llvm-svn: 14746 | ||||
* | Auto-registrate target | Chris Lattner | 2004-07-11 | 9 | -6/+84 |
| | | | | llvm-svn: 14745 | ||||
* | Add compilability | Chris Lattner | 2004-07-11 | 3 | -0/+3 |
| | | | | llvm-svn: 14744 | ||||
* | Initial impl of this file. Yes this is pretty useless right now, but it | Chris Lattner | 2004-07-11 | 1 | -0/+21 |
| | | | | | | will grow in time. llvm-svn: 14743 | ||||
* | First cut at TargetMachineRegistry and RegisterTarget classes | Chris Lattner | 2004-07-11 | 1 | -0/+76 |
| | | | | llvm-svn: 14742 | ||||
* | Add two new "virtual static" methods to the TargetMachine class | Chris Lattner | 2004-07-11 | 1 | -0/+14 |
| | | | | llvm-svn: 14741 | ||||
* | Add -load option | Chris Lattner | 2004-07-11 | 4 | -0/+4 |
| | | | | llvm-svn: 14740 | ||||
* | Add a -load option | Chris Lattner | 2004-07-11 | 1 | -0/+1 |
| | | | | llvm-svn: 14739 | ||||
* | Implicitly getting a new option by linking to support.o instead of support.a | Chris Lattner | 2004-07-11 | 1 | -23/+8 |
| | | | | | | | is a bad idea. Make tools that want the option #include PluginSupport.h explicitly. llvm-svn: 14738 | ||||
* | Add a new header | Chris Lattner | 2004-07-11 | 1 | -0/+35 |
| | | | | llvm-svn: 14737 | ||||
* | - Correct grammar of -s description | Reid Spencer | 2004-07-10 | 1 | -3/+4 |
| | | | | | | - Normalize -s option specification llvm-svn: 14736 | ||||
* | Group the hidden command line arguments. | Reid Spencer | 2004-07-10 | 1 | -7/+6 |
| | | | | | | Make the -s option actually work and default to the right value. llvm-svn: 14735 | ||||
* | Add link to the stkrc page | Chris Lattner | 2004-07-10 | 1 | -2/+5 |
| | | | | llvm-svn: 14734 | ||||
* | Command Guide for the Stacker language compiler, stkrc. | Reid Spencer | 2004-07-10 | 1 | -0/+95 |
| | | | | llvm-svn: 14733 | ||||
* | Replace use of defunct Type::setName method with SymbolTable::insert. | Reid Spencer | 2004-07-10 | 1 | -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 total | Reid Spencer | 2004-07-10 | 1 | -3/+2 |
| | | | | | | expanded size instead of the file size). Thanks Chris. llvm-svn: 14731 | ||||
* | Minor cleanups: | Chris Lattner | 2004-07-10 | 1 | -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 Spencer | 2004-07-09 | 2 | -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, the | Reid Spencer | 2004-07-09 | 1 | -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 decl | Chris Lattner | 2004-07-09 | 1 | -1/+0 |
| | | | | llvm-svn: 14727 | ||||
* | Remove unused method | Chris Lattner | 2004-07-09 | 2 | -10/+0 |
| | | | | llvm-svn: 14726 | ||||
* | Add checks to ensure that there are no unreachable blocks in the function | Chris Lattner | 2004-07-09 | 1 | -0/+8 |
| | | | | llvm-svn: 14725 | ||||
* | Don't call Type::setName() | Chris Lattner | 2004-07-09 | 1 | -1/+1 |
| | | | | llvm-svn: 14724 | ||||
* | * Add support for indexing into structures, thanks to Chris (x86) | Misha Brukman | 2004-07-09 | 2 | -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 Brukman | 2004-07-09 | 1 | -7/+5 |
| | | | | llvm-svn: 14722 | ||||
* | * Doxygenify comments | Misha Brukman | 2004-07-09 | 1 | -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 Evlogimenos | 2004-07-09 | 1 | -1/+1 |
| | | | | llvm-svn: 14720 | ||||
* | Improve code comments. | Alkis Evlogimenos | 2004-07-09 | 1 | -5/+11 |
| | | | | llvm-svn: 14719 | ||||
* | No really, he did finish! | Chris Lattner | 2004-07-09 | 1 | -1/+1 |
| | | | | llvm-svn: 14717 | ||||
* | Too much of a title for it's own good | Chris Lattner | 2004-07-09 | 1 | -3/+2 |
| | | | | llvm-svn: 14716 | ||||
* | Fix Validation bugs | Chris Lattner | 2004-07-09 | 1 | -2/+7 |
| | | | | llvm-svn: 14715 | ||||
* | Eliminate the UID field in the Type class, bringing it down to 28 bytes. | Chris Lattner | 2004-07-08 | 1 | -11/+1 |
| | | | | llvm-svn: 14709 | ||||
* | The uid mapping is no more | Chris Lattner | 2004-07-08 | 1 | -12/+1 |
| | | | | llvm-svn: 14708 | ||||
* | Eliminate uses of the UniqueID field on Type objects | Chris Lattner | 2004-07-08 | 1 | -23/+18 |
| | | | | llvm-svn: 14707 |