| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Delete useless trailing semicolons. | Dan Gohman | 2010-01-05 | 57 | -102/+102 | |
| | | | | | llvm-svn: 92740 | |||||
| * | Nick Lewycky pointed out that this code makes changes unconditionally. | Dan Gohman | 2010-01-05 | 1 | -1/+2 | |
| | | | | | llvm-svn: 92739 | |||||
| * | Have TableGen emit code that uses dbgs() rather than errs(). | David Greene | 2010-01-05 | 1 | -2/+2 | |
| | | | | | llvm-svn: 92738 | |||||
| * | Fix <rdar://problem/7490212> clang rewriter: return of the mixed line ↵ | Steve Naroff | 2010-01-05 | 1 | -1/+3 | |
| | | | | | | | | | | | endings, which is related to <rdar://problem/6596843> clang ObjC rewriter: Line endings still mixed in rewrite output This fix was dropped when I integrated the 'objective-rewrite' branch. llvm-svn: 92737 | |||||
| * | If a scope has only one instruction then first instruction is also the last ↵ | Devang Patel | 2010-01-05 | 2 | -1/+19 | |
| | | | | | | | instruction. llvm-svn: 92736 | |||||
| * | Set Changed properly after calling DeleteDeadPHIs. | Dan Gohman | 2010-01-05 | 2 | -2/+2 | |
| | | | | | llvm-svn: 92735 | |||||
| * | Use do+while instead of while for loops which obviously have a | Dan Gohman | 2010-01-05 | 12 | -29/+23 | |
| | | | | | | | non-zero trip count. Use SmallVector's pop_back_val(). llvm-svn: 92734 | |||||
| * | Fix indentation. | Dan Gohman | 2010-01-05 | 1 | -1/+1 | |
| | | | | | llvm-svn: 92733 | |||||
| * | Make RecursivelyDeleteTriviallyDeadInstructions, | Dan Gohman | 2010-01-05 | 4 | -15/+25 | |
| | | | | | | | | RecursivelyDeleteDeadPHINode, and DeleteDeadPHIs return a flag indicating whether they made any changes. llvm-svn: 92732 | |||||
| * | Some versions of GCC don't like non-static data members in sizeof | Dan Gohman | 2010-01-05 | 1 | -1/+1 | |
| | | | | | | | in this context. llvm-svn: 92731 | |||||
| * | Add a SmallBitVector class, which mimics BitVector but uses only | Dan Gohman | 2010-01-05 | 4 | -0/+671 | |
| | | | | | | | | | | | | | a single pointer (PointerIntPair) member. In "small" mode, the pointer field is reinterpreted as a set of bits. In "large" mode, the pointer points to a heap-allocated object. Also, give BitVector empty and swap functions. And, add some simple unittests for BitVector and SmallBitVector. llvm-svn: 92730 | |||||
| * | Add newline at EOF. | Benjamin Kramer | 2010-01-05 | 1 | -1/+1 | |
| | | | | | llvm-svn: 92727 | |||||
| * | Avoid going through the LLVMContext for type equality where it's safe to ↵ | Benjamin Kramer | 2010-01-05 | 25 | -58/+46 | |
| | | | | | | | dereference the type pointer. llvm-svn: 92726 | |||||
| * | Move test case to a more appropriate file. | Zhongxing Xu | 2010-01-05 | 2 | -9/+10 | |
| | | | | | llvm-svn: 92725 | |||||
| * | Add test case. | Zhongxing Xu | 2010-01-05 | 1 | -0/+9 | |
| | | | | | llvm-svn: 92724 | |||||
| * | Revert r92318. Instead fix the analyzer: do not call | Zhongxing Xu | 2010-01-05 | 2 | -9/+3 | |
| | | | | | | | ASTContext::hasSameUnqualifiedType() when one of the type is VariableArrayType. llvm-svn: 92723 | |||||
| * | if an arraytype is canonical, then its element is guaranteed to be canonical. | Zhongxing Xu | 2010-01-05 | 1 | -1/+2 | |
| | | | | | llvm-svn: 92715 | |||||
| * | 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 | 3 | -1963/+1978 | |
| | | | | | | | 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 | |||||
| * | split instcombine of shifts out to its own file. | Chris Lattner | 2010-01-05 | 2 | -0/+437 | |
| | | | | | llvm-svn: 92709 | |||||
| * | 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 | 3 | -1110/+1133 | |
| | | | | | llvm-svn: 92707 | |||||
| * | optimize cttz and ctlz when we can prove something about the | Chris Lattner | 2010-01-05 | 2 | -2/+58 | |
| | | | | | | | 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 | 3 | -695/+749 | |
| | | | | | | | | 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 | |||||
| * | Code refactoring. | Evan Cheng | 2010-01-05 | 1 | -9/+19 | |
| | | | | | llvm-svn: 92694 | |||||
| * | 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 | 4 | -674/+701 | |
| | | | | | llvm-svn: 92689 | |||||
| * | clean up header. | Chris Lattner | 2010-01-05 | 1 | -7/+2 | |
| | | | | | llvm-svn: 92688 | |||||
| * | split select out to its own file. | Chris Lattner | 2010-01-05 | 3 | -692/+712 | |
| | | | | | llvm-svn: 92687 | |||||
| * | Allow clang to pass -x cl through to compiler driver. | Nate Begeman | 2010-01-05 | 2 | -0/+3 | |
| | | | | | llvm-svn: 92686 | |||||
| * | split out load/store/alloca. | Chris Lattner | 2010-01-05 | 3 | -607/+614 | |
| | | | | | llvm-svn: 92685 | |||||
| * | reduce indentation | Chris Lattner | 2010-01-05 | 1 | -4/+7 | |
| | | | | | llvm-svn: 92684 | |||||
| * | split vector stuff out to InstCombineVectorOps.cpp | Chris Lattner | 2010-01-05 | 3 | -540/+558 | |
| | | | | | llvm-svn: 92683 | |||||
| * | split PHI node stuff out to InstCombinePHI.cpp | Chris Lattner | 2010-01-05 | 3 | -821/+842 | |
| | | | | | llvm-svn: 92682 | |||||
| * | convert various IntrinsicInst's to use class instead of struct. | Chris Lattner | 2010-01-05 | 3 | -14/+24 | |
| | | | | | llvm-svn: 92681 | |||||
| * | When emitting member function pointers, use the canonical decl if the member ↵ | Anders Carlsson | 2010-01-05 | 3 | -1/+15 | |
| | | | | | | | function is virtual. Fixes PR5940. llvm-svn: 92680 | |||||
| * | fix an infinite loop in reassociate building emacs. | Chris Lattner | 2010-01-05 | 2 | -0/+19 | |
| | | | | | llvm-svn: 92679 | |||||
| * | Add a radar reference. | Mike Stump | 2010-01-05 | 1 | -0/+1 | |
| | | | | | llvm-svn: 92678 | |||||
| * | Disallow captured arrays in blocks as well. Radar 7438948. | Mike Stump | 2010-01-05 | 3 | -0/+16 | |
| | | | | | llvm-svn: 92677 | |||||
| * | Disallow capturing vlas inside blocks. | Mike Stump | 2010-01-05 | 3 | -1/+19 | |
| | | | | | llvm-svn: 92676 | |||||
| * | Make static analysis support for C++ 'this' expression context-sensitive. ↵ | Ted Kremenek | 2010-01-05 | 7 | -42/+130 | |
| | | | | | | | Essentially treat 'this' as a implicit parameter to the method call, and associate a region with it. llvm-svn: 92675 | |||||
| * | Change this back to errs(). | David Greene | 2010-01-05 | 1 | -2/+1 | |
| | | | | | llvm-svn: 92674 | |||||
| * | These should probably be errs(). | David Greene | 2010-01-05 | 1 | -3/+3 | |
| | | | | | llvm-svn: 92673 | |||||
| * | Delete renaming use of dead dbg intrinsics. | Devang Patel | 2010-01-05 | 4 | -22/+0 | |
| | | | | | | | | | | Intrinsic::dbg_stoppoint Intrinsic::dbg_region_start Intrinsic::dbg_region_end Intrinsic::dbg_func_start llvm-svn: 92672 | |||||

