Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | silence a vc++ warning. | Chris Lattner | 2009-07-11 | 1 | -1/+1 |
| | | | | llvm-svn: 75393 | ||||
* | Push LLVMContext through the PatternMatch API. | Owen Anderson | 2009-07-10 | 1 | -1/+2 |
| | | | | llvm-svn: 75255 | ||||
* | Teach SCEVExpander to expand arithmetic involving pointers into GEP | Dan Gohman | 2009-05-19 | 1 | -30/+31 |
| | | | | | | | | | | | | | | | | instructions. It attempts to create high-level multi-operand GEPs, though in cases where this isn't possible it falls back to casting the pointer to i8* and emitting a GEP with that. Using GEP instructions instead of ptrtoint+arithmetic+inttoptr helps pointer analyses that don't use ScalarEvolution, such as BasicAliasAnalysis. Also, make the AddrModeMatcher more aggressive in handling GEPs. Previously it assumed that operand 0 of a GEP would require a register in almost all cases. It now does extra checking and can do more matching if operand 0 of the GEP is foldable. This fixes a problem that was exposed by SCEVExpander using GEPs. llvm-svn: 72093 | ||||
* | Rename PaddedSize to AllocSize, in the hope that this | Duncan Sands | 2009-05-09 | 1 | -1/+1 |
| | | | | | | | will make it more obvious what it represents, and stop it being confused with the StoreSize. llvm-svn: 71349 | ||||
* | Fix compiler warning about uninitialized variables. No functional change. | Nick Lewycky | 2009-02-27 | 1 | -1/+1 |
| | | | | llvm-svn: 65620 | ||||
* | Factor address mode matcher out of codegen prepare to make it available to ↵ | Evan Cheng | 2009-02-20 | 1 | -0/+593 |
other passes, e.g. loop strength reduction. llvm-svn: 65134 |