aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO
AgeCommit message (Expand)Author
2008-10-04Ignore loads from and stores to local memory (i.e. allocas)Duncan Sands
2008-10-03Clean up some multiple-return-value code that is no longerDan Gohman
2008-10-03Teach internalize to preserve the callgraph.Duncan Sands
2008-10-01revert the addition of Preverves(CallGraph), per Duncan's commentsNuno Lopes
2008-09-30add preserversCFG() + preservers(CallGraph)Nuno Lopes
2008-09-30add AU.setPreservesCFG() since this pass only adds and removes function attri...Nuno Lopes
2008-09-29Speed up these passes when the callgraph hasDuncan Sands
2008-09-29remove redundant test (mayBeOverriden() includes hasLinkOnceLinkage)Nuno Lopes
2008-09-29Tweak some comments.Duncan Sands
2008-09-29Rename isWeakForLinker to mayBeOverridden. Use itDuncan Sands
2008-09-26Implement function notes as function attributes. Devang Patel
2008-09-26Now Attributes are divided in three groupsDevang Patel
2008-09-25 Large mechanical patch.Devang Patel
2008-09-24s/ParamAttrsWithIndex/FnAttributeWithIndex/gDevang Patel
2008-09-24Put FN_NOTE_AlwaysInline and others in FnAttr namespace.Devang Patel
2008-09-23Move FN_NOTE_AlwaysInline and other out of ParamAttrs namespace.Devang Patel
2008-09-23s/ParameterAttributes/Attributes/gDevang Patel
2008-09-23Use parameter attribute store (soon to be renamed) forDevang Patel
2008-09-22Add hasNote() to check note associated with a function.Devang Patel
2008-09-22Initial support for the CMake build system.Oscar Fuentes
2008-09-20Implement review feedback from Devang: make useDuncan Sands
2008-09-19Add a new pass AddReadAttrs which works out which functionsDuncan Sands
2008-09-09Make safer variant of alias resolution routine to be defaultAnton Korobeynikov
2008-09-09Resolve aliases, when possibleAnton Korobeynikov
2008-09-08Update the callgraph correctly.Duncan Sands
2008-09-08Update the callgraph correctly in ArgumentPromotion.Duncan Sands
2008-09-08Reapply 55859. This doesn't change anything asDuncan Sands
2008-09-07Correct a comment and strip trailing whitespace.Duncan Sands
2008-09-06fix crash when the malloc/free function is defined or is a declaration with 0...Nuno Lopes
2008-09-06When PruneEH turned an invoke into an ordinaryDuncan Sands
2008-09-05Revert r55859. This is breaking the build in the abscence of its companion c...Owen Anderson
2008-09-05Delete the removeCallEdgeTo callgraph method,Duncan Sands
2008-09-05Use removeAllCalledFunctions rather than removingDuncan Sands
2008-09-05Make this pass return that it made a change ifDuncan Sands
2008-09-04try to seperate the mechanism into something others can useAndrew Lenharth
2008-09-04Tidy up several unbeseeming casts from pointer to intptr_t.Dan Gohman
2008-09-04cleanup as per Duncan's reviewAndrew Lenharth
2008-09-03Update inline threshold for current function if the notes say, optimize for s...Devang Patel
2008-09-03Initial version of a Partial Specialization IPO pass. It triggers a couple h...Andrew Lenharth
2008-09-03Fix typo in a comment.Devang Patel
2008-09-03Add parentheses to make code more readable.Devang Patel
2008-09-03Fix comments.Devang Patel
2008-09-03Add custom inliner that handles only functions that are marked as always_inline.Devang Patel
2008-09-03Handle "always inline" note during inline cost analysis.Devang Patel
2008-09-03Check noinline note and ignore other notes.Devang Patel
2008-09-03Handle "noinline" note inside the simple inliner.Devang Patel
2008-09-02s/FP_AlwaysInline/FN_NOTE_AlwaysInline/gDevang Patel
2008-09-02respect inline=never and inline=always notes.Devang Patel
2008-08-14Use empty() instead of begin() == end().Dan Gohman
2008-08-14Replace two for loops with while(!X->use_empty()) loops. This preventsMatthijs Kooijman