| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Move MaximumAlignment to be a member of the Value class. | Dan Gohman | 2010-07-30 | 1 | -1/+2 |
| | | | | | llvm-svn: 109891 | ||||
| * | Add missing newline to debug statement. | Nick Lewycky | 2010-07-30 | 1 | -1/+1 |
| | | | | | llvm-svn: 109886 | ||||
| * | PR7750: !CExpr->isNullValue() only properly computes whether CExpr is nonnull | Eli Friedman | 2010-07-29 | 1 | -1/+1 |
| | | | | | | | if CExpr is a ConstantInt. llvm-svn: 109773 | ||||
| * | simplify by using CallSite constructors; virtually eliminates CallSite::get ↵ | Gabor Greif | 2010-07-28 | 8 | -24/+24 |
| | | | | | | | from the tree llvm-svn: 109687 | ||||
| * | Define a maximum supported alignment value for load, store, and | Dan Gohman | 2010-07-28 | 1 | -1/+5 |
| | | | | | | | | | | alloca instructions (constrained by their internal encoding), and add error checking for it. Fix an instcombine bug which generated huge alignment values (null is infinitely aligned). This fixes undefined behavior noticed by John Regehr. llvm-svn: 109643 | ||||
| * | When user code intentionally dereferences null, the alignment of the | Dan Gohman | 2010-07-28 | 1 | -2/+7 |
| | | | | | | | | dereference is theoretically infinite. Put a cap on the computed alignment to avoid overflow, noticed by John Regehr. llvm-svn: 109596 | ||||
| * | simplify | Gabor Greif | 2010-07-28 | 1 | -2/+2 |
| | | | | | llvm-svn: 109589 | ||||
| * | use Value* constructor of CallSite to create potentially improper site, and ↵ | Gabor Greif | 2010-07-28 | 1 | -2/+1 |
| | | | | | | | test that llvm-svn: 109581 | ||||
| * | recommit simplification (r109502, backed out r109509); seems to innocent | Gabor Greif | 2010-07-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 109510 | ||||
| * | back out this too to restore the bots | Gabor Greif | 2010-07-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 109509 | ||||
| * | simplify: CallSite::get --> CallSite constructor | Gabor Greif | 2010-07-27 | 1 | -4/+4 |
| | | | | | llvm-svn: 109506 | ||||
| * | simplify | Gabor Greif | 2010-07-27 | 1 | -1/+1 |
| | | | | | llvm-svn: 109502 | ||||
| * | Add an initial implementation of LazyValueInfo updating for JumpThreading. ↵ | Owen Anderson | 2010-07-26 | 1 | -0/+3 |
| | | | | | | | Disabled for now. llvm-svn: 109424 | ||||
| * | Remove LCSSA's bogus dependence on LoopSimplify and LoopSimplify's bogus | Dan Gohman | 2010-07-26 | 4 | -19/+12 |
| | | | | | | | | | | | | | | | dependence on DominanceFrontier. Instead, add an explicit DominanceFrontier pass in StandardPasses.h to ensure that it gets scheduled at the right time. Declare that loop unrolling preserves ScalarEvolution, and shuffle some getAnalysisUsages. This eliminates one LoopSimplify and one LCCSA run in the standard compile opts sequence. llvm-svn: 109413 | ||||
| * | Preserve ScalarEvolution in the loop unroller. | Dan Gohman | 2010-07-26 | 1 | -0/+6 |
| | | | | | llvm-svn: 109412 | ||||
| * | Use DominatorTree::properlyDominates instead of dominates with an | Dan Gohman | 2010-07-26 | 1 | -1/+1 |
| | | | | | | | explicit inequality check. llvm-svn: 109401 | ||||
| * | A block dominates itself, by definition. | Dan Gohman | 2010-07-26 | 1 | -1/+1 |
| | | | | | llvm-svn: 109400 | ||||
| * | Revert this because we can't clone cyclic MDNodes which are creating during a | Nick Lewycky | 2010-07-24 | 1 | -3/+4 |
| | | | | | | | build of llvm-gcc. llvm-svn: 109355 | ||||
| * | Whether function-local or not, a MDNode may reference a Function in which case | Nick Lewycky | 2010-07-24 | 1 | -4/+3 |
| | | | | | | | | it needs to be mapped to refer to the function in the new module, not the old one. Fixes PR7700. llvm-svn: 109353 | ||||
| * | Speculatively revert 109117 | Devang Patel | 2010-07-22 | 1 | -27/+6 |
| | | | | | llvm-svn: 109132 | ||||
| * | keep in 80 cols | Gabor Greif | 2010-07-22 | 1 | -3/+4 |
| | | | | | llvm-svn: 109122 | ||||
| * | Map MDNode correctly. | Devang Patel | 2010-07-22 | 1 | -6/+27 |
| | | | | | | | A non function local MDNode can have an operand which is cloned by MapValue(). llvm-svn: 109117 | ||||
| * | mass elimination of reliance on automatic iterator dereferencing | Gabor Greif | 2010-07-22 | 8 | -10/+10 |
| | | | | | llvm-svn: 109103 | ||||
| * | simplify | Gabor Greif | 2010-07-22 | 1 | -3/+2 |
| | | | | | llvm-svn: 109101 | ||||
| * | do not access arguments via low-level interface, do not multiply dereference ↵ | Gabor Greif | 2010-07-22 | 1 | -17/+19 |
| | | | | | | | use_iterators llvm-svn: 109100 | ||||
| * | pass dereferenced iterator to dyn_cast | Gabor Greif | 2010-07-22 | 1 | -1/+1 |
| | | | | | llvm-svn: 109099 | ||||
| * | pass dereferenced iterator to dyn_cast | Gabor Greif | 2010-07-22 | 1 | -1/+1 |
| | | | | | llvm-svn: 109098 | ||||
| * | undo 80 column trespassing I caused | Gabor Greif | 2010-07-22 | 5 | -22/+30 |
| | | | | | llvm-svn: 109092 | ||||
| * | Make NamedMDNode not be a subclass of Value, and simplify the interface | Dan Gohman | 2010-07-21 | 1 | -4/+2 |
| | | | | | | | for creating and populating NamedMDNodes. llvm-svn: 109061 | ||||
| * | Fix batch of converting RegisterPass<> to INTIALIZE_PASS(). | Owen Anderson | 2010-07-21 | 54 | -108/+119 |
| | | | | | llvm-svn: 109045 | ||||
| * | Make this code a little more readable. | Dan Gohman | 2010-07-20 | 1 | -2/+4 |
| | | | | | llvm-svn: 108968 | ||||
| * | Use DebugLocs instead of MDNodes. | Dan Gohman | 2010-07-20 | 1 | -32/+27 |
| | | | | | llvm-svn: 108967 | ||||
| * | Fix a typo. | Dan Gohman | 2010-07-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 108962 | ||||
| * | Don't look up the "dbg" metadata kind by name. | Dan Gohman | 2010-07-20 | 3 | -15/+14 |
| | | | | | llvm-svn: 108961 | ||||
| * | Use getDebugLoc and setDebugLoc instead of getDbgMetadata and setDbgMetadata, | Dan Gohman | 2010-07-20 | 1 | -4/+2 |
| | | | | | | | avoiding MDNode overhead. llvm-svn: 108909 | ||||
| * | Remember that the induction variable is always a PHINode and | Dan Gohman | 2010-07-20 | 1 | -4/+4 |
| | | | | | | | | use getIncomingValueForBlock instead of LoopInfo::getCanonicalInductionVariableIncrement. llvm-svn: 108865 | ||||
| * | Tweak per Chris' comments. | Owen Anderson | 2010-07-19 | 1 | -7/+8 |
| | | | | | llvm-svn: 108736 | ||||
| * | Reimplement r108639 in InstCombine rather than DAGCombine. | Owen Anderson | 2010-07-19 | 1 | -0/+26 |
| | | | | | llvm-svn: 108687 | ||||
| * | Another attempt at getting the clang self-host to like my instcombine patch. | Owen Anderson | 2010-07-17 | 1 | -0/+32 |
| | | | | | llvm-svn: 108614 | ||||
| * | eliminate unlockedRefineAbstractTypeTo, types are all per-llvmcontext, | Chris Lattner | 2010-07-16 | 1 | -1/+1 |
| | | | | | | | so there is no locking involved in type refinement. llvm-svn: 108553 | ||||
| * | Reorder the contents of various getAnalysisUsage functions, eliminating | Dan Gohman | 2010-07-16 | 4 | -20/+23 |
| | | | | | | | a redundant loopsimplify run from the default -O2 sequence. llvm-svn: 108539 | ||||
| * | Remove the rest of my instcombine changes. Back to the drawing board on ↵ | Owen Anderson | 2010-07-16 | 1 | -28/+0 |
| | | | | | | | this one. llvm-svn: 108530 | ||||
| * | eliminate CallInst::ArgOffset | Gabor Greif | 2010-07-16 | 4 | -13/+13 |
| | | | | | llvm-svn: 108522 | ||||
| * | Arrays and vectors with different numbers of elements are not equivalent. | Nick Lewycky | 2010-07-16 | 1 | -4/+10 |
| | | | | | llvm-svn: 108517 | ||||
| * | Also revert 108422, it's causing some test failures. | Eric Christopher | 2010-07-16 | 1 | -19/+0 |
| | | | | | | | Working on testcases for Owen. llvm-svn: 108494 | ||||
| * | Don't merge uses when they are targetting fixup sites with | Dan Gohman | 2010-07-15 | 1 | -1/+20 |
| | | | | | | | | | | | | | | different widths. In a use with a narrower fixup, formulae may be wider than the fixup, in which case the high bits aren't necessarily meaningful, so it isn't safe to reuse them for uses with wider fixups. This fixes PR7618, though the testcase is too large for a reasonable regression test, since it heavily dependes on hitting LSR's heuristics in a certain way. llvm-svn: 108455 | ||||
| * | Use dbgs() instead of errs() in a DEBUG. | Dan Gohman | 2010-07-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 108453 | ||||
| * | Speculatively revert r108429 to fix the clang self-host. | Owen Anderson | 2010-07-15 | 2 | -19/+28 |
| | | | | | llvm-svn: 108436 | ||||
| * | Per Chris' suggestion, get rid of the select canonicalization and just add | Owen Anderson | 2010-07-15 | 2 | -28/+19 |
| | | | | | | | | | the corresponding or-icmp-and pattern. This has the added benefit of doing the matching earlier, and thus being less susceptible to being confused by earlier transforms. llvm-svn: 108429 | ||||
| * | Remove unneeded check, and correct style. | Owen Anderson | 2010-07-15 | 1 | -3/+2 |
| | | | | | llvm-svn: 108427 | ||||

