Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix bug: Linker/2003-06-02-TypeResolveProblem.ll | Chris Lattner | 2003-06-02 | 1 | -0/+4 | |
| | | | | llvm-svn: 6542 | |||||
* | Fix problem with last checkin. | Chris Lattner | 2003-05-25 | 1 | -4/+6 | |
| | | | | llvm-svn: 6328 | |||||
* | Fix Bug: Linker/2003-04-26-NullPtrLinkProblem.ll | Chris Lattner | 2003-05-23 | 1 | -103/+194 | |
| | | | | | | | | This was a problem with constants having their types resolved to some new type, but there was already a constant of the new type created. Before, these types were never merged together, now they are. llvm-svn: 6314 | |||||
* | Add support for shift constant expressions | Chris Lattner | 2003-05-21 | 1 | -5/+28 | |
| | | | | llvm-svn: 6260 | |||||
* | Fix bug: Assembler/2003-05-15-AssemblerProblem.llx | Chris Lattner | 2003-05-15 | 1 | -2/+1 | |
| | | | | llvm-svn: 6234 | |||||
* | Remove unnecessary casts | Chris Lattner | 2003-05-14 | 1 | -11/+12 | |
| | | | | llvm-svn: 6201 | |||||
* | Eliminate using declarations | Chris Lattner | 2003-05-13 | 1 | -19/+14 | |
| | | | | llvm-svn: 6179 | |||||
* | Don't build constantexprs that could be folded | Chris Lattner | 2003-04-17 | 1 | -0/+10 | |
| | | | | llvm-svn: 5801 | |||||
* | Change the interface to constant expressions to allow automatic folding | Chris Lattner | 2003-04-16 | 1 | -6/+5 | |
| | | | | llvm-svn: 5793 | |||||
* | Fix ConstantUInt::isAllOnesValue | Chris Lattner | 2003-03-10 | 1 | -0/+7 | |
| | | | | llvm-svn: 5734 | |||||
* | Remove #include | Chris Lattner | 2003-03-06 | 1 | -1/+18 | |
| | | | | | | Extend getNullValue to work with struct and array types llvm-svn: 5718 | |||||
* | - Dramatically simplify the Constant::mutateReferences implementation, | Chris Lattner | 2002-10-14 | 1 | -21/+19 | |
| | | | | | | allowing it to be called on all constant types (structures/arrays) llvm-svn: 4160 | |||||
* | - Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd to | Chris Lattner | 2002-10-13 | 1 | -2/+2 | |
| | | | | | | reflect the fact that it's a range being defined. llvm-svn: 4147 | |||||
* | - Add new Constant::replaceUsesOfWithOnConstant which has an end result | Chris Lattner | 2002-10-09 | 1 | -0/+106 | |
| | | | | | | | similar to User::replaceUsesOfWith but actually does the right thing for constants. llvm-svn: 4102 | |||||
* | Fix bug: Assembler/2002-10-08-LargeArrayPerformance.ll by using | Chris Lattner | 2002-10-08 | 1 | -2/+4 | |
| | | | | | | std::vector::reserve when possible llvm-svn: 4085 | |||||
* | include/llvm/DataTypes.h includes this #define so we don't need it anymore | Chris Lattner | 2002-09-13 | 1 | -1/+0 | |
| | | | | llvm-svn: 3708 | |||||
* | Give better assertion message for error conditions | Chris Lattner | 2002-09-11 | 1 | -0/+4 | |
| | | | | llvm-svn: 3680 | |||||
* | - Renamed Type::isIntegral() to Type::isInteger() | Chris Lattner | 2002-09-03 | 1 | -3/+2 | |
| | | | | | | | - Added new method Type::isIntegral() that is the same as isInteger, but also accepts bool. llvm-svn: 3574 | |||||
* | Add support for turning an array of characters into a string. | Chris Lattner | 2002-08-26 | 1 | -0/+18 | |
| | | | | llvm-svn: 3509 | |||||
* | - ConstantPointerRefs are now automatically removed from the module table | Chris Lattner | 2002-08-18 | 1 | -0/+17 | |
| | | | | | | | | | when they are destroyed, which makes Constant::destroyConstant an actually useful external interface. Expose these methods publicly. - Implement destroyConstant on ConstPointerNull so that destroyConstant can be used on any derived type constant safely. llvm-svn: 3379 | |||||
* | Remove support for Not ConstantExpr. This simplifies the unary case to only | Chris Lattner | 2002-08-14 | 1 | -13/+3 | |
| | | | | | | have to support the cast instruction, so the function is renamed to getCast. llvm-svn: 3328 | |||||
* | Return null on failure, instead of aborting. | Chris Lattner | 2002-08-14 | 1 | -9/+3 | |
| | | | | llvm-svn: 3308 | |||||
* | - Rename ConstantGenericIntegral -> ConstantIntegral | Chris Lattner | 2002-08-13 | 1 | -27/+104 | |
| | | | | | | | - Add new methods to ConstantIntegral: getMaxValue, getMinValue, getAllOnesValue llvm-svn: 3299 | |||||
* | - Added a new superclass of ConstantBool/ConstantInt: ConstantGenericIntegral | Chris Lattner | 2002-08-12 | 1 | -2/+8 | |
| | | | | | | - Moved InstCombine: isMaxValue, isMinValue, isAllOnesValue to Constants.h llvm-svn: 3293 | |||||
* | Cleanup ConstantExpr handling: | Chris Lattner | 2002-07-30 | 1 | -36/+25 | |
| | | | | | | | | | | | | | | * Correctly delete TypeHandles in AsmParser. In addition to not leaking memory, this prevents a bug that could have occurred when a type got resolved that the constexpr was using * Check for errors in the AsmParser instead of hitting assertion failures deep in the code * Simplify the interface to the ConstantExpr class, removing unneccesary parameters to the ::get* methods. * Rename the 'getelementptr' version of ConstantExpr::get to ConstantExpr::getGetElementPtr llvm-svn: 3161 | |||||
* | *** empty log message *** | Chris Lattner | 2002-07-24 | 1 | -2/+2 | |
| | | | | llvm-svn: 3065 | |||||
* | * ConstExpr::getelementptr now takes a vector of Constants not Values | Chris Lattner | 2002-07-18 | 1 | -109/+73 | |
| | | | | | | * Assert things instead of printing an error and returning null. llvm-svn: 2949 | |||||
* | added std:: to cerr and endl | Anand Shukla | 2002-07-16 | 1 | -2/+5 | |
| | | | | llvm-svn: 2914 | |||||
* | Ensure ConstExpr constants are unique using a | Vikram S. Adve | 2002-07-15 | 1 | -5/+62 | |
| | | | | | | map of <opcode, operands> to ConstExpr. llvm-svn: 2909 | |||||
* | Added subclass ConstantExpr to represent expressions consructed from | Vikram S. Adve | 2002-07-14 | 1 | -12/+129 | |
| | | | | | | | | | constants using operators such as cast, getelementptr, add, shl, etc. Note that a ConstantExpr can be of any type, so classof() in most other subclasses (that discriminate by type) have to check that it is also not a ConstantExpr. llvm-svn: 2901 | |||||
* | *** empty log message *** | Chris Lattner | 2002-06-30 | 1 | -1/+0 | |
| | | | | llvm-svn: 2813 | |||||
* | added include<iostream> for cerr | Anand Shukla | 2002-06-25 | 1 | -0/+1 | |
| | | | | llvm-svn: 2800 | |||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 1 | -1/+0 | |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2779 | |||||
* | Split ConstantVals.h into Constant.h and Constants.h | Chris Lattner | 2002-04-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 2378 | |||||
* | * Change Constant::getNullConstant to Constant::getNullValue | Chris Lattner | 2002-04-27 | 1 | -33/+1 | |
| | | | | | | * Remove some unused code llvm-svn: 2324 | |||||
* | Move asmwriter/getStrValue cruft into AsmWriter.cpp file. | Chris Lattner | 2002-04-18 | 1 | -128/+0 | |
| | | | | llvm-svn: 2300 | |||||
* | Remove unneccesary cast | Chris Lattner | 2002-04-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 2269 | |||||
* | * Move include/llvm/Analysis/SlotCalculator.h to include/llvm/SlotCalculator.h | Chris Lattner | 2002-04-07 | 1 | -1/+2 | |
| | | | | | | | because the slot calculator is already part of the VMCore library. * Rename incorporateMethod and purgeMethod to *Function llvm-svn: 2154 | |||||
* | Remove some gross code by using the VAlue::dump method to do debug dumps | Chris Lattner | 2002-04-07 | 1 | -7/+5 | |
| | | | | llvm-svn: 2149 | |||||
* | Fix Bug: test/Regression/Other/2002-04-07-InfConstant.ll | Chris Lattner | 2002-04-07 | 1 | -3/+12 | |
| | | | | llvm-svn: 2142 | |||||
* | Fix bug: test/Regression/Other/2002-04-07-HexFloatConstants.ll | Chris Lattner | 2002-04-07 | 1 | -2/+20 | |
| | | | | llvm-svn: 2141 | |||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -24/+29 | |
| | | | | llvm-svn: 1503 | |||||
* | Rename ConstPoolVals.cpp to Constants.cpp | Chris Lattner | 2001-12-14 | 1 | -0/+499 | |
llvm-svn: 1471 |