summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove a gcc warning.Fariborz Jahanian2011-07-161-1/+1
| | | | llvm-svn: 135348
* Add missing #include, fixes Linux buildPeter Collingbourne2011-07-161-0/+2
| | | | llvm-svn: 135346
* (Test commit for polly)NAKAMURA Takumi2011-07-161-2/+0
| | | | llvm-svn: 135345
* Correctly handle sysroot prefix in -print-search-dirs. Makes libtoolJoerg Sonnenberger2011-07-161-1/+10
| | | | | | more happy on NetBSD. llvm-svn: 135344
* Revert r135319 in an attempt to get to unbreak testers.Owen Anderson2011-07-163-28/+55
| | | | llvm-svn: 135343
* More minor adjustments.Eric Christopher2011-07-161-10/+10
| | | | llvm-svn: 135342
* Memaccess: Bugfix-Reading of JSCoP file failsRaghesh Aloor2011-07-161-1/+1
| | | | | | | While iterating through the memory accesses in JSCOP file the inner loop index was not initialized to zero. llvm-svn: 135340
* Silence unused variable warningMatt Beaumont-Gay2011-07-161-0/+1
| | | | llvm-svn: 135339
* Completed more work on the KDP darwin kernel debugging Process plug-in.Greg Clayton2011-07-1612-162/+607
| | | | | | | | | | | | | | | Implemented connect, disconnect, reattach, version, and hostinfo. Modified the ConnectionFileDescriptor class to be able to handle UDP. Added a new Stream subclass called StreamBuffer that is backed by a llvm::SmallVector for better efficiency. Modified the DataExtractor class to have a static function that can dump hex bytes into a stream. This is currently being used to dump incoming binary packet data in the KDP plug-in. llvm-svn: 135338
* Make the disassembler able to disassemble a bunch of instructions with names ↵Eli Friedman2011-07-163-1/+53
| | | | | | in the TableGen files containing "64" on x86-32. This includes a bunch of x87 instructions, like fld, and a bunch of SSSE3 instructions on MMX registers like pshufb. Part of PR8873. llvm-svn: 135337
* Some descriptive text for the Python script feature:Enrico Granata2011-07-1613-21/+287
| | | | | | | | | | | | | | | - help type summary add now gives some hints on how to use it frame variable and target variable now have a --no-summary-depth (-Y) option: - simply using -Y without an argument will skip one level of summaries, i.e. your aggregate types will expand their children and display no summary, even if they have one. children will behave normally - using -Y<int>, as in -Y4, -Y7, ..., will skip as many levels of summaries as given by the <int> parameter (obviously, -Y and -Y1 are the same thing). children beneath the given depth level will behave normally -Y0 is the same as omitting the --no-summary-depth parameter entirely This option replaces the defined-but-unimplemented --no-summary llvm-svn: 135336
* indvars: fix a pass-sensitivity issue that would hit the SCEVExpanderAndrew Trick2011-07-161-2/+13
| | | | | | | assertion I added in r135333. Check for the existence of a preheader before expanding a recurrence. llvm-svn: 135335
* indvars: remove ExprToIVMap because it won't be needed by LFTR.Andrew Trick2011-07-161-9/+3
| | | | llvm-svn: 135334
* Fix SCEVEXpander to handle arbitrary phi expansion. Includes twoAndrew Trick2011-07-162-9/+20
| | | | | | | related bug fixes and corresponding assertions for uninitialized data and missing NULL check. Test cases will be included with the new LFTR. llvm-svn: 135333
* Add AVX 128-bit patterns for sint_to_fpBruno Cardoso Lopes2011-07-162-1/+53
| | | | llvm-svn: 135332
* Added support for dynamic detection of AVX, andSean Callanan2011-07-168-17/+84
| | | | | | | | | | | | | | | | | | | | fixed a few bugs that revealed. Now the "register read" command should show AVX registers (ymm0-ymm15) on Mac OS X platforms that support them. When testing this on Mac OS X, run debugserver manually, like this: debugserver --native-regs localhost:1111 /path/to/executable Then lldb /path/to/executable ... (lldb) process connect connect://localhost:1111 llvm-svn: 135331
* Finish propagating %asmtmp->%1 change.Eric Christopher2011-07-162-2/+2
| | | | llvm-svn: 135330
* He said *before* the last split point.Jakob Stoklund Olesen2011-07-161-1/+1
| | | | | | | This should unbreak the build-self-4-mingw32 tester. I have a very complicated test case that I will try to clean up. llvm-svn: 135329
* Fix a typo.Fariborz Jahanian2011-07-161-1/+1
| | | | llvm-svn: 135328
* [arcmt] It's not safe to remove the -release on "[[someivar delegate] ↵Argyrios Kyrtzidis2011-07-152-10/+39
| | | | | | | | | | | | | | | | | | release];" since it's very likely that, after migration, the object that was passed to 'setDelegate:' will not be properly retained, e.g: -whatever { id x = [[MyDoHicky alloc] init]; [someivar setDelegate: x]; // x won't get retained in ARC. } -dealloc { [[someivar delegate] release]; // give migration error here. } rdar://8858009 llvm-svn: 135327
* System-wide summaries:Enrico Granata2011-07-1513-580/+1137
| | | | | | | | | | | - Summaries for char*, const char* and char[] are loaded at startup as system-wide summaries. This means you cannot delete them unless you use the -a option to type summary delete/clear - You can add your own system-wide summaries by using the -w option to type summary add Several code improvements for the Python summaries feature llvm-svn: 135326
* Fix gcc build errorPeter Collingbourne2011-07-151-2/+0
| | | | llvm-svn: 135325
* fix rdar://9776316 - type remapping needed for inline asm blobs,Chris Lattner2011-07-152-1/+34
| | | | | | fixing some objc llvm-test crashes with LTO. llvm-svn: 135324
* deconstify getType()'s.Chris Lattner2011-07-152-4/+4
| | | | llvm-svn: 135323
* This handles the missing cases of opencl vector literals.Tanya Lattner2011-07-154-6/+55
| | | | | | Test cases provided by Anton Lokhmot. llvm-svn: 135322
* CodeGeneration: Adjust call to CreateCall.Tobias Grosser2011-07-151-2/+1
| | | | | | | | | Needed to avoid compile error after the patch "Convert CallInst and InvokeInst APIs to use ArrayRef. Contributed by: Sebastian Pop <sebpop@gmail.com> llvm-svn: 135321
* LegalizeDAG doesn't need its own copy of this enum.Dan Gohman2011-07-151-7/+1
| | | | llvm-svn: 135320
* Get rid of the separate opcodes for the Darwin versions of tBL, tBLXi, and ↵Owen Anderson2011-07-153-55/+28
| | | | | | tBLXr, using pseudo-instructions to lower to the single final opcode. Update the ARM disassembler for this change. llvm-svn: 135319
* Delete LegalizeDAG's own version of isTypeLegal and getTypeActionDan Gohman2011-07-151-26/+16
| | | | | | and just use the ones from TargetLowering directly. llvm-svn: 135318
* Update retain-release.m to match updated warnings from r135310Jordy Rose2011-07-151-3/+3
| | | | llvm-svn: 135317
* [libclang] Map canonical decl of a category implementation to the category decl.Argyrios Kyrtzidis2011-07-151-0/+4
| | | | llvm-svn: 135316
* Add TestValueAPI.py to exercise the newly added/modified SBValue APIs:Johnny Chen2011-07-154-0/+124
| | | | | | | o GetChildAtIndex, and o GetValueForExpressionPath llvm-svn: 135315
* Revert r135304 and apply fix in clang_getCanonicalCursor per Doug's, ↵Argyrios Kyrtzidis2011-07-152-7/+6
| | | | | | Fariborz's comments. llvm-svn: 135314
* Fix a couple of things:Bruno Cardoso Lopes2011-07-152-61/+52
| | | | | | | | | | | | | | | | | | | | | | | | 1) Make non-legal 256-bit loads to be promoted to v4i64. This lets us canonize the loads and handle things the same way we use to handle for 128-bit registers. Despite of what one of the removed comments explained, the load promotion would not mess with VPERM, it's only a matter of doing the appropriate bitcasts when this instructions comes to be introduced. Also make LOAD v8i32 legal. 2) Doing 1) exposed two bugs: - v4i64 was being promoted to itself for several opcodes (introduced in r124447 by David Greene) causing endless recursion and the stack to explode. - there was no support for allOnes BUILD_VECTORs and ANDNP would fail to match because it was generating early target constant pools during lowering. 3) The testcases are already checked-in, doing 1) exposed the bugs in the current testcases. 4) Tidy up code to be more clear and explicit about AVX. llvm-svn: 135313
* Add a few patterns for 256-bit bitcasts. No testcases now, they areBruno Cardoso Lopes2011-07-151-0/+9
| | | | | | comming together with other tests. llvm-svn: 135312
* Delete an unused variable and a redundant assert.Dan Gohman2011-07-151-9/+1
| | | | llvm-svn: 135311
* Add tests for CFRefReport's path notes, and fix a few typos and non-standard ↵Jordy Rose2011-07-153-13/+205
| | | | | | terminology ('+0 retain counts') caught by the tests. llvm-svn: 135310
* [arcmt] Rewrite to "foo = nil;" not "foo = 0;", as suggested by Jordy.Argyrios Kyrtzidis2011-07-153-3/+13
| | | | llvm-svn: 135309
* Prevent the -save-temps flag from modifying the input file if the input filenameChad Rosier2011-07-151-0/+9
| | | | | | | conflicts with a to be produced temp filename. rdar://9724657 llvm-svn: 135308
* Extract parts of RAGreedy::splitAroundRegion as SplitKit methods.Jakob Stoklund Olesen2011-07-154-299/+311
| | | | | | | | | | | This gets rid of some of the gory splitting details in RAGreedy and makes them available to future SplitKit clients. Slightly generalize the functionality to support multi-way splitting. Specifically, SplitEditor::splitLiveThroughBlock() supports switching between different register intervals in a block. llvm-svn: 135307
* Augment the interface of ExternalASTSource::FindExternalLexicalDecls()Douglas Gregor2011-07-158-22/+44
| | | | | | | | | | | to allow clients to specify that they've already (correctly) loaded declarations, and that no further action is needed. Also, make sure that we clear the "has external lexical declarations" bit before calling FindExternalLexicalDecls(), to avoid infinite recursion. llvm-svn: 135306
* Modernize comments.Dan Gohman2011-07-151-7/+4
| | | | llvm-svn: 135305
* The canonical decl for an ObjCImplDecl is it's interface class. Fixes ↵Argyrios Kyrtzidis2011-07-151-0/+6
| | | | | | rdar://8728637. llvm-svn: 135304
* PR10370: Make sure we know how to relax push correctly on x86-64.Eli Friedman2011-07-152-5/+8
| | | | llvm-svn: 135303
* Use DebugLoc directly to map inlined functions' instructions to respective ↵Devang Patel2011-07-152-5/+9
| | | | | | lexical scope. llvm-svn: 135302
* [arcmt] For:Argyrios Kyrtzidis2011-07-153-12/+45
| | | | | | | | | | | | | | | id x = ... @try { ... } @finally { [x release]; } Migrator will drop the release. It's better to change it to "x = 0" in a @finally to avoid leak when exception is thrown. rdar://9398256 llvm-svn: 135301
* Don't refer to check.deps unless LLVM_INCLUDE_TESTS is enabledDouglas Gregor2011-07-151-2/+2
| | | | llvm-svn: 135300
* A real testcase for r135286.Chad Rosier2011-07-151-36/+19
| | | | llvm-svn: 135299
* Update these tests, no longer outputting names for the variables.Eric Christopher2011-07-152-6/+6
| | | | llvm-svn: 135298
* Fix pointer heuristic. Check whether predicator is ICMP_NE instead of if it isJakub Staszak2011-07-151-2/+2
| | | | | | not isEquality(). llvm-svn: 135296
OpenPOWER on IntegriCloud