summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove the -compact-regions flag.Jakob Stoklund Olesen2011-09-121-11/+5
| | | | | | | It has been enabled by default for a while, it was only there to allow performance comparisons. llvm-svn: 139501
* Add an interface for SplitKit complement spill modes.Jakob Stoklund Olesen2011-09-123-5/+49
| | | | | | | | | | | | | | | | | | | | | | | | | SplitKit always computes a complement live range to cover the places where the original live range was live, but no explicit region has been allocated. Currently, the complement live range is created to be as small as possible - it never overlaps any of the regions. This minimizes register pressure, but if the complement is going to be spilled anyway, that is not very important. The spiller will eliminate redundant spills, and hoist others by making the spill slot live range overlap some of the regions created by splitting. Stack slots are cheap. This patch adds the interface to enable spill modes in SplitKit. In spill mode, SplitKit will assume that the complement is going to spill, so it will allow it to overlap regions in order to avoid back-copies. By doing some of the spiller's work early, the complement live range becomes simpler. In some cases, it can become much simpler because no extra PHI-defs are required. This will speed up both splitting and spilling. This is only the interface to enable spill modes, no implementation yet. llvm-svn: 139500
* Allow __module_private__ on fieldsDouglas Gregor2011-09-122-0/+16
| | | | llvm-svn: 139499
* Update comments to reflect some (not so) recent changes.Jakob Stoklund Olesen2011-09-121-4/+5
| | | | llvm-svn: 139498
* Remove the restriction on module-private friends. Since the friendDouglas Gregor2011-09-123-11/+2
| | | | | | | declaration may be the first declaration, we want the ability to that declaration to be marked module-private. llvm-svn: 139497
* Only predefine the __EXCEPTIONS macro if C++ exceptions are turned on.Douglas Gregor2011-09-123-3/+20
| | | | | | | Only predefine the OBJC_ZEROCOST_EXCEPTIONS macro if Objective-C exceptions are turned on. Fixes PR10910. llvm-svn: 139496
* Associate a MemOperand with LDWCP nodes introduced during ISel.Richard Osborne2011-09-122-3/+26
| | | | | | This information is required if we want LDWCP to be hoisted out of loops. llvm-svn: 139495
* Mark LDWCP as having no side effects.Richard Osborne2011-09-121-1/+1
| | | | llvm-svn: 139494
* Address PR10909: http://llvm.org/bugs/show_bug.cgi?id=10909Howard Hinnant2011-09-121-4/+8
| | | | llvm-svn: 139493
* Silence ?: precendence warning when parenthesis are present.Hans Wennborg2011-09-123-3/+7
| | | | | | | Fixes PR10898. The warning should be silent when there are parenthesis around the condition expression. llvm-svn: 139492
* Format patterns, remove unused X86blend patternsNadav Rotem2011-09-122-27/+34
| | | | llvm-svn: 139491
* Fixed the header guards.Greg Clayton2011-09-1216-35/+30
| | | | llvm-svn: 139490
* Fixed the logging output to be done consistently across all plug-ins.Greg Clayton2011-09-125-58/+61
| | | | | | | Added a new log category for DWARF called "aranges" to log the parsing of address ranges. llvm-svn: 139489
* Changed to using an "operator bool" instead of an "operator void*"Greg Clayton2011-09-122-5/+3
| | | | | | | | | and avoid returning a pointer to the current object. In the new "operator bool" implementation, check the filename object first since many times we have FileSpec objects with a filename, yet no directory. llvm-svn: 139488
* Fixed up the comments in the headerdoc to match the current implementationGreg Clayton2011-09-122-145/+109
| | | | | | | of how ConstString objects work, and removed the duplicate and out of date comments that were in the cpp file. llvm-svn: 139487
* Fix disassembling of one of the register/register forms of ↵Craig Topper2011-09-112-0/+122
| | | | | | MOVUPS/MOVUPD/MOVAPS/MOVAPD/MOVSS/MOVSD and their VEX equivalents. Fixes PR10877. llvm-svn: 139486
* Fix disassembling of reverse register/register forms of ↵Craig Topper2011-09-113-5/+26
| | | | | | ADD/SUB/XOR/OR/AND/SBB/ADC/CMP/MOV. llvm-svn: 139485
* Fix disassembling of PAUSE instruction. Fixes PR10900. Also fixed NOP ↵Craig Topper2011-09-113-3/+9
| | | | | | disassembling to ignore OpSize and REX.W. llvm-svn: 139484
* s/SequeuentiallyConsistent/SequentiallyConsistent/gNick Lewycky2011-09-111-3/+3
| | | | llvm-svn: 139481
* Fix verb tense agreement.Nick Lewycky2011-09-111-1/+1
| | | | llvm-svn: 139480
* CR fixes per Bruno's request.Nadav Rotem2011-09-114-95/+53
| | | | | | | Undo the changes from r139285 which added custom lowering to vselect. Add tablegen lowering for vselect. llvm-svn: 139479
* Fixes for Symtab.cpp to take advantage of the new unique C string mapGreg Clayton2011-09-113-65/+26
| | | | | | changes that were just submitted. llvm-svn: 139478
* Added extra calls to the UniqueCStringMap to allow it to be usedGreg Clayton2011-09-111-8/+80
| | | | | | | | | | | more efficiently when it contains a large number of items. Since the map is actually a vector of "const char *" and type T values, it will double in size every time you append to it. The extra added functions allow the collection to be sized to fit the data after all entries have been appended, and lookups by name or by regex have been built in to the class to allow efficient lookup. llvm-svn: 139477
* Don't skip the application specific ~/.lldbinit file when the programGreg Clayton2011-09-111-27/+34
| | | | | | | | | | | | | | | | | | | name is "lldb". So currently when you startup any application and you have not specified that you would like to skip loading init files through the API or from "lldb" options, then LLDB will try and load: "~/.lldbinit-%s" where %s the basename of your program "~/.lldbinit" Then LLDB will load any program specified on the command line and then source the "./.llbinit" file for any temporary debug session specific commands. I want this feature because I have thread and frame formats that do ANSI color codes that I only want to load when running in a terminal which is when I am running the "lldb" command line program. llvm-svn: 139476
* Silence "end of non-void function" warnings with llvm_unreachable and add an ↵Benjamin Kramer2011-09-102-2/+7
| | | | | | assert. llvm-svn: 139474
* objc rewriter - more fixes to support compiling the rewrittenFariborz Jahanian2011-09-102-5/+13
| | | | | | | | | test case having instancetype. Fix in rewriter is unrelated to using of instancetype. Test case uses other feature not yet supported in the rewriter. There is more work to do, but this is an ongoing task and not urgent at this time. llvm-svn: 139473
* remove pedantic ;Chris Lattner2011-09-101-1/+1
| | | | llvm-svn: 139472
* Modernize and comment; no functionality change.John McCall2011-09-101-31/+27
| | | | llvm-svn: 139470
* Simplify the generation of Objective-C setters, at least a little.John McCall2011-09-103-134/+209
| | | | | | | | | Use a more portable heuristic for deciding when to emit a single atomic store; it's possible that I've lost information here, but I'm not sure how much of the logic before was intentionally arch-specific and how much was just not quite consistent. llvm-svn: 139468
* A little bit of cleanup; set watch_mode to eWatchInvalid at the ↵Johnny Chen2011-09-102-1/+2
| | | | | | OptionParsingStarting() lifecycle point. llvm-svn: 139467
* Rename the ARC cast kinds to start with "ARC".John McCall2011-09-1017-70/+70
| | | | llvm-svn: 139466
* Correctly referring to the null pointer as 'null' not the macro 'NULL' in ↵David Blaikie2011-09-102-7/+7
| | | | | | the boolean conversion diagnostic message. llvm-svn: 139465
* Make this test portable on Win32.Julien Lerouge2011-09-101-3/+0
| | | | llvm-svn: 139464
* Show either a location or a fixit note, not both, for uninitialized variable ↵David Blaikie2011-09-106-87/+86
| | | | | | warnings. llvm-svn: 139463
* Missed a %local use; hopefully this clears this test up.John McCall2011-09-101-7/+8
| | | | llvm-svn: 139462
* Fix a broken assert in AST/DeclCXX.cpp.Richard Trieu2011-09-101-1/+1
| | | | llvm-svn: 139461
* clang part of r139458; un-XFAIL testcase.Eli Friedman2011-09-101-1/+0
| | | | llvm-svn: 139460
* Really un-XFAIL the testcase, like I said I would in r139458.Eli Friedman2011-09-101-1/+0
| | | | llvm-svn: 139459
* r139454 activates an assert in a case where we were doing the right thing ↵Eli Friedman2011-09-101-1/+9
| | | | | | anyway. Make that explicit, and un-XFAIL the testcase. llvm-svn: 139458
* Revision 139454 fixed a broken assert in LLVM, which causesRichard Trieu2011-09-101-0/+1
| | | | | | | | a test failure in CodeGen/palignr.c, which has been marked XFAIL for the time being. A bug has been filed at PR10901 for this issue. llvm-svn: 139457
* Fix the asserts in lib/Target/X86/X86ELFWriterInfo.cpp andRichard Trieu2011-09-102-2/+2
| | | | | | | | | | | | lib/ExecutionEngine/MCJIT/MCJIT.cpp from: assert("error"); to: assert(0 && "error"); llvm-svn: 139456
* Make this test not depend on unnecessary details and IR variable names.John McCall2011-09-101-11/+15
| | | | llvm-svn: 139455
* Fixed an assert from:Richard Trieu2011-09-102-1/+2
| | | | | | | | | | | | | | assert("not implemented for target shuffle node"); to: assert(0 && "not implemented for target shuffle node"); This causes a test failure in CodeGen/X86/palignr.ll which has been marked as XFAIL for the time being. Test failure filed at PR10901. llvm-svn: 139454
* [disable-iv-rewrite] Allow WidenIV to handle NSW/NUW operationsAndrew Trick2011-09-101-1/+40
| | | | | | | | | | | | better. Don't immediately give up when an add operation can't be trivially sign/zero-extended within a loop. If it has NSW/NUW flags, generate a new expression with sign extended (non-recurrent) operand. As before, if SCEV says that all sign extends are loop invariant, then we can widen the operation. llvm-svn: 139453
* Convert OptionGroupVariable.cpp to use the arraysize() template function, as ↵Johnny Chen2011-09-101-3/+7
| | | | | | well. llvm-svn: 139452
* When converting a block pointer to an Objective-C pointer type, extendJohn McCall2011-09-1015-20/+184
| | | | | | | | | | | the lifetime of the block by copying it to the heap, or else we'll get a dangling reference because the code working with the non-block-typed object will not know it needs to copy. There is some danger here, e.g. with assigning a block literal to an unsafe variable, but, well, it's an unsafe variable. llvm-svn: 139451
* Set NSW/NUW flags on SCEVAddExpr when the operation is flagged asAndrew Trick2011-09-101-1/+7
| | | | | | | | | | such. I'm doing this now for completeness because I can't think of/remember any reason that it was left out. I'm not sure it will help anything, but if we don't do it we need to explain why in comments. llvm-svn: 139450
* Fix asserts in CodeGen from:Richard Trieu2011-09-102-3/+3
| | | | | | | | | | assert("error"); to: assert(0 && "error"); llvm-svn: 139449
* Quick fixes to the PE COFF file loader.Greg Clayton2011-09-102-44/+160
| | | | llvm-svn: 139448
* Add comment.Johnny Chen2011-09-101-0/+1
| | | | llvm-svn: 139447
OpenPOWER on IntegriCloud