aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalOpt
AgeCommit message (Expand)Author
2012-07-29Add testcases for GlobalOpt changes in r160693 and r160757.Nick 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-07-02Convert the uses of '|&' to use '2>&1 |' instead, which works on oldChandler Carruth
2012-07-02Convert all tests using TCL-style quoting to use shell-style quoting.Chandler Carruth
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-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
2012-04-24Fix a crash on valid (if UB) bitcode that is produced for some globalChandler Carruth
2012-03-28GlobalOpt: If we have an inbounds GEP from a ConstantAggregateZero global tha...Benjamin Kramer
2012-03-13Teach globalopt how to evaluate an invoke with a non-void return type.Dan Gohman
2012-02-21Use the target-aware constant folder on expressions to improve the chanceNick Lewycky
2012-02-20Check for the correct size in the invariant marker.Nick Lewycky
2012-02-17Remove question.Nick Lewycky
2012-02-17Add support for invariant.start inside the static constructor evaluator. This isNick Lewycky
2012-02-16Replace all instances of dg.exp file with lit.local.cfg, since all tests are ...Eli Bendersky
2012-02-09GlobalOpt: Be more aggressive about elminating side-effect free static dtors.Benjamin Kramer
2012-02-05Teach GlobalOpt to handle atomic accesses to globals.Nick Lewycky
2012-01-05PR11705, part 2: globalopt shouldn't put inttoptr/ptrtoint operations into gl...Eli Friedman
2011-11-27remove autoupgrade support for old forms of llvm.prefetch and the oldChris Lattner
2011-11-27Upgrade syntax of tests using volatile instructions to use 'load volatile' in...Chris Lattner
2011-10-20Refactor code from inlining and globalopt that checks whether a function defi...Eli Friedman
2011-08-12Move "atomic" and "volatile" designations on instructions after the opcodeEli Friedman
2011-07-09Land the long talked about "type system rewrite" patch. ThisChris Lattner
2011-06-18rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which isChris Lattner
2011-06-17manually upgrade a bunch of tests to modern syntax, and remove some thatChris Lattner
2011-05-29Add testcase for r132290, to check for the crasher caught by the buildbotsNick Lewycky
2011-05-29Obey the isVolatile bit on memory intrinsics when analyzing uses of a globalNick Lewycky
2011-05-22fix PR9856, an incorrectly conservative assertion: a global can beChris Lattner
2011-04-09Add back a couple checks removed by r129128; the fact that an intitializerEli Friedman
2011-03-20Add an optimization to GlobalOpt that eliminates calls to __cxa_atexit, if th...Anders Carlsson
2011-01-19Add unnamed_addr when we can show that address of a global is not used.Rafael Espindola
2011-01-16Reduce and merge testcases.Owen Anderson
2011-01-16Improve the safety of my globalopt enhancement by ensuring that the bitcastOwen Anderson
2011-01-01fix a globalopt crash on two Adobe-C++ testcases that the recentChris Lattner
2010-12-07reapply r121100 with a tweak to constant fold ConstExprs with TargetDataChris Lattner
2010-12-07Temporarily revert r121100 as it's causing clang to failEric Christopher
2010-12-07fix PR8710 - teach global opt that some constantexprs are too complex toChris Lattner
2010-10-19GlobalOpt: EvaluateFunction() must not evaluate stores to weak_odr globals.Mikhail Glushenkov
2010-09-17Fix this test to avoid an "inexact" fold.Dan Gohman
2010-09-05fix PR8063, a crash in globalopt in the malloc analysis code.Chris Lattner
2010-09-02more test cleanupChris Lattner
2010-05-04Use llvm.foo as the intrinsic, rather than llvm.dbg.value. Since theDuncan Sands
2010-05-04Fix a variant of PR6112 found by thinking about it: when doingDuncan Sands