- Sep 10, 2012
-
-
Dmitri Gribenko authored
llvm-svn: 163547
-
Dmitri Gribenko authored
llvm-svn: 163546
-
Nadav Rotem authored
llvm-svn: 163545
-
Chad Rosier authored
and update the printOperand() function accordingly. llvm-svn: 163544
-
Greg Clayton authored
llvm-svn: 163543
-
Chad Rosier authored
llvm-svn: 163542
-
Jim Ingham authored
uint32_t size = ThreadList.GetSize(); for (i=0; i < size; ++i) without grabbing the thread list mutex. llvm-svn: 163541
-
Dmitri Gribenko authored
Now we have a list of all commands. This is a good thing in itself, but it also enables us to easily implement typo correction for command names. With this change we have objects that contain information about each command, so it makes sense to resolve command name just once during lexing (currently we store command names as strings and do a linear search every time some property value is needed). Thus comment token and AST nodes were changed to contain a command ID -- index into a tables of builtin and registered commands. Unknown commands are registered during parsing and thus are also uniformly assigned an ID. Using an ID instead of a StringRef is also a nice memory optimization since ID is a small integer that fits into a common bitfield in Comment class. This change implies that to get any information about a command (even a command name) we need a CommandTraits object to resolve the command ID to CommandInfo*. Currently a fresh temporary CommandTraits object is created whenever it is needed since it does not have any state. But with this change it has state -- new commands can be registered, so a CommandTraits object was added to ASTContext. Also, in libclang CXComment has to be expanded to include a CXTranslationUnit so that all functions working on comment AST nodes can get a CommandTraits object. This breaks binary compatibility of CXComment APIs. Now clang_FullComment_getAsXML(CXTranslationUnit TU, CXComment CXC) doesn't need TU parameter anymore, so it was removed. This is a source-incompatible change for this C API. llvm-svn: 163540
-
Nadav Rotem authored
llvm-svn: 163539
-
Ted Kremenek authored
Remove clang man page reference to -Oz. It's not an option we want people to use, and is around for historical reasons. llvm-svn: 163538
-
DeLesley Hutchins authored
analysis that may give false positives because it is confused by aliasing, and a less precise analysis that has fewer false positives, but may have false negatives. The more precise warnings are enabled by -Wthread-safety-precise. An additional note clarify the warnings in the precise case. llvm-svn: 163537
-
Ted Kremenek authored
llvm-svn: 163536
-
Jakob Stoklund Olesen authored
The ARM backend can eliminate cmp instructions by reusing flags from a nearby sub instruction with similar arguments. Don't do that if the sub is predicated - the flags are not written unconditionally. <rdar://problem/12263428> llvm-svn: 163535
-
Ted Kremenek authored
llvm-svn: 163534
-
Ted Kremenek authored
llvm-svn: 163533
-
Michael J. Spencer authored
llvm-svn: 163532
-
Ted Kremenek authored
llvm-svn: 163531
-
Nadav Rotem authored
llvm-svn: 163530
-
Ted Kremenek authored
As a debugging aid to unbreak the buildbots, cat the plist files so I can view them on different builders. llvm-svn: 163529
-
Michael Liao authored
- Fix an remaining issue of PR11674 as well llvm-svn: 163528
-
Daniel Dunbar authored
- Now with spelling fix for -lstdc++. llvm-svn: 163527
-
Fariborz Jahanian authored
annotations. // rdar://6386358 llvm-svn: 163525
-
Ted Kremenek authored
a C++ dialect. Let's see if this is the portability issue with this test. llvm-svn: 163524
-
Sergei Larin authored
Improve AQ instruction selection in the Hexagon MI scheduler. llvm-svn: 163523
-
Chad Rosier authored
llvm-svn: 163522
-
Greg Clayton authored
Playing around with "objc_refs" over the weekend and improved it to work on a large ObjC program without running into expression timeouts. Now we get a full list of ObjC classes using a runtime function and then qsort the result. Also added code that can count all instances of each ObjC on the heap and also the total byte sizes for the object allocations. llvm-svn: 163520
-
Michael Ilseman authored
This folding happens as early as possible for performance reasons, and to make sure it isn't foiled by other transforms (e.g. forming FMAs). llvm-svn: 163519
-
Michael Ilseman authored
llvm-svn: 163518
-
Fariborz Jahanian authored
super's annotated methods. // rdar://6386358 llvm-svn: 163517
-
Michael Liao authored
- If a boolean value is generated from CMOV and tested as boolean value, simplify the use of test result by referencing the original condition. RDRAND intrinisc is one of such cases. llvm-svn: 163516
-
Ted Kremenek authored
llvm-svn: 163515
-
Douglas Gregor authored
llvm-svn: 163514
-
Alexander Kornienko authored
Summary: A better solution to http://llvm.org/bugs/show_bug.cgi?id=13777 Named namespace + more unique name to make ODR violations unlikely. Reviewers: chandlerc, doug.gregor, klimek Reviewed By: doug.gregor CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D38 llvm-svn: 163513
-
Ted Kremenek authored
I need to see how this breaks on other platforms when I fix the issue that Benjamin Kramer pointed out. This includes r163489 and r163490, plus a two line change. llvm-svn: 163512
-
James Molloy authored
Fix an assertion failure when optimising a shufflevector incorrectly into concat_vectors, and a followup bug with SelectionDAG::getNode() creating nodes with invalid types. llvm-svn: 163511
-
Nadav Rotem authored
llvm-svn: 163510
-
Nadav Rotem authored
llvm-svn: 163509
-
Nadav Rotem authored
Stack Coloring: When searching for disjoint regions, do not compare intervals twice or to theirself. llvm-svn: 163508
-
Nadav Rotem authored
llvm-svn: 163507
-
Elena Demikhovsky authored
The VPSHUFB 256-bit instruction may be generated when one of input vector is undefined or zeroinitializer. I've added the "zeroinitializer" case in this patch. llvm-svn: 163506
-