summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fix a mised reloc rename spot.Jim Grosbach2010-12-011-2/+2
| | | | llvm-svn: 120585
* 10 bits, not 12.Jim Grosbach2010-12-013-6/+6
| | | | llvm-svn: 120584
* Disable debug info for x86-darwin9 and earlier until PR 8715 and radar ↵Devang Patel2010-12-011-0/+14
| | | | | | 8709290 are fixed. llvm-svn: 120580
* I don't think it makes any sense to assert that the target supports SSE3 here.Duncan Sands2010-12-011-4/+0
| | | | | | | | | | The user (i.e. whoever generated a call to the intrinsic in the first place) is essentially asking for a particular instruction to be placed in the assembler. If that instruction won't execute on the target machine, that's their problem not ours. Two buildbots with processors that don't support SSE3 were barfing on the apm.ll test in CodeGen/X86 because of this assertion. llvm-svn: 120574
* ptx: bug fix: use after freeChe-Liang Chiou2010-12-011-7/+8
| | | | llvm-svn: 120571
* PR5207: Rename overloaded APInt methods set(), clear(), flip() toJay Foad2010-12-019-53/+53
| | | | | | setAllBits(), setBit(unsigned), etc. llvm-svn: 120564
* Support/PathV2: Add is_{absolute,relative} implementation.Michael J. Spencer2010-12-011-0/+24
| | | | llvm-svn: 120560
* Support/PathV2: Add ↵Michael J. Spencer2010-12-011-18/+70
| | | | | | has_{root_path,root_name,root_directory,parent_path,filename,stem,extension} implementation. llvm-svn: 120559
* Elaborate on FIXME.Jim Grosbach2010-12-011-1/+4
| | | | llvm-svn: 120552
* Move the ARMAsmPrinter class defintiion into a header file.Jim Grosbach2010-12-014-100/+127
| | | | llvm-svn: 120551
* Support/PathV2: Add extension implementation.Michael J. Spencer2010-12-011-0/+16
| | | | llvm-svn: 120550
* Speculatively disable x86 portion of r120501 to appease the x86_64 buildbot.Evan Cheng2010-12-011-0/+2
| | | | llvm-svn: 120549
* Support/PathV2: Add stem implementation.Michael J. Spencer2010-12-011-0/+16
| | | | llvm-svn: 120547
* Support/PathV2: Add filename implementation.Michael J. Spencer2010-12-011-0/+5
| | | | llvm-svn: 120546
* Remove "comparison of integers of different signs" warning by making theBill Wendling2010-12-011-1/+1
| | | | | | variable unsigned. llvm-svn: 120541
* Support/PathV2: Add native implementation.Michael J. Spencer2010-12-011-0/+22
| | | | llvm-svn: 120539
* Delete Path::appendSuffix's return value; it wasn't used anywhere, whichDan Gohman2010-12-011-8/+1
| | | | | | is fine since isn't really necessary to check isValid there anyway. llvm-svn: 120538
* General cleanups of comments.Bill Wendling2010-12-011-11/+7
| | | | llvm-svn: 120536
* ARM/MC/ELF relocation "hello world" for movw/movt.Jason W Kim2010-12-012-45/+172
| | | | | | | | | | | Lifted adjustFixupValue() from Darwin for sharing w ELF. Test added TODO: refactor ELFObjectWriter::RecordRelocation more. Possibly share more code with Darwin? Lots more relocations... llvm-svn: 120534
* Formatting. It's all the rage!Bill Wendling2010-12-011-35/+37
| | | | llvm-svn: 120533
* More refactoring. This time the T1pI pattern.Bill Wendling2010-12-011-131/+96
| | | | llvm-svn: 120532
* Refactor load/store handling again. Simplify and make some room forEric Christopher2010-12-011-103/+60
| | | | | | reg+reg handling. llvm-svn: 120526
* Initialize an ARMConstantPoolValue field.Jan Wen Voung2010-12-011-1/+1
| | | | llvm-svn: 120525
* s/T1pIEncode/T1pILdStEncode/gBill Wendling2010-12-012-62/+62
| | | | | | s/T1pIEncodeImm/T1pILdStEncodeImm/g llvm-svn: 120524
* Renaming variables to coincide with documentation. No functionality change.Bill Wendling2010-12-012-21/+21
| | | | llvm-svn: 120522
* fix a bozo bug I introduced in r119930, causing a miscompile ofChris Lattner2010-12-011-1/+2
| | | | | | | 20040709-1.c from the gcc testsuite. I was using the size of a pointer instead of the pointee. This fixes rdar://8713376 llvm-svn: 120519
* Refactor T1sI and T1sIt encodings into helper classes.Bill Wendling2010-12-011-93/+78
| | | | llvm-svn: 120518
* Support/PathV2: Add replace_extension implementation.Michael J. Spencer2010-12-011-0/+20
| | | | llvm-svn: 120514
* Support/PathV2: Add remove_filename implementation.Michael J. Spencer2010-12-011-0/+8
| | | | llvm-svn: 120513
* Refactor the T1sIt encodings into a parent class to get rid of all of the "let"Bill Wendling2010-12-011-131/+85
| | | | | | statements. llvm-svn: 120512
* Use by-name rather than by-order matching for NEON operands.Owen Anderson2010-12-011-318/+318
| | | | llvm-svn: 120507
* Comment typo.Andrew Trick2010-11-301-1/+1
| | | | llvm-svn: 120504
* Enable sibling call optimization of libcalls which are expanded duringEvan Cheng2010-11-309-68/+147
| | | | | | | | | | | legalization time. Since at legalization time there is no mapping from SDNode back to the corresponding LLVM instruction and the return SDNode is target specific, this requires a target hook to check for eligibility. Only x86 and ARM support this form of sibcall optimization right now. rdar://8707777 llvm-svn: 120501
* Rename operands to match ARM documentation. No functionality change.Bill Wendling2010-11-302-101/+105
| | | | llvm-svn: 120500
* Fix typo.Jim Grosbach2010-11-301-1/+1
| | | | llvm-svn: 120499
* Enhance DSE to handle the variable index case in PR8657.Chris Lattner2010-11-301-2/+31
| | | | llvm-svn: 120498
* Trailing whitespace.Jim Grosbach2010-11-301-3/+3
| | | | llvm-svn: 120497
* Support/PathV2: Implement reverse iteration and parent_path.Michael J. Spencer2010-11-301-8/+115
| | | | llvm-svn: 120496
* Support/ADT/StringRef: Add find_last_of.Michael J. Spencer2010-11-301-0/+15
| | | | llvm-svn: 120495
* Thanks to JimG for catching this!Jason W Kim2010-11-301-0/+2
| | | | llvm-svn: 120494
* Coding style. No significant functionality. Abandon linear scan styleAndrew Trick2010-11-304-524/+548
| | | | | | | | in favor of the widespread llvm style. Capitalize variables and add newlines for visual parsing. Rename variables for readability. And other cleanup. llvm-svn: 120490
* Inline classes that were used in only one place.Bill Wendling2010-11-301-5/+2
| | | | llvm-svn: 120488
* teach DSE to use GetPointerBaseWithConstantOffset to analyzeChris Lattner2010-11-301-16/+49
| | | | | | | | may-aliasing stores that partially overlap with different base pointers. This implements PR6043 and the non-variable part of PR8657 llvm-svn: 120485
* * Add support for encoding t_addrmode_s2 and t_addrmode_s1. They are the same asBill Wendling2010-11-305-90/+151
| | | | | | | | | | t_addrmode_s4, but with a different scaling factor. * Encode the Thumb1 load and store instructions. This involved a bit of refactoring (hi, Chris! :-). Some of the patterns became dead afterwards and were removed. llvm-svn: 120482
* Simplify the encoding of reg+/-imm12 values that allow PC-relative encoding. ↵Owen Anderson2010-11-304-88/+16
| | | | | | | | | This allows the Thumb2 encoding to share code with the ARM encoding, which gets use fixup support for free. It also allows us to fold away at least one codegen-only pattern. llvm-svn: 120481
* Fix handling of ARM negative pc-relative fixups for loads and stores.Jim Grosbach2010-11-302-9/+36
| | | | llvm-svn: 120480
OpenPOWER on IntegriCloud