aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO
AgeCommit message (Expand)Author
2009-11-06Revert r86077 because it caused crashes in 179.art and 175.vpr on ARMVictor Hernandez
2009-11-05Update various Loop optimization passes to cope with the possibility thatDan Gohman
2009-11-05Update CreateMalloc so that its callers specify the size to allocate:Victor Hernandez
2009-11-03Eliminate some temporaries.Benjamin Kramer
2009-11-01cleanups, switch GlobalDCE to SmallPtrSet instead of std::setChris Lattner
2009-11-01Reverting 85714, 85715, 85716, which are breaking the buildDouglas Gregor
2009-11-01Remove the #include of Pass.h from PassManager.h. This breaks a significantDan Gohman
2009-11-01teach ipsccp and ipconstprop that a blockaddress doesn't 'take the address' o...Chris 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-29teach various passes about blockaddress. We no longerChris Lattner
2009-10-28Extend getMallocArraySize() to determine the array size if the malloc argumen...Victor Hernandez
2009-10-28llvm.dbg.global_variables do not exist anymore.Devang Patel
2009-10-28Previously, all operands to Constant were themselves constant.Chris Lattner
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-21Derive metadata hierarchy from Value instead of User.Devang Patel
2009-10-21Do not remove dead metadata for now.Devang Patel
2009-10-19Malloc calls are marked NoAlias, so the code below the isMalloc() check makes...Victor Hernandez
2009-10-18remove the IndMemRemPass, which only made sense for when malloc/free were int...Chris Lattner
2009-10-17Remove MallocInst from LLVM Instructions.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-15Fix bug where array malloc with unexpected computation of the size argument r...Victor Hernandez
2009-10-13Move the InlineCost code from Transforms/Utils to Analysis.Dan Gohman
2009-10-09Use names instead of numbers for some of the magicDale Johannesen
2009-10-09When considering whether to inline Callee into Caller,Dale Johannesen
2009-10-06Introduce and use convenience methods for getting pointer typesDuncan Sands
2009-10-05Remove an unnnecessary LLVMContext argument inDan Gohman
2009-10-04Allow -inline-threshold override default threshold even if compiling to optim...Evan Cheng
2009-09-28Convert LoopSimplify and LoopExtractor from FunctionPass to LoopPass.Dan Gohman
2009-09-27remove special handling of bitcast(malloc), it will be handledChris Lattner
2009-09-27unlike the malloc instruction, "malloc" calls do not claim to be readonly, ju...Chris Lattner
2009-09-24Constant propagating byval pointer is safe if function is readonly.Torok Edwin
2009-09-24Don't constant propagate byval pointers, since they are not really pointers, butTorok Edwin
2009-09-20Tabs -> spaces, and remove trailing whitespace.Daniel Dunbar
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-15add a new CallGraphNode::replaceCallEdge method and use it fromChris Lattner
2009-09-10Factor out the code for checking that all indices in a getelementptr areDan Gohman
2009-09-08Fix PR4909, patch by Jakub Staszak.Owen Anderson
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