Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix comment typo. | Duncan Sands | 2008-12-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 60697 | |||||
* | Factor out the code for sign-extending/truncating gep indices | Dan Gohman | 2008-12-08 | 4 | -26/+57 | |
| | | | | | | | | | and use it in x86 address mode folding. Also, make getRegForValue return 0 for illegal types even if it has a ValueMap for them, because Argument values are put in the ValueMap. This fixes PR3181. llvm-svn: 60696 | |||||
* | add another level of caching for non-local pointer queries, keeping | Chris Lattner | 2008-12-08 | 2 | -8/+34 | |
| | | | | | | | | | track of whether the CachedNonLocalPointerInfo for a block is specific to a block. If so, just return it without any pred scanning. This is good for a 6% speedup on GVN (when it uses this lookup method, which it doesn't right now). llvm-svn: 60695 | |||||
* | consistency | Chris Lattner | 2008-12-08 | 1 | -2/+2 | |
| | | | | llvm-svn: 60694 | |||||
* | introduce a new RoundUpAlignment helper function, use it to | Chris Lattner | 2008-12-08 | 2 | -37/+40 | |
| | | | | | | | remove some more 64-bit divs and rems from the StructLayout ctor. llvm-svn: 60692 | |||||
* | Make ConstantAggregateZero::get return a ConstantAggregateZero*, | Dan Gohman | 2008-12-08 | 2 | -2/+2 | |
| | | | | | | as suggested in PR3182. llvm-svn: 60691 | |||||
* | Update CPP backend for PrintModulePass API changes. | Dan Gohman | 2008-12-08 | 1 | -4/+4 | |
| | | | | llvm-svn: 60690 | |||||
* | Perform cheap checks first. | Evan Cheng | 2008-12-08 | 1 | -1/+3 | |
| | | | | llvm-svn: 60689 | |||||
* | Speed up getABITypeSize by turning a i64 mul and div into an | Chris Lattner | 2008-12-08 | 1 | -2/+6 | |
| | | | | | | | | | AND. This is speedup on any reasonable target, but particularly on 32-bit targets where this often turns into a libcall like udivdi3. We know that alignments are a power of two but the compiler doesn't. llvm-svn: 60688 | |||||
* | Some minor optimizations for isObjectSmallerThan. | Chris Lattner | 2008-12-08 | 1 | -7/+12 | |
| | | | | llvm-svn: 60687 | |||||
* | Clarify a comment. | Dan Gohman | 2008-12-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 60685 | |||||
* | Move createVirtualRegister out-of-line. | Dan Gohman | 2008-12-08 | 2 | -13/+19 | |
| | | | | llvm-svn: 60684 | |||||
* | Clarify some comments. | Dan Gohman | 2008-12-08 | 1 | -2/+2 | |
| | | | | llvm-svn: 60683 | |||||
* | Generalize bugpoint's concept of a "safe" backend, and add options | Dan Gohman | 2008-12-08 | 5 | -63/+155 | |
| | | | | | | | | | | | | | | to allow the "safe" backend to be run with a different path, and/or with different command-line options. This enables the following use cases: - bugpoint llc against an llc command from a different build - bugpoint llc against the same llc with different command-line options - and more... Also, document the existing "custom" interpreter options. llvm-svn: 60681 | |||||
* | Fixes for Visual Studio users. Patch by OvermindDL1 on llvm-dev! | Nick Lewycky | 2008-12-08 | 3 | -16/+47 | |
| | | | | llvm-svn: 60679 | |||||
* | Use bool instead of int, now that it no longer evokes a warning. | Dan Gohman | 2008-12-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 60678 | |||||
* | Use intptr_t instead of unsigned here, which is more appropriate | Dan Gohman | 2008-12-07 | 1 | -1/+1 | |
| | | | | | | | in a really obscure way, but more importantly has the side effect of avoiding a GCC warning in the case that IntType is bool. llvm-svn: 60677 | |||||
* | add an assert. the cast<> below would catch this but a message is more | Chris Lattner | 2008-12-07 | 1 | -0/+2 | |
| | | | | | | useful. llvm-svn: 60674 | |||||
* | factor some code better. | Chris Lattner | 2008-12-07 | 1 | -17/+17 | |
| | | | | llvm-svn: 60673 | |||||
* | factor some code, fixing some fixme's. | Chris Lattner | 2008-12-07 | 1 | -32/+23 | |
| | | | | llvm-svn: 60672 | |||||
* | fix a typo duncan noticed! | Chris Lattner | 2008-12-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 60671 | |||||
* | CMake: Added Tool.cpp to tools/llvmc/driver. | Oscar Fuentes | 2008-12-07 | 1 | -0/+1 | |
| | | | | llvm-svn: 60670 | |||||
* | Man page update. | Mikhail Glushenkov | 2008-12-07 | 1 | -0/+12 | |
| | | | | llvm-svn: 60669 | |||||
* | Describe recent changes in the documentation. | Mikhail Glushenkov | 2008-12-07 | 1 | -173/+243 | |
| | | | | llvm-svn: 60668 | |||||
* | Make 'extern' an option property. | Mikhail Glushenkov | 2008-12-07 | 4 | -56/+35 | |
| | | | | | | Makes (forward) work better. llvm-svn: 60667 | |||||
* | Plugin updates: support more options. | Mikhail Glushenkov | 2008-12-07 | 2 | -33/+74 | |
| | | | | llvm-svn: 60666 | |||||
* | Join tools couldn't be used in the middle of the toolchain. | Mikhail Glushenkov | 2008-12-07 | 1 | -5/+4 | |
| | | | | llvm-svn: 60665 | |||||
* | Better error message. | Mikhail Glushenkov | 2008-12-07 | 1 | -1/+6 | |
| | | | | llvm-svn: 60664 | |||||
* | Re-apply Cedric's changes. | Mikhail Glushenkov | 2008-12-07 | 1 | -24/+24 | |
| | | | | | | | Use B instead of Beg (for consistency), but NodeA and NodeB instead of A and B. llvm-svn: 60663 | |||||
* | Add some clarifying comments. | Mikhail Glushenkov | 2008-12-07 | 1 | -1/+2 | |
| | | | | llvm-svn: 60662 | |||||
* | Enable the Clang plugin by default. | Mikhail Glushenkov | 2008-12-07 | 1 | -1/+1 | |
| | | | | | | | This will eventually replace `ccc`. The command `llvmc -clang` now uses the Clang toolchain instead of `llvm-gcc`. llvm-svn: 60661 | |||||
* | Update plugins to use (actions). | Mikhail Glushenkov | 2008-12-07 | 2 | -9/+16 | |
| | | | | llvm-svn: 60660 | |||||
* | Try to guess when the auto-generated cl::Sink option should be marked 'extern'. | Mikhail Glushenkov | 2008-12-07 | 1 | -5/+20 | |
| | | | | | | | This would be much easier to do if the CommandLine library didn't use global state. Global state is evil. llvm-svn: 60659 | |||||
* | Add a (progn)-like construct for (actions). Implemented as a DAG list. | Mikhail Glushenkov | 2008-12-07 | 1 | -10/+37 | |
| | | | | llvm-svn: 60658 | |||||
* | Add tests for tblgen's LLVMC backend. | Mikhail Glushenkov | 2008-12-07 | 7 | -0/+59 | |
| | | | | llvm-svn: 60657 | |||||
* | Use (actions) instead of option properties, support external options. | Mikhail Glushenkov | 2008-12-07 | 7 | -1097/+1070 | |
| | | | | | | | Also includes a major refactoring. See documentation for more information. llvm-svn: 60656 | |||||
* | add support for caching pointer dependence queries. Nothing uses this yet | Chris Lattner | 2008-12-07 | 2 | -25/+233 | |
| | | | | | | so it "can't" break anything. That said, it does appear to work. llvm-svn: 60654 | |||||
* | fix a bug I introduced in simplifycfg handling single entry phi | Chris Lattner | 2008-12-07 | 2 | -1/+13 | |
| | | | | | | | nodes. FoldSingleEntryPHINodes deletes the PHI, so there is no need to delete it afterward. llvm-svn: 60653 | |||||
* | Switch to top-down mode and fix a crasher this exposed caused by an error in the | Owen Anderson | 2008-12-07 | 1 | -1/+11 | |
| | | | | | | live interval updating. llvm-svn: 60652 | |||||
* | Fix typo, psuedo -> pseudo. | Nick Lewycky | 2008-12-07 | 2 | -35/+35 | |
| | | | | llvm-svn: 60651 | |||||
* | Some internal refactoring to make it easier to cache results. | Chris Lattner | 2008-12-07 | 2 | -21/+34 | |
| | | | | llvm-svn: 60650 | |||||
* | Introduce a new MemDep::getNonLocalPointerDependency | Chris Lattner | 2008-12-07 | 2 | -13/+94 | |
| | | | | | | | | | method. This will eventually take over load/store dep queries from getNonLocalDependency. For now it works fine, but is incredibly slow because it does no caching. Lets not switch GVN to use it until that is fixed :) llvm-svn: 60649 | |||||
* | push the "pointer case" up the analysis stack a bit. This causes | Chris Lattner | 2008-12-07 | 2 | -51/+89 | |
| | | | | | | | duplication of logic (in 2 places) to determine what pointer a load/store touches. This will be addressed in a future commit. llvm-svn: 60648 | |||||
* | make clients have to know how to call getCallSiteDependencyFrom | Chris Lattner | 2008-12-07 | 1 | -2/+13 | |
| | | | | | | instead of making getDependencyFrom do it. llvm-svn: 60647 | |||||
* | rename some variables for consistency | Chris Lattner | 2008-12-07 | 1 | -6/+6 | |
| | | | | llvm-svn: 60644 | |||||
* | I love how using out of scope variables is not an error with GCC, no really ↵ | Chris Lattner | 2008-12-07 | 1 | -3/+3 | |
| | | | | | | I do. llvm-svn: 60643 | |||||
* | Rename getCallSiteDependency -> getCallSiteDependencyFrom to | Chris Lattner | 2008-12-07 | 2 | -9/+8 | |
| | | | | | | | | emphasize the scanning and make it more similar to getDependencyFrom llvm-svn: 60642 | |||||
* | a memdep query on a volatile load/store will always return | Chris Lattner | 2008-12-07 | 1 | -11/+10 | |
| | | | | | | | | | clobber with the current implementation. Instead of returning a "precise clobber" just return a fuzzy one. This doesn't matter to any clients anyway and should speed up analysis time very very slightly. llvm-svn: 60641 | |||||
* | don't bother touching volatile stores, they will just return clobber on | Chris Lattner | 2008-12-07 | 1 | -0/+5 | |
| | | | | | | everything interesting anyway. llvm-svn: 60640 | |||||
* | remove the ability to get memdep info for vaarg. I don't think the | Chris Lattner | 2008-12-07 | 1 | -6/+9 | |
| | | | | | | original impl was correct and noone actually makes the query anyway. llvm-svn: 60639 |