summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add assembler dialect attribute in asm parser which lets target specific asm ↵Devang Patel2012-01-313-6/+18
| | | | | | parser change dialect on the fly. llvm-svn: 149396
* [asan] fix the wrong __WORDSIZE definition on Win x64, add ↵Kostya Serebryany2012-01-312-13/+14
| | | | | | ASAN_INTERFACE_FUNCTION_ATTRIBUTE. Patch by timurrrr@google.com llvm-svn: 149395
* FormatCheckers should emit all diagnostics using EmitFormatDiagnostic().Jean-Daniel Dupas2012-01-313-15/+28
| | | | llvm-svn: 149394
* Splitting test case for Python synthetic children: part 1 test is only ↵Enrico Granata2012-01-315-895/+6
| | | | | | testing the synthetic children feature itself. More test cases will be commited for individual STL containers llvm-svn: 149393
* [asan] remove dead codeKostya Serebryany2012-01-312-14/+0
| | | | llvm-svn: 149392
* Regenerate configure.Rafael Espindola2012-01-312-19/+5
| | | | llvm-svn: 149391
* Comments edited to better reflect what the function really doesEnrico Granata2012-01-312-7/+5
| | | | llvm-svn: 149390
* Found and fixed bug in personality function: Don't dive into the action ↵Howard Hinnant2012-01-312-7/+23
| | | | | | table if the action entry is zero. llvm-svn: 149389
* This commit provides a new default summary for Objective-C boolean ↵Enrico Granata2012-01-315-2/+45
| | | | | | 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
* Format string warnings: don't a.k.a. wchar_t with wchar_t.Hans Wennborg2012-01-312-1/+5
| | | | | | | | | | | 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
* Add a sceleton for a polyhedral dead code elimination.Tobias Grosser2012-01-314-0/+89
| | | | | | | | | | | | | | | 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
* [CFG] Removed unused local variable.Erik Verbruggen2012-01-311-2/+0
| | | | llvm-svn: 149385
* Schedule: Sort includes and remove useless onesTobias Grosser2012-01-311-11/+5
| | | | llvm-svn: 149383
* Implement GetMacosVersion() to obtain the OS X version at runtime.Alexander Potapenko2012-01-312-0/+34
| | | | llvm-svn: 149382
* Don't zero terminate the bitmap twice.Benjamin Kramer2012-01-311-1/+1
| | | | llvm-svn: 149377
* Fix BrainF compilation.Francois Pichet2012-01-311-1/+2
| | | | llvm-svn: 149375
* www: Add news about the improved isl scheduling supportTobias Grosser2012-01-311-1/+11
| | | | llvm-svn: 149374
* www: Remove PoCC from the prerequisitesTobias Grosser2012-01-311-1/+0
| | | | llvm-svn: 149373
* polly.sh: Do not automatically install scoplib either.Tobias Grosser2012-01-311-9/+0
| | | | | | | | 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
* www: Move PoCC to the end of the installation sectionTobias Grosser2012-01-311-34/+37
| | | | llvm-svn: 149371
* polly.sh: Do not build PoCC automaticallyTobias Grosser2012-01-311-10/+0
| | | | | | | | 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
* Increase the initial vector size to be equivalent to the size of the DepsBill Wendling2012-01-311-2/+2
| | | | | | vector. This potentially saves a resizing. llvm-svn: 149369
* Cache the size of the vector instead of calling .size() all over the place.Bill Wendling2012-01-311-5/+5
| | | | llvm-svn: 149368
* Remove pcmpgt/pcmpeq intrinsics as clang is not using them.Craig Topper2012-01-315-206/+2
| | | | llvm-svn: 149367
* constexpr: the result of a relational operator between pointers to void isRichard Smith2012-01-313-1/+26
| | | | | | | unspecified unless the pointers are equal; therefore, such a comparison is not a constant expression unless the pointers are equal. llvm-svn: 149366
* eliminate the "string" form of ConstantArray::get, usingChris Lattner2012-01-317-23/+8
| | | | | | ConstantDataArray::getString instead. llvm-svn: 149365
* remove commented-out code.Chris Lattner2012-01-311-4/+0
| | | | llvm-svn: 149364
* ConstantArray::get() (for strings) is going away, useChris Lattner2012-01-316-42/+41
| | | | | | | | | | | | 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
* with recent changes, ConstantArray is never a "string". Remove the associatedChris Lattner2012-01-318-256/+45
| | | | | | methods and constant fold the clients to false. llvm-svn: 149362
* update this to ConstantDataArray. There are no tests and this isn't using ↵Chris Lattner2012-01-311-2/+2
| | | | | | the preferred functionality for ripping apart strings, so I have no way to test this. llvm-svn: 149361
* RAFast: Generalize the logic for return operands.Andrew Trick2012-01-311-20/+59
| | | | | | | | 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
* Don't warn about -Wshorten-64-to-32 in unreachable code. Fixes ↵Ted Kremenek2012-01-312-4/+34
| | | | | | <rdar://problem/10759934>. Apparently this is a common idiom in Linux (among other places). llvm-svn: 149359
* Make a bunch of local functions 'static'.Ted Kremenek2012-01-311-22/+23
| | | | llvm-svn: 149358
* fix a small oversight that broke the fhourstones app.Chris Lattner2012-01-311-1/+1
| | | | llvm-svn: 149357
* remove the last vestiges of llvm::GetConstantStringInfo, in CodeGen.Chris Lattner2012-01-313-19/+6
| | | | llvm-svn: 149356
* Cleaned up the Communication class when it tears down ConnectionFileDescriptorGreg Clayton2012-01-315-39/+54
| | | | | | | | | 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
* eliminate the last uses of GetConstantStringInfo from this file, I didn't ↵Chris Lattner2012-01-311-7/+7
| | | | | | realize I was that close... llvm-svn: 149354
* Add various coarse bit-width architecture predicates to llvm::Triple.Chandler Carruth2012-01-313-0/+125
| | | | | | | These are very useful for frontends and other utilities reasoning about or selecting between triples. llvm-svn: 149353
* start moving SimplifyLibcalls over to getConstantStringInfo, which isChris Lattner2012-01-311-49/+53
| | | | | | dramatically more efficient than GetConstantStringInfo. llvm-svn: 149352
* Change ConstantArray::get to form a ConstantDataArray when possible,Chris Lattner2012-01-314-187/+157
| | | | | | | | | | | | | | | 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
* rework this logic to not depend on the last argument to GetConstantStringInfo,Chris Lattner2012-01-311-4/+10
| | | | | | which is going away. llvm-svn: 149348
* enhance some optimization logic to handle ConstantDataSequentialChris Lattner2012-01-311-9/+26
| | | | | | as well as ConstantArray. llvm-svn: 149347
* <rdar://problem/10776614>Greg Clayton2012-01-311-1/+4
| | | | | | | Fixed an issue where we can crash if you call cast when the SBValue doesn't contain a valid value. llvm-svn: 149345
* constexpr: catch a collection of integral undefined behaviors:Richard Smith2012-01-313-10/+85
| | | | | | | | | -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
* don't emit a 1-byte object as a .fill. This is silly and causesChris Lattner2012-01-311-1/+3
| | | | | | CodeGen/X86/global-sections.ll to fail with CDArray llvm-svn: 149343
* use the right accessor for ConstantDataArray.Chris Lattner2012-01-311-1/+1
| | | | llvm-svn: 149342
* fix asmwriting of ConstantDataArray to use the right element count, Chris Lattner2012-01-311-22/+18
| | | | | | simplify ConstantArray handling, since they can never be empty. llvm-svn: 149341
* enhance logic to support ConstantDataArray.Chris Lattner2012-01-311-8/+13
| | | | llvm-svn: 149340
* Reapply r149311 which I reverted by mistake.Argyrios Kyrtzidis2012-01-316-82/+51
| | | | | | | | | | Original log: Convert ProgramStateRef to a smart pointer for managing the reference counts of ProgramStates. This leads to a slight memory improvement, and a simplification of the logic for managing ProgramState objects. # Please enter the commit message for your changes. Lines starting llvm-svn: 149339
* quick fixes for two issues that were causing LLDB to crashEnrico Granata2012-01-311-3/+6
| | | | llvm-svn: 149338
OpenPOWER on IntegriCloud