aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/IPO
Commit message (Expand)AuthorAgeFilesLines
* Auto-upgrade free instructions to calls to the builtin free function.Victor Hernandez2009-10-244-177/+4
* Derive metadata hierarchy from Value instead of User.Devang Patel2009-10-212-5/+0
* Do not remove dead metadata for now.Devang Patel2009-10-211-1/+2
* Malloc calls are marked NoAlias, so the code below the isMalloc() check makes...Victor Hernandez2009-10-191-2/+0
* remove the IndMemRemPass, which only made sense for when malloc/free were int...Chris Lattner2009-10-182-100/+0
* Remove MallocInst from LLVM Instructions.Victor Hernandez2009-10-172-397/+1
* Autoupgrade malloc insts to malloc calls.Victor Hernandez2009-10-172-117/+38
* HeapAllocSRoA also needs to check if malloc array size can be computed.Victor Hernandez2009-10-161-36/+40
* Fix bug where array malloc with unexpected computation of the size argument r...Victor Hernandez2009-10-151-17/+17
* Move the InlineCost code from Transforms/Utils to Analysis.Dan Gohman2009-10-133-3/+3
* Use names instead of numbers for some of the magicDale Johannesen2009-10-091-3/+4
* When considering whether to inline Callee into Caller,Dale Johannesen2009-10-091-6/+70
* Introduce and use convenience methods for getting pointer typesDuncan Sands2009-10-063-7/+7
* Remove an unnnecessary LLVMContext argument inDan Gohman2009-10-051-6/+4
* Allow -inline-threshold override default threshold even if compiling to optim...Evan Cheng2009-10-041-0/+1
* Convert LoopSimplify and LoopExtractor from FunctionPass to LoopPass.Dan Gohman2009-09-281-63/+41
* remove special handling of bitcast(malloc), it will be handledChris Lattner2009-09-271-5/+4
* unlike the malloc instruction, "malloc" calls do not claim to be readonly, ju...Chris Lattner2009-09-271-1/+1
* Constant propagating byval pointer is safe if function is readonly.Edwin Török2009-09-241-2/+2
* Don't constant propagate byval pointers, since they are not really pointers, butEdwin Török2009-09-241-1/+2
* Tabs -> spaces, and remove trailing whitespace.Daniel Dunbar2009-09-201-5/+5
* Remove the default value for ConstantStruct::get's isPacked parameter andNick Lewycky2009-09-191-3/+3
* Enhance transform passes so that they apply the same tranforms to malloc call...Victor Hernandez2009-09-182-5/+432
* add a new CallGraphNode::replaceCallEdge method and use it fromChris Lattner2009-09-151-4/+4
* Factor out the code for checking that all indices in a getelementptr areDan Gohman2009-09-101-15/+4
* Fix PR4909, patch by Jakub Staszak.Owen Anderson2009-09-081-1/+2
* Don't commit stores with addresses that have indices that are notDan Gohman2009-09-071-0/+21
* Don't commit addresses of aggregate values. This avoids problems withDan Gohman2009-09-071-0/+5
* Fix GlobalOpt to avoid committing a store if the address getelementptrDan Gohman2009-09-071-1/+2
* Preserve the InBounds flag when evaluating a getelementptr instructionDan Gohman2009-09-071-2/+3
* Simplify this code by using hasDefinitiveInitializer().Dan Gohman2009-09-071-9/+10
* Remove VISIBILITY_HIDDEN from this file.Nick Lewycky2009-09-031-4/+3
* back out my recent commit (r80858), it seems to break self-hosting buildbot's...Gabor Greif2009-09-032-4/+4
* re-commit r66920 (which has been backed out in r66953) I may have more luck t...Gabor Greif2009-09-032-4/+4
* remove CallGraphNode::replaceCallSite, it is redundant with other APIs.Chris Lattner2009-09-012-2/+6
* cleanup/simplifyChris Lattner2009-09-011-17/+13
* Change CallGraphNode to maintain it's Function as an AssertingVHChris Lattner2009-09-011-7/+3
* comment and simplify some code.Chris Lattner2009-08-311-19/+14
* add -debug outputChris Lattner2009-08-311-0/+4
* simplify some code by making the SCCNodes set contain Function*'sChris Lattner2009-08-311-12/+9
* Fix PR4834, a tricky case where the inliner would resolve anChris Lattner2009-08-311-6/+9
* Fix some nasty callgraph dangling pointer problems in Chris Lattner2009-08-315-54/+75
* Reapply 79977.Devang Patel2009-08-281-118/+7
* finish a half formed thought :)Chris Lattner2009-08-281-1/+4
* Implement a new optimization in the inliner: if inlining multipleChris Lattner2009-08-271-25/+125
* reduce header #include'ageChris Lattner2009-08-271-1/+4
* reduce inlining factor some stuff out to a static helper function,Chris Lattner2009-08-271-87/+104
* Revert 79977. It causes llvm-gcc bootstrap failures on some platforms.Devang Patel2009-08-261-7/+118
* Rename Instruction::isIdenticalTo to Instruction::isIdenticalToWhenDefined,Dan Gohman2009-08-251-1/+2
* Update DebugInfo interface to use metadata, instead of special named llvm.dbg...Devang Patel2009-08-251-118/+7