summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixed SmallMap test. The order of items is undefined in DenseMap. So being ↵Stepan Dyatkovskiy2012-04-261-10/+24
| | | | | | checking the increment for big mode, we can only check that all items are in map. llvm-svn: 155651
* [PCH] In ASTReader::completeVisibleDeclsMap, after we loaded all visible ↵Argyrios Kyrtzidis2012-04-261-0/+1
| | | | | | | | | | | decls, mark the declaration context as not having external visible storage any more. This should improve performance as we won't needlessly reload the visible decls multiple times and seems to fix the i386 crash in rdar://11327522. llvm-svn: 155649
* Fix a crash-on-invalid where the constant evaluator would try toJohn McCall2012-04-262-0/+12
| | | | | | evaluate certain expressions involving invalidly-defined classes. llvm-svn: 155645
* Patch from Filipe Cabecinhas.Greg Clayton2012-04-261-4/+0
| | | | llvm-svn: 155644
* Patch from Filipe Cabecinhas.Greg Clayton2012-04-261-2/+0
| | | | llvm-svn: 155642
* Patch from Filipe Cabecinhas.Greg Clayton2012-04-261-1/+0
| | | | llvm-svn: 155641
* Patch from Filipe Cabecinhas.Greg Clayton2012-04-261-2/+2
| | | | llvm-svn: 155640
* Patch from Filipe Cabecinhas.Greg Clayton2012-04-261-7/+2
| | | | llvm-svn: 155639
* Save more memory by not parsing the symbol table for stand alone DWARF ↵Greg Clayton2012-04-265-45/+28
| | | | | | files. We currently have SymbolFile plug-ins which all get the chance to say what they can parse in a symbol file. Prior to this fix we would ask the SymbolFileDWARF plug-in what abilities it had, and it would answer with "everything", and then we would check the SymbolFileSymtab plug-in what abilities it had, in case it had more abilities. The checking that SymbolFileSymtab does is a bit expensive as it pulls in the entire symbol table just to see if it can offer a few scraps of debug information. This causes all stand along DWARF files to pull in their symbol tables even though those symbols will never be used. This fix will check all SymbolFile plug-ins for their abilities and if any plug-in responds with "everything", then we stop the search. llvm-svn: 155638
* Remove the group from -fhonor_infinites/-fno_honor_infinites aliases. AliasesChad Rosier2012-04-261-4/+2
| | | | | | | with groups are unsupported. rdar://11324283 llvm-svn: 155637
* 1. Add a header guard for RegisterPasses.h to prevent multiple inclusion.Hongbin Zheng2012-04-262-3/+10
| | | | | | 2. Include the helper function and the helper class in the RegisterPasses.h into the polly namespace. llvm-svn: 155636
* Further simplify parallelism testTobias Grosser2012-04-261-5/+1
| | | | llvm-svn: 155634
* Define __ANDROID__ macro on -androideabi targets.Evgeniy Stepanov2012-04-262-0/+5
| | | | llvm-svn: 155632
* Adds a tutorial on how to write RAV based ASTFrontendActions.Manuel Klimek2012-04-261-0/+221
| | | | llvm-svn: 155631
* Use VLD1 in NEON extenting-load patterns instead of VLDR.Tim Northover2012-04-262-58/+65
| | | | | | | On some cores it's a bad idea for performance to mix VFP and NEON instructions and since these patterns are NEON anyway, the NEON load should be used. llvm-svn: 155630
* Reverted unintentional commit.Manuel Klimek2012-04-262-223/+1
| | | | llvm-svn: 155629
* MIPS: Add tests to check the debian multiarch stuff for mips and mipsel targets.Simon Atanasyan2012-04-2615-0/+24
| | | | llvm-svn: 155628
* Adds a small tutorial on how to write RAV based ASTFrontendActions.Manuel Klimek2012-04-262-1/+223
| | | | llvm-svn: 155627
* Test commit.Tim Northover2012-04-261-2/+0
| | | | llvm-svn: 155626
* Fix errors when building with GCC 4.6.1 -std=c++0x, which requiresJay Foad2012-04-261-2/+2
| | | | | | "friend class Foo;" instead of just friend Foo;". llvm-svn: 155625
* Enable AVX/AVX2 for Sandy Bridge, Ivy Bridge, and Haswell CPUs.Craig Topper2012-04-262-12/+6
| | | | llvm-svn: 155624
* Update checker build link, and remove stale links.Ted Kremenek2012-04-262-6/+10
| | | | llvm-svn: 155622
* PR12647: An alias template instantiation which occurs in a SFINAE context isRichard Smith2012-04-262-1/+33
| | | | | | itself a SFINAE context. llvm-svn: 155621
* Enable detection of AVX and AVX2 support through CPUID. Add AVX/AVX2 to ↵Craig Topper2012-04-262-13/+9
| | | | | | corei7-avx, core-avx-i, and core-avx2 cpu names. llvm-svn: 155618
* Add an Error string specifically for when we hit an ENOMEM whenJason Molenda2012-04-261-0/+4
| | | | | | | trying to mmap a file fails so parent caller function can provide helpful information to use about what went wrong. llvm-svn: 155617
* Teach the reassociate pass to fold chains of multiplies with repeatedChandler Carruth2012-04-262-10/+346
| | | | | | | | | | | | | | | | | elements to minimize the number of multiplies required to compute the final result. This uses a heuristic to attempt to form near-optimal binary exponentiation-style multiply chains. While there are some cases it misses, it seems to at least a decent job on a very diverse range of inputs. Initial benchmarks show no interesting regressions, and an 8% improvement on SPASS. Let me know if any other interesting results (in either direction) crop up! Credit to Richard Smith for the core algorithm, and helping code the patch itself. llvm-svn: 155616
* [analyzer] check lazy bindings in RegionStore first before looking for ↵Ted Kremenek2012-04-262-8/+24
| | | | | | default values. Fixes <rdar://problem/11269741>. llvm-svn: 155615
* Teach RetainCountChecker that it doesn't quite understand ↵Ted Kremenek2012-04-262-3/+17
| | | | | | pthread_setspecific and it should just give up when it sees it. Fixes <rdar://problem/11282706>. llvm-svn: 155613
* PR12660: Don't crash when initializing a const reference from a braced init listRichard Smith2012-04-262-1/+8
| | | | | | which creates a temporary by calling a constructor. llvm-svn: 155608
* Fix a long-standing bug where Clang had a different default from GCC onChandler Carruth2012-04-262-11/+17
| | | | | | | | | | | | | | | Linux and other (non-Darwin) platforms and have it use -fmath-errno by default (for better or worse). Darwin has seen the light here and uses -fno-math-errno by default, this patch preserves that. If any maintainers for a non-Linux platform would also like to opt-in to -fno-math-errno by default, I'm happy to add folks, but we're currently getting buts and misleading comparisons with GCC due to this difference in behavior on Linux at least. llvm-svn: 155607
* Two missing -Wc++98-compat warnings, for null pointers as non-type templateRichard Smith2012-04-264-0/+31
| | | | | | arguments, and 'this' in exception-specifications. llvm-svn: 155606
* Automatically enabling the Cocoa formatter categories for command-line LLDB. ↵Enrico Granata2012-04-266-59/+10
| | | | | | Previously, the categories were filled in but disabled by default. Tweaking test cases appropriately to keep working and do the right thing llvm-svn: 155605
* Specify cpu to unbreak tests.Evan Cheng2012-04-2616-17/+17
| | | | llvm-svn: 155604
* Reject cases likeRafael Espindola2012-04-263-0/+13
| | | | | | | | | struct __attribute__((visibility("hidden"))) a; struct __attribute__((visibility("default"))) b; which gcc already rejects. llvm-svn: 155603
* If triple is armv7 / thumbv7 and a CPU is specified, do not automatically assumeEvan Cheng2012-04-264-14/+30
| | | | | | | | | | the feature set of v7a. This comes about if the user specifies something like -arch armv7 -mcpu=cortex-m3. We shouldn't be generating instructions such as uxtab in this case. rdar://11318438 llvm-svn: 155601
* <rdar://problem/11271074>Greg Clayton2012-04-261-14/+42
| | | | | | | | <rdar://problem/11285931> Use the DWARRF end prologue markers when trying to skip prologue instructions instead of blindly using the second line table address entry. llvm-svn: 155600
* Don't forget to reset 'first operand' flag when we're setting the ↵Bill Wendling2012-04-261-5/+8
| | | | | | MDNodeOperand value. llvm-svn: 155599
* If a type is non-literal by virtue of being incomplete produce notesRichard Smith2012-04-253-5/+12
| | | | | | explaining that. llvm-svn: 155598
* RecursiveASTVisitor: When in 'shouldVisitTemplateInstantiations' mode, visitRichard Smith2012-04-252-55/+117
| | | | | | | | | | | all instantiations of a template when we visit the canonical declaration of the primary template, rather than trying to match them up to the partial specialization from which they are instantiated. This fixes a bug where we failed to visit instantiations of partial specializations of member templates of class templates, and naturally extends to allow us to visit instantiations where we have instantiated only a declaration. llvm-svn: 155597
* Typo.Chad Rosier2012-04-251-1/+1
| | | | llvm-svn: 155596
* Patch from Viktor Kutuzov: changes the method declarations to const for the ↵Greg Clayton2012-04-252-4/+4
| | | | | | Args::GetCommandString and Agrs::GetQuotedCommandString methods. It allows using of these methods within the other const methods. llvm-svn: 155593
* Make the libheap.dylib build into a consistent temp directory so it can be ↵Greg Clayton2012-04-251-9/+13
| | | | | | | | reused between lldb invocations. Also add the module name into the directory path that is used to store the target triple specific build of libheap.dylib. Also added code that will rebuild libheap.dylib if heap_find.cpp is newer that libheap.dylib. llvm-svn: 155590
* Try to fix llvm-arm-linux builder with -mcpu.Jakob Stoklund Olesen2012-04-251-1/+1
| | | | llvm-svn: 155589
* fix some typos and punctuationGabor Greif2012-04-251-4/+4
| | | | llvm-svn: 155588
* Trivial change to make the test use -mcpu=generic so as to avoidPreston Gurd2012-04-251-1/+1
| | | | | | a failure if run on an Intel Atom with post RA instruction scheduling. llvm-svn: 155587
* Fixing a typo in the NSArray data formatterEnrico Granata2012-04-251-1/+1
| | | | llvm-svn: 155586
* objective-c modern translator: more tests.Fariborz Jahanian2012-04-255-1/+81
| | | | llvm-svn: 155585
* [docs] Minor spelling fix. Thanks Gabor!Michael J. Spencer2012-04-251-2/+2
| | | | llvm-svn: 155581
* Add an error message with fixit hint for changing '.' to '->'.Kaelyn Uhrain2012-04-255-4/+99
| | | | | | | | | This is mainly for attempting to recover in cases where a class provides a custom operator-> and a '.' was accidentally used instead of '->' when accessing a member of the object returned by the current object's operator->. llvm-svn: 155580
* Make sure the end of the first line is still within the function, and if ↵Jim Ingham2012-04-251-1/+6
| | | | | | | | not, don't push the prologue past it. rdar://problem/11271074 llvm-svn: 155579
OpenPOWER on IntegriCloud