summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use the LiveVariables information to efficiently get local kills. ThisChandler Carruth2012-07-131-54/+19
| | | | | | | | | | removes the largest scaling problem in the test cases from PR13225 when ASan is switched to insert basic blocks in the natural CFG order. It may also solve some scaling problems for more normal code with large numbers of basic blocks and variables. llvm-svn: 160194
* Modify tree printing mode for template type diffing. If a diagnostic hasRichard Trieu2012-07-131-2/+3
| | | | | | | multiple %diff's, only print the first tree and fallback to inline printing for the rest of the diagnostic. llvm-svn: 160193
* Fixed few warnings.Galina Kistanova2012-07-131-2/+2
| | | | llvm-svn: 160192
* add support for conditional expressions in Expr::HasSideEffects()Nuno Lopes2012-07-132-1/+13
| | | | | | This fixes a bug in __builtin_object_size() codegen llvm-svn: 160191
* Move a bunch of the attribute warnings under the IgnoreAttributes group. ↵Tanya Lattner2012-07-132-57/+57
| | | | | | Cleaned up test case. llvm-svn: 160190
* Remove variable_ops from call instructions in most targets.Jakob Stoklund Olesen2012-07-1311-46/+44
| | | | | | | | Call instructions are no longer required to be variadic, and variable_ops should only be used for instructions that encode a variable number of arguments, like the ARM stm/ldm instructions. llvm-svn: 160189
* Remove variable_ops from ARM call instructions.Jakob Stoklund Olesen2012-07-133-22/+19
| | | | | | | | | | | | Function argument registers are added to the call SDNode, but InstrEmitter now knows how to make those operands implicit, and the call instruction doesn't have to be variadic. Explicit register operands should only be those that are encoded in the instruction, implicit register operands are for extra dependencies like call argument and return values. llvm-svn: 160188
* Add accessors on process to get & set the selected thread by IndexID (useful ↵Jim Ingham2012-07-134-0/+80
| | | | | | since that's the one that "thread list" shows and it won't get reused even if the underlying system thread ID gets reused. llvm-svn: 160187
* Updated LLVM and added a fix to LLDB which allowsSean Callanan2012-07-132-5/+207
| | | | | | | | | LLDB to distinguish between multiple anonymous structs/unions in the same class. <rdar://problem/11466212> llvm-svn: 160186
* Applied constexpr to <chrono>.Howard Hinnant2012-07-1326-58/+432
| | | | llvm-svn: 160184
* The Mips specific relocation R_MIPS_GOT_DISP Jack Carter2012-07-135-4/+30
| | | | | | | | | | is used in cases where global symbols are directly represented in the GOT and we use an offset into the global offset table. This patch adds direct object support for R_MIPS_GOT_DISP. llvm-svn: 160183
* Comment AST nodes: rename getXXXCount() methods to getNumXXXs() to be in ↵Dmitri Gribenko2012-07-134-26/+26
| | | | | | line with Statement AST nodes. llvm-svn: 160182
* <rdar://problem/11773899> Formatters for BOOL* and BOOL&Enrico Granata2012-07-135-3/+146
| | | | llvm-svn: 160181
* <rdar://problem/11628688> Making sure to use the ostype format for OSType valuesEnrico Granata2012-07-134-0/+113
| | | | llvm-svn: 160180
* <rdar://problem/11753405> Making sure we deal correctly with signed NSNumber ↵Enrico Granata2012-07-133-12/+25
| | | | | | values llvm-svn: 160179
* test case for revision 160084: Alignment filling between Mips function unitsJack Carter2012-07-131-0/+23
| | | | llvm-svn: 160177
* Apply visibility pragmas to class template declarations. This is needed becauseRafael Espindola2012-07-132-0/+19
| | | | | | we might use the declaration to build a type before seeing the definition. llvm-svn: 160176
* Show source by default for the first 4 frames of the crash thread. Also ↵Greg Clayton2012-07-131-13/+18
| | | | | | added options to allow showing source for all frames (--source-frames=NFRAMES) and for all threads (--source-all). llvm-svn: 160175
* Use -fvisibility-inlines-hidden in inline functions too. This matches gccRafael Espindola2012-07-132-29/+60
| | | | | | behavior since gcc pr30066. Thanks to Benjamin Kramer for pointing it out. llvm-svn: 160174
* Make helper functions static.Benjamin Kramer2012-07-132-2/+2
| | | | llvm-svn: 160173
* Move helper class into an anonymous namespace.Benjamin Kramer2012-07-131-0/+2
| | | | llvm-svn: 160172
* [tsan] use internal_strnlen in strncpy interceptor (the bug found while ↵Kostya Serebryany2012-07-131-1/+1
| | | | | | booting chromium) llvm-svn: 160171
* Initializers for some fields were missing in Option::OptionAlexander Kornienko2012-07-131-4/+4
| | | | llvm-svn: 160170
* Mention -ftls-model in release notes and manual.Hans Wennborg2012-07-132-0/+16
| | | | llvm-svn: 160169
* ReleaseNotes.html: add note about specifying TLS modelsHans Wennborg2012-07-131-0/+2
| | | | llvm-svn: 160168
* Allows retrieving all files in a CompilationDatabase.Manuel Klimek2012-07-133-0/+71
| | | | | | Patch by Tobias Koenig, some test changes by myself. llvm-svn: 160167
* Post-dom frontier was removed in 3.0. Patch by chenwj.Duncan Sands2012-07-131-1/+0
| | | | llvm-svn: 160166
* Revert "Add preliminary implementation for GPGPU code generation."Tobias Grosser2012-07-1313-1307/+0
| | | | | | | | | | | | I did not take into account, that this patch fails to compile without the llvm.codegen patch applied. This breaks buildbots. I revert this until we found a solution to commit this without buildbots complaining. This reverts commit cb43ab80e94434e780a66be3b9a6ad466822fe33. llvm-svn: 160165
* Add preliminary implementation for GPGPU code generation.Tobias Grosser2012-07-1313-0/+1307
| | | | | | | | | | | | | Translate the selected parallel loop body into a ptx string and run it with cuda driver API. We limit this preliminary implementation to target the following special test cases: - Support only 2-dimensional parallel loops with or without only one innermost non-parallel loop. - Support write memory access to only one array in a SCoP. Contributed by: Yabin Hu <yabin.hwu@gmail.com> llvm-svn: 160164
* Restrict this to x86, hopefully fixing ARM buildbots.Duncan Sands2012-07-131-1/+1
| | | | llvm-svn: 160163
* Mark VINSERTI128rm as MayLoad=1. Fixes PR13348.Craig Topper2012-07-131-2/+2
| | | | llvm-svn: 160162
* Provide a special-case diagnostic when two class member functions instantiateRichard Smith2012-07-134-14/+36
| | | | | | | to the same signature. Fix a bug in the type printer which would cause this diagnostic to print wonderful types like 'const const int *'. llvm-svn: 160161
* Added the ability to see source context with each frame in the "crashlog" ↵Greg Clayton2012-07-131-8/+37
| | | | | | | | command with the "--source-context" (-C for short to match grep) option. Also made the symbolication of the crash logs more efficient when using the "--crashed-only" ("-c") option where only the crashed thread is symbolicated. We now only download the images for the frames in the crashed thread. llvm-svn: 160160
* Fixed few warnings; trimmed empty lines.Galina Kistanova2012-07-131-123/+151
| | | | llvm-svn: 160159
* Resolve source paths that start with ~ when doing substitutions.Greg Clayton2012-07-132-1/+7
| | | | llvm-svn: 160158
* Fix a bug in my previous commit. The problem is not that we were not using theRafael Espindola2012-07-133-4/+18
| | | | | | | canonical decl for the template, but that we were not merging attributes for templates at all! llvm-svn: 160157
* Attaching comments to declarations during parsing: handle more Objective-C ↵Dmitri Gribenko2012-07-135-8/+82
| | | | | | declarations. llvm-svn: 160156
* Also remove include directory for libComments.Dmitri Gribenko2012-07-130-0/+0
| | | | llvm-svn: 160155
* Remove empty lib/Comments directory.Dmitri Gribenko2012-07-130-0/+0
| | | | llvm-svn: 160154
* Comment parsing: repaint the bikesched: rename 'HTML open tags' to 'HTML ↵Dmitri Gribenko2012-07-1313-342/+340
| | | | | | start tags' and 'HTML close tags' to 'HTML end tags' according to HTML spec. llvm-svn: 160153
* Provide function name in 'Cannot select' fatal error.Jim Grosbach2012-07-131-0/+1
| | | | | | | | | When dumping the DAG for a fatal 'Cannot select' back-end error, also provide the name of the function the construct is in. Useful when dealing with large testcases, as the next step is to llvm-extract the function in question to get a small(er) testcase. llvm-svn: 160152
* Make the setting for "target.process.thread.step-avoid-regexp" work for ↵Greg Clayton2012-07-131-5/+4
| | | | | | inlined functions, not just concrete top level functions. llvm-svn: 160151
* When parsing the epilogue of a thumbv2 function, when we see theJason Molenda2012-07-121-0/+14
| | | | | | | | frame pointer overwritten with the caller's fp value, return to expressing the CFA in terms of the stack pointer. <rdar://problem/11855862> llvm-svn: 160150
* Make concepts of optional and forbidden end tags separate. Thanks Jordan ↵Dmitri Gribenko2012-07-124-8/+40
| | | | | | for pointing this! llvm-svn: 160149
* The end of the prologue should be marked with is_stmt.Eric Christopher2012-07-122-1/+29
| | | | | | | | Fixes PR13303. Patch by Paul Robinson! llvm-svn: 160148
* Unify how we get host version on Mac OS X & iOS.Jim Ingham2012-07-123-87/+83
| | | | | | | | | Also remove our dependency on UIKit & AppKit. Cleaned up the project files a bit. <rdar://problem/11814498> llvm-svn: 160147
* <rdar://problem/11740973>Greg Clayton2012-07-124-65/+57
| | | | | | Fixed issues that could happen when the UUID doesn't change in a binary and old stale debug info could end up being used. llvm-svn: 160145
* TableGen: Assembly matcher 'insufficient operands' diagnostic.Jim Grosbach2012-07-121-0/+1
| | | | | | | | | | Make sure the tblgen'erated asm matcher correctly returns numoperands+1 as the ErrorInfo when the problem was that there weren't enough operands specified. rdar://9142751 llvm-svn: 160144
* Fix check strings in test/MC/Disassembler/Mips/* and run FileCheck.Akira Hatanaka2012-07-128-760/+694
| | | | | | Patch by Vladimir Medic. llvm-svn: 160143
* Fixed few warnings.Galina Kistanova2012-07-123-7/+10
| | | | llvm-svn: 160142
OpenPOWER on IntegriCloud