aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/GlobalOpt.cpp
AgeCommit message (Expand)Author
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
2009-07-08Switch GlobalVariable ctors to a sane API, where *either* a context or a modu...Owen Anderson
2009-07-08Push LLVMContext through GlobalVariables and IRBuilder.Owen Anderson
2009-07-06"LLVMContext* " --> "LLVMContext *"Owen Anderson
2009-07-06Thread LLVMContext through the constant folding APIs, which touches a lot of ...Owen Anderson
2009-07-06More LLVMContext-ification.Owen Anderson
2009-07-01improve the APIs for creating struct and function types with no arguments/ele...Chris Lattner
2009-06-17>> What if my global variable was into a different address space than stack?Sanjiv Gupta
2009-06-10Implement and use new method Function::hasAddressTaken().Jay Foad
2009-06-09Remove an unused function SafeToDestroyConstant(). Rename an almostJay Foad
2009-06-06Use cast<> instead of dyn_cast<> for things that are known to beJay Foad
2009-06-02Avoid infinite looping in AllGlobalLoadUsesSimpleEnoughForHeapSRA(). This can...Evan Cheng
2009-05-09Rename PaddedSize to AllocSize, in the hope that thisDuncan Sands
2009-05-03Revert r70630. Go back to appending ".b" to internal globals when shrinkingNick Lewycky
2009-05-02Don't append ".b" to the names of globals that are being shrunk to booleans.Nick Lewycky
2009-03-09Ignore debug info while evaluating function.Devang Patel
2009-03-08use MemTransferInst.Chris Lattner
2009-03-07fix a serious pessimization that Tron on IRC pointed out where we wouldChris Lattner
2009-03-06While thinking about the one-definition-rule and tryingDuncan Sands
2009-03-06Revert 66224.Devang Patel
2009-03-06Revert rev. 66167. Devang Patel
2009-03-06Do not let debug info prevert globalopt from shriking a global vars to boolean.Devang Patel
2009-03-05GlobalOpt only process non constant local GVs while optimizing global vars.Devang Patel
2009-03-04Temporarily revert r65994. It was causing rdar://6646455.Bill Wendling
2009-03-04If a global constant is dead then global's debug info should not prevent the ...Devang Patel
2009-02-18In theory the aliasee may have dead constant usersDuncan Sands
2009-02-17This transform also applies to private linkage.Duncan Sands
2009-02-15Make this more useful for cleaning up after theDuncan Sands
2009-02-15If the target of an alias has internal linkage, then theDuncan Sands
2009-01-23Simplify the logic of getting hold of a PHI predecessor block.Gabor Greif
2009-01-15Add the private linkage.Rafael Espindola
2009-01-14rewrite OptimizeAwayTrappingUsesOfLoads to 1) avoid a temporaryChris Lattner
2009-01-13Correct a comment.Duncan Sands
2009-01-12Rename getABITypeSize to getTypePaddedSize, asDuncan Sands
2009-01-07Whitespace - correct formatting.Duncan Sands
2008-12-17insert some sequence points and preincrement an iterator to avoidChris Lattner
2008-12-17Enhance heap sra to be substantially more aggressive w.r.t PHIChris Lattner
2008-12-16Fix another crash found by inspection. If we have a PHI node mergingChris Lattner
2008-12-16fix a crash found by inspection.Chris Lattner
2008-12-16switch some std::set/std::map to SmallPtrSet/DenseMap.Chris Lattner
2008-12-15enhance heap-sra to apply to fixed sized array allocations, not justChris Lattner
2008-12-15Use stripPointerCasts.Chris Lattner
2008-12-15minor tweaks for formatting, allow bitcast in ValueIsOnlyUsedLocallyOrStoredT...Chris Lattner
2008-12-15refactor some code into a new TryToOptimizeStoreOfMallocToGlobal function.Chris Lattner
2008-09-25 Large mechanical patch.Devang Patel