summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* libclang: remove reinterpret_casts by using SourceLocation::getPtrEncodingDmitri Gribenko2013-02-161-14/+14
| | | | llvm-svn: 175333
* Remove unused forward declarationsDmitri Gribenko2013-02-161-17/+1
| | | | | | clang/AST/Decl.h is included to see the TypeSourceInfo definition anyway. llvm-svn: 175332
* Don't warn on conversion from NULL to nullptr_tDavid Blaikie2013-02-162-3/+9
| | | | llvm-svn: 175331
* Emit vtables for an extern template class as available_externally, not asRichard Smith2013-02-162-8/+36
| | | | | | | linkonce_odr. Emit construction vtables as internal in this case, since the ABI does not guarantee that they will be availble externally. llvm-svn: 175330
* [PCH] Deserializing the DeclContext of a template parameter is not safeArgyrios Kyrtzidis2013-02-165-14/+71
| | | | | | | | | | | until recursive loading is finished. Otherwise we may end up with a template trying to deserialize a template parameter that is in the process of getting loaded. rdar://13135282 llvm-svn: 175329
* Remove unused forward declarationsDmitri Gribenko2013-02-161-3/+0
| | | | llvm-svn: 175328
* Derive ELF section type from the name in some cases where GNU as doesJoerg Sonnenberger2013-02-162-1/+72
| | | | | | so. llvm-svn: 175327
* Rework the visibility computation algorithm in preparationJohn McCall2013-02-165-244/+409
| | | | | | | | | | | | | | | | for distinguishing type vs. value visibility. The changes to the visibility of explicit specializations are intentional. The change to the "ugly" test case is a consequence of a sensible implementation, and I am happy to argue that this is better behavior. Other changes may or may not be intended; it is quite difficult to divine intent from some of the code I altered. I've left behind a comment which I hope explains the philosophy behind visibility computation. llvm-svn: 175326
* [mips] Remove SDNPWantParent from the list of SDNodeProperties.Akira Hatanaka2013-02-162-17/+14
| | | | | | No functionality change intended. llvm-svn: 175325
* Pacify -Wnon-virtual-dtorMatt Beaumont-Gay2013-02-151-0/+2
| | | | llvm-svn: 175324
* NSSet formatter is now C++ codeEnrico Granata2013-02-158-902/+1083
| | | | | | | | Split some NS* formatters in their own source files Refactored a utility function for the C++ formatters to use Fixed the skip-summary test case to be explicit about requiring libstdc++ for operation llvm-svn: 175323
* Temporary revert of 175320.Bill Wendling2013-02-155-90/+75
| | | | llvm-svn: 175322
* Reinitialize the ivars in the subtarget.Bill Wendling2013-02-155-74/+156
| | | | | | | When we're recalculating the feature set of the subtarget, we need to have the ivars in their initial state. llvm-svn: 175320
* Suppress a GCC -Wunused-variable warning in -Asserts buildsMatt Beaumont-Gay2013-02-151-0/+2
| | | | llvm-svn: 175319
* Fixes in the IRInterpreter:Sean Callanan2013-02-151-8/+7
| | | | | | | | | | | | - removed an unnecessary variable - fixed an issue where we sometimes wrote too much data into a buffer - made the recognition of variables as "this" a little more conservative <rdar://problem/13216268> llvm-svn: 175318
* c[ms-inline asm] It's possible to have a SizeDirective rewrite and anChad Rosier2013-02-151-1/+16
| | | | | | | Input/Output rewrite to the same location. Make sure the SizeDirective rewrite is performed first. This also ensure the sort algorithm is stable. llvm-svn: 175317
* If bundle alignment is enabled, do not add data to a fragment with instructionsDerek Schuff2013-02-153-6/+20
| | | | | | | | | | | | With bundle alignment, instructions all get their own MCFragments (unless they are in a bundle-locked group). For instructions with fixups, this is an MCDataFragment. Emitting actual data (e.g. for .long) attempts to re-use MCDataFragments, which we don't want int this case since it leads to fragments which exceed the bundle size. So, don't reuse them in this case. Also adds a test and fixes some formatting. llvm-svn: 175316
* Support changing the subtarget features in ARM.Bill Wendling2013-02-152-4/+29
| | | | llvm-svn: 175315
* Use the 'target-features' and 'target-cpu' attributes to reset the subtarget ↵Bill Wendling2013-02-154-41/+75
| | | | | | | | | | features. If two functions require different features (e.g., `-mno-sse' vs. `-msse') then we want to honor that, especially during LTO. We can do that by resetting the subtarget's features depending upon the 'target-feature' attribute. llvm-svn: 175314
* Add test case for r175312.Chad Rosier2013-02-151-0/+6
| | | | llvm-svn: 175313
* [ms-inline asm] Adjust the EndLoc to account for the ']'.Chad Rosier2013-02-151-1/+2
| | | | llvm-svn: 175312
* Forgot to 'svn add' the LoopVectorizer tests for the new parallel loop ↵Pekka Jaaskelainen2013-02-152-0/+166
| | | | | | metadata, sorry. llvm-svn: 175311
* [mips] Clean up class MipsCCInfo.Akira Hatanaka2013-02-152-58/+74
| | | | | | No functionality change intended. llvm-svn: 175310
* Improve test harness for the buildbotsDaniel Malea2013-02-153-25/+82
| | | | | | | | | | - Add a "parsable" mode to dotest.py that outputs test results in exactly the same format as clang's lit tests - Improve dosep script to output list of failing tests (output should look like clang test failure summaries) - Cleanup lldb/test/Makefile to remove needless parameters and environment variables - Switch makefile tests to use parsable-mode output; should make the buildbot results parsable - Switch makefile tests to use dosep to log catch crashing tests (instead of halting the test suite) llvm-svn: 175309
* Add the 'target-cpu' and 'target-features' attributes to functions.Bill Wendling2013-02-1519-85/+98
| | | | | | | The back-end will use these values to reconfigure code generation for different features. llvm-svn: 175308
* More test case cleanup (Linux and Mac):Daniel Malea2013-02-154-6/+1
| | | | | | | | - remove expectedFailure decorator from resolved rdar 12566646 and 10887661 - remove expectedFailure from TestBitfields testcase not actually affected by bug - skip the (non-deterministic) TestStopHookMechanism.py to avoid a noisy suite on Linux llvm-svn: 175307
* capitalize SCEV to match the current naming conventionSebastian Pop2013-02-151-1/+1
| | | | llvm-svn: 175306
* check that clang-format existsSebastian Pop2013-02-151-0/+7
| | | | llvm-svn: 175305
* don't store a pointer to the loop in IVSSebastian Pop2013-02-152-3/+3
| | | | llvm-svn: 175304
* add NestLoops to remove some uses of IVSSebastian Pop2013-02-152-7/+9
| | | | llvm-svn: 175303
* capitalize SCEV to match the current naming conventionSebastian Pop2013-02-151-15/+15
| | | | llvm-svn: 175302
* Fix misuse of python subprocess module (caused "leaking" processes and ↵Daniel Malea2013-02-153-20/+40
| | | | | | | | | | | garbling the terminal) - fixed cleanup of Popen objects by pushing spawn logic into test Base and out of test cases - connect subprocess stdin to PIPE (rather than the parent's STDIN) to fix silent terminal issue Tested on Linux and Mac OS X llvm-svn: 175301
* [mips] Split SelectAddr, which was used to match address patterns, into twoAkira Hatanaka2013-02-153-18/+71
| | | | | | | | | | | functions. Set AddedComplexity to determine the order in which patterns are matched. This simplifies selection of floating point loads/stores. No functionality change intended. llvm-svn: 175300
* libclang: add clang_getTypeSpelling(CXType CT)Dmitri Gribenko2013-02-1510-62/+156
| | | | | | | | | Adds a function clang_getTypeSpelling(CXType CT) that returns a CXString containing the underlying type. Patch by Ben Gertzfield. llvm-svn: 175299
* objective-C: Fixes a compiler crash when encodingFariborz Jahanian2013-02-153-5/+30
| | | | | | | an ivar of type pointer to a typedef'ed object. // rdar://13190095 llvm-svn: 175298
* Remove a final dependency on the form field in tablegen; which is a remnantReed Kotler2013-02-152-6/+10
| | | | | | | of the old jit and which we don't intend to support in mips16 or micromips. This dependency is for the testing of whether an instruction is a pseudo. llvm-svn: 175297
* use apply and ScevParameterRewriter::rewrite instead of SCEVRewriterSebastian Pop2013-02-151-197/+5
| | | | llvm-svn: 175296
* add LoopToScev mapsSebastian Pop2013-02-154-64/+131
| | | | llvm-svn: 175295
* add ScevApplyRewriterSebastian Pop2013-02-151-0/+39
| | | | llvm-svn: 175294
* add SCEVParameterRewriterSebastian Pop2013-02-151-0/+104
| | | | llvm-svn: 175293
* AsmParser: Reformat the MS asm parser to reduce nesting.Benjamin Kramer2013-02-151-85/+86
| | | | | | | While there postpone register name printing after uniquing. No intended functionality change. llvm-svn: 175292
* Recognize < and > as binary expressions in builder-type calls.Daniel Jasper2013-02-152-3/+8
| | | | | | | | | | | | | | | | | The current heuristic assumes that there can't be binary operators in builder-type calls (excluding assigments). However, it also excluded < and > in general, which is wrong. Now they are only excluded if they are template parameters. Before: return aaaaaaaaaaaaaaaaa->aaaaa().aaaaaaaaaaaaa()i .aaaaaa() < aaaaaaaaaaaaaaaaaaa->aaaaa().aaaaaaaaaaaaa().aaaaaa(); After: return aaaaaaaaaaaaaaaaa->aaaaa().aaaaaaaaaaaaa().aaaaaa() < aaaaaaaaaaaaaaaaaaa->aaaaa().aaaaaaaaaaaaa().aaaaaa(); llvm-svn: 175291
* Rename [Enable|Disable]Breakpoint() to [Enable|Disable]BreakpointSite() in ↵Daniel Malea2013-02-152-4/+4
| | | | | | | | POSIX plugin - needed due to r175241 llvm-svn: 175290
* Fixed diagnostic nondeterministic order bug (pr14901).Enea Zaffanella2013-02-152-7/+23
| | | | llvm-svn: 175289
* Propagate changes through no-op transformsEdwin Vane2013-02-155-15/+15
| | | | | | | | | | | Currently, changes made by previous transforms are not kept if a transform doesn't make any changes itself to a given file. Now file states are propagated properly through transforms that don't make changes. Fixes: PR15281 Author: Jack Yang <jack.yang@intel.com> Reviewer: klimek llvm-svn: 175288
* Linux test case cleanup:Daniel Malea2013-02-154-2/+2
| | | | | | | | | - Enable TestFormatters.py: expressions with "new" work - Enable TestChangeValueAPI.py: llvm.org/PR15039 fixed - Disable expression_command/call-restarts due to llvm.org/PR15278 - Disable expression_command/call-throws due to ObjC test program llvm-svn: 175287
* Done break between 'operator' and '<<'.Daniel Jasper2013-02-152-1/+5
| | | | | | | | | | | | Before: ostream &operator <<(ostream &out, some::ns::SomeReallyLongType WithSomeReallyLongValue); After: ostream &operator<<(ostream &out, some::ns::SomeReallyLongType WithSomeReallyLongValue); llvm-svn: 175286
* [ASan] make variables unsigned to silence warnings - attempt 2Alexey Samsonov2013-02-151-3/+3
| | | | llvm-svn: 175285
* [ASan] make variable unsigned to silence the warningAlexey Samsonov2013-02-151-1/+1
| | | | llvm-svn: 175284
* enable SDISel sincos optimization for GNU environmentsPaul Redmond2013-02-153-23/+73
| | | | | | | | | | | | - add sincos to runtime library if target triple environment is GNU - added canCombineSinCosLibcall() which checks that sincos is in the RTL and if the environment is GNU then unsafe fpmath is enabled (required to preserve errno) - extended sincos-opt lit test Reviewed by: Hal Finkel llvm-svn: 175283
OpenPOWER on IntegriCloud