summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Clear kill flags in InstrEmitter::EmitSubregNode().Jakob Stoklund Olesen2012-06-292-2/+38
| | | | | | | When a local virtual register is made global, make sure to clear any existing kill flags. llvm-svn: 159461
* Check for extra kill flags on live-out virtual registers.Jakob Stoklund Olesen2012-06-291-0/+14
| | | | | | | This would previously get reported as the misleading "Virtual register def doesn't dominate all uses." llvm-svn: 159460
* Tweak insecureAPI analyzer checks to have the ability to be individually ↵Ted Kremenek2012-06-291-8/+2
| | | | | | | | | | | | disabled. The solution is a bit inefficient: it creates N checkers, one for each check, and each check does a dispatch on the function name. This is redundant, but we can fix this once we have the proper ability to enable/disable subchecks. Fixes <rdar://problem/11780180>. llvm-svn: 159459
* Add a fix-it hint note to -Wunique-enum to suggest that the last element getsRichard Trieu2012-06-293-3/+18
| | | | | | initialized with the next to last element to silence the warning. llvm-svn: 159458
* CodeGenPrepare: Don't crash when TLI is not available.Benjamin Kramer2012-06-291-1/+2
| | | | | | This happens when codegenprepare is invoked via opt. llvm-svn: 159457
* objective-c modern translator: synthesize argument typeFariborz Jahanian2012-06-292-6/+10
| | | | | | | correctly for blocks and function pointer arguments in the written constructor. // rdar://11359268 llvm-svn: 159456
* Make 'watchpoint set' default to write instead of read_write.Johnny Chen2012-06-291-6/+6
| | | | llvm-svn: 159455
* modern objc translator: string.h is unavailable on some non-OSXFariborz Jahanian2012-06-291-1/+1
| | | | | | platforms declare memset in rewritten code instead. llvm-svn: 159454
* Add getUniqueVRegDef to MachineRegisterInfo.Manman Ren2012-06-292-0/+16
| | | | | | This comes in handy during peephole optimization. llvm-svn: 159453
* fix a typo in my last commit. I thought I recompiled,Fariborz Jahanian2012-06-291-1/+1
| | | | | | but apparently I did not. llvm-svn: 159452
* Rework this to clarify where the removal of nodes from the queue isDuncan Sands2012-06-291-8/+9
| | | | | | really happening. No intended functionality change. llvm-svn: 159451
* objc diagnostic: pass IdentifierInfo* to the diagnostic systemFariborz Jahanian2012-06-292-4/+4
| | | | | | to produce quotes instead of adding qoute to the test. llvm-svn: 159450
* tsan/asan: third try on msvc atomicsDmitry Vyukov2012-06-292-4/+14
| | | | llvm-svn: 159449
* std::nullptr_t support in MS headers, from João Matos.Douglas Gregor2012-06-291-0/+7
| | | | llvm-svn: 159448
* tsan/asan: second attemp on msvc atomicsDmitry Vyukov2012-06-291-7/+14
| | | | llvm-svn: 159447
* Patch for handling C99 veriadic macros when using precompiled headers,Douglas Gregor2012-06-293-0/+18
| | | | | | from Filipe Cabecinhas! llvm-svn: 159446
* objective-c modern translator: Translation into objc_msgSend_stretFariborz Jahanian2012-06-293-41/+159
| | | | | | | entry point which requires nil check before calling objc_msgSend_stret. // rdar://11359268 - wip. llvm-svn: 159445
* Factor out a check for block commands (that implicitly start a new ↵Dmitri Gribenko2012-06-291-3/+18
| | | | | | paragraph) into a separate function. llvm-svn: 159444
* tsan/asan: first try on msvc atomicsDmitry Vyukov2012-06-296-144/+234
| | | | llvm-svn: 159443
* Avoid redundant error when redefining a function as deleted.David Blaikie2012-06-292-2/+5
| | | | | | Reviewed by Doug Gregor. llvm-svn: 159442
* RefreshCallGraph: ignore 'invoke intrinsic'. IntrinsicInst doesnt not ↵Nuno Lopes2012-06-291-1/+3
| | | | | | recognize invoke, and shouldnt at this point, since the rest of LLVM codebase doesnt expect invoke of intrinsics llvm-svn: 159441
* ignore 'invoke new' in isInstructionTriviallyDead, since most callers are ↵Nuno Lopes2012-06-291-1/+2
| | | | | | not ready to handle invokes. instcombine will take care of this. llvm-svn: 159440
* tsan/asan: add SpinMutex to sanitizer_commonDmitry Vyukov2012-06-296-20/+74
| | | | llvm-svn: 159439
* tsan/asan: unify ScopedLockDmitry Vyukov2012-06-294-52/+63
| | | | llvm-svn: 159438
* tsan/asan: unify atomics (move atomics from tsan to sanitizer_common)Dmitry Vyukov2012-06-2913-62/+76
| | | | llvm-svn: 159437
* Change condition to be the same as in SemaTemplateInstantiate.Nico Weber2012-06-291-1/+1
| | | | | | No functionality change. llvm-svn: 159436
* tsan: use -Wno-unused-private-field only for clang (gcc does not understand it)Dmitry Vyukov2012-06-291-2/+4
| | | | llvm-svn: 159435
* Added information on how to get API documentation in a "Documentation" section.Greg Clayton2012-06-291-0/+48
| | | | llvm-svn: 159434
* Cleanup in DwarfDebug - fix a typo and remove two unused functionsAlexey Samsonov2012-06-291-7/+1
| | | | llvm-svn: 159433
* [tsan] added CombinedAllocator for tsanKostya Serebryany2012-06-292-10/+112
| | | | llvm-svn: 159432
* tsan: replace struct copies where clang inserts memcpy() calls with explicit ↵Dmitry Vyukov2012-06-291-5/+6
| | | | | | internal_memcpy() calls llvm-svn: 159431
* tsan: remove own memset/memcpy/memcmp (too messy)Dmitry Vyukov2012-06-293-92/+11
| | | | llvm-svn: 159430
* [asan] fix lintKostya Serebryany2012-06-291-7/+7
| | | | llvm-svn: 159429
* clang/test/Misc/diag-template-diffing-color.cpp: Remove XFAIL:cygwin. Cygwin ↵NAKAMURA Takumi2012-06-291-1/+1
| | | | | | has some terminal emulation of escape sequences. llvm-svn: 159428
* Fix a reassociate crash on sozefx when compiling with dragonegg+gcc-4.7 due toDuncan Sands2012-06-292-5/+24
| | | | | | | the optimizers producing a multiply expression with more multiplications than the original (!). llvm-svn: 159426
* [asan] get rid of libc's sscanf as it causes infinite recursion on Fedora. Kostya Serebryany2012-06-294-24/+48
| | | | llvm-svn: 159424
* Speculative update to Polly for LLVM r159421 which moved IRBuilder.h. Chandler Carruth2012-06-294-4/+4
| | | | llvm-svn: 159423
* Update Clang to reflect the new home of IRBuilder.h as of r159421.Chandler Carruth2012-06-291-1/+1
| | | | llvm-svn: 159422
* Move llvm/Support/IRBuilder.h -> llvm/IRBuilder.hChandler Carruth2012-06-2950-184/+187
| | | | | | | | | | | | | | | | | This was always part of the VMCore library out of necessity -- it deals entirely in the IR. The .cpp file in fact was already part of the VMCore library. This is just a mechanical move. I've tried to go through and re-apply the coding standard's preferred header sort, but at 40-ish files, I may have gotten some wrong. Please let me know if so. I'll be committing the corresponding updates to Clang and Polly, and Duncan has DragonEgg. Thanks to Bill and Eric for giving the green light for this bit of cleanup. llvm-svn: 159421
* [ASan] cmake unit tests: explicitly add necessary linker flags when linking ↵Alexey Samsonov2012-06-291-2/+6
| | | | | | unit tests with asan runtime llvm-svn: 159420
* [ASan] cmake-based unit tests: merge instrumented and non-instrumented files ↵Alexey Samsonov2012-06-291-34/+30
| | | | | | into one test binary llvm-svn: 159419
* Update the CMake files.Bill Wendling2012-06-292-1/+1
| | | | llvm-svn: 159417
* Sphinxify the Atomics documentation.Bill Wendling2012-06-292-569/+441
| | | | llvm-svn: 159416
* Update based on move of DIBuilder.h to include/llvm.Bill Wendling2012-06-292-2/+2
| | | | llvm-svn: 159415
* The DIBuilder class is just a wrapper around debug info creationBill Wendling2012-06-298-9/+9
| | | | | | | (a.k.a. MDNodes). The module doesn't belong in Analysis. Move it to the VMCore instead. llvm-svn: 159414
* From Philippe Canal:Axel Naumann2012-06-292-8/+27
| | | | | | | | | | Update the two function overloads void TemplateSpecializationType::PrintTemplateArgumentList(raw_ostream &OS,.... to behave like std::string TemplateSpecializationType::PrintTemplateArgumentList(const TemplateArgument *Args,... hence making sure that clang consistently adds a space between two '>' at the end of nested template arguments. llvm-svn: 159412
* Revert "Make NumMicroOps a variable in the subtarget's instruction itinerary."Andrew Trick2012-06-299-79/+62
| | | | | | This reverts commit r159406. I noticed a performance regression so I'll back out for now. llvm-svn: 159411
* X86: add more GATHER intrinsics in ClangManman Ren2012-06-292-0/+178
| | | | | | | | | | | | | | Support the following intrinsics: _mm_i32gather_pd, _mm256_i32gather_pd, _mm_i64gather_pd, _mm256_i64gather_pd, _mm_i32gather_ps, _mm256_i32gather_ps, _mm_i64gather_ps, _mm256_i64gather_ps, _mm_i32gather_epi64, _mm256_i32gather_epi64, _mm_i64gather_epi64, _mm256_i64gather_epi64, _mm_i32gather_epi32, _mm256_i32gather_epi32, _mm_i64gather_epi32, _mm256_i64gather_epi32 llvm-svn: 159410
* In the initial exec mode we always do a load to find the address of a variable.Rafael Espindola2012-06-292-9/+10
| | | | | | | | | Before this patch in pic 32 bit code we would add the global base register and not load from that address. This is a really old bug, but before the introduction of the tls attributes we would never select initial exec for pic code. llvm-svn: 159409
* misched: avoid scheduling instructions that can't be dispatched.Andrew Trick2012-06-291-6/+29
| | | | llvm-svn: 159408
OpenPOWER on IntegriCloud