summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
...
* Initial comdat implementation.Rafael Espindola2010-11-118-38/+213
| | | | llvm-svn: 118805
* TBAA-enable ArgumentPromotion.Dan Gohman2010-11-112-8/+39
| | | | llvm-svn: 118804
* Add a FIXME comment.Dan Gohman2010-11-111-0/+2
| | | | llvm-svn: 118803
* Encoding of destination fixup for ARM branch and conditional branchJim Grosbach2010-11-115-13/+57
| | | | | | instructions. llvm-svn: 118801
* Check TRI->getReservedRegs because other allocators do it. Even thoughAndrew Trick2010-11-113-37/+57
| | | | | | | | it makes no sense for allocation_order iterators to visit reserved regs. The inline spiller depends on AliasAnalysis. Manage the Query state to avoid uninitialized or stale results. llvm-svn: 118800
* Add comments.Dan Gohman2010-11-111-5/+15
| | | | llvm-svn: 118799
* Make AliasedSymbol able to handle MCTargetExpr. They can get here ifRafael Espindola2010-11-112-3/+24
| | | | | | a weakref is used with a VariantKind. llvm-svn: 118798
* add pr#Chris Lattner2010-11-111-0/+1
| | | | llvm-svn: 118797
* Encoding for ARM LDRSH_POST.Jim Grosbach2010-11-114-7/+39
| | | | llvm-svn: 118794
* Fix the symbol index of weak references. Also make RecordRelocation a bitRafael Espindola2010-11-112-22/+61
| | | | | | | easier to read by having const references to the symbol, aliased symbol and renamed symbol. llvm-svn: 118793
* Add brief doxygen comments for AliasResult enum values.Dan Gohman2010-11-111-1/+5
| | | | llvm-svn: 118792
* Include ImmutablePass passes in -debug-pass=Arguments.Dan Gohman2010-11-111-0/+6
| | | | llvm-svn: 118790
* Remove the memmove->memcpy optimization from CodeGen. MemCpyOpt does this.Dan Gohman2010-11-115-50/+0
| | | | llvm-svn: 118789
* Make Sink tbaa-aware.Dan Gohman2010-11-112-1/+24
| | | | llvm-svn: 118788
* It's safe to sink some instructions which are not safe to speculativelyDan Gohman2010-11-111-1/+4
| | | | | | execute. Make Sink's predicate more precise. llvm-svn: 118787
* CMake: Add the new option "LLVM_LIT_ARGS".NAKAMURA Takumi2010-11-113-1/+18
| | | | | | | | Defaults: if (MSVC OR XCODE): "-sv --no-progress-bar" else: "-sv" llvm-svn: 118776
* Remove some explicit arguments to getELFSection. This isRafael Espindola2010-11-114-14/+12
| | | | | | a leftover from the removal of isExplicit. llvm-svn: 118774
* Encoding for ARM LDRSH and LDRSH_PRE. Cannonicalize operand names.Jim Grosbach2010-11-112-39/+49
| | | | llvm-svn: 118767
* Fix encoding of Ra register for ARM smla* instructions.Jim Grosbach2010-11-111-6/+6
| | | | llvm-svn: 118761
* Add support for specifying a PostEncoderMethod, which can perform ↵Owen Anderson2010-11-111-0/+4
| | | | | | | | post-processing after the automated encoding of an instruction. Not yet used. llvm-svn: 118759
* ARM STRH encoding information.Jim Grosbach2010-11-114-11/+44
| | | | llvm-svn: 118757
* Add a testcase which demonstrates alias analysis pass precedence.Dan Gohman2010-11-111-0/+21
| | | | llvm-svn: 118755
* Delete SplittingSpiller. It was not being used by anyone, and it is beingJakob Stoklund Olesen2010-11-111-286/+1
| | | | | | superceded by SplitKit. llvm-svn: 118754
* It's not necessary to clear out the Size and TBAATag at each ofDan Gohman2010-11-111-12/+1
| | | | | | these points. llvm-svn: 118752
* Set NonLocalDepInfo's Size field to UnknownSize when invalidatingDan Gohman2010-11-112-6/+6
| | | | | | it, so that it doesn't appear to be a known size. llvm-svn: 118748
* Insert two blank SlotIndexes between basic blocks instead of just one.Jakob Stoklund Olesen2010-11-112-2/+8
| | | | | | | | | | | | | | | | | This is the first small step towards using closed intervals for liveness instead of the half-open intervals we're using now. We want to be able to distinguish between a SlotIndex that represents a variable being live-out of a basic block, and an index representing a variable live-in to its successor. That requires two separate indexes between blocks. One for live-outs and one for live-ins. With this change, getMBBEndIdx(MBB).getPrevSlot() becomes stable so it stays greater than any instructions inserted at the end of MBB. llvm-svn: 118747
* Document debuginfo-tests.Devang Patel2010-11-111-0/+38
| | | | llvm-svn: 118746
* Delete unused function.Jakob Stoklund Olesen2010-11-101-23/+0
| | | | llvm-svn: 118743
* No need to add liveness that's already there.Jakob Stoklund Olesen2010-11-101-4/+1
| | | | llvm-svn: 118742
* Hook up AliasAnalysis in InlineSpiller. This is used for rematerializingJakob Stoklund Olesen2010-11-102-1/+8
| | | | | | constant loads. llvm-svn: 118741
* Move LDM predicate operand encoding into base clase. Add STM missing STMJim Grosbach2010-11-102-10/+18
| | | | | | encoding bits. llvm-svn: 118738
* ARM LDM encoding for the mode (ia, ib, da, db) operand.Jim Grosbach2010-11-104-1/+19
| | | | llvm-svn: 118736
* Factor some code into WriteSection.Rafael Espindola2010-11-101-62/+72
| | | | llvm-svn: 118733
* Fix ARM encoding of non-return LDM instructions.Jim Grosbach2010-11-102-4/+11
| | | | llvm-svn: 118732
* Fix ARM encoding of LDM+Return instruction.Jim Grosbach2010-11-102-3/+10
| | | | llvm-svn: 118730
* When clearing a non-local pointer dependency cache entry, clearDan Gohman2010-11-101-0/+8
| | | | | | the reverse map too. This fixes seflhost build errors. llvm-svn: 118729
* Update the section index map after we add the medatada sections.Rafael Espindola2010-11-101-0/+4
| | | | llvm-svn: 118728
* Take care of special characters while creating named MDNode name to hold ↵Devang Patel2010-11-103-13/+48
| | | | | | | | function specific local variable's info. This fixes radar 8653152. I am checking in testcase as a separate check-in. llvm-svn: 118726
* Use SectionIndexMap in WriteSymbolTable to make it a little less brittle.Rafael Espindola2010-11-101-16/+17
| | | | llvm-svn: 118725
* Factor out the code for computing an AliasAnalysis::LocationDan Gohman2010-11-101-82/+101
| | | | | | for a given instruction into a helper function. llvm-svn: 118723
* Factor some code into ComputeIndexMap.Rafael Espindola2010-11-101-14/+28
| | | | llvm-svn: 118722
* Fully invalidate cached results when a prior query's size orDan Gohman2010-11-102-10/+114
| | | | | | type is insufficient for, or incompatible with, the current query. llvm-svn: 118721
* Fix an issue where we tried to turn a v2f32 build_vector into a v4i32 build ↵Nate Begeman2010-11-101-2/+2
| | | | | | vector with 2 elts llvm-svn: 118720
* Reduce the maximum recursion depth, 5 seems pointlessly too much.Duncan Sands2010-11-101-1/+1
| | | | | | Probably it should just be 1, but compromise with 3. llvm-svn: 118718
* Enhance GVN to do more precise alias queries for non-local memoryDan Gohman2010-11-106-27/+129
| | | | | | | | | | | | | | | references. For example, this allows gvn to eliminate the load in this example: void foo(int n, int* p, int *q) { p[0] = 0; p[1] = 1; if (n) { *q = p[0]; } } llvm-svn: 118714
* Change the String<size> methods to take a fragment instead of a buffer.Rafael Espindola2010-11-101-77/+40
| | | | llvm-svn: 118709
* Basic rematerialization during splitting.Jakob Stoklund Olesen2010-11-102-38/+66
| | | | | | | | | | | Whenever splitting wants to insert a copy, it checks if the value can be rematerialized cheaply instead. Missing features: - Delete instructions when all uses have been rematerialized. - Truncate live ranges to the remaining uses after rematerialization. llvm-svn: 118702
* RABasic is nearly functionally complete. There are a few remainingAndrew Trick2010-11-109-90/+228
| | | | | | | | | benchmarks hitting an assertion. Adds LiveIntervalUnion::collectInterferingVRegs. Fixes "late spilling" by checking for any unspillable live vregs among all physReg aliases. llvm-svn: 118701
* Use MCSectionELF in places we know we have an ELF section.Rafael Espindola2010-11-103-11/+11
| | | | llvm-svn: 118699
* Use getValueOperand() and getPointerOperand() on load and storeDan Gohman2010-11-101-12/+13
| | | | | | instructions instead of hard-coding operand numbers. llvm-svn: 118698
OpenPOWER on IntegriCloud