summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* MOVi16 (movw) is only legal on cpus with V6T2 support. rdar://12300648Evan Cheng2012-09-183-3/+16
| | | | llvm-svn: 164169
* Add an extra check for invalid decls in the lambda semantic analysis to ↵Eli Friedman2012-09-182-0/+12
| | | | | | avoid a crash. PR13860. llvm-svn: 164168
* Remove invalid double colon in test case was previously ignored by FileCheck.Benjamin Kramer2012-09-181-1/+1
| | | | llvm-svn: 164167
* FileCheck: Fix off-by-one bug that made CHECK-NOT: ignore the next character ↵Benjamin Kramer2012-09-183-3/+12
| | | | | | after the colon. llvm-svn: 164165
* Objective-C runtime class descriptors can nowSean Callanan2012-09-183-8/+120
| | | | | | | | | | | populate Clang ObjCInterfaceDecls with their ivars, methods, and properties. The default implementation does nothing. I have also made sure that AppleObjCRuntimeV2 creates ObjCInterfaceDecls that actually get queried appropriately. llvm-svn: 164164
* Add test for r164155 and remove two tests superseded by ppc64-calls.ll.Roman Divacky2012-09-183-32/+14
| | | | llvm-svn: 164162
* Add hidden flag to exclude aliases from output.Jan Sjödin2012-09-182-2/+31
| | | | llvm-svn: 164158
* Add a MapVector class. It provides a regular set iteration, butRafael Espindola2012-09-181-0/+153
| | | | | | also provides a insertion order iteration over the values. llvm-svn: 164157
* <rdar://problem/11398693> Making sure we do not attempt to run code on ↵Enrico Granata2012-09-181-3/+5
| | | | | | zombie objects when attempting to format them llvm-svn: 164156
* Fix the isLocalCall() by checking for linker weakness as well.Roman Divacky2012-09-181-1/+2
| | | | llvm-svn: 164155
* TargetSchedule: cleanup computeOperandLatency logic & diagnostics.Andrew Trick2012-09-181-6/+16
| | | | llvm-svn: 164154
* misched: Make ScheduleDAGInstrs use the TargetSchedule interface.Andrew Trick2012-09-181-16/+14
| | | | llvm-svn: 164153
* <rdar://problem/12219840>Greg Clayton2012-09-182-4/+27
| | | | | | Don't leak mach ports when calling "mach_thread_self()". llvm-svn: 164152
* Fix a potential issue where data formatters can get confused over malformed ↵Enrico Granata2012-09-181-1/+4
| | | | | | UUIDs llvm-svn: 164151
* Revert r164051.Akira Hatanaka2012-09-181-4/+0
| | | | llvm-svn: 164150
* <rdar://problem/12161825> Rephrase formatter for NSIndexSet in terms of ↵Enrico Granata2012-09-183-4/+4
| | | | | | indexes instead of objects llvm-svn: 164149
* Stop using the "%z" size_t modifier and cast all size_t values to uint64_t. ↵Greg Clayton2012-09-1844-162/+169
| | | | | | Some platforms don't support this modification. llvm-svn: 164148
* LSR critical edge splitting fix for PR13756.Andrew Trick2012-09-182-14/+56
| | | | llvm-svn: 164147
* Fix getCommonType in a different way from the way I fixed it whenChandler Carruth2012-09-182-3/+3
| | | | | | | | | | | | working on FCA splitting. Instead of refusing to form a common type when there are uses of a subsection of the alloca as well as a use of the entire alloca, just skip the subsection uses and continue looking for a whole-alloca use with a type that we can use. This produces slightly prettier IR I think, and also fixes the other failure in the test. llvm-svn: 164146
* minor refactoring of my last check-in.Fariborz Jahanian2012-09-181-2/+2
| | | | llvm-svn: 164145
* <rdar://problem/11988289> Making C++ synthetic children provider for ↵Enrico Granata2012-09-187-8/+622
| | | | | | NSDictionary and related classes llvm-svn: 164144
* c: warn when an integer value comparison with anFariborz Jahanian2012-09-189-47/+262
| | | | | | | | integral expression have the obvious result. Patch reviewed by John McCall off line. // rdar://12202422 llvm-svn: 164143
* Fix build for compilers that don't understand injected class names properly.Benjamin Kramer2012-09-181-2/+2
| | | | llvm-svn: 164142
* Avoid symbol name clash when filling TOC.Roman Divacky2012-09-184-3/+42
| | | | | | Patch by Adhemerval Zanella. llvm-svn: 164141
* SROA: Use CRTP for OpSplitter to get rid of virtual dispatch and the ↵Benjamin Kramer2012-09-181-8/+7
| | | | | | virtual-dtor warnings that come with it. llvm-svn: 164140
* On PPC64 emit the environment pointer. Patch by Adhemerval Zanella.Roman Divacky2012-09-183-0/+4
| | | | llvm-svn: 164139
* Optimize local func calls to not emit nop for TOC restoration.Roman Divacky2012-09-182-2/+59
| | | | | | Patch by Adhemerval Zanella. llvm-svn: 164138
* Add PowerPC64 relocation definitions. Patch by Adhemerval Zanella!Roman Divacky2012-09-181-0/+15
| | | | llvm-svn: 164137
* SROA: Replace the member function template contraption for recursively ↵Benjamin Kramer2012-09-181-97/+105
| | | | | | | | splitting aggregates into a real class. No intended functionality change. llvm-svn: 164135
* Add test for r164132.Roman Divacky2012-09-181-0/+7
| | | | llvm-svn: 164134
* Follow up on llvm r164132.Roman Divacky2012-09-181-2/+2
| | | | llvm-svn: 164133
* When creating MCAsmBackend pass the CPU string as well. In X86AsmBackendRoman Divacky2012-09-1813-50/+71
| | | | | | | | | store this and use it to not emit long nops when the CPU is geode which doesnt support them. Fixes PR11212. llvm-svn: 164132
* Warn about self references in in-class initializers.Hans Wennborg2012-09-182-95/+128
| | | | | | | | | | | | | | This makes Clang warn about self references in in-class initializers, for example: struct S { int a = a + 42; }; This basically just moves UninitializedFieldVisitor up a bit in SemaDeclCXX.cpp, and adds a call to it from ActOnCXXInClassMemberInitializer. llvm-svn: 164131
* SROA.cpp: Appease msvc.NAKAMURA Takumi2012-09-181-1/+1
| | | | | | ...I don't know why this could appease msvc...baad. llvm-svn: 164130
* llvm/test/DebugInfo: Move two tests, 2010-04-13-PubType.ll and ↵NAKAMURA Takumi2012-09-182-0/+0
| | | | | | linkage-name.ll to X86. llvm-svn: 164129
* XFAIL SROA test until Chandler can get to it.Benjamin Kramer2012-09-181-0/+1
| | | | llvm-svn: 164128
* Fix isDerivedFrom matcher.Daniel Jasper2012-09-182-0/+11
| | | | | | | | | | | | | Without this patch, the isDerivedFrom matcher asserts in the "assert(ClassDecl != NULL);" in the new test, as a DependentTemplateSpecilizationType is not a sub-type of TemplateSpecializationType and also does not offer getAsCXXRecordDecl(). I am not sure why this did not cause problems before. It is now (after the changed implementation of isDerivedFrom) easier to write a matcher that actually gets into this branch of the code. llvm-svn: 164127
* Coding standards: fix typo: '= deleted' -> '= delete'.Dmitri Gribenko2012-09-181-2/+2
| | | | llvm-svn: 164126
* Make MachinePostDominatorTree::DT privateTom Stellard2012-09-181-2/+4
| | | | llvm-svn: 164125
* LNT builders have picked up new SROA, disable it to get the remaining ↵Benjamin Kramer2012-09-181-1/+1
| | | | | | builders green again. llvm-svn: 164124
* Add missing matcher for C-style cast expressions.Daniel Jasper2012-09-182-0/+24
| | | | | | Patch by Gábor Horváth. llvm-svn: 164123
* Disable some tests that fail when the x86 backend isn't built.Benjamin Kramer2012-09-182-0/+3
| | | | llvm-svn: 164122
* Make all VariadicDynCast-Expr-matchers StatementMatchersDaniel Jasper2012-09-182-82/+76
| | | | | | | | | | Having Expr-subclass-matchers being VariadicDynCast-Expr-matchers does not provide additional type safety and just makes using them harder. In the clang AST, expressions are always statements and an expression matcher can be used anywhere, a statement matcher is expected. Any given matcher definition still has at least one noun. llvm-svn: 164121
* Fix a warning in release builds and a test case I forgot to update withChandler Carruth2012-09-182-1/+2
| | | | | | a fix to getCommonType in the previous patch. llvm-svn: 164120
* Add a major missing piece to the new SROA pass: aggressive splitting ofChandler Carruth2012-09-183-8/+270
| | | | | | | | | | | | | | | | | | | | | | | FCAs. This is essential in order to promote allocas that are used in struct returns by frontends like Clang. The FCA load would block the rest of the pass from firing, resulting is significant regressions with the bullet benchmark in the nightly test suite. Thanks to Duncan for repeated discussions about how best to do this, and to both him and Benjamin for review. This appears to have blocked many places where the pass tries to fire, and so I'm expect somewhat different results with this fix added. As with the last big patch, I'm including a change to enable the SROA by default *temporarily*. Ben is going to remove this as soon as the LNT bots pick up the patch. I'm just trying to get a round of LNT numbers from the stable machines in the lab. NOTE: Four clang tests are expected to fail in the brief window where this is enabled. Sorry for the noise! llvm-svn: 164119
* Intercept signal() and sigaction() within the dynamic runtime on Mac.Alexander Potapenko2012-09-182-1/+38
| | | | | | Add a test that ensures that ASan does not allow to override the signal handlers. llvm-svn: 164118
* Fix instcombine to obey requested alignment when merging allocas.Richard Osborne2012-09-182-3/+31
| | | | llvm-svn: 164117
* [TSan] s/uintptr_t/intptr_t in TSan test and enforce stack size limit in one ↵Alexey Samsonov2012-09-182-1/+3
| | | | | | of TSan output tests that somewhy fails otherwise llvm-svn: 164116
* [TSan] fix a typo in test dependencies. Silence few remaining pedantic gcc ↵Alexey Samsonov2012-09-184-6/+12
| | | | | | warnings in TSan tests. llvm-svn: 164115
* More domain conversion; convert VFP VMOVS to NEON instructions in more cases ↵James Molloy2012-09-182-15/+74
| | | | | | - when we may clobber the other S-lane by converting an S to a D instruction, make an effort to work out if the S lane is clobberable or not. llvm-svn: 164114
OpenPOWER on IntegriCloud