aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
AgeCommit message (Expand)Author
2009-09-27simplify some code.Chris Lattner
2009-09-27The bitcast case is not needed here: instcombine turns icmp(bitcast(x), null)...Chris Lattner
2009-09-27calls are already unmovable, malloc doesn't need a special case.Chris Lattner
2009-09-27calls to external functions are already marked overdefined, special casingChris Lattner
2009-09-27calls are already handled, malloc doesn't need a special case.Chris Lattner
2009-09-27calls are rejected above, no need to special case malloc here.Chris Lattner
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-27allow pushing icmps through phis with multiple uses and across critical edges.Chris Lattner
2009-09-27Enhance the previous fix for PR4895 to allow more values than justChris Lattner
2009-09-27implement PR4895, by making FoldOpIntoPhi handle select conditionsChris Lattner
2009-09-27Grab an LLVM Context from an instruction that exists rather than oneDan Gohman
2009-09-27Tell ScalarEvolution to forget everything it knows about a loop beforeDan Gohman
2009-09-27Instruction::clone does not need to take an LLVMContext&. Remove that andNick Lewycky
2009-09-26Fix SimplifyLibCalls to transfer attributes from callees rather thanDan Gohman
2009-09-25Rename ConstantFP's getInf to getInfinity.Dan Gohman
2009-09-25Transform pow(x, 0.5) to (x == -inf ? inf : fabs(sqrt(x))), which isDan Gohman
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-23A minor improvment in accuracy to inline costDale Johannesen
2009-09-21tidy upChris Lattner
2009-09-21big endian systems shift by bits too, hopefully this will fix the ppc Chris Lattner
2009-09-21Nick pointed out that DominanceFrontier and DominanceTree are preservedDan Gohman
2009-09-21Remove the special-case for constants in PHI nodes; it's not reallyDan Gohman
2009-09-21fix PR5016, a crash I introduced in GVN handing first classChris Lattner
2009-09-21enable non-local analysis and PRE of large store -> little load.Chris Lattner
2009-09-21convert an std::pair to an explicit struct.Chris Lattner
2009-09-21move some functions, add a comment.Chris Lattner
2009-09-21split HandleLoadFromClobberingStore in two pieces: one that does theChris Lattner
2009-09-21Improve GVN to be able to forward substitute a small load Chris Lattner
2009-09-21formatting cleanups, no functionality change.Chris Lattner
2009-09-20Move CoerceAvailableValueToLoadType earlier in GVN.cpp. Hook it upChris Lattner
2009-09-20change the interface to CoerceAvailableValueToLoadType to be Chris Lattner
2009-09-20enhance GVN to forward substitute a stored value to a loadChris Lattner
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-18Update malloc call creation code (AllocType is now the element type of the ma...Victor Hernandez
2009-09-17Update CMake.Daniel Dunbar
2009-09-16Add a new pass for doing late hoisting of floating-point and vectorDan Gohman
2009-09-16Change FoldPHIArgBinOpIntoPHI to decline folding if it would introduce twoDan Gohman
2009-09-16Reapplied r81355 with the problems fixed.Andreas Neustifter
2009-09-16Preserve ProfileInfo during CodeGenPrepare.Andreas Neustifter
2009-09-16Don't sink gep operators through phi nodes if the result would requireDan Gohman
2009-09-15Add more newlines to make up for the ones removed from the end of instructions.Nick Lewycky
2009-09-15add a new CallGraphNode::replaceCallEdge method and use it fromChris Lattner
2009-09-15add newline to debug dumpChris Lattner
2009-09-14When extending a memset range past the front, set the alignment of theDan Gohman
2009-09-10Factor out the code for checking that all indices in a getelementptr areDan Gohman
2009-09-10Correctly handle the case where a comparison is created in one BasicBlock andNick Lewycky