summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Start stubbing out vcall offset handling.Anders Carlsson2010-02-181-10/+60
| | | | llvm-svn: 96585
* Store the base offset of the final overrider in the OverriderInfo struct, to ↵Anders Carlsson2010-02-181-1/+6
| | | | | | be used for vcall offsets. llvm-svn: 96582
* Remove some dead code.Anders Carlsson2010-02-181-13/+0
| | | | llvm-svn: 96581
* Uniformize the way these options are printed. Requested byDuncan Sands2010-02-185-6/+6
| | | | | | Russell Wallace. llvm-svn: 96580
* Remove terminating dot in description. Inconsistency pointedDuncan Sands2010-02-181-1/+1
| | | | | | out by Russell Wallace. llvm-svn: 96579
* Refer to -help instead of --help since this is what tools themselves say.Duncan Sands2010-02-1823-83/+83
| | | | | | | | Also, have tools output -help-hidden rather than refer to --help-hidden, for consistency, and likewise adjust documentation. This doesn't change every mention of --help, only those which seemed clearly safe. llvm-svn: 96578
* Try to fix the auroraux buildbot. I suspect it has a "#define SEC" somewhere.Benjamin Kramer2010-02-181-6/+6
| | | | llvm-svn: 96577
* Avoid a dangling pointer dereference, PassManager::add can delete the Pass.Benjamin Kramer2010-02-181-1/+2
| | | | llvm-svn: 96576
* start sketching out the structure of code for result emission generation.Chris Lattner2010-02-184-11/+120
| | | | | | Nothing real here yet. llvm-svn: 96575
* add a missing type cast.Chris Lattner2010-02-181-1/+1
| | | | llvm-svn: 96574
* remove empty fileChris Lattner2010-02-181-0/+0
| | | | llvm-svn: 96573
* Use NEON vmin/vmax instructions for floating-point selects.Bob Wilson2010-02-184-9/+174
| | | | | | Radar 7461718. llvm-svn: 96572
* Add basic cursor traversal for attributes. We currently don't have sourceTed Kremenek2010-02-182-74/+79
| | | | | | ranges for Attr objects, so lookup by cursor location currently doesn't work. llvm-svn: 96571
* Also don't warn about force_align_arg_pointer on function typedefs. (This willCharles Davis2010-02-182-1/+4
| | | | | | | break if you declare an actual function using that typedef. Come to think of it, maybe I should make this part of the type.) llvm-svn: 96570
* Roll back the shared library, r96559. It broke two darwins and arm, ↵Jeffrey Yasskin2010-02-1810-150/+12
| | | | | | mysteriously. llvm-svn: 96569
* Two fixes related to force_align_arg_pointer:Charles Davis2010-02-182-2/+8
| | | | | | | - Also recognize __force_align_arg_pointer__. - Don't warn if it's used on a function pointer typedef. llvm-svn: 96568
* Add some spacing in the code-completion results for a return statementDouglas Gregor2010-02-181-1/+3
| | | | llvm-svn: 96567
* Teach CMake to put the CIndex header into the Xcode/MSVC projectDouglas Gregor2010-02-181-0/+1
| | | | llvm-svn: 96566
* Added LDRSBT, LDRHT, LDRSHT for disassembly only. And fixed encoding errorsJohnny Chen2010-02-182-6/+24
| | | | | | of AI3ldsbpo, AI3ldhpo, and AI3ldshpo in ARMInstrFormats.td in the process. llvm-svn: 96565
* Extract out function-body code generation into its own method. No functionalityJohn McCall2010-02-183-111/+98
| | | | | | change. llvm-svn: 96564
* Start adding cursor kinds for attributes, with first exposingTed Kremenek2010-02-184-3/+40
| | | | | | IBActionAttr and IBOutletAttr respectively. llvm-svn: 96563
* Change the behavior of ibaction attributes to be attached to methods, not ivars.Ted Kremenek2010-02-182-18/+29
| | | | llvm-svn: 96562
* rename the child field to 'next'. This is not a parent/child Chris Lattner2010-02-184-44/+46
| | | | | | relationship, this is a linear list relationship. llvm-svn: 96561
* eliminate the MatcherNodeWithChild class, give the 'child'Chris Lattner2010-02-184-67/+53
| | | | | | field to MatcherNode. llvm-svn: 96560
* Add a shared library for LLVM, named libLLVM2.7svn.(so|dylib), and add anJeffrey Yasskin2010-02-1810-12/+150
| | | | | | | | | | | | | | | | | | | | --enable-shared configure flag to have the tools linked shared. (2.7svn is just $(LLVMVersion) so it'll change to "2.7" in the release.) Always link the example programs shared to test that the shared library keeps working. On my mac laptop, Debug libLLVM2.7svn.dylib is 39MB, and opt (for example) is 16M static vs 440K shared. Two things are less than ideal here: 1) The library doesn't include any version information. Since we expect to break the ABI with every release, this shouldn't be much of a problem. If we do release a compatible 2.7.1, we may be able to hack its library to work with binaries compiled against 2.7.0, or we can just ask them to recompile. I'm hoping to get a real packaging expert to look at this for the 2.8 release. 2) llvm-config doesn't yet have an option to print link options for the shared library. I'll add this as a subsequent patch. llvm-svn: 96559
* AST import for character literalsDouglas Gregor2010-02-184-0/+25
| | | | llvm-svn: 96557
* Some dag combiner goodness:Evan Cheng2010-02-187-89/+117
| | | | | | | | Transform br (xor (x, y)) -> br (x != y) Transform br (xor (xor (x,y), 1)) -> br (x == y) Also normalize (and (X, 1) == / != 1 -> (and (X, 1)) != / == 0 to match to "test on x86" and "tst on arm" llvm-svn: 96556
* AST import for forward declarations of Objective-C protocolsDouglas Gregor2010-02-183-0/+57
| | | | llvm-svn: 96555
* Implement import of forward declarations of Objective-C classesDouglas Gregor2010-02-183-1/+52
| | | | llvm-svn: 96554
* Allow redefinitions of extern inline functions in GNU89 mode, just as GCCCharles Davis2010-02-183-3/+60
| | | | | | does. Fixes PR5253. llvm-svn: 96553
* AST import of Objective-C categories.Douglas Gregor2010-02-184-4/+146
| | | | llvm-svn: 96551
* __typeof should be able to handle block pointer types whenFariborz Jahanian2010-02-182-1/+7
| | | | | | rewriting. Fixes radar 7659483. llvm-svn: 96549
* Don't diagnose overflow in case statements when the conversion is aDouglas Gregor2010-02-182-3/+17
| | | | | | | signed<->unsigned conversion with the same bit width. Fixes <rdar://problem/7658121>. llvm-svn: 96545
* New test case for r96543.Devang Patel2010-02-181-0/+14
| | | | llvm-svn: 96544
* fit in 80 colsChris Lattner2010-02-181-7/+11
| | | | llvm-svn: 96541
* Added for disassembly only the variants of DMB, DSB, and ISB.Johnny Chen2010-02-181-0/+60
| | | | llvm-svn: 96540
* Recognize attributes ns_returns_not_retained and cf_returns_not_retainedTed Kremenek2010-02-182-2/+38
| | | | | | in the static analyzer. llvm-svn: 96539
* Add __has_feature support for attributes ns_returns_not_retainedTed Kremenek2010-02-181-1/+3
| | | | | | and cf_returns_not_retained. llvm-svn: 96538
* Sort @includes.Ted Kremenek2010-02-181-11/+11
| | | | llvm-svn: 96537
* Sort cases.Ted Kremenek2010-02-181-2/+2
| | | | llvm-svn: 96536
* Add 'ns_returns_not_retained' and 'cf_returns_not_retained' attributes toTed Kremenek2010-02-187-28/+50
| | | | | | | match 'ns_returns_retained' and 'cf_returns_retained' respectively. These are not yet hooked up to the static analyzer. llvm-svn: 96535
* Fix a few unused parameter warnings.Eric Christopher2010-02-173-3/+3
| | | | llvm-svn: 96533
* MC/Mach-O: Update fixup values for change to X86 offsets.Daniel Dunbar2010-02-171-6/+4
| | | | llvm-svn: 96532
* For -Wswitch-enum warnings, be sure to look through typedefs of enumDouglas Gregor2010-02-173-2/+20
| | | | | | types. Fixes <rdar://problem/7643909>. llvm-svn: 96531
* Hook the "overflow converting case value to switch condition type"Douglas Gregor2010-02-171-1/+2
| | | | | | warning into -Wswitch. llvm-svn: 96529
* Make this an unnumbered list.Dan Gohman2010-02-171-2/+2
| | | | llvm-svn: 96528
* HTML validation fixes.Dan Gohman2010-02-171-14/+12
| | | | llvm-svn: 96527
* Add an "advanced" GetElementPtr FAQ document, with answers toDan Gohman2010-02-172-0/+359
| | | | | | questions left unanswered by the first GetElementPtr FAQ. llvm-svn: 96526
* Remove the NEON N2VSInt instruction class: it's only used in one place andBob Wilson2010-02-171-10/+4
| | | | | | | since it has no pattern, there's not much point in distinguishing an "N2VS" class for intrinsics anyway. llvm-svn: 96525
* When diagnosing enumerator values outside of the range of 'int', beDouglas Gregor2010-02-172-2/+3
| | | | | | | sure that we get the "too large" vs. "too small" part of the diagnostic correct. llvm-svn: 96524
OpenPOWER on IntegriCloud