summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* remove two unneeded forward declarations, pointed out by Gabor.Chris Lattner2008-12-091-2/+0
| | | | llvm-svn: 60735
* Don't charge full latency for an anti-dependence, in this simplisticDan Gohman2008-12-091-3/+7
| | | | | | pipeline model. llvm-svn: 60733
* Fix a couple of mistaken switch case fall-throughs. Thanks to BillDan Gohman2008-12-081-0/+2
| | | | | | for spotting these! llvm-svn: 60728
* Actually test something. Use PR3170 test case.Devang Patel2008-12-081-36/+25
| | | | llvm-svn: 60727
* remove DebugIterations option. Despite the accusations, Chris Lattner2008-12-081-14/+1
| | | | | | | jump threading has been shown to only expose problems not have bugs itself. I'm sure it's completely bug free! ;-) llvm-svn: 60725
* Re-apply 60689 now my head is screwed on right.Evan Cheng2008-12-081-0/+2
| | | | llvm-svn: 60711
* Fix the top-level comments, and fix some 80-column violations.Dan Gohman2008-12-081-7/+9
| | | | llvm-svn: 60707
* Move the conversion to intptr_t to a separate statement. ThisDan Gohman2008-12-081-2/+3
| | | | | | avoids GCC's warning even on 64-bit hosts. llvm-svn: 60706
* Revert 60689. It caused many regressions on Darwin targets.Dan Gohman2008-12-081-3/+1
| | | | llvm-svn: 60705
* Use 'delete []' instead of 'delete' in OwningArray::reset().Ted Kremenek2008-12-081-1/+1
| | | | llvm-svn: 60703
* Fix spelling. Devang Patel2008-12-081-10/+10
| | | | | | Thanks Duncan! llvm-svn: 60702
* Undo previous patch. Devang Patel2008-12-082-4/+2
| | | | llvm-svn: 60701
* Fix comment typo.Duncan Sands2008-12-081-1/+1
| | | | llvm-svn: 60698
* Fix comment typo.Duncan Sands2008-12-081-1/+1
| | | | llvm-svn: 60697
* Factor out the code for sign-extending/truncating gep indicesDan Gohman2008-12-084-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, keepingChris Lattner2008-12-082-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
* consistencyChris Lattner2008-12-081-2/+2
| | | | llvm-svn: 60694
* introduce a new RoundUpAlignment helper function, use it to Chris Lattner2008-12-082-37/+40
| | | | | | | remove some more 64-bit divs and rems from the StructLayout ctor. llvm-svn: 60692
* Make ConstantAggregateZero::get return a ConstantAggregateZero*,Dan Gohman2008-12-082-2/+2
| | | | | | as suggested in PR3182. llvm-svn: 60691
* Update CPP backend for PrintModulePass API changes.Dan Gohman2008-12-081-4/+4
| | | | llvm-svn: 60690
* Perform cheap checks first.Evan Cheng2008-12-081-1/+3
| | | | llvm-svn: 60689
* Speed up getABITypeSize by turning a i64 mul and div into anChris Lattner2008-12-081-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 Lattner2008-12-081-7/+12
| | | | llvm-svn: 60687
* Clarify a comment.Dan Gohman2008-12-081-1/+1
| | | | llvm-svn: 60685
* Move createVirtualRegister out-of-line.Dan Gohman2008-12-082-13/+19
| | | | llvm-svn: 60684
* Clarify some comments.Dan Gohman2008-12-081-2/+2
| | | | llvm-svn: 60683
* Generalize bugpoint's concept of a "safe" backend, and add optionsDan Gohman2008-12-085-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 Lewycky2008-12-083-16/+47
| | | | llvm-svn: 60679
* Use bool instead of int, now that it no longer evokes a warning.Dan Gohman2008-12-071-1/+1
| | | | llvm-svn: 60678
* Use intptr_t instead of unsigned here, which is more appropriateDan Gohman2008-12-071-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 moreChris Lattner2008-12-071-0/+2
| | | | | | useful. llvm-svn: 60674
* factor some code better.Chris Lattner2008-12-071-17/+17
| | | | llvm-svn: 60673
* factor some code, fixing some fixme's.Chris Lattner2008-12-071-32/+23
| | | | llvm-svn: 60672
* fix a typo duncan noticed!Chris Lattner2008-12-071-1/+1
| | | | llvm-svn: 60671
* CMake: Added Tool.cpp to tools/llvmc/driver.Oscar Fuentes2008-12-071-0/+1
| | | | llvm-svn: 60670
* Man page update.Mikhail Glushenkov2008-12-071-0/+12
| | | | llvm-svn: 60669
* Describe recent changes in the documentation.Mikhail Glushenkov2008-12-071-173/+243
| | | | llvm-svn: 60668
* Make 'extern' an option property.Mikhail Glushenkov2008-12-074-56/+35
| | | | | | Makes (forward) work better. llvm-svn: 60667
* Plugin updates: support more options.Mikhail Glushenkov2008-12-072-33/+74
| | | | llvm-svn: 60666
* Join tools couldn't be used in the middle of the toolchain.Mikhail Glushenkov2008-12-071-5/+4
| | | | llvm-svn: 60665
* Better error message.Mikhail Glushenkov2008-12-071-1/+6
| | | | llvm-svn: 60664
* Re-apply Cedric's changes.Mikhail Glushenkov2008-12-071-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 Glushenkov2008-12-071-1/+2
| | | | llvm-svn: 60662
* Enable the Clang plugin by default.Mikhail Glushenkov2008-12-071-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 Glushenkov2008-12-072-9/+16
| | | | llvm-svn: 60660
* Try to guess when the auto-generated cl::Sink option should be marked 'extern'.Mikhail Glushenkov2008-12-071-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 Glushenkov2008-12-071-10/+37
| | | | llvm-svn: 60658
* Add tests for tblgen's LLVMC backend.Mikhail Glushenkov2008-12-077-0/+59
| | | | llvm-svn: 60657
* Use (actions) instead of option properties, support external options.Mikhail Glushenkov2008-12-077-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 yetChris Lattner2008-12-072-25/+233
| | | | | | so it "can't" break anything. That said, it does appear to work. llvm-svn: 60654
OpenPOWER on IntegriCloud