aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalOpt
AgeCommit message (Expand)Author
2012-04-24Merging r155466:Bill Wendling
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
2010-04-28fix this to work with objdir != srcdirChris Lattner
2010-04-28fix PR6112 - When globalopt (or any other pass) does RAUW(@G, %G), Chris Lattner
2010-04-14Trim tests and convert to FileCheck.Evan Cheng
2010-04-10fix PR6760, a missing check in heap SRoA.Chris Lattner
2010-04-02Revert the recent alignment changes. They're broken for -Os because,Dan Gohman
2010-04-02Make globalopt refine global variable alignment.Dan Gohman
2010-03-01@llvm.dbg.stoppoint intrinsic is not used anymore.Devang Patel
2010-03-01Update to use new debug info encoding scheme. As a bonus, now the test passes!Devang Patel
2010-03-01Remove this test because it checks wheter optimizer handled @llvm.dbg.global_...Devang Patel
2010-02-26fix PR6435 another bug from the MallocInst elimination work.Chris Lattner
2010-02-26this file lacks a run line!Chris Lattner
2010-02-25rewrite OptimizeGlobalAddressOfMalloc to fix PR6422, some bugsChris Lattner
2010-01-07fix a globalopt crash on 'bullet' (handling evaluation of a storeChris Lattner
2010-01-05Delete useless trailing semicolons.Dan Gohman