summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Trailing whitespace and 80 column fixups.Jim Grosbach2010-12-171-14/+15
| | | | llvm-svn: 122026
* MC/Target: Remove HasScatteredSymbols target hook variable, which has beenDaniel Dunbar2010-12-176-24/+6
| | | | | | superceded and was effectively dead. llvm-svn: 122024
* MC/Expr: Simplify.Daniel Dunbar2010-12-171-8/+0
| | | | llvm-svn: 122023
* Fix crash compiling a QQQQ REG_SEQUENCE for a Neon vld3_lane operation.Bob Wilson2010-12-172-5/+6
| | | | | | Radar 8776599 llvm-svn: 122018
* Use PairDRegs to implement ConcatVectors. No functionality change.Bob Wilson2010-12-171-7/+1
| | | | llvm-svn: 122017
* Fix a comment typo.Bob Wilson2010-12-171-2/+2
| | | | llvm-svn: 122016
* Revert r64460. strtol and friends cannot be marked readonly, even withDan Gohman2010-12-171-1/+2
| | | | | | | | | a null endptr argument, because they may write to errno. This fixes a seflhost miscompile observed on Linux targets when TBAA was enabled. llvm-svn: 122014
* MC: Remove another dead MCAssembler argument, and update clients.Daniel Dunbar2010-12-172-25/+5
| | | | llvm-svn: 122013
* MC: Remove dead MCAssembler argument -- Rafael, can you check the FIXME I addedDaniel Dunbar2010-12-171-12/+9
| | | | | | here? llvm-svn: 122012
* MC: Simplify (remove unnecessary MCAssembler argument, obsoleted by containmentDaniel Dunbar2010-12-171-12/+8
| | | | | | in MCAsmLayout). llvm-svn: 122011
* Write => in a more normal form.Daniel Dunbar2010-12-171-1/+2
| | | | llvm-svn: 122009
* MC/Expr: Simplify (and add a FIXME).Daniel Dunbar2010-12-171-10/+16
| | | | llvm-svn: 122008
* "Fix" FDE alignment to match what gas does.Rafael Espindola2010-12-171-9/+17
| | | | llvm-svn: 122006
* Make pushq produce signed relocations.Rafael Espindola2010-12-161-1/+4
| | | | llvm-svn: 122005
* Fix MBlaze backend call instructions so that arguments passed through registersWesley Peck2010-12-162-10/+11
| | | | | | | are correctly marked as used. This removes a hack where the call instructions marked all possible argument registers as used in the tablegen description. llvm-svn: 121994
* Pseudo-ize the Thumb1 tBfar pattern. rdar://8777974Jim Grosbach2010-12-162-3/+12
| | | | llvm-svn: 121990
* MC/Expr: Add a doxyment.Daniel Dunbar2010-12-161-0/+14
| | | | llvm-svn: 121988
* MC/Mach-O: Lift some MachObjectWriter arguments into the target specificDaniel Dunbar2010-12-165-52/+65
| | | | | | interface. llvm-svn: 121981
* MC/Mach-O: Stub out explicit MCMachObjectTargetWriter interface.Daniel Dunbar2010-12-166-20/+59
| | | | llvm-svn: 121973
* Fix indentation (per style guide).Daniel Dunbar2010-12-161-49/+49
| | | | llvm-svn: 121972
* MC/Mach-O: Move createMachObjectWriter into MCMachObjectWriter.h.Daniel Dunbar2010-12-164-0/+4
| | | | llvm-svn: 121971
* MC/Mach-O: Use fixup info instead of hard coded list.Daniel Dunbar2010-12-161-21/+19
| | | | llvm-svn: 121970
* Fix a bug in the loop in JumpThreading::ProcessThreadableEdges() where it ↵Frits van Bommel2010-12-161-2/+2
| | | | | | | | could falsely produce a MultipleDestSentinel value if the first predecessor ended with an 'indirectbr'. If that happened, it caused an unnecessary FindMostPopularDest() call. This wasn't a correctness problem, but it broke the fast path for single-predecessor blocks. llvm-svn: 121966
* Speculatively revert commit 121905 since it looks like it might have broken theDuncan Sands2010-12-161-65/+0
| | | | | | | | | | | dragonegg self-host buildbot. Original commit message: Add an InstCombine transform to recognize instances of manual overflow-safe addition (performing the addition in a wider type and explicitly checking for overflow), and fold them down to intrinsics. This currently only supports signed-addition, but could be generalized if someone works out the magic constant formulas for other operations. llvm-svn: 121965
* MemoryBuffer now return an error_code and returns a OwningPtr<MemoryBuffer> ↵Michael J. Spencer2010-12-1611-82/+82
| | | | | | via an out parm. llvm-svn: 121958
* MC: Move target specific fixup info descriptors to TargetAsmBackend instead ofDaniel Dunbar2010-12-1613-103/+111
| | | | | | | the MCCodeEmitter, which seems like a better organization. - Also, cleaned up some magic constants while in the area. llvm-svn: 121953
* 1. ARM/MC/ELF: A few more ELF relocs for .oJason W Kim2010-12-162-3/+18
| | | | | | | 2. Fixed EmitLocalCommonSymbol for ELF (Yes, they exist. :) Test added. llvm-svn: 121951
* MC: Make TargetAsmBackend available to the AsmStreamer.Daniel Dunbar2010-12-164-10/+19
| | | | | | - Treaty talks on the non-proliferation of MC objects broke down. llvm-svn: 121949
* Update a comment.Dan Gohman2010-12-161-1/+3
| | | | llvm-svn: 121946
* Make memcpyopt TBAA-aware.Dan Gohman2010-12-162-16/+14
| | | | llvm-svn: 121944
* lib/Support/regexec.c: Let Regex LLP64-aware.NAKAMURA Takumi2010-12-161-2/+3
| | | | | | On LLP64 Win64, 'states1' (for small version) was expanded to 'char *' for large version. Thus small version would be mischosen when nstates > 32 regardless of sizeof(long) on Win64. llvm-svn: 121942
* Delete an extra "Imm5 = ", caught by GCC's -Wsequence-point but not by ClangMatt Beaumont-Gay2010-12-161-1/+1
| | | | | | (see PR4579). llvm-svn: 121939
* Remove fixup_arm_thumb_ldst. The code was never calling the "fixup" stuff forBill Wendling2010-12-163-18/+1
| | | | | | it. I.e., it was always an immediate value. llvm-svn: 121932
* Add tSpill and tRestore to the opcodes to replace with tSTRi and tLDRiBill Wendling2010-12-161-0/+2
| | | | | | | | | respectively. It may be a bug that these opcodes are getting this far into machine code generation. llvm-svn: 121931
* Add encodings for Thumb1 Spill and Restore pseudos.Bill Wendling2010-12-161-2/+12
| | | | llvm-svn: 121929
* Enable TBAA by default.Dan Gohman2010-12-151-1/+1
| | | | llvm-svn: 121923
* Preserve TBAA tags when doing load PRE.Dan Gohman2010-12-151-3/+8
| | | | llvm-svn: 121921
* Thumb1 had two patterns for the same load-from-constant-pool instruction.Jim Grosbach2010-12-154-16/+2
| | | | | | Canonicalize on tLDRpci and remove tLDRcp. llvm-svn: 121920
* Don't handle -arm-long-calls in fast isel for now.Eric Christopher2010-12-152-1/+9
| | | | llvm-svn: 121919
* Start using SplitKit and MachineLoopRanges in RegAllocGreedy in preparation ofJakob Stoklund Olesen2010-12-152-11/+39
| | | | | | | | live range splitting around loops guided by register pressure. So far, trySplit() simply prints a lot of debug output. llvm-svn: 121918
* Add MachineLoopRanges analysis.Jakob Stoklund Olesen2010-12-152-0/+86
| | | | | | | | A MachineLoopRange contains the intervals of slot indexes covered by the blocks in a loop. This representation of the loop blocks is more efficient to compare against interfering registers during register coalescing. llvm-svn: 121917
* If we're changing the frame register to a physical register other than SP, weBill Wendling2010-12-152-29/+38
| | | | | | need to use tLDRi and tSTRi instead of tLDRspi and tSTRspi respectively. llvm-svn: 121915
* Whitespace cleanups.Bill Wendling2010-12-151-3/+3
| | | | llvm-svn: 121914
* Better fix for opt buildMatt Beaumont-Gay2010-12-151-3/+2
| | | | llvm-svn: 121910
* Only rr forms of ADD*_DB are commutable.Evan Cheng2010-12-151-1/+3
| | | | llvm-svn: 121908
* Add an InstCombine transform to recognize instances of manual overflow-safe ↵Owen Anderson2010-12-151-0/+65
| | | | | | | | | | | | addition (performing the addition in a wider type and explicitly checking for overflow), and fold them down to intrinsics. This currently only supports signed-addition, but could be generalized if someone works out the magic constant formulas for other operations. Fixes <rdar://problem/8558713>. llvm-svn: 121905
* Fix opt -Werror buildMatt Beaumont-Gay2010-12-151-0/+1
| | | | llvm-svn: 121904
* Teach machine cse to commute instructions.Evan Cheng2010-12-151-2/+19
| | | | llvm-svn: 121903
* Add Neon VCVT instructions for f32 <-> f16 conversions.Bob Wilson2010-12-153-1/+22
| | | | | | | Clang is now providing intrinsics for these and so we need to support them in the backend. Radar 8068427. llvm-svn: 121902
* Reapply r121886, and also update DecomposeGEPExpression to keepDan Gohman2010-12-152-0/+17
| | | | | | it in sync. llvm-svn: 121895
OpenPOWER on IntegriCloud