summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Do include ParenExpr in the CFG; only include their subexpression.Ted Kremenek2008-02-261-0/+3
| | | | llvm-svn: 47588
* Refactor inline asm constraint matching code out of SDIsel into TargetLowering.Evan Cheng2008-02-263-94/+107
| | | | llvm-svn: 47587
* Added lazy "symbolication" of parameter variables and global variables.Ted Kremenek2008-02-267-35/+118
| | | | | | Added recording of divide-by-zero and divide-by-uninitialized nodes. llvm-svn: 47586
* Remove debugging help.Devang Patel2008-02-261-1/+0
| | | | llvm-svn: 47585
* test svn commit capabilityNick Kledzik2008-02-261-0/+1
| | | | llvm-svn: 47584
* Update bitcode reader and writer to handle multiple return values. Devang Patel2008-02-263-19/+35
| | | | | | Take 2. llvm-svn: 47583
* add parsing, ast building and pretty printing support for C++ throw expressions.Chris Lattner2008-02-2610-1/+101
| | | | | | Patch by Mike Stump! llvm-svn: 47582
* Fix PR2092 by making sure the sign of the enum value follows the Chris Lattner2008-02-261-6/+11
| | | | | | | sign of its type in the early exit case. No testcase, because this doesn't manifest as a failure. llvm-svn: 47581
* fix const correctness.Chris Lattner2008-02-261-1/+1
| | | | llvm-svn: 47580
* Fixed bug in CFG construction when a CompoundStmt ended with a NullStmt.Ted Kremenek2008-02-261-10/+6
| | | | | | This caused the whole body to get dropped from the CFG. llvm-svn: 47579
* Added FIXME.Ted Kremenek2008-02-261-0/+2
| | | | llvm-svn: 47578
* Pass const vectors by reference.Devang Patel2008-02-262-8/+8
| | | | llvm-svn: 47577
* Add missing include (for ptrdiff_t).Eli Friedman2008-02-251-0/+1
| | | | llvm-svn: 47576
* Revert the assert for MUL_LOHI with an unused high result; ChrisDan Gohman2008-02-251-3/+0
| | | | | | pointed out that this isn't correct at -O0. llvm-svn: 47575
* when making bytecode modules, link as libraryAndrew Lenharth2008-02-251-1/+1
| | | | llvm-svn: 47574
* Revise previous patch per review.Dale Johannesen2008-02-251-4/+3
| | | | llvm-svn: 47573
* Minor bug fix in LiveVariables: don't "kill" decls referenced by a DeclStmtTed Kremenek2008-02-251-5/+5
| | | | | | that aren't VarDecls. llvm-svn: 47572
* Factor the assert for indexed loads/stores out of LoadSDNodeDan Gohman2008-02-251-8/+4
| | | | | | and StoreSDNode into LSBaseSDNode. llvm-svn: 47570
* Add an assert to verify that we don't see anDan Gohman2008-02-251-0/+3
| | | | | | {S,U}MUL_LOHI with an unused high value. llvm-svn: 47569
* Fix a little typo... per cfe-dev, this was apparently causing test Eli Friedman2008-02-251-1/+1
| | | | | | failures on OS X in some cases. (Thank you valgrind.) llvm-svn: 47568
* Remove the hack that turned an {S,U}MUL_LOHI with an unused highDan Gohman2008-02-251-9/+0
| | | | | | | | result into a MUL late in the X86 codegen process. ISD::MUL is once again Legal on X86, so this is no longer needed. And, the hack was suboptimal; see PR1874 for details. llvm-svn: 47567
* Make some static variables const.Dan Gohman2008-02-251-3/+3
| | | | llvm-svn: 47566
* clarify comment, this is undefined behavior in any case, even if it onlyChris Lattner2008-02-251-30/+10
| | | | | | bits VC++ right now. llvm-svn: 47565
* doxygenify some comments.Ted Kremenek2008-02-251-15/+15
| | | | llvm-svn: 47564
* add an assertion to catch a null PATypeHolder, patch by Erick TryzelaarChris Lattner2008-02-251-1/+2
| | | | llvm-svn: 47563
* Better handling of calls to functions via function pointers.Ted Kremenek2008-02-251-3/+5
| | | | llvm-svn: 47562
* Convert MaskedValueIsZero and all its users to use APInt. Also addDan Gohman2008-02-2510-71/+106
| | | | | | a SignBitIsZero function to simplify a common use case. llvm-svn: 47561
* convert tabs to spaces, patch by Mike Stump!Chris Lattner2008-02-2512-84/+84
| | | | llvm-svn: 47560
* add LSBaseSDNode::getOffset at Dan's request.Chris Lattner2008-02-251-0/+3
| | | | llvm-svn: 47558
* All remat'ed loads cannot be folded into two-address code. Not just argument ↵Evan Cheng2008-02-251-4/+4
| | | | | | loads. This change doesn't really have any impact on codegen. llvm-svn: 47557
* prune #includes, fit in 80 cols.Chris Lattner2008-02-252-6/+7
| | | | llvm-svn: 47556
* make this self contained.Chris Lattner2008-02-251-0/+1
| | | | llvm-svn: 47555
* Expand removal of MMX memory copies to allow 1 levelDale Johannesen2008-02-251-39/+75
| | | | | | of TokenFactor underneath chain (seems to be enough) llvm-svn: 47554
* Revert an incorrect part of my previuos patch.Lauro Ramos Venancio2008-02-251-1/+1
| | | | llvm-svn: 47553
* Add a new method to SDNode/SDOperand named getValueSizeInBitsDan Gohman2008-02-251-0/+12
| | | | | | | that combines getValueType and MVT::getSizeInBits, since this occurrs frequently. llvm-svn: 47552
* Fix PR2086.Lauro Ramos Venancio2008-02-254-18/+40
| | | | llvm-svn: 47551
* Fixed bug in RemoveDeadBindings when performing the mark-and-sweep over theTed Kremenek2008-02-251-4/+2
| | | | | | | symbolic store: VarDecl's inserted into the sweep may not always bind to anything; handle this special case just like bindings to uninitialized values. llvm-svn: 47550
* Expanded transfer function support for divide-by-zero checking to includeTed Kremenek2008-02-251-3/+10
| | | | | | "remainder-by-zero" checking (operator '%'). llvm-svn: 47549
* Added hack to transfer function logic to handle the case where a DeclRefExprTed Kremenek2008-02-251-1/+9
| | | | | | | | wrapping an EnumConstantDecl evaluates to an integer type that has a different signedness than the APSInt stored in the EnumConstantDecl. Will file a Bugzilla report. llvm-svn: 47548
* Added transfer function support for checking for divide-by-zero errors.Ted Kremenek2008-02-252-4/+70
| | | | llvm-svn: 47547
* In debug builds check that the key property holds: allDuncan Sands2008-02-251-12/+30
| | | | | | result and operand types are legal. llvm-svn: 47546
* Correctly determine whether a argument load can be folded into its uses.Evan Cheng2008-02-252-47/+54
| | | | llvm-svn: 47545
* Fix an issue where GVN was performing the return slot optimization when it wasOwen Anderson2008-02-252-8/+58
| | | | | | | not safe. This is fixed by more aggressively checking that the return slot is not used elsewhere in the function. llvm-svn: 47544
* enable digraphs for C94, thanks to Neil for pointing this out.Chris Lattner2008-02-252-2/+3
| | | | llvm-svn: 47543
* Temporarily reverting 46959.Evan Cheng2008-02-252-2/+3
| | | | llvm-svn: 47542
* Fix an issue where GVN would try to use an instruction before its definition ↵Owen Anderson2008-02-253-1/+33
| | | | | | when performing return slot optimization. llvm-svn: 47541
* Fix PR2090, a typo in digraph processing.Chris Lattner2008-02-242-1/+16
| | | | llvm-svn: 47540
* Update comment.Chris Lattner2008-02-241-1/+1
| | | | llvm-svn: 47539
* Move the initialization of SEL/objc_selector from Sema::Sema() to ↵Steve Naroff2008-02-241-13/+16
| | | | | | | | Sema::ActOnTranslationUnitScope() and make sure the type/struct get inserted into the translation unit scope. Bug submitted by David Chisnall (thanks!). llvm-svn: 47538
* Add support to LegalizeTypes for building legal vectorsDuncan Sands2008-02-243-1/+103
| | | | | | | | | out of illegal elements (BUILD_VECTOR). Uses and beefs up BUILD_PAIR, though it didn't really have to. Like most of LegalizeTypes, does not support soft-float. This cures all "make check" vector building failures. llvm-svn: 47537
OpenPOWER on IntegriCloud