aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/GlobalOpt.cpp
AgeCommit message (Expand)Author
2013-05-09Don't replace an alias in llvm.used with its target.Rafael Espindola
2013-04-02Use a worklist to avoid a sneaky iterator invalidation.Bill Wendling
2013-02-13Retain the name of the new internal global that's been shrunk.Bill Wendling
2013-01-25Remove some introspection functions.Bill Wendling
2013-01-25Use the new 'getSlotIndex' method to retrieve the attribute's slot index.Bill Wendling
2013-01-23Use the AttributeSet when removing multiple attributes. Use Attribute::AttrKindBill Wendling
2013-01-12GlobalOpt: Avoid jump on uninitialized value.Benjamin Kramer
2013-01-11Fixed whitespace.Michael Gottesman
2013-01-11Added debug messages to GlobalOpt.Michael Gottesman
2013-01-10Fix TryToShrinkGlobalToBoolean in GlobalOpt, so that it does not discard addr...Joey Gouly
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth
2012-12-19Rename the 'Attributes' class to 'Attribute'. It's going to represent a singl...Bill Wendling
2012-12-07s/AttrListPtr/AttributeSet/g to better label what this class is going to be i...Bill Wendling
2012-12-06Remove unused field.Jakub Staszak
2012-12-06Remove trailing spaces.Jakub Staszak
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-12-01Revert previous check in r168581, r169079 as they are still in code review st...Zhou Sheng
2012-12-01The patch is to improve the memory footprint of pass GlobalOpt. Zhou Sheng
2012-11-15Make GlobalOpt be conservative with TLS variables (PR14309)Hans Wennborg
2012-11-01Revert the series of commits starting with r166578 which introduced theChandler Carruth
2012-10-24Add in support for getIntPtrType to get the pointer type based on the address...Micah Villmow
2012-10-16Use the Attributes::get method which takes an AttrVal value directly to simpl...Bill Wendling
2012-10-15Move the Attributes::Builder outside of the Attributes class and into its own...Bill Wendling
2012-10-15Attributes RewriteBill Wendling
2012-10-14Remove the bitwise NOT operator from the Attributes class. Replace it with th...Bill Wendling
2012-10-10Remove the final bits of Attributes being declared in the AttributeBill Wendling
2012-10-09Create enums for the different attributes.Bill Wendling
2012-10-08Move TargetData to DataLayout.Micah Villmow
2012-10-04Use method to query for attributes.Bill Wendling
2012-09-28GlobalOpt: non-constexpr bitcasts or GEPs can occur even if the global value ...Benjamin Kramer
2012-09-27Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. S...Sylvestre Ledru
2012-09-27Fix a typo 'iff' => 'if'Sylvestre Ledru
2012-08-29Make MemoryBuiltins aware of TargetLibraryInfo.Benjamin Kramer
2012-07-25It's not safe to blindly remove invoke instructions. This happens when weNick Lewycky
2012-07-24Don't delete one more instruction than we're allowed to. This should fix theNick Lewycky
2012-07-24Teach globalopt to not nuke all stores to globals. Keep them around of theyNick Lewycky
2012-07-21Revert r160602.Nick Lewycky
2012-07-21Teach globalopt to play nice with leak checkers. This is a reapplication ofNick Lewycky
2012-07-19Revert r160529 due to crashes.Nick Lewycky
2012-07-19Don't wipe out global variables that are probably storing pointers to heapNick Lewycky
2012-07-02GlobalOpt forgot to handle bitcast when analyzing globals. Found by inspection.Duncan Sands
2012-06-27Revert r159136 due to PR13124.Matt Beaumont-Gay
2012-06-25If a constant or a function has linkonce_odr linkage and unnamed_addr, mark itRafael Espindola
2012-06-24Tab to spaces. No functionality change.Nick Lewycky
2012-06-23Extend the IL for selecting TLS models (PR9788)Hans Wennborg
2012-06-22fix whitespace in my last commit.Nuno Lopes
2012-06-22remove extractMallocCallFromBitCast, since it was tailor maded for its sole u...Nuno Lopes
2012-06-15Some optimizations done by globalopt are safe only for internal linkage, notRafael Espindola
2012-06-14Implement the isSafeToDiscardIfUnused predicate and use it in globalopt andRafael Espindola
2012-05-12Teach Function::hasAddressTaken that BlockAddress doesn't really takeJay Foad