summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* AutoUpgrade: upgrade from scalar TBAA format to struct-path aware TBAA format.Manman Ren2013-09-287-0/+72
| | | | | | | We treat TBAA tags as struct-path aware TBAA format when the first operand is a MDNode and the tag has 3 or more operands. llvm-svn: 191593
* Typo correction: _int64 -> __int64.Warren Hunt2013-09-281-1/+1
| | | | llvm-svn: 191592
* [mips] Make sure loads from lazy-binding entries do not get CSE'd or hoisted outAkira Hatanaka2013-09-288-28/+90
| | | | | | | | | | | | | | | | | | | | | | | | | of loops. Previously, two consecutive calls to function "func" would result in the following sequence of instructions: 1. load $16, %got(func)($gp) // load address of lazy-binding stub. 2. move $25, $16 3. jalr $25 // jump to lazy-binding stub. 4. nop 5. move $25, $16 6. jalr $25 // jump to lazy-binding stub again. With this patch, the second call directly jumps to func's address, bypassing the lazy-binding resolution routine: 1. load $25, %got(func)($gp) // load address of lazy-binding stub. 2. jalr $25 // jump to lazy-binding stub. 3. nop 4. load $25, %got(func)($gp) // load resolved address of func. 5. jalr $25 // directly jump to func. llvm-svn: 191591
* Implements some of the more commonly used intrinsics in Intrin.hWarren Hunt2013-09-271-0/+412
| | | | | | Differential Revision: http://llvm-reviews.chandlerc.com/D1766 llvm-svn: 191590
* Don't suggest namespaces if the next token is a '.'Kaelyn Uhrain2013-09-272-0/+10
| | | | llvm-svn: 191589
* Mark armv6m as "compatible" with armv7 - that's theJason Molenda2013-09-271-1/+1
| | | | | | | | closest ISA. armv6 wouldn't have the handful of T32 instructions that the Cortex-M0 ISA specifies. <rdar://problem/15099306> llvm-svn: 191588
* Add definitions for "armv6m", which indicates a Cortex-M0 processor.Jason Molenda2013-09-274-61/+111
| | | | | | | It uses the T16 and a few T32 instructions from the ARMv7-A ISA. <rdar://problem/15099306> llvm-svn: 191587
* TBAA: use the same format for scalar TBAA and struct-path aware TBAA.Manman Ren2013-09-277-28/+33
| | | | | | | Struct-path aware TBAA generates tags to specify the access path, while scalar TBAA only generates tags to scalar types. llvm-svn: 191586
* TBAA: try to fix the dragonegg bots.Manman Ren2013-09-271-1/+3
| | | | llvm-svn: 191585
* ObjectiveC migrator. Infer property from getters onlyFariborz Jahanian2013-09-273-1/+19
| | | | | | | if property name is a valid identifier in the underlying language. // rdar://15044184 llvm-svn: 191584
* Add a comment to ReaderCOFF::parseFile.Rui Ueyama2013-09-271-0/+4
| | | | llvm-svn: 191583
* Unify conditionals and reformat.Eric Christopher2013-09-271-16/+16
| | | | llvm-svn: 191582
* [mach-o] switch to use llvm::MachO:: constantsNick Kledzik2013-09-274-49/+51
| | | | | | Stop using some locally defined mach-o constants. llvm-svn: 191581
* Re-submit [PECOFF] Add a test for the import table.Rui Ueyama2013-09-271-0/+10
| | | | llvm-svn: 191580
* Minor code simplificationMatt Arsenault2013-09-271-11/+8
| | | | llvm-svn: 191579
* [mips] Define a derived class of PseudoSourceValue that represents a GOT entryAkira Hatanaka2013-09-272-0/+106
| | | | | | resolved by lazy-binding. llvm-svn: 191578
* Implementation of N3760 which is planned to be voted into C++14's draftChandler Carruth2013-09-271-1/+1
| | | | | | | | | tomorrow is complete. There is a missing warning due to a serious issue with template instantiation in Clang (and potentially in the core language). llvm-svn: 191577
* Use right pointer type in DebugIRMatt Arsenault2013-09-272-1/+14
| | | | llvm-svn: 191576
* Missed a change that didn't have an issue number 'GB 9'Marshall Clow2013-09-271-0/+1
| | | | llvm-svn: 191575
* Use type helper functionsMatt Arsenault2013-09-273-6/+4
| | | | llvm-svn: 191574
* Updated table with results from ChicagoMarshall Clow2013-09-271-6/+32
| | | | llvm-svn: 191573
* Fix a bug where we failed to diagnose class template specializationChandler Carruth2013-09-272-2/+6
| | | | | | | | | uses. This fixes one of the two remaining failures to implement [[deprecated]] as specified for C++14. llvm-svn: 191572
* Rework conditional for printing out pub sections.Eric Christopher2013-09-271-7/+5
| | | | llvm-svn: 191571
* [stackprotector] Refactor the StackProtector pass from a single .cpp file ↵Josh Magee2013-09-272-70/+98
| | | | | | | | | | | | | | into StackProtector.h and StackProtector.cpp. No functionality change. Future patches will add analysis which will be used in other passes (PEI, StackSlot). The end goal is to support ssp-strong stack layout rules. WIP. Differential Revision: http://llvm-reviews.chandlerc.com/D1521 llvm-svn: 191570
* Object/COFF: Rename getXXX{Begin,End} -> xxx_{begin,end}.Rui Ueyama2013-09-278-30/+30
| | | | | | | It is mentioned in the LLVM coding standard that _begin() and _end() suffixes should be used. llvm-svn: 191569
* Fix OS Version reporting bug detected by TestPlatform for some Linux 3.x ↵Daniel Malea2013-09-271-1/+8
| | | | | | | | kernels that do not report the update version - should resolve the current failure on the Linux clang buildbot llvm-svn: 191568
* [ELF] Handle copy relocations for PC32.Michael J. Spencer2013-09-273-1/+7
| | | | | | | | This will eventually need to be refactored to better handle COPY relocations, as other relocations can also generate them. I'm not yet sure the exact circumstances in which they are needed yet. llvm-svn: 191567
* [ELF] Mark STT_GNU_IFUNC symbols as code.Michael J. Spencer2013-09-273-0/+10
| | | | llvm-svn: 191566
* Resurrect lit.local.cfg to un-break hexagon buildbot.Rui Ueyama2013-09-271-0/+3
| | | | llvm-svn: 191565
* Fix SLPVectorizer using wrong address space for load/storeMatt Arsenault2013-09-273-4/+76
| | | | llvm-svn: 191564
* SourceMgr diagnotics printing: fix a bug where printing a fixit for a sourceDmitri Gribenko2013-09-272-1/+13
| | | | | | | range that includes a tab character will cause out-of-bounds access to the fixit string. llvm-svn: 191563
* Note that modules are supported for C/Objective-C, and have syntax in ObjC.Douglas Gregor2013-09-271-13/+14
| | | | llvm-svn: 191562
* Clarifying doc about cross-compilingRenato Golin2013-09-271-1/+5
| | | | llvm-svn: 191561
* docs: Document CXXLiteralOperatorName and CXXUsingDirectiveJustin Bogner2013-09-271-2/+17
| | | | llvm-svn: 191560
* docs: Remove note about Identifiers being used for C++ operatorsJustin Bogner2013-09-271-4/+0
| | | | | | | C++ operators are represented by CXXOperatorName now, which is already documented. llvm-svn: 191559
* Make SourceMgr::PrintMessage() testable and add unit testsDmitri Gribenko2013-09-274-4/+178
| | | | llvm-svn: 191558
* Re-submit r191472 with a fix for big endian.Rui Ueyama2013-09-2715-160/+406
| | | | | llvm-objdump: Dump COFF import table if -private-headers option is given. llvm-svn: 191557
* Convert ClangASTType::GetTypeName over to return a ConstString to be ↵Jim Ingham2013-09-274-13/+12
| | | | | | | | consistent with the other "Get*TypeName" functions. llvm-svn: 191556
* If you erase while iterating, remember to update the iterator. Bug found by ↵Jim Ingham2013-09-271-2/+2
| | | | | | Carlo Kok. llvm-svn: 191555
* Update the help text.Rafael Espindola2013-09-271-1/+1
| | | | llvm-svn: 191554
* Update.Bill Wendling2013-09-271-2/+2
| | | | llvm-svn: 191553
* InstCombine: Only foldSelectICmpAndOr for integer typesJustin Bogner2013-09-272-1/+11
| | | | | | | | | | Currently foldSelectICmpAndOr asserts if the "or" involves a vector containing several of the same power of two. We can easily avoid this by only performing the fold on integer types, like foldSelectICmpAnd does. Fixes <rdar://problem/15012516> llvm-svn: 191552
* Replace -fobjc-default-synthesize-properties with ↵Rafael Espindola2013-09-2755-84/+75
| | | | | | | | | disable-objc-default-synthesize-properties. We want the modern behavior most of the time, so inverting the option simplifies the driver and the tests. llvm-svn: 191551
* Implement N3760, support for the [[deprecated]] attribute.Chandler Carruth2013-09-272-1/+31
| | | | | | | | | | | | | | | | | | | This motion appears to have consensus in the C++ committee and is expected to be voted into the C++14 draft tomorrow during the formal vote. No extension warning in C++11 as attributes not specified in the standard using the standard syntax in C++11 have implementation defined meaning, and we define the meaning proposed for C++14. There is one bug exposed as we do not warn on a deprecated template specialization. I've left a FIXME in the test case and will dig into that next. Also, I will add a few more exhaustive test cases of the other features specified for this attribute in a follow-up commit. llvm-svn: 191550
* Mark variable template implementation as complete. Nearly all of the creditRichard Smith2013-09-274-7/+19
| | | | | | here goes to Larisse Voufo. llvm-svn: 191549
* Variable templates: handle instantiation of static data member templatesRichard Smith2013-09-2714-238/+410
| | | | | | appropriately, especially when they appear within class templates. llvm-svn: 191548
* Comment out links for papers that aren't up yet.Richard Smith2013-09-271-3/+3
| | | | llvm-svn: 191547
* [mips] Rewrite MipsTargetLowering::getAddr functions as template functions.Akira Hatanaka2013-09-273-81/+135
| | | | | | No intended functionality change. llvm-svn: 191546
* Don't give suggest things like function names on the left side of "=".Kaelyn Uhrain2013-09-273-3/+9
| | | | llvm-svn: 191545
* Avoid the hard-coded limit on the number of typo corrections attempted.Kaelyn Uhrain2013-09-273-48/+66
| | | | | | | | | | | | | | | Move some tests from typo-correction.cpp to typo-correction-pt2.cpp because they were running afoul of the hard-coded limit of 20 typos corrected. Some of the tests after it were still working due to the limit not applying to cached corrections and in cases where a non-NULL MemberContext is passed in to Sema::CorrectTypo. Most of the moved tests still passed after being moved, but the test involving "data_struct" had only been passing because the test had exceeded that limit so a fix for it is also included (most of the changes to ParseStmt.cpp are shared with and originated from another typo correction impovement that was split into a separate commit). llvm-svn: 191544
OpenPOWER on IntegriCloud