summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Support/FileSystem: Add equivalent implementation.Michael J. Spencer2010-12-032-0/+90
| | | | llvm-svn: 120827
* Support/FileSystem: Fix MinGW build. It doesn't have _chsize_s.Michael J. Spencer2010-12-031-0/+4
| | | | llvm-svn: 120826
* Add FIXMEs.Jim Grosbach2010-12-031-0/+2
| | | | llvm-svn: 120824
* Size reduction for tPUSH come from t2STMDB_UPD, not t2STMIA_UPD.Jim Grosbach2010-12-031-1/+2
| | | | llvm-svn: 120822
* And I really hate line endings.Michael J. Spencer2010-12-031-3/+3
| | | | llvm-svn: 120821
* Support/Windows/FileSystem: Fix MinGW build.Michael J. Spencer2010-12-031-0/+6
| | | | llvm-svn: 120820
* Support/FileSystem: Add resize_file implementation.Michael J. Spencer2010-12-032-0/+29
| | | | llvm-svn: 120819
* Support/FileSystem: Add rename implementation.Michael J. Spencer2010-12-032-0/+32
| | | | llvm-svn: 120818
* Support/FileSystem: Add remove implementation.Michael J. Spencer2010-12-032-0/+33
| | | | llvm-svn: 120817
* Fix line endings.Michael J. Spencer2010-12-031-6/+6
| | | | llvm-svn: 120816
* Apparently OS X 10.4 doesn't have __crashreporter_info__.Eric Christopher2010-12-031-5/+5
| | | | | | Try to fix building on the wayback machine. llvm-svn: 120801
* Support/FileSystem: Add create_symlink implementation.Michael J. Spencer2010-12-032-0/+45
| | | | llvm-svn: 120800
* Support/FileSystem: Add create_hard_link implementation.Michael J. Spencer2010-12-032-0/+32
| | | | llvm-svn: 120792
* Support/ADT/Twine: Make toNullTerminatedStringRef not rely on UB :(.Michael J. Spencer2010-12-031-4/+12
| | | | llvm-svn: 120791
* Support/FileSystem: Add create_director{y,ies} implementations.Michael J. Spencer2010-12-033-0/+49
| | | | llvm-svn: 120790
* Make EmitIntValue more efficient and more like what we do for leb128. TheRafael Espindola2010-12-033-10/+20
| | | | | | difference is much smaller (about 0.3s) but significant. llvm-svn: 120787
* Don't overwrite the opcode passed into the T1Special pattern.Bill Wendling2010-12-031-4/+5
| | | | llvm-svn: 120782
* Add Thumb encoding for some more instructions.Bill Wendling2010-12-031-19/+68
| | | | llvm-svn: 120780
* Support/Windows/FileSystem: Remove unneeded toNullTerminatedStringRef.Michael J. Spencer2010-12-031-2/+2
| | | | llvm-svn: 120777
* Support/FileSystem: Add unique_file and exists implementations.Michael J. Spencer2010-12-033-2/+334
| | | | llvm-svn: 120776
* Do with uleb the same trick we now do with dwarf line/address advances. ThisRafael Espindola2010-12-033-10/+20
| | | | | | avoids creating leb128 fragments and speeds up the test in PR8711 to 33s. llvm-svn: 120774
* Try to resolve symbol differences early, and if successful create a plainRafael Espindola2010-12-0310-85/+126
| | | | | | | data fragment. This reduces the time to assemble the test in 8711 from 60s to 54s. llvm-svn: 120767
* The tLDR instruction wasn't encoded properly:Bill Wendling2010-12-031-2/+6
| | | | | | | | | <MCInst 2251 <MCOperand Reg:70> <MCOperand Reg:66> <MCOperand Imm:0> <MCOperand Reg:0> <MCOperand Imm:14> <MCOperand Reg:0>> Notice that the "reg" here is 0, which is an invalid register. Put a check in the code for this to prevent crashing. llvm-svn: 120766
* It may not be an option to skip .debug_line if there are file reference in ↵Devang Patel2010-12-032-3/+21
| | | | | | already emitted debug info. So, for now, emit dummy line table entry to make older linker and assemblers happy. This is not a new behavior, original AsmPrinter emitted similar line table entries. llvm-svn: 120760
* Trailing whitespace.Jim Grosbach2010-12-021-32/+32
| | | | llvm-svn: 120748
* Use set directive for StartMinusEndExpr.Devang Patel2010-12-026-9/+20
| | | | | | This is a fix for llvm-gcc-i386-darwin9 buildbot failure. llvm-svn: 120742
* Update LiveDebugVariables during coalescing.Jakob Stoklund Olesen2010-12-023-0/+56
| | | | llvm-svn: 120720
* When expanding the MOVCCi32imm, make sure to use the ARM movt/movw opcodes,Jim Grosbach2010-12-021-4/+5
| | | | | | not thumb2. llvm-svn: 120711
* Fix copy/pasto in vmin.f32 encoding.Jim Grosbach2010-12-021-1/+1
| | | | llvm-svn: 120709
* Teaching MBlaze backend how to reverse branch conditions.Wesley Peck2010-12-022-0/+35
| | | | llvm-svn: 120707
* Add a fast path to EvaluateSymbolicAdd. This avoids computing symbol addressesRafael Espindola2010-12-021-3/+11
| | | | | | | | which then avoids running EnsureValid. This cuts the assembly time of the testcase in PR8711 from 2:50 minutes to 1 minute. llvm-svn: 120697
* Move EmitValueToOffset to the ObjectStreamer.Rafael Espindola2010-12-024-22/+5
| | | | llvm-svn: 120691
* Add EmitInstToFragment to the generic object streamer.Rafael Espindola2010-12-023-34/+11
| | | | llvm-svn: 120690
* The sections that the ELF object writer has to create are very simple andRafael Espindola2010-12-022-40/+48
| | | | | | | | contain only data. Handle them specially instead of using AddSectionToTheEnd. This moves a hack from the generic assembler to the elf writer. It is also a bit faster and should make other improvements easier. llvm-svn: 120683
* If tehre are not any line entry then do not try to emit .debug_line section.Devang Patel2010-12-021-1/+1
| | | | llvm-svn: 120637
* Implement the first half of LiveDebugVariables.Jakob Stoklund Olesen2010-12-024-5/+514
| | | | | | | | | | | | | | | | | | | Scan the MachineFunction for DBG_VALUE instructions, and replace them with a data structure similar to LiveIntervals. The live range of a DBG_VALUE is determined by propagating it down the dominator tree until a new DBG_VALUE is found. When a DBG_VALUE lives in a register, its live range is confined to the live range of the register's value. LiveDebugVariables runs before coalescing, so DBG_VALUEs are not artificially extended when registers are joined. The missing half will recreate DBG_VALUE instructions from the intervals when register allocation is complete. The pass is disabled by default. It can be enabled with the temporary command line option -live-debug-variables. llvm-svn: 120636
* Add support for binary encoding of ARM 'adr' instructions referencing constantJim Grosbach2010-12-027-41/+65
| | | | | | pool entries (LEApcrel pseudo). Ongoing saga of rdar://8542291. llvm-svn: 120635
* Revert r120580.Devang Patel2010-12-021-14/+0
| | | | llvm-svn: 120630
* Fix and re-enable tail call optimization of expanded libcalls.Evan Cheng2010-12-012-19/+23
| | | | llvm-svn: 120622
* Remove unused argument.Rafael Espindola2010-12-011-3/+2
| | | | llvm-svn: 120621
* fixing style nit: move class static to global staticJason W Kim2010-12-011-42/+41
| | | | llvm-svn: 120619
* Add a post encoder method to the VFP instructions to convert them to the Thumb2Bill Wendling2010-12-013-4/+22
| | | | | | encoding if we're in that mode. llvm-svn: 120608
* Use the correct fixup type for ARM VLDR*Jim Grosbach2010-12-011-2/+2
| | | | llvm-svn: 120604
* Rename temporary symbols if they conflict with artificial symbols createdRafael Espindola2010-12-011-10/+35
| | | | | | | | | by the assembler. This was blocking parsing any large .s produced by clang for example. Fixes PR8596. llvm-svn: 120603
* Support/FileSystem: Fix copy_file implementation to use ↵Michael J. Spencer2010-12-012-4/+4
| | | | | | | | toNullTerminatedStringRef instead of toStringRef. The file system APIs need c strings. llvm-svn: 120601
* Support/ADT/Twine: Add toNullTerminatedStringRef.Michael J. Spencer2010-12-011-0/+12
| | | | llvm-svn: 120600
* Refactor LEApcrelJT as a pseudo-instructionlowered to a cannonical ADRJim Grosbach2010-12-014-16/+72
| | | | | | | instruction at MC lowering. Add binary encoding information for the ADR, including fixup data for the label operand. llvm-svn: 120594
* Support/FileSystem: Add copy_file implementation. Not tests yet because theMichael J. Spencer2010-12-013-3/+157
| | | | | | file creation APIs aren't implemented. llvm-svn: 120593
* Add correct encodings for STRD and LDRD, including fixup support. ↵Owen Anderson2010-12-018-34/+76
| | | | | | Additionally, update these to unified syntax. llvm-svn: 120589
* kill trailing spaceJason W Kim2010-12-011-1/+1
| | | | llvm-svn: 120586
OpenPOWER on IntegriCloud