aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/GlobalOpt.cpp
AgeCommit message (Expand)Author
2009-12-08Teach GlobalOpt to delete aliases with internal linkage (afterDuncan Sands
2009-11-23Make ConstantFoldConstantExpression recursively visit the entireDan Gohman
2009-11-10Update computeArraySize() to use ComputeMultiple() to determine the array siz...Victor Hernandez
2009-11-07- new SROA mallocs should have the mallocs running-or'ed, not the malloc's bi...Victor Hernandez
2009-11-07Re-commit r86077 now that r86290 fixes the 179.art and 175.vpr ARM regressions.Victor Hernandez
2009-11-06remove a bunch of extraneous LLVMContext argumentsChris Lattner
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-01cleanups, switch GlobalDCE to SmallPtrSet instead of std::setChris Lattner
2009-11-01Revert 85678/85680. The decision is to stay with the current form of Chris Lattner
2009-10-31adjust a couple xforms to work with null bb's in BlockAddress.Chris Lattner
2009-10-29just for the hell of it, allow globalopt to statically evaluate Chris Lattner
2009-10-28Extend getMallocArraySize() to determine the array size if the malloc argumen...Victor Hernandez
2009-10-27Rename MallocFreeHelper as MemoryBuiltinsVictor Hernandez
2009-10-26Rename MallocHelper as MallocFreeHelper, since it now also identifies calls t...Victor Hernandez
2009-10-25Remove includes of Support/Compiler.h that are no longer needed after theNick Lewycky
2009-10-25Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.Nick Lewycky
2009-10-24Auto-upgrade free instructions to calls to the builtin free function.Victor Hernandez
2009-10-17Remove MallocInst from LLVM Instructions.Victor Hernandez
2009-10-16HeapAllocSRoA also needs to check if malloc array size can be computed.Victor Hernandez
2009-10-15Fix bug where array malloc with unexpected computation of the size argument r...Victor Hernandez
2009-10-05Remove an unnnecessary LLVMContext argument inDan Gohman
2009-09-19Remove the default value for ConstantStruct::get's isPacked parameter andNick Lewycky
2009-09-18Enhance transform passes so that they apply the same tranforms to malloc call...Victor Hernandez
2009-09-10Factor out the code for checking that all indices in a getelementptr areDan Gohman
2009-09-07Don't commit stores with addresses that have indices that are notDan Gohman
2009-09-07Don't commit addresses of aggregate values. This avoids problems withDan Gohman
2009-09-07Fix GlobalOpt to avoid committing a store if the address getelementptrDan Gohman
2009-09-07Preserve the InBounds flag when evaluating a getelementptr instructionDan Gohman
2009-09-07Simplify this code by using hasDefinitiveInitializer().Dan Gohman
2009-08-23eliminate the "Value" printing methods that print to a std::ostream.Chris Lattner
2009-08-19Use hasDefinitiveInitializer() instead of testing the same thingDan Gohman
2009-08-18Fix a bug that caused globalopt to miscompile tramp3d: don't missDan Gohman
2009-08-17Don't access the first element of a potentially emptyDuncan Sands
2009-08-14Make TargetData optional in GlobalOpt and ArgumentPromotion.Dan Gohman
2009-08-13Push LLVMContexts through the IntegerType APIs.Owen Anderson
2009-08-12Remove a bunch more now-unnecessary Context arguments.Dan Gohman
2009-08-05Privatize the StructType table, which unfortunately involves routing contexts...Owen Anderson
2009-07-31Move a few more APIs back to 2.5 forms. The only remaining ones left to chan...Owen Anderson
2009-07-31Move getTrue() and getFalse() to 2.5-like APIs.Owen Anderson
2009-07-30Move more code back to 2.5 APIs.Owen Anderson
2009-07-30Twines: Don't allow implicit conversion from integers, this is too tricky.Daniel Dunbar
2009-07-30Switch obvious clients to Twine instead of utostr (when they were already usingDaniel Dunbar
2009-07-29Move types back to the 2.5 API.Owen Anderson
2009-07-29Move ConstantExpr to 2.5 API.Owen Anderson
2009-07-28Change ConstantArray to 2.5 API.Owen Anderson
2009-07-27Move ConstantStruct back to 2.5 API.Owen Anderson
2009-07-25More migration to raw_ostream, the water has dried up around the iostream hole.Daniel Dunbar
2009-07-24Revert the ConstantInt constructors back to their 2.5 forms where possible, t...Owen Anderson
2009-07-22Get rid of the Pass+Context magic.Owen Anderson