summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Make the side-numbering of instructions used by metadata (which is needed toNick Lewycky2010-02-252-2/+2
| | | | | | | | | keep track of instructions that return void) per-function. This fixes PR5278. This breaks backwards compatibility with the metadata format. That's okay because we haven't released the metadata bitcode yet. llvm-svn: 97132
* Move the GenerateCallExitNode logic completely into GREndPathNodeBuilder.Zhongxing Xu2010-02-252-16/+7
| | | | llvm-svn: 97131
* Implement the first half of redundancy factoring: efficiently Chris Lattner2010-02-251-4/+89
| | | | | | | | | splitting all the patterns under scope nodes into equality sets based on their first node. The second step is to rewrite the graph info a form that exposes the sharing. Before I do this, I want to redesign the Scope node. llvm-svn: 97130
* Move the dead bindings removal logic from CallInliner to ↵Zhongxing Xu2010-02-254-16/+24
| | | | | | GRExprEngine::ProcessCallExit(). llvm-svn: 97129
* Add a new conversion rank to classify conversions between complex and scalarChandler Carruth2010-02-254-26/+27
| | | | | | | | types. Rank these conversions below other conversions. This allows overload resolution when the only distinction is between a complex and scalar type. It also brings the complex overload resolutin in line with GCC's. llvm-svn: 97128
* Add comments.Zhongxing Xu2010-02-251-1/+3
| | | | llvm-svn: 97127
* Make LoopSimplify change conditional branches in loop exiting blocksDan Gohman2010-02-256-30/+128
| | | | | | | | | | | | which branch on undef to branch on a boolean constant for the edge exiting the loop. This helps ScalarEvolution compute trip counts for loops. Teach ScalarEvolution to recognize single-value PHIs, when safe, and ForgetSymbolicName to forget such single-value PHI nodes as apprpriate in ForgetSymbolicName. llvm-svn: 97126
* factor the print method better.Chris Lattner2010-02-252-100/+69
| | | | llvm-svn: 97125
* Dump the presence of attached metadata even if we don't know what it is. ThisNick Lewycky2010-02-251-6/+10
| | | | | | | | format is not parsable, even if the module is legal. To get parsable output, dump the module instead of the function or smaller, since metadata kind are attached to the module (not the context). llvm-svn: 97124
* add methods to do equality checks and get hashes of MatchersChris Lattner2010-02-252-8/+245
| | | | llvm-svn: 97123
* Call inliner improvements:Zhongxing Xu2010-02-258-51/+241
| | | | | | | | | | | | | | This patch implements the CallEnter/CallExit idea of Ted. Add two interfaces to GRSubEngine: ProcessCallEnter, ProcessCallExit. The CallEnter program point uses caller's location context. The CallExit program point uses callee's location context. CallEnter is built by GRStmtNodeBuilder. CallExit is built by GREndPathNodeBuilder. llvm-svn: 97122
* Modernize comment.Nick Lewycky2010-02-251-1/+1
| | | | llvm-svn: 97121
* Correct whitespace.Nick Lewycky2010-02-251-1/+1
| | | | llvm-svn: 97120
* Try r96559 for the third time. This time the shared library is only built ifJeffrey Yasskin2010-02-2510-13/+155
| | | | | | --enable-shared is passed to configure. llvm-svn: 97119
* Add MacOSXAPIChecker, a meta checker to include various precondition checks ↵Ted Kremenek2010-02-254-0/+144
| | | | | | | | | | | | for calls to various MacOS X functions. The checks in BasicObjCFoundationChecks.cpp will gradually be migrated here. As a first check, check that when 'dispatch_once()' is passed a predicate value that has non-local storage. llvm-svn: 97116
* When generating error node, check to see if we already cached out.Ted Kremenek2010-02-251-0/+3
| | | | llvm-svn: 97115
* Targets (like pic16) may have mangled the name of global variables, Sanjiv Gupta2010-02-251-1/+1
| | | | | | so get the name from Var rather than the original decl. llvm-svn: 97114
* Update CMake makefilesDouglas Gregor2010-02-251-1/+1
| | | | llvm-svn: 97113
* Restore the invariant that a nested-name-specifier can only containDouglas Gregor2010-02-259-93/+33
| | | | | | | | | class types, dependent types, and namespaces. I had previously weakened this invariant while working on parsing pseudo-destructor expressions, but recent work in that area has made these changes unnecessary. llvm-svn: 97112
* Frontend: Add CodeGenAction::takeModule().Daniel Dunbar2010-02-252-8/+39
| | | | llvm-svn: 97111
* Frontend: Pull CodeGenAction out more, and eliminate CreateBackendConsumer.Daniel Dunbar2010-02-256-115/+105
| | | | | | | | | | This is the way I would like to move the frontend function towards -- distinct pieces of functionality should be exposed only via FrontendAction implementations which have clean and relatively-stable APIs. This also isolates the surface area in clang which depends on LLVM CodeGen. llvm-svn: 97110
* Remove dead code.Anders Carlsson2010-02-251-176/+0
| | | | llvm-svn: 97109
* Each field of auxiliary debug entry is only 1 byte long.Sanjiv Gupta2010-02-251-1/+1
| | | | llvm-svn: 97108
* Move the vcall and vbase offset layout code out into its own class.Anders Carlsson2010-02-251-8/+224
| | | | llvm-svn: 97107
* Driver: Allow driver title (for --help) to be overridden by clients.Daniel Dunbar2010-02-252-2/+9
| | | | llvm-svn: 97106
* Added tNOP for disassembly only.Johnny Chen2010-02-251-1/+8
| | | | llvm-svn: 97105
* Enhance the unused ivar checker to not consider an ivar to be accidentally ↵Ted Kremenek2010-02-253-16/+30
| | | | | | | | unused when it is explicitly marked as unused via __attribute__((unused)). llvm-svn: 97104
* Allow __attribute__((unused)) to be applied to ObjC ivars.Ted Kremenek2010-02-252-11/+12
| | | | llvm-svn: 97103
* Driver: Use TextDiagnosticPrinter instead of a custom one.Daniel Dunbar2010-02-251-33/+4
| | | | llvm-svn: 97102
* Add TextDiagnosticPrinter::setPrefix, for adding a string to prefix diagnosticDaniel Dunbar2010-02-252-1/+12
| | | | | | messages with. llvm-svn: 97101
* Truncate from i64 to i32 is "free" on x86-32, because it involves Dan Gohman2010-02-251-2/+2
| | | | | | just discarding one of the registers. llvm-svn: 97100
* Revert this patch for the time being. Needs more testing.Scott Michel2010-02-253-150/+11
| | | | llvm-svn: 97099
* Added tSVC and tTRAP for disassembly only.Johnny Chen2010-02-251-0/+18
| | | | llvm-svn: 97098
* formatting.Chris Lattner2010-02-251-6/+3
| | | | llvm-svn: 97097
* rename fooMatcherNode to fooMatcher.Chris Lattner2010-02-256-401/+397
| | | | llvm-svn: 97096
* Remove some oogly code made dead by the pseudo-destructorDouglas Gregor2010-02-251-44/+0
| | | | | | instantiation changes. llvm-svn: 97095
* add some noop code to push it out of my tree.Chris Lattner2010-02-251-0/+23
| | | | llvm-svn: 97094
* rename PushMatcherNode -> ScopeMatcherNode to more accuratelyChris Lattner2010-02-256-41/+40
| | | | | | | reflect what it does. Switch the sense of the Next and the Check arms to be more logical. No functionality change. llvm-svn: 97093
* Use CXXPseudoDestructorExpr as the stored representation for dependentDouglas Gregor2010-02-258-218/+197
| | | | | | | | | | | | | | | | expressions that look like pseudo-destructors, e.g., p->T::~T() where p has dependent type. At template instantiate time, we determine whether we actually have a pseudo-destructor or a member access, and funnel down to the appropriate routine in Sema. Fixes PR6380. llvm-svn: 97092
* Large stack frame patch for the CellSPU: handle stack frames that exceed 8176Scott Michel2010-02-253-11/+150
| | | | | | | | | | | | | (511*16) bytes register displacement (D-form). NOTE: This is a potential headache, given the SPU's local core limitations, allowing the software developer to commit stack overrun suicide unknowingly. Also, large SPU stack frames will cause code size explosion. But, one presumes that the software developer knows what they're doing... Contributed by Kalle.Raiskila@nokia.com, edited slightly before commit. llvm-svn: 97091
* Catch more uses of uninitialized implicit conversion sequences.John McCall2010-02-255-50/+102
| | | | | | | When diagnosing bad conversions, skip the conversion for ignored object arguments. Fixes PR 6398. llvm-svn: 97090
* Filter the future all-of-llvm shared library out of the llvm-configJeffrey Yasskin2010-02-251-0/+2
| | | | | | | results. I'm checking this in before the shared library so that I can tell if it breaks anything on its own. llvm-svn: 97089
* Remove test case dependancy on platform headers.Ted Kremenek2010-02-251-1/+5
| | | | llvm-svn: 97088
* MC'ize padding when padding the ULEB128 value.Bill Wendling2010-02-251-7/+5
| | | | llvm-svn: 97087
* Add UnixAPIChecker, a meta checker to include various precondition checks ↵Ted Kremenek2010-02-255-0/+169
| | | | | | | | | | | for calls to various unix/posix functions, e.g. 'open()'. As a first check, check that when 'open()' is passed 'O_CREAT' that it has a third argument. llvm-svn: 97086
* Remove stray #include.Ted Kremenek2010-02-251-1/+0
| | | | llvm-svn: 97085
* Remove #include.Ted Kremenek2010-02-251-1/+0
| | | | llvm-svn: 97084
* Divide list of registration functions in API and foundational checks. Also ↵Ted Kremenek2010-02-251-2/+6
| | | | | | trim whitespace. llvm-svn: 97083
* Sort list of checker registration functions.Ted Kremenek2010-02-251-12/+12
| | | | llvm-svn: 97082
* add a fixme for an experiment that defeated me for the time being.Chris Lattner2010-02-251-0/+4
| | | | llvm-svn: 97081
OpenPOWER on IntegriCloud