Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | There are two ways of checking for a given type, for example isa<PointerType>(T) | Duncan Sands | 2010-02-16 | 1 | -4/+4 |
| | | | | | | | and T->isPointerTy(). Convert most instances of the first form to the second form. Requested by Chris. llvm-svn: 96344 | ||||
* | Uniformize the names of type predicates: rather than having isFloatTy and | Duncan Sands | 2010-02-15 | 1 | -4/+4 |
| | | | | | | isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris! llvm-svn: 96223 | ||||
* | teach ComputeNumSignBits to look through PHI nodes. | Chris Lattner | 2010-01-07 | 1 | -3/+0 |
| | | | | llvm-svn: 92964 | ||||
* | Move remaining stuff to the isInteger predicate. | Benjamin Kramer | 2010-01-05 | 1 | -2/+1 |
| | | | | llvm-svn: 92771 | ||||
* | Convert a ton of simple integer type equality tests to the new predicate. | Benjamin Kramer | 2010-01-05 | 1 | -1/+1 |
| | | | | llvm-svn: 92760 | ||||
* | Use do+while instead of while for loops which obviously have a | Dan Gohman | 2010-01-05 | 1 | -4/+3 |
| | | | | | | non-zero trip count. Use SmallVector's pop_back_val(). llvm-svn: 92734 | ||||
* | prune some #includes. | Chris Lattner | 2010-01-05 | 1 | -8/+1 |
| | | | | llvm-svn: 92712 | ||||
* | split and/or/xor out into one overly-large (2000LOC) file. However, I think | Chris Lattner | 2010-01-05 | 1 | -1963/+0 |
| | | | | | | it does make sense to keep them together, at least for now. llvm-svn: 92711 | ||||
* | missed file with previous commit. | Chris Lattner | 2010-01-05 | 1 | -418/+0 |
| | | | | llvm-svn: 92710 | ||||
* | eliminate getBitCastOperand and simplify some over-complex inbounds stuff. | Chris Lattner | 2010-01-05 | 1 | -46/+22 |
| | | | | llvm-svn: 92708 | ||||
* | split call handling out to InstCombineCalls.cpp | Chris Lattner | 2010-01-05 | 1 | -1110/+2 |
| | | | | llvm-svn: 92707 | ||||
* | optimize cttz and ctlz when we can prove something about the | Chris Lattner | 2010-01-05 | 1 | -1/+34 |
| | | | | | | leading/trailing bits. Patch by Alastair Lynn! llvm-svn: 92706 | ||||
* | this inline function moved to addsub | Chris Lattner | 2010-01-05 | 1 | -24/+0 |
| | | | | llvm-svn: 92705 | ||||
* | split add/sub out to its own file. Eliminate use of | Chris Lattner | 2010-01-05 | 1 | -695/+0 |
| | | | | | | | dyn_castNotVal in the X+~X transform. dyn_castNotVal is dramatic overkill for what the xform needed. llvm-svn: 92704 | ||||
* | all the places we use hasOneUse() we know are instructions, so inline | Chris Lattner | 2010-01-05 | 1 | -12/+9 |
| | | | | | | and simplify. llvm-svn: 92700 | ||||
* | eliminate AssociativeOpt and its last uses. | Chris Lattner | 2010-01-05 | 1 | -35/+2 |
| | | | | llvm-svn: 92697 | ||||
* | inline the FoldICmpLogical functor. | Chris Lattner | 2010-01-05 | 1 | -98/+90 |
| | | | | llvm-svn: 92695 | ||||
* | inline the 'AddRHS' transformation, simplifying things significantly. | Chris Lattner | 2010-01-05 | 1 | -39/+4 |
| | | | | | | | | Eliminate the 'AddMaskingAnd' transformation, it is redundant with this more general code right below it: // A+B --> A|B iff A and B have no bits set in common. llvm-svn: 92693 | ||||
* | remove massive over-genality manifested as a big template | Chris Lattner | 2010-01-05 | 1 | -60/+1 |
| | | | | | | | | that got instantiated. There is no reason for instcombine to try this hard for simple associative optimizations. Next up, eliminate the template completely. llvm-svn: 92692 | ||||
* | split mul/div/rem instructions out to their own file. | Chris Lattner | 2010-01-05 | 1 | -674/+4 |
| | | | | llvm-svn: 92689 | ||||
* | split select out to its own file. | Chris Lattner | 2010-01-05 | 1 | -692/+3 |
| | | | | llvm-svn: 92687 | ||||
* | split out load/store/alloca. | Chris Lattner | 2010-01-05 | 1 | -607/+0 |
| | | | | llvm-svn: 92685 | ||||
* | split vector stuff out to InstCombineVectorOps.cpp | Chris Lattner | 2010-01-05 | 1 | -540/+0 |
| | | | | llvm-svn: 92683 | ||||
* | split PHI node stuff out to InstCombinePHI.cpp | Chris Lattner | 2010-01-05 | 1 | -821/+0 |
| | | | | llvm-svn: 92682 | ||||
* | Remove dead debug info intrinsics. | Devang Patel | 2010-01-05 | 1 | -1/+0 |
| | | | | | | | | | | Intrinsic::dbg_stoppoint Intrinsic::dbg_region_start Intrinsic::dbg_region_end Intrinsic::dbg_func_start AutoUpgrade simply ignores these intrinsics now. llvm-svn: 92557 | ||||
* | silence a bogus 'might be used uninit' warning from GCC. | Chris Lattner | 2010-01-04 | 1 | -1/+1 |
| | | | | llvm-svn: 92494 | ||||
* | move some more cast-related stuff | Chris Lattner | 2010-01-04 | 1 | -140/+0 |
| | | | | llvm-svn: 92471 | ||||
* | move the [Can]EvaluateInDifferentType functions out to InstCombineCasts.cpp | Chris Lattner | 2010-01-04 | 1 | -211/+0 |
| | | | | llvm-svn: 92469 | ||||
* | split 943 lines of instcombine out to a new InstCombineCasts.cpp | Chris Lattner | 2010-01-04 | 1 | -943/+27 |
| | | | | | | file. InstructionCombining.cpp is now down to a svelte 9300 lines :) llvm-svn: 92468 | ||||
* | split instcombine of compares (visit[FI]Cmp) out to | Chris Lattner | 2010-01-04 | 1 | -2434/+16 |
| | | | | | | a new InstCombineCompares.cpp file. llvm-svn: 92467 | ||||
* | move the 'SimplifyDemandedFoo' methods out to their own file, cutting 1K ↵ | Chris Lattner | 2010-01-04 | 1 | -1088/+6 |
| | | | | | | lines out of instcombine.cpp llvm-svn: 92465 | ||||
* | split the instcombine class definition out to a header shared | Chris Lattner | 2010-01-04 | 1 | -299/+1 |
| | | | | | | among the instcombine library. llvm-svn: 92463 | ||||
* | remove a ton of unneeded LLVMContext stuff. | Chris Lattner | 2010-01-04 | 1 | -278/+288 |
| | | | | llvm-svn: 92462 | ||||
* | move InstCombineWorklist out to its own header. | Chris Lattner | 2010-01-04 | 1 | -82/+1 |
| | | | | llvm-svn: 92461 | ||||
* | move instcombine to its own library, it's past time. | Chris Lattner | 2010-01-04 | 1 | -0/+14087 |
llvm-svn: 92459 |