aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/GlobalOpt.cpp
AgeCommit message (Expand)Author
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
2009-07-21Rename getConstantInt{True|False} to get{True|False} at Chris' behest.Owen Anderson
2009-07-16Move the ConstantInt uniquing table into LLVMContextImpl. This exposed a num...Owen Anderson
2009-07-15Revert yesterday's change by removing the LLVMContext parameter to AllocaInst...Owen Anderson
2009-07-14Move EVER MORE stuff over to LLVMContext.Owen Anderson
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin
2009-07-13Move more functionality over to LLVMContext.Owen Anderson
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin
2009-07-09This started as a small change, I swear. Unfortunately, lots of things call ...Owen Anderson