aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/GlobalOpt.cpp
AgeCommit message (Expand)Author
2010-04-15back out r101364, as it trips the linux nightlybot on some clang C++ testsGabor Greif
2010-04-15rotate CallInst operands, i.e. move callee to the backGabor Greif
2010-04-14- Code clean up to reduce indentation.Evan Cheng
2010-04-10fix PR6760, a missing check in heap SRoA.Chris Lattner
2010-04-07fix 80-col violationsGabor Greif
2010-04-06make more two predicates constantGabor Greif
2010-04-06performance: get rid of repeated dereferencing of use_iterator by caching its...Gabor Greif
2010-04-06const-ize predicate ValueIsOnlyUsedLocallyOrStoredToOneGlobalGabor Greif
2010-04-06use CallSite to access calls vs. invokes uniformlyGabor Greif
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-04-01Introduce ImmutableCallSite, useful for contexts where no mutationGabor Greif
2010-03-20Add a setCalledFunction member to InvokeInst (like in CallInst)Gabor Greif
2010-02-26Fix rdar://7694996 a miscompile of 183.equake from my patch yesterday,Chris Lattner
2010-02-26remove dead code, by this point all uses of CI are gone.Chris Lattner
2010-02-26fix PR6435 another bug from the MallocInst elimination work.Chris Lattner
2010-02-25rewrite OptimizeGlobalAddressOfMalloc to fix PR6422, some bugsChris Lattner
2010-02-25Modernize comment.Nick Lewycky
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands
2010-02-15Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands
2010-01-29Keep iterating over all uses when meeting a phi node in AllUsesOfValueWillTra...Jakob Stoklund Olesen
2010-01-07handle ConstantVector while I'm in here.Chris Lattner
2010-01-07fix a globalopt crash on 'bullet' (handling evaluation of a storeChris Lattner
2010-01-05Move remaining stuff to the isInteger predicate.Benjamin Kramer
2010-01-05Avoid going through the LLVMContext for type equality where it's safe to dere...Benjamin Kramer
2010-01-05Change errs() to dbgs().David Greene
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