summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Generalize test case to handle multiple indvars modes.Andrew Trick2011-09-131-3/+6
| | | | llvm-svn: 139578
* Generalize this test's CHECK statements to handle different indvars modes.Andrew Trick2011-09-131-2/+2
| | | | llvm-svn: 139577
* This test only makes sense with -enable-iv-rewrite.Andrew Trick2011-09-131-3/+4
| | | | llvm-svn: 139576
* Zap some junk from the ARM instruction descriptions.Eli Friedman2011-09-134-67/+0
| | | | llvm-svn: 139575
* [indvars] Fix bugs in floating point IV range checks noticed by inspection.Andrew Trick2011-09-132-13/+13
| | | | llvm-svn: 139574
* Silence false positive uninitialized variable warnings from GCC.Benjamin Kramer2011-09-131-3/+3
| | | | llvm-svn: 139573
* Extract live range calculations from SplitKit.Jakob Stoklund Olesen2011-09-135-306/+516
| | | | | | | | SplitKit will soon need two copies of these data structures, and the algorithms will also be useful when LiveIntervalAnalysis becomes independent of LiveVariables. llvm-svn: 139572
* Add comment to clarify the behavior of a helper in DSE.Eli Friedman2011-09-131-0/+2
| | | | llvm-svn: 139571
* When compiling a module on-demand, re-use the diagnostics clientDouglas Gregor2011-09-136-23/+48
| | | | | | | | already provided. This required a little bit of clean-up in the way that VerifyDiagnosticsClient managed ownership of its underlying "primary" client, because now it will no longer always take ownership. llvm-svn: 139570
* Fix compiler warning.Johnny Chen2011-09-131-0/+3
| | | | llvm-svn: 139569
* Add trivial implementation for GetDescription().Johnny Chen2011-09-131-1/+2
| | | | llvm-svn: 139568
* In ThreadList::GetSelectedThread, handle the case where we have noJason Molenda2011-09-131-0/+2
| | | | | | | valid threads - can happen if attaching to a process fails in a certain way. llvm-svn: 139567
* Change the macosx Host::FindProcesses() to include all processesJason Molenda2011-09-131-0/+4
| | | | | | | | (running under any uid) if lldb is being run as root. It might be better to handle this up at the ProcessInstanceInfoMatch class with its m_match_all_users ivar instead of down here... llvm-svn: 139566
* Correct grammar.Eli Friedman2011-09-131-1/+1
| | | | llvm-svn: 139565
* SBSourceManager now gets the real source manager either from the Debugger or ↵Jim Ingham2011-09-1317-61/+286
| | | | | | | | Target. Also, move the SourceManager file cache into the debugger so it can be shared amongst the targets. llvm-svn: 139564
* Fix the assembler strings for a couple of atomic instructions. Doesn't ↵Eli Friedman2011-09-131-2/+2
| | | | | | really matter much in practice, but it's a bit cleaner. llvm-svn: 139563
* Remove an unnecessary 'else { ... }', which adds to vertical as well as ↵Johnny Chen2011-09-121-192/+186
| | | | | | | | horizontal spans, from CommandObjectFrame::Execute(). llvm-svn: 139561
* Watchpoint WIP:Johnny Chen2011-09-129-12/+62
| | | | | | | | | | | | o Rename from OptionGroupWatchpoint::WatchMode to OptionGroupWatchpoint::WatchType, and CommandArgumentType::eArgTypeWatchMode to CommandArgumentType::eArgTypeWatchType. Update the sources to reflect the change. o Add a CreateWatchpointLocation() method to Target class, which is currently not implmeneted (returns an empty WatchpointLocationSP object). Add logic to CommandObjectFrame::Execute() to exercise the added API for creating a watchpoint location. llvm-svn: 139560
* Tidy up a bit.Jim Grosbach2011-09-121-18/+9
| | | | llvm-svn: 139559
* When an import statement fails to find a module in the module cache,Douglas Gregor2011-09-128-6/+146
| | | | | | | | | but there is a corresponding umbrella header in a framework, build the module on-the-fly so it can be immediately loaded at the import statement. This is very much proof-of-concept code, with details to be fleshed out over time. llvm-svn: 139558
* Huge memory and performance improvements in the DWARF parser.Greg Clayton2011-09-1213-874/+580
| | | | | | | | | | | | | | | | | | | | | | Address ranges are now split up into two different tables: - one in DWARFDebugInfo that is compile unit specific - one in each DWARFCompileUnit that has exact function DIE offsets This helps keep the size of the aranges down since the main table will get uniqued and sorted and have consecutive ranges merged. We then only parse the compile unit one on demand once we have determined that a compile unit contains the address in question. We also now use the .debug_aranges section if there is one instead of always indexing the DWARF manually. NameToDIE now uses a UniqueCStringMap<dw_offset> map instead of a std::map. std::map is very bulky as each node has 3 pointers and the key and value types. This gets our NameToDIE entry down to 12 bytes each instead of 48 which saves us a lot of memory when we have very large DWARF. DWARFDebugAranges now has a smaller footprint for each range it contains to save on memory. llvm-svn: 139557
* Conditionalize indvars test that relies on SCEV expansion of geps,Andrew Trick2011-09-121-4/+13
| | | | | | which is only relevant with canonical IVs llvm-svn: 139556
* Privatize the setter/getter call generation methods, plus some minorJohn McCall2011-09-122-72/+70
| | | | | | modernization. No functionality change. llvm-svn: 139555
* Change testcase commandline to be more strict and silence buildbotsBruno Cardoso Lopes2011-09-121-1/+1
| | | | llvm-svn: 139554
* Fix PR10845. SUBREG_TO_REG shouldn't be used when the input andBruno Cardoso Lopes2011-09-122-8/+22
| | | | | | destination types are equal! llvm-svn: 139553
* indvars test only relevant for -enable-iv-rewrite.Andrew Trick2011-09-121-1/+3
| | | | | | Otherwise this case is now covered by no-iv-rewrite.ll. llvm-svn: 139552
* [driver] Ignore the '--' option, rather then fail. Do so to match gcc's Chad Rosier2011-09-121-0/+1
| | | | | | | behavior. rdar://10110352 and PR10908 llvm-svn: 139551
* [analyzer] CmpRuns can now optionally delete empty reports.Anna Zaks2011-09-121-5/+7
| | | | llvm-svn: 139550
* Fix a failing ELF Thumb test. I _think_ this is right, but it's not totally ↵Owen Anderson2011-09-121-1/+1
| | | | | | clear to me what this test is doing. Could someone on an ELF platform check? llvm-svn: 139549
* Thread safety: small formatting changeCaitlin Sadowski2011-09-121-1/+2
| | | | llvm-svn: 139548
* [libclang] For getDeclFromExpr in CIndex.cpp, associate the decl ofArgyrios Kyrtzidis2011-09-128-23/+28
| | | | | | | a DeclRefExpr, MemberExpr, etc. with a CastExpr if it is ImplicitCast, since the implicit cast is the one that is invisible in source code. llvm-svn: 139547
* Introduce a bit of a hack.Bill Wendling2011-09-121-15/+44
| | | | | | | | | | | | | | | | | | Splitting a landing pad takes considerable care because of PHIs and other nasties. The problem is that the jump table needs to jump to the landing pad block. However, the landing pad block can be jumped to only by an invoke instruction. So we clone the landingpad instruction into its own basic block, have the invoke jump to there. The landingpad instruction's basic block's successor is now the target for the jump table. But because of PHI nodes, we need to create another basic block for the jump table to jump to. This is definitely a hack, because the values for the PHI nodes may not be defined on the edge from the jump table. But that's okay, because the jump table is simply a construct to mimic what is happening in the CFG. So the values are mysteriously there, even though there is no value for the PHI from the jump table's edge (hence calling this a hack). llvm-svn: 139545
* gold plugin: don't report error on non-bitcode (e.g. ELF) files.Ivan Krasin2011-09-121-9/+25
| | | | llvm-svn: 139544
* [analyzer] CmpRuns.cmpScanBuildResults() should be easy to call from other ↵Anna Zaks2011-09-121-18/+32
| | | | | | modules. llvm-svn: 139543
* Thumb2 POP's don't allow the PC as an operand, and PUSH's don't allow the SP ↵Owen Anderson2011-09-122-7/+93
| | | | | | either. llvm-svn: 139542
* Revert the wrong part of r139528, and fix testcases.Bruno Cardoso Lopes2011-09-123-8/+8
| | | | llvm-svn: 139541
* Rename CmpRuns into CmpRuns.py so that it could be used as a module.Anna Zaks2011-09-121-0/+0
| | | | llvm-svn: 139540
* Introduce a cc1-level option to provide the path to the module cache,Douglas Gregor2011-09-1214-25/+58
| | | | | | | | where the compiler will look for module files. Eliminates the egregious hack where we looked into the header search paths for modules. llvm-svn: 139538
* Fix encoding of PC-relative LDRSHW with an immediate offset.Owen Anderson2011-09-122-11/+21
| | | | llvm-svn: 139537
* Conditionalize indvars tests that rely on SCEV expansion of geps,Andrew Trick2011-09-125-25/+26
| | | | | | | which is relevant with canonical IVs. Anything else being checked by these tests is already covered by early CSE. llvm-svn: 139535
* Fix indentations, add some comments.Johnny Chen2011-09-121-5/+5
| | | | llvm-svn: 139534
* Change a bunch of isVolatile() checks to check for atomic load/store as well.Eli Friedman2011-09-125-19/+19
| | | | | | | | No tests; these changes aren't really interesting in the sense that the logic is the same for volatile and atomic. I believe this completes all of the changes necessary for the optimizer to handle loads and stores correctly. I'm going to try and come up with some additional testing, though. llvm-svn: 139533
* There's no need to add additional predicate operands when converting a tB to ↵Owen Anderson2011-09-121-2/+0
| | | | | | a tBfar now. Fixes nightly test failures on armv6 Thumb. <rdar://problem/10110404> llvm-svn: 139531
* Fix typo.Eric Christopher2011-09-121-1/+1
| | | | llvm-svn: 139530
* Added GDB/LLDB commands for the "target stop-hook add" command.Greg Clayton2011-09-121-0/+37
| | | | llvm-svn: 139529
* Not sure how CMPPS and CMPPD had already ever worked, I guess it didn't.Bruno Cardoso Lopes2011-09-123-9/+55
| | | | | | | | | | | | However with this fix it does now. Basically the operand order for the x86 target specific node is not the same as the instruction, but since the intrinsic need that specific order at the instruction definition, just change the order during legalization. Also, there were some wrong invertions of condition codes, such as GE => LE, GT => LT, fix that too. Fix PR10907. llvm-svn: 139528
* Organize a bit the operand names for CMPPS and CMPPDBruno Cardoso Lopes2011-09-121-18/+18
| | | | llvm-svn: 139527
* Realign BLEND patterns to match the general style for patterns in .td file.Bruno Cardoso Lopes2011-09-121-45/+42
| | | | llvm-svn: 139526
* Fix 80-columnsBruno Cardoso Lopes2011-09-121-12/+16
| | | | llvm-svn: 139525
* Fix a bug in OptionGroupWatchpoint.cpp where the '-w' option arg parsing ↵Johnny Chen2011-09-122-1/+18
| | | | | | | | | | | result was not checked to effect an early error return. Plus add logic to 'frame variable' command object to check that when watchpoint option is on, only one variable with exact name (no regex) is specified as the sole command arg. llvm-svn: 139524
OpenPOWER on IntegriCloud