summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Attempt #2 to fix mingw crossbuild. This time with more ugly hacks!Benjamin Kramer2011-12-222-4/+4
| | | | llvm-svn: 147196
* remove unneeded config.h includesDylan Noblesmith2011-12-227-8/+3
| | | | llvm-svn: 147195
* Updating Xcode project version numbers for lldb-100 and debugserver-159Sean Callanan2011-12-223-22/+22
| | | | llvm-svn: 147193
* Fix 80-column violations.Chad Rosier2011-12-221-11/+14
| | | | llvm-svn: 147192
* Make the -fvisibility-inlines-hidden check more thorough in a hopeless ↵Benjamin Kramer2011-12-222-3/+5
| | | | | | attempt to fix mingw cross-compiles. llvm-svn: 147191
* Move all the dependencies on X86FixupKinds.h to a single method in preparationRafael Espindola2011-12-221-27/+34
| | | | | | to moving it to lib/Target/X86. llvm-svn: 147190
* ARM VFP assembly parsing and encoding for VCVT(float <--> fixed point).Jim Grosbach2011-12-226-16/+84
| | | | | | rdar://10558523 llvm-svn: 147189
* Add missing usesCustomInserter flag on Int_eh_sjlj_setjmp_nofp.Bob Wilson2011-12-221-1/+1
| | | | | | Noticed by inspection; I don't have a testcase for this. llvm-svn: 147188
* Remove broken command to copy tblgen tool.Bob Wilson2011-12-221-3/+0
| | | | | | | tblgen has been renamed to llvm-tblgen so this command has been failing, and it's no longer needed because llvm-tblgen is already installed by default. llvm-svn: 147187
* Some unittests for APInt rotates; patch by Cameron McInally.Eli Friedman2011-12-221-0/+32
| | | | llvm-svn: 147186
* Make a note for an optimization that I'd like to implement, when the ASTs ↵Douglas Gregor2011-12-221-0/+8
| | | | | | for local externs are sound llvm-svn: 147185
* Tidy up. Use predicate function a bit more liberally.Jim Grosbach2011-12-221-97/+52
| | | | llvm-svn: 147184
* Reenable building with -fvisibility-inlines-hidden.Benjamin Kramer2011-12-221-3/+6
| | | | | | | | | | | | | | | This was disabled years ago because of a bug in GCC 4.1, which is on our "broken compilers" list for other reasons. Saving ~500k on a clang binary (Release+Asserts) is well worth dropping support for it. We currently disable it for shared libraries (where it would bring the biggest win) because clang is broken (PR11642). IMPORTANT: If you're doing incremental builds you may get tons of linker warnings. make clean will fix them. llvm-svn: 147182
* Serialize the AST reader's mapping from canonical declarations to theDouglas Gregor2011-12-229-9/+100
| | | | | | | | | | | | | | | | set of (previously-canonical) declaration IDs to the module file, so that future AST reader instances that load the module know which declarations are merged. This is important in the fairly tricky case where a declaration of an entity, e.g., @class X; occurs before the import of a module that also declares that entity. We merge the declarations, and record the fact that the declaration of X loaded from the module was merged into the (now canonical) declaration of X that we parsed. llvm-svn: 147181
* Fix incorrect relocation generation. Patch by Kristof Beyls.Rafael Espindola2011-12-222-8/+24
| | | | | | Fixes PR11214. llvm-svn: 147180
* Add missing triple to darwin clang driver test.Kevin Enderby2011-12-221-1/+1
| | | | llvm-svn: 147179
* Added checking to prevent a rare crash when gettingSean Callanan2011-12-221-5/+13
| | | | | | the name for an external variable in the IR. llvm-svn: 147178
* Decorate the two test cases in TestReturnValue.py as i386 only ↵Johnny Chen2011-12-222-0/+23
| | | | | | expectedFailure, aka @expectedFailurei386. llvm-svn: 147177
* Add the actual code for r147175.Chad Rosier2011-12-221-11/+82
| | | | llvm-svn: 147176
* Reinstate r146578; it doesn't appear to be the cause of some recent execution-Chad Rosier2011-12-223-0/+313
| | | | | | | | | | time regressions. In general, it is beneficial to compile-time. Original commit message: Fix for bug #11429: Wrong behaviour for switches. Small improvement for code size heuristics. llvm-svn: 147175
* Indentation.Johnny Chen2011-12-221-1/+1
| | | | llvm-svn: 147172
* Fix build under -Wswitch by adding support for FK_ListConstructorOverloadFailedNick Lewycky2011-12-221-0/+4
| | | | | | to initialization sequence dumping. llvm-svn: 147171
* ARM VFP add encoding of the bitcount to fixed-point<-->floating point. insns.Jim Grosbach2011-12-221-0/+3
| | | | | | | | | | The value from the operands isn't right yet, but we weren't encoding it at all previously. The parser needs to twiddle the values when building the instruction. Partial for: rdar://10558523 llvm-svn: 147170
* Remove some bogus comments.Jim Grosbach2011-12-221-36/+18
| | | | llvm-svn: 147169
* If we end up merging an Objective-C class with an existing Objective-CDouglas Gregor2011-12-227-2/+49
| | | | | | | class that comes from a different module file, make sure that we load all of the pending declarations for the original declaration. llvm-svn: 147168
* Last part of support for generating dwarf for assembly source files. This getsKevin Enderby2011-12-225-1/+50
| | | | | | the clang driver to enable this when assembling a .s file. rdar://9275556 llvm-svn: 147167
* Patches for running some of the Linux tests from Dawn, thanks!Johnny Chen2011-12-223-2/+17
| | | | | | With some minor modification from me. llvm-svn: 147160
* fix typoChris Lattner2011-12-221-1/+1
| | | | llvm-svn: 147159
* ARM pre-UAL aliases. fcmp[sd].Jim Grosbach2011-12-222-1/+3
| | | | llvm-svn: 147158
* Improve the x86_64 return value decoder to handle most structure returns.Jim Ingham2011-12-2219-267/+887
| | | | | | | | Switch from GetReturnValue, which was hardly ever used, to GetReturnValueObject which is much more convenient. Return the "return value object" as a persistent variable if requested. llvm-svn: 147157
* Overloading for initializer list construction.Sebastian Redl2011-12-224-90/+163
| | | | llvm-svn: 147156
* Fix a parser bug that prevented it from correctly parsing explicit construct ↵Sebastian Redl2011-12-222-2/+3
| | | | | | expressoins of the form T{args}. llvm-svn: 147155
* Fix an incomplete refactoring of the ppc backend. Thanks to rdivacky for ↵Rafael Espindola2011-12-222-15/+3
| | | | | | | | reporting it. It does need some some tests... llvm-svn: 147154
* ARM assembler should accept shift-by-zero for any shifted-immediate operand.Jim Grosbach2011-12-222-0/+50
| | | | | | | | Just treat it as-if the shift wasn't there at all. 'as' compatibility. rdar://10604767 llvm-svn: 147153
* ARM assembly parser canonicallize on 'lsl' for shift-by-zero form.Jim Grosbach2011-12-221-0/+4
| | | | llvm-svn: 147152
* Tidy up. Trailing whitespace.Jim Grosbach2011-12-221-2/+2
| | | | llvm-svn: 147151
* Nuke invalid comment from copy/paste.Jim Grosbach2011-12-221-1/+0
| | | | llvm-svn: 147150
* Add check for non-NULL Variable with a NULL Type.Jim Ingham2011-12-221-1/+6
| | | | llvm-svn: 147149
* credits adjustmentHoward Hinnant2011-12-222-2/+8
| | | | llvm-svn: 147148
* Updated __cxa_current_exception_type to call __cxa_get_globals_fast - will ↵Marshall Clow2011-12-222-2/+4
| | | | | | not allocate globals llvm-svn: 147147
* List-initialization via constructor part 1. Still needs: pretty-printing, ↵Sebastian Redl2011-12-225-249/+402
| | | | | | overloading, initializer_list. llvm-svn: 147145
* Give string constants generated by IRBuilder private linkage.Benjamin Kramer2011-12-222-2/+2
| | | | | | Fixes PR11640. llvm-svn: 147144
* Add configure support for kfreebsd and hurd. Patch by Sylvestre Ledru.Rafael Espindola2011-12-222-3/+13
| | | | | | Fixes pr11620. llvm-svn: 147143
* Make the unreachable probability much much heavier. The previousChandler Carruth2011-12-222-11/+12
| | | | | | | | | | probability wouldn't be considered "hot" in some weird loop structures or other compounding probability patterns. This makes it much harder to confuse, but isn't really a principled fix. I'd actually like it if we could model a zero probability, as it would make this much easier to reason about. Suggestions for how to do this better are welcome. llvm-svn: 147142
* Add AVX2 intrinsics for max, min, sign extend, and zero extend.Craig Topper2011-12-223-0/+300
| | | | llvm-svn: 147141
* Delete stray semicolon.Eli Friedman2011-12-221-1/+1
| | | | llvm-svn: 147140
* Fix typos in analyzer diagnostics pointed out by Matt Beaumont-Gay and ↵Ted Kremenek2011-12-222-3/+3
| | | | | | Robert Purves. llvm-svn: 147139
* In Lexer::getCharAndSizeSlow[NoWarn] if we come up againstArgyrios Kyrtzidis2011-12-222-12/+11
| | | | | | | | | | \<newline><newline> don't consume the second newline. Thanks to David Blaikie for pointing out the crash! llvm-svn: 147138
* Add support for bitcasts to vector type in Evaluate.Eli Friedman2011-12-226-5/+115
| | | | llvm-svn: 147137
* Kill the monstrosity that was ELFObjectWriter.h.Rafael Espindola2011-12-222-361/+331
| | | | llvm-svn: 147136
OpenPOWER on IntegriCloud