summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add some constantness in Machine Dominators.Jakub Staszak2013-02-161-6/+8
| | | | llvm-svn: 175344
* Remove trailing spaces.Jakub Staszak2013-02-161-24/+24
| | | | llvm-svn: 175343
* Use a different scheme to chose 16/32 variants. This scheme is moreReed Kotler2013-02-162-11/+7
| | | | | | | consistent with how BuildMI works. No new tests needed. All should work the same as before. llvm-svn: 175342
* Include a small argparse compatibility layer for Python < 2.7Filipe Cabecinhas2013-02-162-2/+86
| | | | llvm-svn: 175341
* Documentation cleanup: make a \brief be brief, and fix a bad use of \see.James Dennett2013-02-161-2/+3
| | | | llvm-svn: 175340
* Documentation cleanup: use \brief, and don't repeat the identifier beingJames Dennett2013-02-161-1/+1
| | | | | | declared. llvm-svn: 175339
* [ELF] Add STN_UNDEF.Michael J. Spencer2013-02-161-0/+5
| | | | llvm-svn: 175338
* Get rid of a warning.Greg Clayton2013-02-161-1/+1
| | | | llvm-svn: 175337
* Reinitialize the ivars in the subtarget so that they can be reset with the ↵Bill Wendling2013-02-165-74/+89
| | | | | | new features. llvm-svn: 175336
* libAnalysis: Add a case for TypeAliasDecl in CFGRecStmtDeclVisitor.Jordan Rose2013-02-162-2/+11
| | | | | | | | | | | Neither of the current clients of CFGRecStmtDeclVisitor are doing anything with typedefs, so I assume type aliases (C++11 "using") can be safely ignored. This was causing assertion failures in the analyzer. <rdar://problem/13228440> llvm-svn: 175335
* [ms-inline asm] Do not omit the frame pointer if we have ms-inline assembly.Chad Rosier2013-02-165-17/+43
| | | | | | | | | | | If the frame pointer is omitted, and any stack changes occur in the inline assembly, e.g.: "pusha", then any C local variable or C argument references will be incorrect. I pass no judgement on anyone who would do such a thing. ;) rdar://13218191 llvm-svn: 175334
* 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
OpenPOWER on IntegriCloud