Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove PHINode::reserveOperandSpace(). Instead, add a parameter to | Jay Foad | 2011-03-30 | 1 | -4/+3 | |
| | | | | | | PHINode::Create() giving the (known or expected) number of operands. llvm-svn: 128537 | |||||
* | (Almost) always call reserveOperandSpace() on newly created PHINodes. | Jay Foad | 2011-03-30 | 1 | -0/+1 | |
| | | | | llvm-svn: 128535 | |||||
* | Simplify RecursivelyDeleteDeadPHINode. The only functionality change | Duncan Sands | 2011-02-21 | 1 | -0/+6 | |
| | | | | | | | | should be that if the phi is used by a side-effect free instruction with no uses then the phi and the instruction now get zapped (checked by the unittest). llvm-svn: 126124 | |||||
* | Make RecursivelyDeleteDeadPHINode delete a phi node that has no users and add a | Nick Lewycky | 2011-02-20 | 1 | -0/+5 | |
| | | | | | | | | | test for that. With this change, test/CodeGen/X86/codegen-dce.ll no longer finds any instructions to DCE, so delete the test. Also renamed J and JP to I and IP in RecursivelyDeleteDeadPHINode. llvm-svn: 126088 | |||||
* | Teach RecursivelyDeleteDeadPHINodes to handle multiple self-references. Patch | Nick Lewycky | 2011-02-20 | 1 | -0/+49 | |
| | | | | | | by Andrew Clinton! llvm-svn: 126077 | |||||
* | Teach this test not to leak. Also, clean up all the cast<BinaryOperator> cruft. | Nick Lewycky | 2010-03-13 | 1 | -36/+89 | |
| | | | | llvm-svn: 98446 | |||||
* | Factor out redundancy from clone() implementations. | Devang Patel | 2009-10-27 | 1 | -28/+28 | |
| | | | | llvm-svn: 85327 | |||||
* | Type.h doesn't need to #include LLVMContext.h | Chris Lattner | 2009-10-27 | 1 | -0/+1 | |
| | | | | llvm-svn: 85254 | |||||
* | Introduce and use convenience methods for getting pointer types | Duncan Sands | 2009-10-06 | 1 | -1/+1 | |
| | | | | | | | where the element is of a basic builtin type. For example, to get an i8* use getInt8PtrTy. llvm-svn: 83379 | |||||
* | New unit test for the cloning module, which so far only covers cloning of | Nick Lewycky | 2009-09-27 | 3 | -0/+119 | |
instructions' optimization flags. llvm-svn: 82934 |