| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix error where it wasn't getting the correct caller function. | Bill Wendling | 2008-11-21 | 1 | -1/+2 |
| | | | | | llvm-svn: 59758 | ||||
| * | If the function being inlined has a higher stack protection level than the | Bill Wendling | 2008-11-21 | 1 | -0/+9 |
| | | | | | | | | inlining function, then increase the stack protection level on the inlining function. llvm-svn: 59757 | ||||
| * | Do not forget llvm.dbg.declare's first argument while removing debugging ↵ | Devang Patel | 2008-11-20 | 1 | -4/+12 |
| | | | | | | | information. llvm-svn: 59688 | ||||
| * | Remove unused variables. | Devang Patel | 2008-11-19 | 1 | -12/+9 |
| | | | | | llvm-svn: 59570 | ||||
| * | Fix typo. | Devang Patel | 2008-11-19 | 1 | -1/+1 |
| | | | | | llvm-svn: 59569 | ||||
| * | Add new helper pass that strips all symbol names except debugging information. | Devang Patel | 2008-11-18 | 1 | -28/+51 |
| | | | | | | | This pass makes it easier to test wheter debugging info. influences optimization passes or not. llvm-svn: 59552 | ||||
| * | Remove even more llvm.dbg variables. | Devang Patel | 2008-11-18 | 1 | -33/+50 |
| | | | | | | | | Remove all dead globals from llvm.metadata. Ignore linkonce linkage for selected llvm.dbg values. llvm-svn: 59547 | ||||
| * | If SI->size() is 0, we are not allowed to dereference ->begin(). | Torok Edwin | 2008-11-16 | 1 | -2/+4 |
| | | | | | | | This fixed PR3078. llvm-svn: 59416 | ||||
| * | simplify loop | Chris Lattner | 2008-11-16 | 1 | -5/+2 |
| | | | | | llvm-svn: 59406 | ||||
| * | Refactor code. | Devang Patel | 2008-11-14 | 1 | -37/+60 |
| | | | | | | | Strip debug information before stripping symbol names. llvm-svn: 59328 | ||||
| * | Really remove all debug information. | Devang Patel | 2008-11-13 | 1 | -11/+52 |
| | | | | | llvm-svn: 59208 | ||||
| * | Use actual function name in comments. | Devang Patel | 2008-11-11 | 1 | -2/+2 |
| | | | | | llvm-svn: 59063 | ||||
| * | Do now allow InlineAlways pass to remove dead functions. | Devang Patel | 2008-11-05 | 2 | -0/+13 |
| | | | | | llvm-svn: 58744 | ||||
| * | add a period at the end of the comment, ignoring the fact that the comment ↵ | Andrew Lenharth | 2008-11-03 | 1 | -1/+1 |
| | | | | | | | would be hard pressed to be considered a sentence, but if it makes Bill happy... llvm-svn: 58630 | ||||
| * | Ensure that we are checking only calls to the function we are interested in ↵ | Andrew Lenharth | 2008-11-03 | 1 | -2/+4 |
| | | | | | | | specializing llvm-svn: 58615 | ||||
| * | Changes from Duncan's review: | Nick Lewycky | 2008-11-02 | 1 | -9/+28 |
| | | | | | | | | | * merge two weak functions by making them both alias a third non-weak fn * don't reimplement CallSite::hasArgument * whitelist the safe linkage types llvm-svn: 58568 | ||||
| * | Get this building on 64 bit machines (error: | Duncan Sands | 2008-11-02 | 1 | -5/+5 |
| | | | | | | | | cast from ‘const llvm::PointerType*’ to ‘unsigned int’ loses precision). llvm-svn: 58561 | ||||
| * | CMake: added a source file. | Oscar Fuentes | 2008-11-02 | 1 | -0/+1 |
| | | | | | llvm-svn: 58559 | ||||
| * | Add a new MergeFunctions pass. It finds identical functions and merges them. | Nick Lewycky | 2008-11-02 | 1 | -0/+358 |
| | | | | | | | | | This triggers only 60 times in llvm-test (look at .llvm.bc, not .linked.rbc) and so it probably wont be turned on by default. Also, may of those are likely to go away when PR2973 is fixed. llvm-svn: 58557 | ||||
| * | Add InlineCost class for represent the estimated cost of inlining a | Daniel Dunbar | 2008-10-30 | 3 | -3/+16 |
| | | | | | | | | | | function. - This explicitly models the costs for functions which should "always" or "never" be inlined. This fixes bugs where such costs were not previously respected. llvm-svn: 58450 | ||||
| * | Factor shouldInline method out of Inliner. | Daniel Dunbar | 2008-10-29 | 1 | -18/+26 |
| | | | | | | | - No functionality change. llvm-svn: 58355 | ||||
| * | Assorted comment/naming fixes, 80-col violations, and reindentation. | Daniel Dunbar | 2008-10-28 | 1 | -3/+1 |
| | | | | | | | - No functionality change. llvm-svn: 58352 | ||||
| * | Fix a bug that prevented llvm-extract -delete from working. | Dan Gohman | 2008-10-21 | 1 | -1/+1 |
| | | | | | llvm-svn: 57864 | ||||
| * | dont specialize weak functions and the like | Nuno Lopes | 2008-10-08 | 1 | -1/+1 |
| | | | | | llvm-svn: 57305 | ||||
| * | Ignore loads from and stores to local memory (i.e. allocas) | Duncan Sands | 2008-10-04 | 1 | -9/+26 |
| | | | | | | | | | when deciding whether to mark a function readnone/readonly. Since the pass is currently run before SROA, this may be quite helpful. Requested by Chris on IRC. llvm-svn: 57050 | ||||
| * | Clean up some multiple-return-value code that is no longer | Dan Gohman | 2008-10-03 | 1 | -5/+1 |
| | | | | | | | applicable. llvm-svn: 57033 | ||||
| * | Teach internalize to preserve the callgraph. | Duncan Sands | 2008-10-03 | 1 | -0/+7 |
| | | | | | | | Why? Because it was there! llvm-svn: 56996 | ||||
| * | revert the addition of Preverves(CallGraph), per Duncan's comments | Nuno Lopes | 2008-10-01 | 1 | -2/+0 |
| | | | | | llvm-svn: 56917 | ||||
| * | add preserversCFG() + preservers(CallGraph) | Nuno Lopes | 2008-09-30 | 1 | -0/+6 |
| | | | | | llvm-svn: 56887 | ||||
| * | add AU.setPreservesCFG() since this pass only adds and removes function ↵ | Nuno Lopes | 2008-09-30 | 1 | -0/+5 |
| | | | | | | | attributes llvm-svn: 56868 | ||||
| * | Speed up these passes when the callgraph has | Duncan Sands | 2008-09-29 | 2 | -4/+16 |
| | | | | | | | | huge simply connected components. Suggested by Chris. llvm-svn: 56787 | ||||
| * | remove redundant test (mayBeOverriden() includes hasLinkOnceLinkage) | Nuno Lopes | 2008-09-29 | 1 | -1/+1 |
| | | | | | llvm-svn: 56786 | ||||
| * | Tweak some comments. | Duncan Sands | 2008-09-29 | 1 | -4/+6 |
| | | | | | llvm-svn: 56784 | ||||
| * | Rename isWeakForLinker to mayBeOverridden. Use it | Duncan Sands | 2008-09-29 | 3 | -3/+3 |
| | | | | | | | | instead of hasWeakLinkage in a bunch of optimization passes. llvm-svn: 56782 | ||||
| * | Implement function notes as function attributes. | Devang Patel | 2008-09-26 | 3 | -3/+4 |
| | | | | | llvm-svn: 56716 | ||||
| * | Now Attributes are divided in three groups | Devang Patel | 2008-09-26 | 5 | -19/+44 |
| | | | | | | | | | | | | | | - return attributes - inreg, zext and sext - parameter attributes - function attributes - nounwind, readonly, readnone, noreturn Return attributes use 0 as the index. Function attributes use ~0U as the index. This patch requires corresponding changes in llvm-gcc and clang. llvm-svn: 56704 | ||||
| * | Large mechanical patch. | Devang Patel | 2008-09-25 | 10 | -90/+90 |
| | | | | | | | | | | | | | | | | s/ParamAttr/Attribute/g s/PAList/AttrList/g s/FnAttributeWithIndex/AttributeWithIndex/g s/FnAttr/Attribute/g This sets the stage - to implement function notes as function attributes and - to distinguish between function attributes and return value attributes. This requires corresponding changes in llvm-gcc and clang. llvm-svn: 56622 | ||||
| * | s/ParamAttrsWithIndex/FnAttributeWithIndex/g | Devang Patel | 2008-09-24 | 3 | -19/+19 |
| | | | | | llvm-svn: 56535 | ||||
| * | Put FN_NOTE_AlwaysInline and others in FnAttr namespace. | Devang Patel | 2008-09-24 | 3 | -3/+3 |
| | | | | | llvm-svn: 56527 | ||||
| * | Move FN_NOTE_AlwaysInline and other out of ParamAttrs namespace. | Devang Patel | 2008-09-23 | 3 | -3/+3 |
| | | | | | | | Do not check isDeclaration() in hasNote(). It is clients' responsibility. llvm-svn: 56524 | ||||
| * | s/ParameterAttributes/Attributes/g | Devang Patel | 2008-09-23 | 4 | -15/+15 |
| | | | | | llvm-svn: 56513 | ||||
| * | Use parameter attribute store (soon to be renamed) for | Devang Patel | 2008-09-23 | 3 | -3/+3 |
| | | | | | | | Function Notes also. Function notes are stored at index ~0. llvm-svn: 56511 | ||||
| * | Add hasNote() to check note associated with a function. | Devang Patel | 2008-09-22 | 3 | -3/+3 |
| | | | | | llvm-svn: 56477 | ||||
| * | Initial support for the CMake build system. | Oscar Fuentes | 2008-09-22 | 1 | -0/+24 |
| | | | | | llvm-svn: 56419 | ||||
| * | Implement review feedback from Devang: make use | Duncan Sands | 2008-09-20 | 1 | -26/+11 |
| | | | | | | | of mayReadFromMemory and mayWriteToMemory. llvm-svn: 56387 | ||||
| * | Add a new pass AddReadAttrs which works out which functions | Duncan Sands | 2008-09-19 | 1 | -0/+135 |
| | | | | | | | | | | can get the readnone/readonly attributes, and gives them it. The plan is to remove markmodref (which did the same thing by querying GlobalsModRef) and delete the analogous functionality from GlobalsModRef. llvm-svn: 56341 | ||||
| * | Make safer variant of alias resolution routine to be default | Anton Korobeynikov | 2008-09-09 | 1 | -2/+1 |
| | | | | | llvm-svn: 56005 | ||||
| * | Resolve aliases, when possible | Anton Korobeynikov | 2008-09-09 | 1 | -0/+22 |
| | | | | | llvm-svn: 56001 | ||||
| * | Update the callgraph correctly. | Duncan Sands | 2008-09-08 | 1 | -1/+4 |
| | | | | | llvm-svn: 55896 | ||||
| * | Update the callgraph correctly in ArgumentPromotion. | Duncan Sands | 2008-09-08 | 1 | -0/+7 |
| | | | | | llvm-svn: 55895 | ||||

