summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* CompileUnit::ResolveSymbolContext was only filling in the LineEntry ↵Jim Ingham2012-05-211-6/+28
| | | | | | regardless of what was passed in for "resolve_scope". I fixed that. llvm-svn: 157217
* objective-c: provide a useful 'fixit' suggestion whenFariborz Jahanian2012-05-213-1/+24
| | | | | | | errornously using commas to separate ObjC message arguments. // rdar://11376372 llvm-svn: 157216
* Fix use of an unitialized value in the LegalizeOps expansion for ISD::SUB. ↵Owen Anderson2012-05-211-1/+1
| | | | | | | | No in-tree targets exercise this path. Patch by Micah Villmow. llvm-svn: 157215
* Updated the object-pointer lookup logic to fixSean Callanan2012-05-211-13/+30
| | | | | | Objective-C "self," which is not a regular pointer. llvm-svn: 157214
* Fixed the new-syntax testcase to reflect how weSean Callanan2012-05-211-1/+1
| | | | | | print string literals. llvm-svn: 157213
* Revert r115805. An array type is required to have a range type,Eric Christopher2012-05-211-18/+14
| | | | | | | | | | however, the range can be unknown for the upper bound. Testcase to follow. Part of rdar://11457152 llvm-svn: 157212
* [analyzer] Bind UnknownVal to InitListExpr for unsupported typesAnna Zaks2012-05-212-2/+9
| | | | | | (ex: float). llvm-svn: 157211
* Fixes for performance to data formatters - Python < 3.0 is much slower when ↵Enrico Granata2012-05-211-114/+110
| | | | | | using True/False as compared to 1/0 for logical values. Wexploit this to our advantage. Other minor tweaks llvm-svn: 157209
* Fixed a nasty bug where JIT expressions didn't workSean Callanan2012-05-213-13/+39
| | | | | | | when stopped in a const method. Also updated our testsuite to ensure that JIT is forced in this case. llvm-svn: 157208
* Function template version of the previous patch.Rafael Espindola2012-05-212-4/+18
| | | | llvm-svn: 157207
* Produce a hidden symbol for zed inRafael Espindola2012-05-212-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | struct HIDDEN foo { }; template <class P> struct bar { }; template <> struct HIDDEN bar<foo> { DEFAULT static void zed(); }; void bar<foo>::zed() { } Before we would produce a hidden symbol in struct HIDDEN foo { }; template <class P> struct bar { }; template <> struct bar<foo> { DEFAULT static void zed(); }; void bar<foo>::zed() { } But adding HIDDEN to the specialization would cause us to produce a default symbol. llvm-svn: 157206
* [driver] When creating the compiler invocation out of command-lineArgyrios Kyrtzidis2012-05-216-16/+28
| | | | | | | | arguments, force use of clang frontend for the driver. Fixes rdar://11356765. llvm-svn: 157205
* Analyzer: Fix PR12905, a crash when encountering a call to a function named "C".Benjamin Kramer2012-05-212-10/+17
| | | | | | While there clean up indentation. llvm-svn: 157204
* Added an "rb" alias that sets breakpoints bySean Callanan2012-05-211-0/+9
| | | | | | regular expression. llvm-svn: 157202
* Thumb2: RSB source register should be rGRP not GPRnopc.Jim Grosbach2012-05-211-4/+4
| | | | | | t2RSB defined the operand correctly, but tRSBS didn't. llvm-svn: 157200
* Integrated a check into Clang that make sure thatSean Callanan2012-05-211-0/+18
| | | | | | | it doesn't try to call LookupDestructor on an incomplete class. llvm-svn: 157199
* [arcmt] Revert r156999 "Remove the "it is not safe to remove an unused ↵Argyrios Kyrtzidis2012-05-212-1/+13
| | | | | | | | | | 'autorelease' message" ARC migration error". Per feedback from John this is useful to have in general. llvm-svn: 157198
* Mark an unreachable region of code with llvm_unreachable.Dan Gohman2012-05-211-1/+1
| | | | llvm-svn: 157197
* tsan: implement malloc/free hooksDmitry Vyukov2012-05-211-15/+82
| | | | llvm-svn: 157196
* Typo.Chad Rosier2012-05-211-1/+1
| | | | llvm-svn: 157195
* Remove unused argument in my last patch.Fariborz Jahanian2012-05-211-3/+2
| | | | llvm-svn: 157194
* objective-c: When default synthesizing readonly IBOutlet propertiesFariborz Jahanian2012-05-212-55/+51
| | | | | | provide a 'fixit' to change 'readonly' to 'readwrite'. // rdar://11448209 llvm-svn: 157193
* Added a GDB equivalent for saving binary memorySean Callanan2012-05-211-1/+5
| | | | | | data. llvm-svn: 157192
* Make it so that the MArch, MCPU, MAttrs passed to EngineBuilder are actually ↵Owen Anderson2012-05-211-4/+0
| | | | | | | | used. Patch by Jose Fonseca. llvm-svn: 157191
* <rdar://problem/11355592> Fixing a bug where we would incorrectly try and ↵Enrico Granata2012-05-219-47/+165
| | | | | | determine a dynamic type for a variable of a pointer type that is not a valid generic type for dynamic pointers. llvm-svn: 157190
* [ASan] Make for-Windows RTL compileable using Clang++Timur Iskhodzhanov2012-05-213-17/+27
| | | | llvm-svn: 157188
* tsan: do not assume non-recursive signal handlersDmitry Vyukov2012-05-211-6/+6
| | | | llvm-svn: 157187
* Test and document a difference from gcc in the handling of visibilityRafael Espindola2012-05-211-0/+13
| | | | | | attributes. llvm-svn: 157186
* test commitPatrik Hägglund2012-05-211-1/+0
| | | | llvm-svn: 157184
* PR1255 (case ranges: work with ConstantRangesSet instead of ConstantInt) ↵Stepan Dyatkovskiy2012-05-213-12/+37
| | | | | | related changes for Execution and Verifier. llvm-svn: 157183
* Unpack enums in CodeCompletetionResult.Benjamin Kramer2012-05-211-3/+3
| | | | | | | In theory they should be wide enough even when the enum type is signed, but it looks like MSVC9 still has problems with it. llvm-svn: 157182
* tsan: replace CHECK with CHECK_EQ for better diagnosticsDmitry Vyukov2012-05-211-1/+1
| | | | llvm-svn: 157181
* tsan: better, more realistic handling of signalsDmitry Vyukov2012-05-213-21/+110
| | | | llvm-svn: 157178
* tsan: add more checks for OOM conditionsDmitry Vyukov2012-05-211-0/+4
| | | | | | tests like to try to malloc((size_t)-1) llvm-svn: 157176
* Allow 256-bit shuffles to still be split even if only half of the shuffle ↵Craig Topper2012-05-212-21/+59
| | | | | | comes from two 128-bit pieces. llvm-svn: 157175
* Give a small negative bias to giant edge bundles.Jakob Stoklund Olesen2012-05-212-1/+12
| | | | | | | | | | | | | | | | This helps compile time when the greedy register allocator splits live ranges in giant functions. Without the bias, we would try to grow regions through the giant edge bundles, usually to find out that the region became too big and expensive. If a live range has many uses in blocks near the giant bundle, the small negative bias doesn't make a big difference, and we still consider regions including the giant edge bundle. Giant edge bundles are usually connected to landing pads or indirect branches. llvm-svn: 157174
* Teach Clang about the NVPTX backend.Peter Collingbourne2012-05-202-0/+100
| | | | llvm-svn: 157173
* Tell the driver that CUDA is a C++-like language, so that we get C++Peter Collingbourne2012-05-201-0/+1
| | | | | | header searches with CUDA. llvm-svn: 157172
* CUDA: the device and host attributes must be inheritable, in orderPeter Collingbourne2012-05-201-2/+2
| | | | | | | to deal with NVIDIA's headers. We'll need to think of another way to handle multiple host/device definitions within the same TU. llvm-svn: 157171
* test/Tooling/clang-check-pwd.cpp: Mark as XFAIL:mingw for now. Fixing is ↵NAKAMURA Takumi2012-05-201-0/+1
| | | | | | work-in-progress. llvm-svn: 157170
* Clear kill flags on the fly when joining intervals.Jakob Stoklund Olesen2012-05-201-36/+22
| | | | | | | | | | | With physreg joining out of the way, it is easy to recognize the instructions that need their kill flags cleared while testing for interference. This allows us to skip the final scan of all instructions for an 11% speedup of the coalescer pass. llvm-svn: 157169
* CUDA: add CodeGen support for global variable address spaces.Peter Collingbourne2012-05-206-6/+67
| | | | | | | | | Because in CUDA types do not have associated address spaces, globals are declared in their "native" address space, and accessed by bitcasting the pointer to address space 0. This relies on address space 0 being a unified address space. llvm-svn: 157167
* Add RPO to the lexicon.Nick Lewycky2012-05-201-0/+2
| | | | llvm-svn: 157166
* Make the global base reg GR32_NOSP.Jakob Stoklund Olesen2012-05-201-1/+1
| | | | | | It can sometimes be used in addressing modes that don't support %ESP. llvm-svn: 157165
* Constrain regclasses in PeepholeOptimizer.Jakob Stoklund Olesen2012-05-201-1/+10
| | | | | | | It can be necessary to restrict to a sub-class before accessing sub-registers. llvm-svn: 157164
* Constrain register classes in TailDup.Jakob Stoklund Olesen2012-05-201-3/+5
| | | | | | | When rewriting operands, make sure the new registers have a compatible register class. llvm-svn: 157163
* When legalising shifts, do not pre-build a list of operands whichPeter Collingbourne2012-05-202-10/+32
| | | | | | | may be RAUW'd by the recursive call to LegalizeOps; instead, retrieve the other operands when calling UpdateNodeOperands. Fixes PR12889. llvm-svn: 157162
* Emit memcmp directly from the StringMatcherEmitter.Benjamin Kramer2012-05-201-4/+4
| | | | | | | | | There should be no difference in the resulting binary, given a sufficiently smart compiler. However we already had compiler timeouts on the generated code in Intrinsics.gen, this hopefully makes the lives of slow buildbots a little easier. llvm-svn: 157161
* Plug a leak when using MCJIT.Benjamin Kramer2012-05-202-3/+4
| | | | | | Found by valgrind. llvm-svn: 157160
* Add a missing PPC 64-bit stwu pattern.Hal Finkel2012-05-202-0/+36
| | | | | | | This seems to fix the remaining compile-time failures on PPC64 when compiling with -enable-ppc-preinc. llvm-svn: 157159
OpenPOWER on IntegriCloud