aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/GlobalOpt
AgeCommit message (Expand)Author
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
2009-12-30fix two bogus tests that the asmparser now rejects.Chris Lattner
2009-12-08Teach GlobalOpt to delete aliases with internal linkage (afterDuncan Sands
2009-11-23Make ConstantFoldConstantExpression recursively visit the entireDan Gohman
2009-11-07Re-commit r86077 now that r86290 fixes the 179.art and 175.vpr ARM regressions.Victor Hernandez
2009-11-06Revert r86077 because it caused crashes in 179.art and 175.vpr on ARMVictor Hernandez
2009-11-05Update CreateMalloc so that its callers specify the size to allocate:Victor Hernandez
2009-11-03Make opt default to not adding a target data string and update tests that dep...Kenneth Uildriks
2009-10-28Extend getMallocArraySize() to determine the array size if the malloc argumen...Victor Hernandez
2009-10-17Autoupgrade malloc insts to malloc calls.Victor Hernandez
2009-10-16HeapAllocSRoA also needs to check if malloc array size can be computed.Victor Hernandez
2009-10-16Invert isSafeToGetMallocArraySize check because we return NULL when we don't ...Victor Hernandez
2009-09-25Revert 82694 "Auto-upgrade malloc instructions to malloc calls." because it c...Victor Hernandez
2009-09-24Auto-upgrade malloc instructions to malloc calls.Victor Hernandez