summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix the new scheduler assertion checks to work whenDan Gohman2008-04-151-2/+10
| | | | | | | the scheduler has inserted no-ops. This fixes the 2006-07-03-schedulers.ll regression on ppc32. llvm-svn: 49747
* Apple GCC 4.2 builds things differently. It no longer spawns a bunch ofBill Wendling2008-04-151-4/+33
| | | | | | processes, but requires the project to use -j. llvm-svn: 49744
* VisualStudio project files updated. #include <algorithm> added to make ↵Chuck Rose III2008-04-153-0/+20
| | | | | | VisualStudio happy. Also had to undefine setjmp because of #include <csetjmp> turning setjmp into _setjmp in VisualStudio. llvm-svn: 49743
* For HTML diagnostics, output more information about a bug report.Ted Kremenek2008-04-152-6/+27
| | | | llvm-svn: 49742
* Added "summary table" to generated index.html page that allows one toTed Kremenek2008-04-151-2/+68
| | | | | | toggle which bug reports are displayed in the report table. llvm-svn: 49738
* Make 64-to-32 bit truncations explicit (prevent warnings).Dale Johannesen2008-04-151-3/+5
| | | | | | All values here fit in 32 bits. llvm-svn: 49736
* Added test case illustrating the use of '&'.Ted Kremenek2008-04-151-0/+7
| | | | llvm-svn: 49735
* Fix bug in terminator processing for uninitialized-values: simply ignore the ↵Ted Kremenek2008-04-154-22/+100
| | | | | | | | | | terminator, don't reprocess it. LiveVariables analysis now does a flow-insensitive analysis to determine what variables have their address taken; these variables are now always treated as being live. The DataflowSolver now uses "SetTopValue()" when getting the initial value for the entry/exit block. llvm-svn: 49734
* Don't assume a tail call can't reference a byvalDale Johannesen2008-04-152-2/+22
| | | | | | argument to the outer function, this isn't correct. llvm-svn: 49731
* Use gv's --spartan option, which trades away an extra row of UI buttonsDan Gohman2008-04-151-0/+1
| | | | | | for more space for displaying the graph. llvm-svn: 49730
* A couple minor fixes suggested by Matthijs KooijmanChris Lattner2008-04-152-2/+2
| | | | llvm-svn: 49729
* Fix a compiler error on MSVC (variable name 'E' clash).Argyrios Kyrtzidis2008-04-151-1/+1
| | | | llvm-svn: 49727
* Change Divided flag to Split, as suggested by EvanNicolas Geoffray2008-04-153-8/+8
| | | | llvm-svn: 49715
* Sort sub-registers and super-registers lists according to super-sub register ↵Evan Cheng2008-04-152-6/+33
| | | | | | relations. e.g. X86::RAX sub-register list is EAX, AX, AL, AH (order of last two are not guaranteed). llvm-svn: 49714
* Install into the directoryBill Wendling2008-04-151-2/+4
| | | | llvm-svn: 49713
* finish commenting RewriteRopeChris Lattner2008-04-151-2/+65
| | | | llvm-svn: 49712
* Improve dead store diagnostic.Ted Kremenek2008-04-151-1/+1
| | | | llvm-svn: 49711
* Bug fix in VisitChildren: Only visit the last statement in a StmtExpr and ↵Ted Kremenek2008-04-151-0/+20
| | | | | | the RHS of a comma expression, as the other Stmts will be visited elsewhere in a CFGBlock. llvm-svn: 49710
* Added initial support into the flow-sensitive dataflow solver to visit the ↵Ted Kremenek2008-04-153-5/+37
| | | | | | | | | | | | | Block-level expression in a block's terminator. This expression is visited within a block, but it is accessed by the terminator. This is important to observe because for live-variables analysis the block-level expression is live between the terminator and where the expression occurs in the block. So far this hasn't been an issue to not observe this because the block-level expression used in the terminator is always the last one in the block, and we have never queried the liveness information about this point (but before the terminator). llvm-svn: 49709
* Bug fix in dead stores: don't always check the liveness of the first declTed Kremenek2008-04-151-1/+1
| | | | | | in a DeclStmt. llvm-svn: 49708
* ++/-- makes a variable live since it is used; thus the liveness state isTed Kremenek2008-04-151-3/+3
| | | | | | "Alive" as opposed to staying the same. llvm-svn: 49707
* Handle "__private_extern__" storage class when printing FunctionDecls.Ted Kremenek2008-04-151-0/+1
| | | | llvm-svn: 49706
* Bug fix in LiveVariables: Operators ++/-- may kill a value, but the variableTed Kremenek2008-04-151-6/+5
| | | | | | is still live. llvm-svn: 49705
* Fix a corner case that ted hit in -emit-html, rdar://5863212Chris Lattner2008-04-151-1/+1
| | | | llvm-svn: 49703
* Treat EntryToken nodes as "passive" so that they aren't added to theDan Gohman2008-04-155-37/+54
| | | | | | | | | | | | | | | | | ScheduleDAG; they don't correspond to any actual instructions so they don't need to be scheduled. This fixes a bug where the EntryToken was being scheduled multiple times in some cases, though it ended up not causing any trouble because EntryToken doesn't expand into anything. With this fixed the schedulers reliably schedule the expected number of units, so we can check this with an assertion. This requires a tweak to test/CodeGen/X86/loop-hoist.ll because it ends up getting scheduled differently in a trivial way, though it was enough to fool the prcontext+grep that the test does. llvm-svn: 49701
* New AST representation for each objc2's property declaration.Fariborz Jahanian2008-04-148-89/+50
| | | | llvm-svn: 49699
* In -view-sunit-dags, display "special" chain dependencies as cyanDan Gohman2008-04-142-0/+3
| | | | | | instead of blue to distinguish them from regular dependencies. llvm-svn: 49696
* Remove bogus token...Steve Naroff2008-04-141-1/+1
| | | | llvm-svn: 49695
* simplify the implementation of the insert/split operation to returnChris Lattner2008-04-141-98/+98
| | | | | | | the new RHS directly instead of indirecting through the 'InsertResult' struct. This eliminates InsertResult. llvm-svn: 49694
* Rename a file and update the Xcode project.Steve Naroff2008-04-142-4/+4
| | | | llvm-svn: 49693
* Rename RewriteTest->RewriteObjC.Steve Naroff2008-04-1428-93/+93
| | | | llvm-svn: 49692
* Add a bunch of comments, move RewriteRope::MakeRopeString out of line.Chris Lattner2008-04-142-47/+69
| | | | llvm-svn: 49689
* Fix comment.Steve Naroff2008-04-141-1/+1
| | | | llvm-svn: 49688
* Use isFromMainFile instead of comparing FileIDs directly.Ted Kremenek2008-04-141-1/+1
| | | | llvm-svn: 49687
* Fix regression in Diagnostic that caused it to not register the numberTed Kremenek2008-04-141-2/+3
| | | | | | of errors. llvm-svn: 49686
* Use SourceManager::isFromMainFile()Ted Kremenek2008-04-141-1/+1
| | | | llvm-svn: 49685
* Convert over to new SourceManager::isFromMainFile() instead of doing directTed Kremenek2008-04-141-8/+4
| | | | | | FileID comparison (fixes insidious corner case with chunks). llvm-svn: 49684
* HTMLDiagnostics now uses the new "getCanonicalID()", "isFromMainFileID()" ↵Ted Kremenek2008-04-141-23/+21
| | | | | | | | | methods from SourceManager when doing HTML pretty-printing. This resolves an insidious bug when presenting error reports that only occurred in large source files. llvm-svn: 49683
* Added "getCanonicalID()", "isFromSameFile", and "isFromMainFile" to compareTed Kremenek2008-04-143-1/+27
| | | | | | | | the files of different SourceLocations. These methods correctly handle the case where a file may have multiple FileIDs due to it being large enough to be spread across several chunks. llvm-svn: 49682
* Remove unnecessary <sstream> includes.Dan Gohman2008-04-142-2/+0
| | | | llvm-svn: 49681
* fix more uninit ivars, who wrote this junk? :)Chris Lattner2008-04-141-2/+2
| | | | llvm-svn: 49679
* Fix an assertion ted was hitting, due to an uninitialized variable.Chris Lattner2008-04-141-1/+1
| | | | llvm-svn: 49678
* Only increment the number of diagnostics when the DiagnosticClient usedTed Kremenek2008-04-141-2/+6
| | | | | | is the one attached to the Diagnostic object. llvm-svn: 49677
* Avoid creating MERGE_VALUES nodes for single values.Dan Gohman2008-04-141-1/+2
| | | | llvm-svn: 49676
* Added driver option "-checker-opt-analyze-headers" to force the staticTed Kremenek2008-04-143-23/+41
| | | | | | analyzer to analyze functions declared in header files. llvm-svn: 49675
* Teach AliasSetTracker about VAArgInst.Dan Gohman2008-04-142-0/+20
| | | | llvm-svn: 49674
* Don't flag dead stores that occur in macros.Ted Kremenek2008-04-141-0/+4
| | | | llvm-svn: 49672
* Minor whitespace and comment cleanups.Dan Gohman2008-04-141-3/+3
| | | | llvm-svn: 49671
* In the special case, call the comparison function instead ofDan Gohman2008-04-141-2/+2
| | | | | | | | manually performing the comparison. This allows the special case to work correctly even in the case where someone is experimenting with a different comparison function :-). llvm-svn: 49670
* Upgrade these tests for the current intrinsic prototypes.Dan Gohman2008-04-142-24/+24
| | | | llvm-svn: 49669
OpenPOWER on IntegriCloud