summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert r73923, which broke clang.Owen Anderson2009-06-231-18/+10
| | | | llvm-svn: 73957
* Fold the add (ptr, offset) into ptr[offset] only if the offset is small ↵Sanjiv Gupta2009-06-231-2/+4
| | | | | | enough. movwi and moviw allow value of 5-bits only (i.e. 32). llvm-svn: 73953
* Minor reorg.Evan Cheng2009-06-231-17/+18
| | | | llvm-svn: 73948
* Replace isTwoAddress with operand constraint.Evan Cheng2009-06-231-1/+1
| | | | llvm-svn: 73947
* Use a default alignment for data and bss sections.Bruno Cardoso Lopes2009-06-232-19/+25
| | | | | | | | Only pad when the section size > 0 and move the code that deals with globals initializers to a place we know for sure the global is initialized. llvm-svn: 73944
* Guard the layout info object.Owen Anderson2009-06-231-0/+5
| | | | llvm-svn: 73928
* Guard the plugin loader.Owen Anderson2009-06-231-0/+5
| | | | llvm-svn: 73925
* Add guards around timer groups, which can be shared.Owen Anderson2009-06-221-10/+18
| | | | llvm-svn: 73923
* Fix a bug in the trip-count computation with And/Or. If either of theDan Gohman2009-06-221-8/+4
| | | | | | sides is CouldNotCompute, the resulting exact count must be CouldNotCompute. llvm-svn: 73920
* Add support for ARM's Advanced SIMD (NEON) instruction set.Bob Wilson2009-06-2212-125/+3100
| | | | | | | This is still a work in progress but most of the NEON instruction set is supported. llvm-svn: 73919
* Guard the statistics table.Owen Anderson2009-06-221-1/+3
| | | | llvm-svn: 73916
* Guard the global annotation tables.Owen Anderson2009-06-221-13/+25
| | | | llvm-svn: 73913
* Add locking around the external function lookup table for the interpreter.Owen Anderson2009-06-221-1/+12
| | | | llvm-svn: 73912
* Remove unneeded #include.Owen Anderson2009-06-221-1/+0
| | | | llvm-svn: 73911
* Fix a few minor issues that were exposed by the removal of SCEVHandle.Dan Gohman2009-06-222-2/+1
| | | | llvm-svn: 73910
* Add explicit types for shift count constants. This is in preparation forBob Wilson2009-06-222-45/+52
| | | | | | | another change that makes the types ambiguous (at least as far as tablegen is concerned). llvm-svn: 73909
* Fix llvm::ComputeNumSignBits to handle pointer typesDan Gohman2009-06-221-1/+5
| | | | | | conservatively correctly, instead of aborting. llvm-svn: 73908
* Remove the parent pointer from SCEV, since it did not end up being needed.Owen Anderson2009-06-221-30/+22
| | | | llvm-svn: 73907
* SCEVHandle is no more!Owen Anderson2009-06-227-428/+427
| | | | llvm-svn: 73906
* Use thumb2 for ARM architectures V6T2 and later. Fix a bug in checkingBob Wilson2009-06-221-4/+8
| | | | | | for "thumb" and add a check for V6T2. llvm-svn: 73905
* Fix some typos that Duncan noticed.Dan Gohman2009-06-221-2/+2
| | | | llvm-svn: 73903
* For Darwin on ARMv6 and newer, make register r9 available for use as aBob Wilson2009-06-224-19/+87
| | | | | | caller-saved register. llvm-svn: 73901
* Fix memcpy expansion so it won't generate invalidDale Johannesen2009-06-221-6/+25
| | | | | | | types for the target (I think). This was breaking the PPC32 calling sequence. llvm-svn: 73900
* Fix another register coalescer crash: forgot to check if the instruction ↵Evan Cheng2009-06-221-3/+7
| | | | | | being updated has already been coalesced. llvm-svn: 73898
* Use different functions to emit the string and symbol tables.Bruno Cardoso Lopes2009-06-222-7/+17
| | | | llvm-svn: 73895
* Add more methods to gather target specific elf stuffBruno Cardoso Lopes2009-06-226-154/+390
| | | | | | | | Support for .text relocations, implementing TargetELFWriter overloaded methods for x86/x86_64. Use a map to track global values to their symbol table indexes Code cleanup and small fixes llvm-svn: 73894
* hasFP should return true if frame address is taken.Evan Cheng2009-06-221-1/+3
| | | | llvm-svn: 73893
* Banish global state from ScalarEvolution! SCEV uniquing is now done by ↵Owen Anderson2009-06-221-58/+50
| | | | | | | | | | | tables attached to the ScalarEvolution pass. This also throws out the SCEV reference counting scheme, as the the SCEVs now have a lifetime controlled by the ScalarEvolution pass. Note that SCEVHandle is now a no-op, and will be remove in a future commit. llvm-svn: 73892
* Fix llvm-gcc build for armv6t2 and later architectures. The hasV6T2OpsBob Wilson2009-06-221-9/+10
| | | | | | | predicate does not check if Thumb mode is enabled, and when in ARM mode there are still some checks for constant-pool use that need to run. llvm-svn: 73887
* Make use of getUMinFromMismatchedTypes when computing backedge-takenDan Gohman2009-06-221-14/+14
| | | | | | | | | | | | counts for loops with multiple exits, replacing more conservative code which only handled constants. This is derived from a patch by Nick Lewycky. This also fixes llc aborts in ClamAV and others, as getUMinFromMismatchedTypes takes care of balancing the types before working with them. llvm-svn: 73884
* Add a getUMinFromMismatchedTypes helper function.Dan Gohman2009-06-221-0/+16
| | | | llvm-svn: 73883
* Factor out code for computing umin and smin for SCEV expressions intoDan Gohman2009-06-221-7/+14
| | | | | | helper functions. Based on a patch by Nick Lewycky. llvm-svn: 73869
* Teach ScalarEvolution how to analyze loops with multiple exitDan Gohman2009-06-221-27/+221
| | | | | | | | | blocks, and also exit blocks with multiple conditions (combined with (bitwise) ands and ors). It's often infeasible to compute an exact trip count in such cases, but a useful upper bound can often be found. llvm-svn: 73866
* Delete an unused variable.Dan Gohman2009-06-221-1/+0
| | | | llvm-svn: 73865
* Fix this code to correctly handle loops with multiple exits. UntilDan Gohman2009-06-221-4/+4
| | | | | | | | now, this hasn't mattered, because ScalarEvolution hasn't been able to compute trip counts for loops with multiple exits. But it will soon. llvm-svn: 73864
* Rename a variable for consistency with the ExitBlock vs ExitingBlockDan Gohman2009-06-211-6/+6
| | | | | | terminology that LoopInfo uses. llvm-svn: 73863
* Fix ScalarEvolution's backedge-taken count computations to check forDan Gohman2009-06-211-7/+29
| | | | | | | | overflow when computing a integer division to round up. Thanks to Nick Lewycky for noticing this! llvm-svn: 73862
* rename SourceMgr::PrintError to PrintMessage.Chris Lattner2009-06-211-6/+6
| | | | llvm-svn: 73861
* Fix PR4185.Rafael Espindola2009-06-211-2/+7
| | | | | | Handle FpSET_ST0_80 being used when ST0 is still alive. llvm-svn: 73850
* move include searching logic from TGLexer to SourceMgr.Chris Lattner2009-06-211-0/+20
| | | | llvm-svn: 73845
* Rename TGSourceMgr -> SourceMgr.Chris Lattner2009-06-212-5/+6
| | | | llvm-svn: 73844
* rename TGLoc -> SMLoc.Chris Lattner2009-06-211-6/+6
| | | | llvm-svn: 73843
* move TGSourceMgr class out of TableGen into libsupport.Chris Lattner2009-06-211-0/+107
| | | | llvm-svn: 73842
* simplify closing paren and (rip) printing.Chris Lattner2009-06-211-15/+16
| | | | llvm-svn: 73841
* indentation fixChris Lattner2009-06-211-3/+2
| | | | llvm-svn: 73840
* Expand this test to handle more cases (remainder and shifts) of zero.Nick Lewycky2009-06-211-8/+15
| | | | llvm-svn: 73839
* remove #if 0 codeChris Lattner2009-06-212-268/+1
| | | | llvm-svn: 73837
* cosmetic changes.Chris Lattner2009-06-212-5/+4
| | | | llvm-svn: 73836
* implement PR4424: 0/x is always 0 for integer division.Chris Lattner2009-06-211-0/+7
| | | | llvm-svn: 73835
* change TLS_ADDR lowering to lower to a real mem operand, instead of matching asChris Lattner2009-06-203-7/+40
| | | | | | | | | | | | a global with that gets printed with the :mem modifier. All operands to lea's should be handled with the lea32mem operand kind, and this allows the TLS stuff to do this. There are several better ways to do this, but I went for the minimal change since I can't really test this (beyond make check). This also makes the use of EBX explicit in the operand list in the 32-bit, instead of implicit in the instruction. llvm-svn: 73834
OpenPOWER on IntegriCloud