- Jan 31, 2012
-
-
Rafael Espindola authored
llvm-svn: 149391
-
Enrico Granata authored
llvm-svn: 149390
-
Howard Hinnant authored
Found and fixed bug in personality function: Don't dive into the action table if the action entry is zero. llvm-svn: 149389
-
Enrico Granata authored
This commit provides a new default summary for Objective-C boolean variables, which shows YES or NO instead of the character value. A new category named objc is added to contain this summary provider. Any future Objective-C related formatters would probably fit here llvm-svn: 149388
-
Hans Wennborg authored
This fixes the case where Clang would output: error: format specifies type 'wchar_t *' (aka 'wchar_t *') ArgTypeResult::getRepresentativeTypeName needs to take into account that wchar_t can be a built-in type (as opposed to in C, where it is a typedef). llvm-svn: 149387
-
Tobias Grosser authored
Such a dead code elimination can remove redundant stores to arrays. It can also eliminate calculations where the results are stored to memory but where they are overwritten before ever being read. It may also fix bugs like: http://llvm.org/bugs/show_bug.cgi?id=5117 This commit just adds a sceleton without any functionality. If anybody is interested to learn about polyhedral optimizations this would be a good task. Well definined, self contained and pretty simple. Ping me if you want to start and you need some pointers to get going. llvm-svn: 149386
-
Erik Verbruggen authored
llvm-svn: 149385
-
Tobias Grosser authored
llvm-svn: 149383
-
Alexander Potapenko authored
llvm-svn: 149382
-
Benjamin Kramer authored
llvm-svn: 149377
-
Francois Pichet authored
llvm-svn: 149375
-
Tobias Grosser authored
llvm-svn: 149374
-
Tobias Grosser authored
llvm-svn: 149373
-
Tobias Grosser authored
It is only needed for PoCC. We may update our openscop support which is expected to be wider used. If this is the case we could automatically build openscop. llvm-svn: 149372
-
Tobias Grosser authored
llvm-svn: 149371
-
Tobias Grosser authored
As we now have a scheduler that works, I do not believe a lot of people need PoCC right ahead. People who want to do an in depth investigation of the different schedulers can install it as well manually. llvm-svn: 149370
-
Bill Wendling authored
vector. This potentially saves a resizing. llvm-svn: 149369
-
Bill Wendling authored
llvm-svn: 149368
-
Craig Topper authored
llvm-svn: 149367
-
Richard Smith authored
unspecified unless the pointers are equal; therefore, such a comparison is not a constant expression unless the pointers are equal. llvm-svn: 149366
-
Chris Lattner authored
ConstantDataArray::getString instead. llvm-svn: 149365
-
Chris Lattner authored
llvm-svn: 149364
-
Chris Lattner authored
ConstantDataArray::getString instead. Many instances of ConstantArray::get() could be moved to use more efficient ConstantDataArray methods that avoid a ton of intermediate Constant*'s for each element (e.g. GetConstantArrayFromStringLiteral). I don't plan on doing this in the short-term though. llvm-svn: 149363
-
Chris Lattner authored
with recent changes, ConstantArray is never a "string". Remove the associated methods and constant fold the clients to false. llvm-svn: 149362
-
Chris Lattner authored
update this to ConstantDataArray. There are no tests and this isn't using the preferred functionality for ripping apart strings, so I have no way to test this. llvm-svn: 149361
-
Andrew Trick authored
This removes implicit assumption about the form of MI coming into regalloc. In particular, it should be independent of ProcessImplicitDefs which will eventually become a standard part of coming out of SSA--unless we simply can eliminate IMPLICIT_DEF completely. Current unit tests expose this once I remove incidental pass ordering restrictions. This is not a final fix. Just a temporary workaround until I figure out the right way. llvm-svn: 149360
-
Ted Kremenek authored
Don't warn about -Wshorten-64-to-32 in unreachable code. Fixes <rdar://problem/10759934>. Apparently this is a common idiom in Linux (among other places). llvm-svn: 149359
-
Ted Kremenek authored
llvm-svn: 149358
-
Chris Lattner authored
llvm-svn: 149357
-
Chris Lattner authored
llvm-svn: 149356
-
Greg Clayton authored
instances to not pthread_cancel the read threads and wreak havoc on the mutex in our ConnectionFileDescriptor class. Also cleaned up some shutdown delays. llvm-svn: 149355
-
Chris Lattner authored
eliminate the last uses of GetConstantStringInfo from this file, I didn't realize I was that close... llvm-svn: 149354
-
Chandler Carruth authored
These are very useful for frontends and other utilities reasoning about or selecting between triples. llvm-svn: 149353
-
Chris Lattner authored
dramatically more efficient than GetConstantStringInfo. llvm-svn: 149352
-
Chris Lattner authored
kicking in the big win of ConstantDataArray. As part of this, change the implementation of GetConstantStringInfo in ValueTracking to work with ConstantDataArray (and not ConstantArray) making it dramatically, amazingly, more efficient in the process and renaming it to getConstantStringInfo. This keeps around a GetConstantStringInfo entrypoint that (grossly) forwards to getConstantStringInfo and constructs the std::string required, but existing clients should move over to getConstantStringInfo instead. llvm-svn: 149351
-
Chris Lattner authored
which is going away. llvm-svn: 149348
-
Chris Lattner authored
as well as ConstantArray. llvm-svn: 149347
-
rdar://problem/10776614Greg Clayton authored
Fixed an issue where we can crash if you call cast when the SBValue doesn't contain a valid value. llvm-svn: 149345
-
Richard Smith authored
-INT_MIN and INT_MIN / -1 Shift by a negative or too large quantity Left shift of negative value Overflow in left shift llvm-svn: 149344
-
Chris Lattner authored
CodeGen/X86/global-sections.ll to fail with CDArray llvm-svn: 149343
-