summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix testsuite for blocks mangling changeDouglas Gregor2010-05-253-2/+52
| | | | llvm-svn: 104618
* Make sure aeskeygenassist uses an unsigned immediate field.Eric Christopher2010-05-253-37/+41
| | | | | | Fixes rdar://8017638 llvm-svn: 104617
* For compiling on FreeBSDHoward Hinnant2010-05-251-0/+1
| | | | llvm-svn: 104616
* Ignore NumberHack and give each SubRegIndex instance a unique enum value ↵Jakob Stoklund Olesen2010-05-253-6/+9
| | | | | | | | | | | instead. This passes lit tests, but I'll give it a go through the buildbots to smoke out any remaining places that depend on the old SubRegIndex numbering. Then I'll remove NumberHack entirely. llvm-svn: 104615
* Refactoring of block-pointer type rewrite.Fariborz Jahanian2010-05-251-37/+25
| | | | llvm-svn: 104614
* Fix compilation failureDouglas Gregor2010-05-251-2/+2
| | | | llvm-svn: 104613
* Use enums instead of literals for SystemZ subregistersJakob Stoklund Olesen2010-05-251-11/+11
| | | | llvm-svn: 104612
* Use enums instead of literals for X86 subregisters.Jakob Stoklund Olesen2010-05-252-11/+10
| | | | | | | The cases in getMatchingSuperRegClass cannot be broken up until the enums have unique values. llvm-svn: 104611
* Improve name mangling for blocks and support mangling of static localDouglas Gregor2010-05-256-5/+67
| | | | | | | | | variables within blocks. We loosely follow GCC's mangling, but since these are always internal symbols the names don't really matter. I intend to revisit block mangling later, because GCC's mangling is rather verbose. <rdar://problem/8015719>. llvm-svn: 104610
* Patch to rewrite block pointers as arguments toFariborz Jahanian2010-05-252-2/+90
| | | | | | methods. (Radar 7987817). llvm-svn: 104608
* Make sure to strip off top-level cv-qualifiers as part of aDouglas Gregor2010-05-252-1/+17
| | | | | | derived-to-base conversion on a pointer. Fixes PR7224. llvm-svn: 104607
* Put -Wvla into the -Wgnu warning groupDouglas Gregor2010-05-251-1/+1
| | | | llvm-svn: 104606
* Add missing implementation to the materialization of VFP misc. instructions ↵Zonr Chang2010-05-251-0/+43
| | | | | | (vmrs, vmsr and vmov (immediate)) llvm-svn: 104588
* Add support to MOVimm32 using movt/movw for ARM JITZonr Chang2010-05-253-2/+113
| | | | llvm-svn: 104587
* Turn vertical spacing into horizontal spacing in code-completion resultsDouglas Gregor2010-05-251-1/+4
| | | | llvm-svn: 104586
* Improve code completion in failure cases in two ways:Douglas Gregor2010-05-2513-68/+121
| | | | | | | | | | | 1) Suppress diagnostics as soon as we form the code-completion token, so we don't get any error/warning spew from the early end-of-file. 2) If we consume a code-completion token when we weren't expecting one, go into a code-completion recovery path that produces the best results it can based on the context that the parser is in. llvm-svn: 104585
* CastSizeChecker checks when casting a malloc'ed symbolic region to type T,Zhongxing Xu2010-05-257-16/+122
| | | | | | | whether the size of the symbolic region is a multiple of the size of T. Fixes PR6123 and PR7217. llvm-svn: 104584
* Allow t2MOVsrl_flag and t2MOVsra_flag instructions to be predicated.Bob Wilson2010-05-251-6/+6
| | | | | | | I don't know of any particular reason why that would be important, but neither can I see any reason to disallow it. llvm-svn: 104583
* Fix up instruction classes for Thumb2 RSB instructions to be consistent withBob Wilson2010-05-251-15/+15
| | | | | | | Thumb2 ADD and SUB instructions: allow RSB instructions be changed to set the condition codes, and allow RSBS instructions to be predicated. llvm-svn: 104582
* If a function definition has any sort of weak linkage, its static localJohn McCall2010-05-256-12/+29
| | | | | | | | | | | | variables should have that linkage. Otherwise, its static local variables should have internal linkage. To avoid computing this excessively, set a function's linkage before we emit code for it. Previously we were assigning weak linkage to the static variables of static inline functions in C++, with predictably terrible results. This fixes that and also gives better linkage than 'weak' when merging is required. llvm-svn: 104581
* Clean up indentation.Bob Wilson2010-05-251-2/+2
| | | | llvm-svn: 104580
* Make this class useful as a base.Nick Lewycky2010-05-251-3/+1
| | | | llvm-svn: 104578
* IRgen/C++: When mark vtables used, make sure to still append to the ↵Daniel Dunbar2010-05-252-3/+24
| | | | | | | | | VTableUse array if we promote a vtable from being just used to having its definition required. This ensures that we properly inform the consumer about whether the vtable is required or not, previously we could fail to do so when the vtable was in the VTableUses array before the decl which marked it as required. - I think this can be cleaned up, since this means we may notify the consumer about the vtable twice, but I didn't see an easy fix for this without more substantial refactoring. - Doug, please review! llvm-svn: 104577
* Simplify.Daniel Dunbar2010-05-251-2/+1
| | | | llvm-svn: 104576
* [rand.dist.samp.plinear]. This means we've got a fully tested and ↵Howard Hinnant2010-05-2525-2/+1880
| | | | | | functional <random>! 489 tests over 48 sections are passing. :-) The only thing still on my plate in this area is to back-port some of this technology to random_shuffle/shuffle in <algorithm>. That will involve shuffling header bits around (<random> depepends on <algorithm>), but it won't entail that much development (compared to what has been required for <random>). llvm-svn: 104575
* Disable invalid coalescer assertion.Jakob Stoklund Olesen2010-05-251-1/+4
| | | | llvm-svn: 104574
* Use enums instead of literals in the ARM backend.Jakob Stoklund Olesen2010-05-252-18/+18
| | | | llvm-svn: 104573
* Print out the name of the function during SSC.Bill Wendling2010-05-241-1/+5
| | | | llvm-svn: 104572
* Switch SubRegSet to using symbolic SubRegIndicesJakob Stoklund Olesen2010-05-249-189/+197
| | | | llvm-svn: 104571
* Allow Thumb2 MVN instructions to set condition codes. The immediate operandBob Wilson2010-05-241-5/+5
| | | | | | version of t2MVN already allowed that, but not the register versions. llvm-svn: 104570
* improve the fixit for the missing : error when parsing ?:. WhenChris Lattner2010-05-241-1/+22
| | | | | | | | | | | | | | | | | | | | there are already two spaces before the token where the : was expected, put the : in between the spaces. This means we get it right in both of these cases: t.c:2:17: error: expected ':' return a ? b c; ^ : t.c:3:16: error: expected ':' return a ? b c; ^ : In the later case, the diagnostic says to insert ": ", in the former case it says to insert ":" between the spaces. This fixes rdar://8007231 llvm-svn: 104569
* diaggroup categories should take precedence over diag-specific groups.Chris Lattner2010-05-241-8/+9
| | | | llvm-svn: 104567
* add a few more categories.Chris Lattner2010-05-242-4/+5
| | | | llvm-svn: 104566
* Lose the dummiesJakob Stoklund Olesen2010-05-241-22/+0
| | | | llvm-svn: 104564
* Replace the tablegen RegisterClass field SubRegClassList with an alist-like dataJakob Stoklund Olesen2010-05-2413-163/+207
| | | | | | | | | | | structure that represents a mapping without any dependencies on SubRegIndex numbering. This brings us closer to being able to remove the explicit SubRegIndex numbering, and it is now possible to specify any mapping without inventing *_INVALID register classes. llvm-svn: 104563
* missed an svn addChris Lattner2010-05-241-0/+10
| | | | llvm-svn: 104562
* push categories forward a bit more: document them, add someChris Lattner2010-05-246-44/+78
| | | | | | | | major buckets to catch parser and sema issues, add inline asm category, and make diag groups take precedence over the sweeping categories just added. llvm-svn: 104561
* Avoid adding duplicate function live-in's.Evan Cheng2010-05-243-2/+21
| | | | llvm-svn: 104560
* Fix an mmx movd encoding.Dan Gohman2010-05-242-4/+36
| | | | llvm-svn: 104552
* Don't complain about VLAs of non-POD types when the array type isDouglas Gregor2010-05-242-1/+16
| | | | | | dependent. Fixes <rdar://problem/8021385>. llvm-svn: 104550
* MC/X86: Add aliases for CMOVcc variants.Kevin Enderby2010-05-242-0/+143
| | | | llvm-svn: 104549
* A type- or value-dependent expression cannot use bitfieldDouglas Gregor2010-05-242-0/+16
| | | | | | promotion. Fixes <rdar://problem/8020920>. llvm-svn: 104545
* Clean up some extra whitespace.Bob Wilson2010-05-241-12/+12
| | | | llvm-svn: 104544
* sync with working paperHoward Hinnant2010-05-240-0/+0
| | | | llvm-svn: 104542
* Thumb2 RSBS instructions were being printed without the 'S' suffix.Bob Wilson2010-05-242-6/+13
| | | | | | | Fix it by changing the T2I_rbin_s_is multiclass to handle the CPSR output and 'S' suffix in the same way as T2I_bin_s_irs. llvm-svn: 104531
* when too many errors are emitted, and we produce:Chris Lattner2010-05-241-0/+2
| | | | | | | | fatal error: too many errors emitted, stopping now [-ferror-limit=] Tell the user that this is controlled with -ferror-limit=, like above. llvm-svn: 104528
* Fix a rewriting bug where a local static objective-cFariborz Jahanian2010-05-242-0/+30
| | | | | | pointer is copied into a block. Fixes radar 7924024. llvm-svn: 104526
* Do not emit line number entries for unknown debug values.Devang Patel2010-05-241-0/+3
| | | | | | This fixes recent regression in store.exp from gdb testsuite. llvm-svn: 104524
* LR is in GPR, not tGPR even in Thumb1 mode.Evan Cheng2010-05-242-4/+3
| | | | llvm-svn: 104518
* Add SubRegIndex defs to PowerPC. It looks like the CR subregister indices areJakob Stoklund Olesen2010-05-241-0/+7
| | | | | | never used. llvm-svn: 104517
OpenPOWER on IntegriCloud