summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* If we're not using reg+reg offset we're using reg+imm, set the opcodeEric Christopher2010-12-211-2/+2
| | | | | | | | | to be the one we want to use. bugpoint reduced testcase is a little large, I'll see if I can simplify it down more. Fixes part of rdar://8782207 llvm-svn: 122307
* Fix typo.Johnny Chen2010-12-211-1/+1
| | | | llvm-svn: 122306
* improve "cannot yet select" errors a trivial amount: nowChris Lattner2010-12-211-1/+1
| | | | | | they are just as useless, but at least a bit more gramatical llvm-svn: 122305
* Added python_api/event/TestEvents.py to get the listener object associated ↵Johnny Chen2010-12-213-0/+154
| | | | | | | | with the debugger and to exercise some event APIs. llvm-svn: 122304
* Fix a copy-pasto. When the tBR_JTr instruction was converted to using theBill Wendling2010-12-211-1/+1
| | | | | | | | | tPseudoInst class, its size was changed from "special" to "2 bytes". This is incorrect because the jump table will no longer be taken into account when calculating branch offsets. <rdar://problem/8782216> llvm-svn: 122303
* Comment cleanups.Bill Wendling2010-12-211-2/+2
| | | | llvm-svn: 122302
* Add EdgeBundles to SplitKit.Jakob Stoklund Olesen2010-12-212-1/+85
| | | | | | | | | Edge bundles is an annotation on the CFG that turns it into a bipartite directed graph where each basic block is connected to an outgoing and an ingoing bundle. These bundles are useful for identifying regions of the CFG for live range splitting. llvm-svn: 122301
* Implement instantiation of pack expansions whose pattern is a type-idDouglas Gregor2010-12-216-84/+196
| | | | | | in an exception specification. llvm-svn: 122297
* Use IntEqClasses to compute connected components of live intervals.Jakob Stoklund Olesen2010-12-214-56/+20
| | | | llvm-svn: 122296
* Fix the noreturn conversion to only strip off a single level of indirection.John McCall2010-12-214-65/+47
| | | | | | | Apply the noreturn attribute while creating a builtin function's type. Remove the getNoReturnType() API. llvm-svn: 122295
* Warn when message is sent to receiver ofFariborz Jahanian2010-12-217-16/+96
| | | | | | | | unknown type and there is a possibility that at runtime method is resolved to a deprecated or unavailable method. Addreses // rdar://8769853 llvm-svn: 122294
* Add ADT/IntEqClasses.h as a light-weight implementation of EquivalenceClasses.h.Jakob Stoklund Olesen2010-12-215-0/+259
| | | | | | | | | | This implementation already exists as ConnectedVNInfoEqClasses in LiveInterval.cpp, and it seems to be generally useful to have a light-weight way of forming equivalence classes of small integers. IntEqClasses doesn't allow enumeration of the elements in a class. llvm-svn: 122293
* Extend the parser to support pack expansions within exceptionDouglas Gregor2010-12-202-2/+31
| | | | | | | specifications. We can't yet instantiate them, however, since I tripped over PR8835. llvm-svn: 122292
* Speculatively revert the use of DenseMap in LazyValueInfo, which may be ↵Owen Anderson2010-12-201-42/+16
| | | | | | causing Linux self-host failures. llvm-svn: 122291
* Remove an assertion that is causing crashes. We do need to find a way to ↵Greg Clayton2010-12-201-1/+11
| | | | | | reproduce when this assertion asserts, but we should crash our debug session because of it. For now we log to stderr in hope of tracking it down. llvm-svn: 122290
* Further refactoring of the tree transformation for template argumentDouglas Gregor2010-12-201-42/+164
| | | | | | | | | | | | | lists, so that all such transformations go through a single, iterator-based transformation function. This is the only place where we need to implement the logic for transforming pack expansions whose pattern is a template argument. Unfortunately, the new cases this refactoring brings into the fold can't be meaningfully tested yet. We need template argument deduction to work well enough for variadic function templates first. llvm-svn: 122289
* Attempt to appease the DragonEgg buildbots.Owen Anderson2010-12-201-22/+24
| | | | llvm-svn: 122288
* Give the RecursiveASTVisitor a configuration functionDouglas Gregor2010-12-202-4/+11
| | | | | | | | | | | shouldWalkTypesOfTypeLocs() that determines whether it should walk the Types within TypeLocs. This walk is redundant, but perhaps required for some clients. Disabling this redundant walk in the unexpanded parameter pack finder produces better results, because we get parameter packs with source location info *unless* such source location information isn't available. llvm-svn: 122287
* The recent change in argument parsing is messing up the emacs lldb mode's ↵Johnny Chen2010-12-201-2/+2
| | | | | | | | | | | capability to properly scan the debugger output for program counter when it comes to the output of 'Up Stack' or 'Down Stack' gud commands. Remove the single quotes around the argument strings for "settings set frame-format" and "settings set thread-format" commands to avoid the single quotes which were being emitted as part of the debugger output. llvm-svn: 122286
* Handle instantiation of template type parameter packs that occur asDouglas Gregor2010-12-201-2/+18
| | | | | | | the first qualifier in scope. We can't adequately test this test, unfortunately. llvm-svn: 122283
* Test template instantiation of pack expansions where the parameter pack is ↵Douglas Gregor2010-12-201-3/+16
| | | | | | in a nested-name-specifier llvm-svn: 122282
* Fix PR8639 by making the "argument unused during compilation" less ↵Rafael Espindola2010-12-202-22/+16
| | | | | | | | agressive. Now we don't warn if an argument is not used because it is shadowed by a subsequent argument. llvm-svn: 122281
* Clean up the printing of template argument packs; previously, we wereDouglas Gregor2010-12-204-10/+24
| | | | | | getting extra "<>" delimiters around template argument packs. llvm-svn: 122280
* Revert r122114 (CallbackVH observing use-list changes) because it caused ↵Owen Anderson2010-12-203-45/+1
| | | | | | severe slowdowns on the Linux self-host configuration. llvm-svn: 122279
* Implement basic support for template instantiation of pack expansionsDouglas Gregor2010-12-2012-37/+457
| | | | | | | | | | | | | | | | | whose patterns are template arguments. We can now instantiate, e.g., typedef tuple<pair<OuterTypes, InnerTypes>...> type; where OuterTypes and InnerTypes are template type parameter packs. There is a horrible inefficiency in TemplateArgumentLoc::getPackExpansionPattern(), where we need to create copies of TypeLoc data because our interfaces traffic in TypeSourceInfo pointers where they should traffic in TypeLocs instead. I've isolated in efficiency in this one routine; once we refactor our interfaces to traffic in TypeLocs, we can eliminate it. llvm-svn: 122278
* Implement feedback from Bruno on making pblendvb an x86-specific ISD node in ↵Nate Begeman2010-12-204-11/+14
| | | | | | | | addition to being an intrinsic, and convert lowering to use it. Hopefully the pattern fragment is doing the right thing with XMM0, looks correct in testing. llvm-svn: 122277
* Update the target feature matrix to reflect some new features in the MBlaze ↵Wesley Peck2010-12-201-4/+4
| | | | | | backend. llvm-svn: 122276
* Patch from Stephen:Johnny Chen2010-12-201-2/+2
| | | | | | | Provide a missing resolve_path argument in calls to FileSpec's constructor for both Linux and FreeBSD code fragments. llvm-svn: 122275
* Patch from Stephen Wilson:Johnny Chen2010-12-207-7/+7
| | | | | | Provide full qualification for #include's. llvm-svn: 122274
* Convert one of LVI's primary maps to a DenseMap, now that we know are more ↵Owen Anderson2010-12-201-16/+40
| | | | | | assured of iterator stability. llvm-svn: 122273
* Change the test case test_set_prompt() to no longer require quotes around ↵Johnny Chen2010-12-201-1/+1
| | | | | | | | | lldb2 in: # Set prompt to 'lldb2'. self.runCmd("settings set prompt lldb2") llvm-svn: 122272
* Rename 'VisitLocation' to 'visitLocation'.Ted Kremenek2010-12-205-16/+12
| | | | llvm-svn: 122271
* Rename 'Generate[Node,Sink]' to 'generate[Node,Sink]'.Ted Kremenek2010-12-2035-92/+92
| | | | llvm-svn: 122270
* Teach the MBlaze disassembler to disassemble special purpose registers.Wesley Peck2010-12-203-10/+89
| | | | llvm-svn: 122269
* Set the value of absolute symbols.Roman Divacky2010-12-202-1/+23
| | | | llvm-svn: 122268
* This is still used and issuing an annoying warning. Don't deprecate something inBill Wendling2010-12-201-3/+3
| | | | | | the library unless *all* uses have been converted over to the new form. llvm-svn: 122267
* Patch from Stephen Wilson:Johnny Chen2010-12-201-0/+2
| | | | | | | POSIX does not define sockaddr_un.sun_len. Set only when required by the platform. llvm-svn: 122266
* Oops, forgot to add the pass itself!Duncan Sands2010-12-201-0/+69
| | | | llvm-svn: 122265
* Add a new convenience pass for testing InstructionSimplify. PreviouslyDuncan Sands2010-12-205-0/+11
| | | | | | | | | it could only be tested indirectly, via instcombine, gvn or some other pass that makes use of InstructionSimplify, which means that testcases had to be carefully contrived to dance around any other transformations that that pass did. llvm-svn: 122264
* Print all 64bits for st_value and st_size. Adjust tests accordingly.Roman Divacky2010-12-2018-136/+136
| | | | llvm-svn: 122263
* The LLDB API (lldb::SB*) is now thread safe!Greg Clayton2010-12-2023-497/+537
| | | | llvm-svn: 122262
* Teach the MBlaze asm parser how to parse special purpose register names.Wesley Peck2010-12-205-42/+258
| | | | llvm-svn: 122261
* Patch from Stephen Wilson:Johnny Chen2010-12-201-1/+1
| | | | | | Fix a typo where a qualification was being interpreted as a label. llvm-svn: 122260
* Cosmetic changes.Dale Johannesen2010-12-202-3/+3
| | | | llvm-svn: 122259
* Add a check missing from my last commit and avoid a potential overflow ↵Benjamin Kramer2010-12-201-3/+3
| | | | | | situation. llvm-svn: 122258
* Remove unused variableMatt Beaumont-Gay2010-12-201-2/+0
| | | | llvm-svn: 122257
* More LVI cleanups, including trying to simplify the process of maintaining ↵Owen Anderson2010-12-201-25/+41
| | | | | | the OverDefinedCache. llvm-svn: 122256
* Add code to make sure InputReaders finish and are cleaned up whenCaroline Tice2010-12-203-0/+25
| | | | | | | | a Debugger object is destroyed or re-set. (Thus making sure that, for example, the Python interpreter finishes and exits cleanly rather than being left in an undefined state.) llvm-svn: 122255
* Reuse the reference into the LVI cache throughout the solver subsystem. ↵Owen Anderson2010-12-201-24/+28
| | | | | | | | This is much easier to verify as being safe thanks its recent de-recursivization. llvm-svn: 122254
* Finish refactoring the transformation of template argument lists,Douglas Gregor2010-12-201-15/+40
| | | | | | centralizing the transformation into two routines. No functionality change. llvm-svn: 122253
OpenPOWER on IntegriCloud