summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ARM/MC/ELF relocation "hello world" for movw/movt.Jason W Kim2010-12-013-45/+214
| | | | | | | | | | | 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
* add some infrastructure that will let us codegenChris Lattner2010-12-011-6/+67
| | | | | | | | http://llvm.org/bugs/show_bug.cgi?id=279#c3 better. No functionality change yet. llvm-svn: 120530
* Handle -nostartfiles.Rafael Espindola2010-12-011-8/+11
| | | | llvm-svn: 120528
* get some i32/i8/i1 constants from Builder, which is much less painful thanChris Lattner2010-12-011-18/+9
| | | | | | using ConstantInt::get. llvm-svn: 120527
* 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
* Implement AST import support for class template specializations.Douglas Gregor2010-12-015-36/+405
| | | | llvm-svn: 120523
* Renaming variables to coincide with documentation. No functionality change.Bill Wendling2010-12-012-21/+21
| | | | llvm-svn: 120522
* Allowed ClangExpressionDeclMap to dematerializeSean Callanan2010-12-011-3/+4
| | | | | | | persistent variables even after the parser has finished running. llvm-svn: 120521
* Whitespace fix.Sean Callanan2010-12-011-6/+6
| | | | llvm-svn: 120520
* fix a bozo bug I introduced in r119930, causing a miscompile ofChris Lattner2010-12-012-1/+25
| | | | | | | 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
* When unknown method is sent to a receiver ofFariborz Jahanian2010-12-015-4/+16
| | | | | | | 'Class' type, disgnostic should refere to a class method. Fixes // rdar://8592156 llvm-svn: 120517
* Make CommandObjectMultiword::GetSubcommandSP() more robust by appending theJohnny Chen2010-12-011-1/+5
| | | | | | exactly-matched sub_cmd to the passed in 'matches' string list. llvm-svn: 120516
* Remove the @expectedFailure decorator as the bug has been fixed.Johnny Chen2010-12-011-2/+0
| | | | llvm-svn: 120515
* Support/PathV2: Add replace_extension implementation.Michael J. Spencer2010-12-012-0/+24
| | | | llvm-svn: 120514
* Support/PathV2: Add remove_filename implementation.Michael J. Spencer2010-12-013-1/+13
| | | | 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
* GetCommandObject returns no matches in the match array when there is only ↵Jim Ingham2010-12-011-1/+1
| | | | | | one match. That's odd, but I don't want to change that right now, just cope with it where I'm doing the command matching. llvm-svn: 120511
* Use by-name rather than by-order matching for NEON operands.Owen Anderson2010-12-011-318/+318
| | | | llvm-svn: 120507
* test/Archive: FileCheck-ize, and remove *.toc. These may be CRLF-tolerant.NAKAMURA Takumi2010-12-018-25/+21
| | | | llvm-svn: 120506
* Add @expectedFailure decorator for a known bug:Johnny Chen2010-12-011-0/+2
| | | | | | rdar://problem/8689814 test failure: test/macosx/universal (the i386 slice does not break?) llvm-svn: 120505
* Comment typo.Andrew Trick2010-11-301-1/+1
| | | | llvm-svn: 120504
* Add expectedFailure decorator for ↵Johnny Chen2010-11-301-0/+2
| | | | | | | | test_help_image_dump_symtab_should_not_crash(). Possibly due to http://llvm.org/viewvc/llvm-project?rev=120484&view=rev. llvm-svn: 120503
* Enable sibling call optimization of libcalls which are expanded duringEvan Cheng2010-11-3013-98/+229
| | | | | | | | | | | 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-302-2/+48
| | | | 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-303-10/+148
| | | | llvm-svn: 120496
* Support/ADT/StringRef: Add find_last_of.Michael J. Spencer2010-11-302-0/+27
| | | | llvm-svn: 120495
* Thanks to JimG for catching this!Jason W Kim2010-11-301-0/+2
| | | | llvm-svn: 120494
* remove fixme comment too.Chris Lattner2010-11-301-3/+3
| | | | llvm-svn: 120493
* check in *all* files. This is now handled by my previous DSE commit.Chris Lattner2010-11-301-1/+1
| | | | llvm-svn: 120492
* A CGRecordLayout object persists. Since its contained types mayJohn McCall2010-11-301-4/+5
| | | | | | | refer to opaque types, they must be held via PATypeHolders. I'm not sure why this hasn't blown up before. llvm-svn: 120491
* 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
* CGRecordLayoutBuilder does not need to be exported from this module.John McCall2010-11-301-3/+1
| | | | llvm-svn: 120489
* Inline classes that were used in only one place.Bill Wendling2010-11-301-5/+2
| | | | llvm-svn: 120488
* Update checker build.Ted Kremenek2010-11-301-1/+1
| | | | llvm-svn: 120487
* Declaring local static in global blockFariborz Jahanian2010-11-302-3/+32
| | | | | | | literal declaration caused crash in CodeGen. This patch fixes it. pr8707 llvm-svn: 120486
* teach DSE to use GetPointerBaseWithConstantOffset to analyzeChris Lattner2010-11-303-16/+70
| | | | | | | | may-aliasing stores that partially overlap with different base pointers. This implements PR6043 and the non-variable part of PR8657 llvm-svn: 120485
* Fix completion for multi-word commands in the "help" command.Jim Ingham2010-11-302-7/+30
| | | | llvm-svn: 120484
* Follow through references to catch returned stack addresses, local blocks, ↵Argyrios Kyrtzidis2010-11-305-55/+224
| | | | | | | | | | | | label addresses or references to temporaries, e.g: const int& g2() { int s1; int &s2 = s1; // expected-note {{binding reference variable 's2' here}} return s2; // expected-warning {{reference to stack memory associated with local variable 's1' returned}} } llvm-svn: 120483
* * 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-305-90/+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
* Remove @skip decorators for fixed crashes.Johnny Chen2010-11-306-7/+0
| | | | llvm-svn: 120479
OpenPOWER on IntegriCloud