summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change TargetLowering::getLoadExtAction to take an MVT, instead ofPatrik Hagglund2012-12-142-6/+6
| | | | | | EVT. llvm-svn: 170183
* Have Sema::ActOnStartOfFunctionDef return the declaration that was passed it.Argyrios Kyrtzidis2012-12-142-4/+4
| | | | | | | | | | | | | | | | | | | | This fixes the missing warning here: struct S { template <typename T> void meth() { char arr[3]; arr[4] = 0; // warning: array index 4 is past the end of the array } }; template <typename T> void func() { char arr[3]; arr[4] = 0; // no warning } llvm-svn: 170180
* Remove code from Sema::ActOnStartOfFunctionTemplateDef that duplicates whatArgyrios Kyrtzidis2012-12-141-7/+1
| | | | | | Sema::ActOnStartOfFunctionDef is already doing. llvm-svn: 170179
* fix another spelloNico Weber2012-12-141-1/+1
| | | | llvm-svn: 170177
* fix spelloNico Weber2012-12-141-1/+1
| | | | llvm-svn: 170176
* clang/test/CodeGenCXX/lambda-expressions.cpp: Relax expression for -Asserts.NAKAMURA Takumi2012-12-141-2/+2
| | | | | | "entry:" is not met in -Asserts build. llvm-svn: 170175
* Cleaned up the UUID mismatch just printing itself whenever it wants to by ↵Greg Clayton2012-12-149-29/+34
| | | | | | allowing an optional feedback stream to be passed along when getting the symbol vendor. llvm-svn: 170174
* <rdar://problem/12878674>Greg Clayton2012-12-141-1/+0
| | | | | | Remove debug asserts. llvm-svn: 170173
* revert r170166 - disable the loop vectorizer.Nadav Rotem2012-12-141-1/+1
| | | | llvm-svn: 170172
* Rmoved the old LLVM disassembler based on libedis.Sean Callanan2012-12-143-637/+0
| | | | llvm-svn: 170171
* Refactor dump methods to make RegionBindingsRef printable in the debugger.Ted Kremenek2012-12-141-9/+16
| | | | llvm-svn: 170170
* Made the struct test case actually use an expressionSean Callanan2012-12-141-1/+1
| | | | | | | instead of falling through to the "frame variable" code. llvm-svn: 170169
* Some incorrect debug information caused LLDBSean Callanan2012-12-141-1/+37
| | | | | | | | | | | | to report a structure with an array of size 1 at the end without accounting for that array when reporting the struct's total size to Clang. LLDB now coerces such an array to size 0. <rdar://problem/12822204> llvm-svn: 170168
* Trigger the display of error and output in sourced commands from the result ↵Enrico Granata2012-12-141-3/+4
| | | | | | | | | object's status instead of the presence of text in the error stream This should be more consistent with the notion of command success/failure and avoids spewing warnings that the user might not care about There will need to be an option to specify the level of verbosity desired (never show anything, only show failures, errors and warning, everything) llvm-svn: 170167
* Enable the loop vectorizer.Nadav Rotem2012-12-141-1/+1
| | | | llvm-svn: 170166
* Fix a parser_type to get created with the right AST, and also make variables ↵Greg Clayton2012-12-141-2/+2
| | | | | | made from symbols to not be "void * const", but just "void *". llvm-svn: 170165
* Make the test less sensitive to the inline threshold.Nadav Rotem2012-12-141-1/+1
| | | | llvm-svn: 170164
* Fixing the -f option so that one specify multiple filters, e.g.Enrico Granata2012-12-141-3/+3
| | | | | | | | ./dotest.py -C clang --arch x86_64 --arch i386 -v -t -f ObjCDataFormatterTestCase.test_appkit_with_dsym_and_run_command -f ObjCDataFormatterTestCase.test_appkit_with_dwarf_and_run_command -f TestObjCBuiltinTypes.test_with_dsym_and_python_api -f TestObjCBuiltinTypes.test_with_dwarf_and_python_api -f ObjCDataFormatterTestCase.test_appkit_with_dsym_and_run_command -f ObjCDataFormatterTestCase.test_appkit_with_dwarf_and_run_command -f TestObjCBuiltinTypes.test_with_dsym_and_python_api -f -TestObjCBuiltinTypes.test_with_dwarf_and_python_api The previous implementation would only remember the last filter passed, and consequently break redo.py llvm-svn: 170163
* Disable the loop vectorizer.Nadav Rotem2012-12-141-1/+1
| | | | llvm-svn: 170162
* <rdar://problem/11689939>Enrico Granata2012-12-134-6/+24
| | | | | | | | | | Supporting a compact display syntax for ObjC pointers where 0x00.....0 is replaced by a much more legible "nil" e.g. this would show: (NSArray *) $2 = nil instead of: (NSArray *) $2 = 0x0000000000000000 <nil> llvm-svn: 170161
* Make sure the __invoke function for lambdas returns properly. Per bug ↵Eli Friedman2012-12-132-0/+11
| | | | | | report on IRC> llvm-svn: 170160
* Use the new MI bundling API in MachineInstrBundle itself.Jakob Stoklund Olesen2012-12-131-4/+5
| | | | | | | The new API is higher level than just manipulating the bundle flags directly, and the setIsInsideBundle() function will disappear soon. llvm-svn: 170159
* Remove two popcount patterns which we are already able to recognize.Shuxin Yang2012-12-131-15/+0
| | | | llvm-svn: 170158
* Enable the Loop Vectorizer by default for O2 and O3. Disable if-conversion ↵Nadav Rotem2012-12-132-2/+2
| | | | | | by default. I plan to revert this patch later today. llvm-svn: 170157
* Debug Info: add support to mark member variables as artificialDavid Blaikie2012-12-132-0/+4
| | | | | | This is the LLVM portion of r170154. llvm-svn: 170156
* fix comment.Chris Lattner2012-12-131-1/+1
| | | | llvm-svn: 170155
* Debug Info: Emit vtables pointer members as artificial.David Blaikie2012-12-132-3/+8
| | | | | | | | | | | | I wasn't sure where to put the test case for this, but this seemed like as good a place as any. I had to reorder the tests here to make them legible while still matching the order of metadata output in the IR file (for some reason making it virtual changed the ordering). Relevant commit to fix up LLVM to actually respect 'artificial' member variables is coming once I write up a test case for it. llvm-svn: 170154
* Fixed a thinko in the handling of the case where more than one thread had ↵Jim Ingham2012-12-131-5/+9
| | | | | | | | | | stopped with real stop reasons at the same time. Should be that if any of the threads wants to stop, we should stop. The opposite was what was actually happening <rdar://problem/12869725> llvm-svn: 170153
* Removed the == and != operators from ArchSpec, sinceSean Callanan2012-12-1313-72/+37
| | | | | | | | | | | | equality can be strict or loose and we want code to explicitly choose one or the other. Also renamed the Compare function to IsEqualTo, to avoid confusion. <rdar://problem/12856749> llvm-svn: 170152
* [PCH] Make the new PCH format (control block) backwards compatible andArgyrios Kyrtzidis2012-12-133-12/+33
| | | | | | | | | | | | don't crash when loading a PCH with the older format. The introduction of the control block broke compatibility with PCHs from older versions. This patch allows loading (and rejecting) PCHs from an older version and allows newer PCHs to be rejected from older clang versions as well. rdar://12821386 llvm-svn: 170150
* This is another cleanup patch for 64-bit PowerPC TLS processing. I hadBill Schmidt2012-12-133-57/+11
| | | | | | | some hackery in place that hid my poor use of TblGen, which I've now sorted out and cleaned up. No change in observable behavior, so no new test cases. llvm-svn: 170149
* Change TargetLowering::setTypeAction to take an MVT, instead fo EVT.Patrik Hagglund2012-12-132-3/+3
| | | | llvm-svn: 170148
* Add support for current Ubuntu Quantal and the upcoming Raring.Rafael Espindola2012-12-131-1/+5
| | | | | | Patch by Martin Nowack. llvm-svn: 170147
* <rdar://problem/12700464>Enrico Granata2012-12-131-0/+13
| | | | | | Fixing an issue where errors in command files sourced as arguments to command-line lldb (e.g. ./lldb -s foo.cmd) would not be shown to the user llvm-svn: 170146
* docs: Improve discussion of syntax highlighting.Sean Silva2012-12-131-6/+19
| | | | llvm-svn: 170145
* Documentation: CompilerWriterInfo.rst: update link to Intel documentationDmitri Gribenko2012-12-131-1/+1
| | | | | | | | Replaces old Pentium 4 documentation link with generic current documentation link. Patch by Kevin Schoedel. llvm-svn: 170144
* Revert 170049 because it fails with an assertion on one of the spec2000 ↵Nadav Rotem2012-12-132-95/+26
| | | | | | workloads. llvm-svn: 170143
* Fix warnings with -DNDEBUGTom Stellard2012-12-133-2/+3
| | | | | | Patch by: NAKAMURA Takumi llvm-svn: 170142
* This is just a clean-up patch that simplifies the initial-exec TLS logic byBill Schmidt2012-12-134-19/+7
| | | | | | | avoiding use of machine operand flags. No change in observable behavior, so no new test cases. llvm-svn: 170141
* Change TargetLowering::getRepRegClassFor to take an MVT, instead ofPatrik Hagglund2012-12-135-15/+14
| | | | | | | | EVT. Accordingly, change RegDefIter to contain MVTs instead of EVTs. llvm-svn: 170140
* [analyzer] Fix doc error (wrong param name) in ObjCSuperCallChecker.Jordan Rose2012-12-131-1/+1
| | | | | | Thanks for the -Wdocumentation catch, Dmitri! llvm-svn: 170139
* isl: detect vector parallelismSebastian Pop2012-12-134-14/+67
| | | | llvm-svn: 170138
* Update CMake build corresponding to r170135.NAKAMURA Takumi2012-12-131-0/+3
| | | | | | Thanks to Saleem Abdulrasool, aka compnerd! llvm-svn: 170136
* Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the userRoman Divacky2012-12-136-13/+106
| | | | | | | | | | specifies not to. Dont build ASTMatchers with Rewriter disabled and StaticAnalyzer when it's disabled. Without all those three, the clang binary shrinks (x86_64) from ~36MB to ~32MB (unstripped). llvm-svn: 170135
* Add options to disable building of ARCMT, Rewriter and Static AnalyzerRoman Divacky2012-12-133-7/+187
| | | | | | in clang. The default remains to build those. llvm-svn: 170134
* Documentation: add AutomaticReferenceCounting.rst to the toctreeDmitri Gribenko2012-12-131-0/+1
| | | | llvm-svn: 170133
* Documentation: convert AutomaticReferenceCounting.html to reSTDmitri Gribenko2012-12-132-2226/+2061
| | | | | | Patch by Anastasi Voitova with with small fixes by me. llvm-svn: 170132
* tsan: fix compilation with -pedanticDmitry Vyukov2012-12-131-1/+1
| | | | llvm-svn: 170131
* Fix spellingJoel Jones2012-12-131-2/+2
| | | | llvm-svn: 170130
* JITEventListener.h: Use llvm-config.h instead of config.h.NAKAMURA Takumi2012-12-133-1/+13
| | | | llvm-svn: 170129
OpenPOWER on IntegriCloud