| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | In the default address space, any GEP off of null results in a trap value if ↵ | Owen Anderson | 2010-08-25 | 1 | -4/+5 |
| | | | | | | | | | | you try to load it. Thus, any load in the default address space that completes implies that the base value that it GEP'd from was not null. llvm-svn: 112015 | ||||
| * | NULL loads are only invalid in the default address space. | Owen Anderson | 2010-08-24 | 1 | -1/+1 |
| | | | | | llvm-svn: 111972 | ||||
| * | Add support for inferring values for the default cases of switches. | Owen Anderson | 2010-08-24 | 1 | -3/+22 |
| | | | | | llvm-svn: 111971 | ||||
| * | Add support for inferring that a load from a pointer implies that it is not ↵ | Owen Anderson | 2010-08-24 | 1 | -4/+17 |
| | | | | | | | null. llvm-svn: 111959 | ||||
| * | Don't assume that all constants with integer types are ConstantInts. | Owen Anderson | 2010-08-24 | 1 | -2/+11 |
| | | | | | llvm-svn: 111906 | ||||
| * | Let FE use derived types for DW_TAG_friend. | Devang Patel | 2010-08-23 | 1 | -0/+1 |
| | | | | | | | Patch by Alexander Herz! llvm-svn: 111861 | ||||
| * | Handle qualified constants that are directly folded by FE. | Devang Patel | 2010-08-23 | 1 | -0/+10 |
| | | | | | | | PR 7920. llvm-svn: 111820 | ||||
| * | Now that PassInfo and Pass::ID have been separated, move the rest of the ↵ | Owen Anderson | 2010-08-23 | 4 | -16/+12 |
| | | | | | | | passes over to the new registration API. llvm-svn: 111815 | ||||
| * | CreateTemporaryType doesn't needs its Context argument. | Dan Gohman | 2010-08-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 111687 | ||||
| * | Introduce a new temporary MDNode concept. Temporary MDNodes are | Dan Gohman | 2010-08-20 | 1 | -1/+15 |
| | | | | | | | | | not part of the IR, are not uniqued, and may be safely RAUW'd. This replaces a variety of alternate mechanisms for achieving the same effect. llvm-svn: 111681 | ||||
| * | Convert DbgInfoPrinter to use errs() instead of outs(). | Dan Gohman | 2010-08-20 | 1 | -1/+1 |
| | | | | | llvm-svn: 111659 | ||||
| * | Revert r111199; it breaks -debug-pass=Structure output. | Dan Gohman | 2010-08-19 | 2 | -2/+2 |
| | | | | | llvm-svn: 111500 | ||||
| * | refix PR1143 by making basicaa analyze zexts of indices aggresively, | Chris Lattner | 2010-08-18 | 1 | -11/+30 |
| | | | | | | | which I broke with a recent patch. llvm-svn: 111452 | ||||
| * | GetLinearExpression is only called when TD is non-null, pass as | Chris Lattner | 2010-08-18 | 1 | -4/+4 |
| | | | | | | | a reference instead of pointer. llvm-svn: 111445 | ||||
| * | rework GEP decomposition to make a new VariableGEPIndex struct instead of | Chris Lattner | 2010-08-18 | 1 | -19/+39 |
| | | | | | | | | using a pair. This tidies up the code a bit. While setting things up, add a (currently unused) field to keep track of how the value is extended. llvm-svn: 111444 | ||||
| * | move gep decomposition out of ValueTracking into BasicAA. The form of | Chris Lattner | 2010-08-18 | 2 | -223/+229 |
| | | | | | | | | | | decomposition that it is doing is very basicaa specific and is only used by basicaa. Now with less tree breakingness. llvm-svn: 111433 | ||||
| * | Use ConstantRange to propagate information through value definitions. | Owen Anderson | 2010-08-18 | 1 | -4/+83 |
| | | | | | llvm-svn: 111425 | ||||
| * | Revert r111375, "move gep decomposition out of ValueTracking into BasicAA. The | Daniel Dunbar | 2010-08-18 | 2 | -213/+222 |
| | | | | | | | form of", it doesn't pass tests. llvm-svn: 111385 | ||||
| * | Inform LazyValueInfo whenever a block is deleted, to avoid dangling pointer ↵ | Owen Anderson | 2010-08-18 | 1 | -21/+47 |
| | | | | | | | issues. llvm-svn: 111382 | ||||
| * | move gep decomposition out of ValueTracking into BasicAA. The form of | Chris Lattner | 2010-08-18 | 2 | -222/+213 |
| | | | | | | | | decomposition that it is doing is very basicaa specific and is only used by basicaa. llvm-svn: 111375 | ||||
| * | fix PR7589: In brief: | Chris Lattner | 2010-08-18 | 1 | -3/+3 |
| | | | | | | | | | | gep P, (zext x) != gep P, (sext x) DecomposeGEPExpression was getting this wrong, confusing basicaa. llvm-svn: 111352 | ||||
| * | Tweak IVUsers' concept of "interesting" to exclude add recurrences | Dan Gohman | 2010-08-17 | 1 | -12/+16 |
| | | | | | | | | | | where the step value is an induction variable from an outer loop, to avoid trouble trying to re-expand such expressions. This effectively hides such expressions from indvars and lsr, which prevents them from getting into trouble. llvm-svn: 111317 | ||||
| * | Fix another iterator invalidation that caused a *really* nasty ↵ | Owen Anderson | 2010-08-16 | 1 | -6/+7 |
| | | | | | | | miscompilation in 403.gcc. llvm-svn: 111210 | ||||
| * | Make dumpPassStructure be a PMDataManager abstraction, rather than | Dan Gohman | 2010-08-16 | 2 | -2/+2 |
| | | | | | | | | | | | a Pass abstraction, since that's the level it's actually used at. Rename Pass' dumpPassStructure to dumpPass. This eliminates an awkward use of getAsPass() to convert a PMDataManager* into a Pass* just to permit a dumpPassStructure call. llvm-svn: 111199 | ||||
| * | To create a copy of a SmallVector with an element removed from the | Dan Gohman | 2010-08-16 | 1 | -6/+7 |
| | | | | | | | | | | middle, copy the elements in two groups, rather than copying all the elements and then doing an erase on the middle of the result. These are SmallVectors, so we shouldn't expect to hit dynamic allocation in the common case. llvm-svn: 111151 | ||||
| * | Tidy whitespace. | Dan Gohman | 2010-08-16 | 1 | -5/+4 |
| | | | | | llvm-svn: 111147 | ||||
| * | Add a comment. | Dan Gohman | 2010-08-16 | 1 | -0/+5 |
| | | | | | llvm-svn: 111145 | ||||
| * | Use const_iterator in a few places. | Dan Gohman | 2010-08-16 | 1 | -3/+3 |
| | | | | | llvm-svn: 111144 | ||||
| * | Use iterators instead of indices in a few more places. | Dan Gohman | 2010-08-16 | 1 | -6/+9 |
| | | | | | llvm-svn: 111143 | ||||
| * | Micro-optimize SCEVConstant comparison. | Dan Gohman | 2010-08-16 | 1 | -4/+4 |
| | | | | | llvm-svn: 111142 | ||||
| * | Move SCEVNAryExpr's virtual member functions out of line, and convert | Dan Gohman | 2010-08-16 | 1 | -0/+33 |
| | | | | | | | them to iterators. llvm-svn: 111140 | ||||
| * | Use iterators instead of indices in simple cases. | Dan Gohman | 2010-08-16 | 1 | -6/+4 |
| | | | | | llvm-svn: 111138 | ||||
| * | Avoid gratuitous inefficiency in ifndef NDEBUG code. | Dan Gohman | 2010-08-16 | 1 | -8/+8 |
| | | | | | llvm-svn: 111137 | ||||
| * | Make one getAddExpr call when analyzing a+b+c+d+e+... instead of one | Dan Gohman | 2010-08-16 | 1 | -6/+31 |
| | | | | | | | for each add instruction. Ditto for Mul. llvm-svn: 111136 | ||||
| * | Delete an unused function. | Dan Gohman | 2010-08-16 | 1 | -35/+0 |
| | | | | | llvm-svn: 111135 | ||||
| * | Revert r111058, the lint check for indirectbr successors that aren't | Dan Gohman | 2010-08-16 | 1 | -6/+0 |
| | | | | | | | | address-taken. This can occur normally, if the code which took the address got DCEd. llvm-svn: 111121 | ||||
| * | Revert r111082. No warnings for this common pattern. | Argyrios Kyrtzidis | 2010-08-15 | 1 | -1/+1 |
| | | | | | llvm-svn: 111102 | ||||
| * | Add ATTRIBUTE_UNUSED to methods that are not supposed to be used. | Argyrios Kyrtzidis | 2010-08-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 111082 | ||||
| * | Add a lint check for an indirectbr destination which has not | Dan Gohman | 2010-08-13 | 1 | -0/+6 |
| | | | | | | | had its address taken. llvm-svn: 111058 | ||||
| * | Various optimizations. Don't compare two loops' depths | Dan Gohman | 2010-08-13 | 1 | -18/+26 |
| | | | | | | | | when they are the same loop. Don't compare two instructions' loop depths when they are in the same block. llvm-svn: 111045 | ||||
| * | When testing whether one loop contains another, test this directly | Dan Gohman | 2010-08-13 | 1 | -2/+2 |
| | | | | | | | rather than testing whether the loop contains the other's header. llvm-svn: 111039 | ||||
| * | Add a const. | Dan Gohman | 2010-08-13 | 1 | -1/+1 |
| | | | | | llvm-svn: 111038 | ||||
| * | When creating a symmetric SCEV with a constant operand, put | Dan Gohman | 2010-08-13 | 1 | -4/+4 |
| | | | | | | | | the constant operand on the left, as that's where ScalarEvolution will end up canonicalizing to. llvm-svn: 111037 | ||||
| * | An add recurrence is loop-invariant in any loop inside of its | Dan Gohman | 2010-08-13 | 1 | -0/+4 |
| | | | | | | | | associated loop. This avoids potentially expensive traversals of the add recurrence's operands. llvm-svn: 111034 | ||||
| * | Optimize ScalarEvolution::getAddExpr's operand factoring code by | Dan Gohman | 2010-08-12 | 1 | -4/+7 |
| | | | | | | | | | having it finish processing all of the muliply operands before starting the whole getAddExpr process over again, instead of immediately after the first simplification. llvm-svn: 110916 | ||||
| * | Hoist some loop-invariant code out of a hot loop. | Dan Gohman | 2010-08-12 | 1 | -2/+4 |
| | | | | | llvm-svn: 110915 | ||||
| * | Optimize ScalarEvolution::getAddExpr's duplicate operand detection | Dan Gohman | 2010-08-12 | 1 | -3/+7 |
| | | | | | | | | | by having it finish processing the whole operand list before starting the whole getAddExpr process over again, instead of immediately after the first duplicate is found. llvm-svn: 110914 | ||||
| * | Even if a variable has constant value all the time, it is still a variable ↵ | Devang Patel | 2010-08-11 | 1 | -1/+1 |
| | | | | | | | | | in gdb's eyes. Tested by scope.exp in gdb testsuite. llvm-svn: 110876 | ||||
| * | Fix a subtle use-after-free issue. | Owen Anderson | 2010-08-11 | 1 | -1/+4 |
| | | | | | llvm-svn: 110863 | ||||
| * | Make LoopPass::getContainedPass return a LoopPass* instead of a Pass* | Dan Gohman | 2010-08-11 | 1 | -5/+5 |
| | | | | | | | and remove casts from all its callers. llvm-svn: 110848 | ||||

