| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | calls are already unmovable, malloc doesn't need a special case. | Chris Lattner | 2009-09-27 | 1 | -2/+1 |
| | | | | | llvm-svn: 82933 | ||||
| * | Enhance transform passes so that they apply the same tranforms to malloc ↵ | Victor Hernandez | 2009-09-18 | 1 | -1/+2 |
| | | | | | | | | | calls as to MallocInst. Reviewed by Dan Gohman. llvm-svn: 82300 | ||||
| * | eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 | Chris Lattner | 2009-09-02 | 1 | -3/+2 |
| | | | | | llvm-svn: 80766 | ||||
| * | remove the std::ostream version of module and type printing. | Chris Lattner | 2009-08-23 | 1 | -3/+3 |
| | | | | | llvm-svn: 79823 | ||||
| * | eliminate the "Value" printing methods that print to a std::ostream. | Chris Lattner | 2009-08-23 | 1 | -13/+14 |
| | | | | | | | This required converting a bunch of stuff off DOUT and other cleanups. llvm-svn: 79819 | ||||
| * | Fix debug output to include a newline after printing a Value, now | Dan Gohman | 2009-08-17 | 1 | -7/+7 |
| | | | | | | | that Value's operator<< doesn't include one. llvm-svn: 79240 | ||||
| * | Remove a bunch more now-unnecessary Context arguments. | Dan Gohman | 2009-08-12 | 1 | -1/+1 |
| | | | | | llvm-svn: 78809 | ||||
| * | Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵ | Owen Anderson | 2009-07-31 | 1 | -7/+5 |
| | | | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721 | ||||
| * | Move more code back to 2.5 APIs. | Owen Anderson | 2009-07-30 | 1 | -3/+3 |
| | | | | | llvm-svn: 77635 | ||||
| * | Move ConstantExpr to 2.5 API. | Owen Anderson | 2009-07-29 | 1 | -2/+2 |
| | | | | | llvm-svn: 77494 | ||||
| * | Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵ | Owen Anderson | 2009-07-24 | 1 | -1/+1 |
| | | | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011 | ||||
| * | Get rid of the Pass+Context magic. | Owen Anderson | 2009-07-22 | 1 | -17/+22 |
| | | | | | llvm-svn: 76702 | ||||
| * | These don't really need contexts either. | Owen Anderson | 2009-07-13 | 1 | -6/+6 |
| | | | | | llvm-svn: 75528 | ||||
| * | Move more functionality over to LLVMContext. | Owen Anderson | 2009-07-13 | 1 | -2/+2 |
| | | | | | llvm-svn: 75497 | ||||
| * | Begin the painful process of tearing apart the rat'ss nest that is ↵ | Owen Anderson | 2009-07-13 | 1 | -15/+15 |
| | | | | | | | | | | Constants.cpp and ConstantFold.cpp. This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's the only way I could figure out to make this process vaguely incremental. llvm-svn: 75445 | ||||
| * | "LLVMContext* " --> "LLVMContext *" | Owen Anderson | 2009-07-06 | 1 | -2/+2 |
| | | | | | llvm-svn: 74878 | ||||
| * | Even more passes being LLVMContext'd. | Owen Anderson | 2009-07-03 | 1 | -17/+23 |
| | | | | | llvm-svn: 74781 | ||||
| * | Make the key of ValueRankMap an AssertingVH, so that we die violently | Chris Lattner | 2009-03-31 | 1 | -6/+7 |
| | | | | | | | if it dangles. llvm-svn: 68150 | ||||
| * | This pass keeps a map of Instructions to Rank numbers, | Dale Johannesen | 2009-03-19 | 1 | -8/+14 |
| | | | | | | | | | | and was deleting Instructions without clearing the corresponding map entry. This led to nondeterministic behavior if the same address got allocated to another Instruction within a short time. llvm-svn: 67306 | ||||
| * | Don't assign rank numbers to debug intrinsic "calls". | Dale Johannesen | 2009-03-06 | 1 | -1/+3 |
| | | | | | | | This is needed so debug info doesn't change codegen. llvm-svn: 66235 | ||||
| * | Fix build failure. | Devang Patel | 2008-11-21 | 1 | -1/+1 |
| | | | | | llvm-svn: 59844 | ||||
| * | Silence unused variable warnings. | Devang Patel | 2008-11-21 | 1 | -0/+3 |
| | | | | | llvm-svn: 59841 | ||||
| * | Tidy up several unbeseeming casts from pointer to intptr_t. | Dan Gohman | 2008-09-04 | 1 | -1/+1 |
| | | | | | llvm-svn: 55779 | ||||
| * | don't use the result of WriteAsOperand | Chris Lattner | 2008-08-19 | 1 | -4/+5 |
| | | | | | llvm-svn: 54979 | ||||
| * | API change for {BinaryOperator|CmpInst|CastInst}::create*() --> Create. ↵ | Gabor Greif | 2008-05-16 | 1 | -7/+7 |
| | | | | | | | Legacy interfaces will be in place for some time. (Merge from use-diet branch.) llvm-svn: 51200 | ||||
| * | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 1 | -4/+4 |
| | | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | ||||
| * | Don't include <map> in Pass.h, which doesn't need it. This requires | Dan Gohman | 2008-03-21 | 1 | -0/+1 |
| | | | | | | | adding <map> to many files that actually do need it. llvm-svn: 48667 | ||||
| * | simplify some code, BreakUpSubtract always returns nonnull now. | Chris Lattner | 2008-02-18 | 1 | -4/+2 |
| | | | | | llvm-svn: 47251 | ||||
| * | fix pasto | Chris Lattner | 2008-02-17 | 1 | -1/+1 |
| | | | | | llvm-svn: 47242 | ||||
| * | Split up subtracts into add+negate if they have a reassociable use or operand | Chris Lattner | 2008-02-17 | 1 | -5/+8 |
| | | | | | | | that is also a subtract. This implements PR2047 and Transforms/Reassociate/subtest2.ll llvm-svn: 47241 | ||||
| * | make the logic for breaking up subtracts more explicit, no | Chris Lattner | 2008-02-17 | 1 | -9/+22 |
| | | | | | | | functionality change. llvm-svn: 47239 | ||||
| * | Use empty() instead of comparing size() with zero. | Dan Gohman | 2008-01-29 | 1 | -1/+1 |
| | | | | | llvm-svn: 46514 | ||||
| * | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | | llvm-svn: 45418 | ||||
| * | Fix typo in comment. | Nick Lewycky | 2007-05-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 36873 | ||||
| * | Drop 'const' | Devang Patel | 2007-05-03 | 1 | -2/+2 |
| | | | | | llvm-svn: 36662 | ||||
| * | Use 'static const char' instead of 'static const int'. | Devang Patel | 2007-05-02 | 1 | -2/+2 |
| | | | | | | | | Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. llvm-svn: 36652 | ||||
| * | Do not use typeinfo to identify pass in pass manager. | Devang Patel | 2007-05-01 | 1 | -0/+4 |
| | | | | | llvm-svn: 36632 | ||||
| * | Prefer non-virtual calls to ConstantInt::isZero over virtual calls to | Reid Spencer | 2007-03-02 | 1 | -4/+4 |
| | | | | | | | Constant::isNullValue() in situations where it is possible. llvm-svn: 34821 | ||||
| * | Use isUnitValue() instead of getZExtValue() == 1 which will prevent an | Reid Spencer | 2007-03-01 | 1 | -1/+1 |
| | | | | | | | assert if the ConstantInt's value is large. llvm-svn: 34814 | ||||
| * | For PR1195: | Reid Spencer | 2007-02-15 | 1 | -1/+1 |
| | | | | | | | | Rename PackedType -> VectorType, ConstantPacked -> ConstantVector, and PackedTyID -> VectorTyID. No functional changes. llvm-svn: 34293 | ||||
| * | Simplify code by using value::takename | Chris Lattner | 2007-02-11 | 1 | -8/+6 |
| | | | | | llvm-svn: 34176 | ||||
| * | Apply the VISIBILITY_HIDDEN field to the remaining anonymous classes in | Reid Spencer | 2007-02-05 | 1 | -2/+3 |
| | | | | | | | | the Transforms library. This reduces debug library size by 132 KB, debug binary size by 376 KB, and reduces link time for llvm tools slightly. llvm-svn: 33939 | ||||
| * | For PR970: | Reid Spencer | 2007-01-21 | 1 | -28/+24 |
| | | | | | | | | Clean up handling of isFloatingPoint() and dealing with PackedType. Patch by Gordon Henriksen! llvm-svn: 33415 | ||||
| * | rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger. | Chris Lattner | 2007-01-15 | 1 | -1/+1 |
| | | | | | | | | | | rename Type::getIntegralTypeMask to Type::getIntegerTypeMask. This makes naming much more consistent. For example, there are now no longer any instances of IntegerType that are not considered isInteger! :) llvm-svn: 33225 | ||||
| * | For PR1043: | Zhou Sheng | 2007-01-11 | 1 | -2/+2 |
| | | | | | | | | Merge ConstantIntegral and ConstantBool into ConstantInt. Remove ConstantIntegral and ConstantBool from LLVM. llvm-svn: 33073 | ||||
| * | For PR950: | Reid Spencer | 2006-12-23 | 1 | -4/+5 |
| | | | | | | | | | This patch removes the SetCC instructions and replaces them with the ICmp and FCmp instructions. The SetCondInst instruction has been removed and been replaced with ICmpInst and FCmpInst. llvm-svn: 32751 | ||||
| * | Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic | Chris Lattner | 2006-12-19 | 1 | -6/+5 |
| | | | | | | | | converted, we lose a static initializer. This also allows GCC to emit warnings about unused statistics. llvm-svn: 32690 | ||||
| * | Removing even more <iostream> includes. | Bill Wendling | 2006-12-07 | 1 | -19/+15 |
| | | | | | llvm-svn: 32320 | ||||
| * | Detemplatize the Statistic class. The only type it is instantiated with | Chris Lattner | 2006-12-06 | 1 | -5/+5 |
| | | | | | | | is 'unsigned'. llvm-svn: 32279 | ||||
| * | Remove the 'printname' argument to WriteAsOperand. It is always true, and | Chris Lattner | 2006-12-06 | 1 | -1/+1 |
| | | | | | | | passing false would make the asmprinter fail anyway. llvm-svn: 32264 | ||||

