| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -3/+3 | 
| | | | | | llvm-svn: 21427 | ||||
| * | Convert 'struct' to 'class' in various places to adhere to the coding standards | Chris Lattner | 2004-10-27 | 1 | -1/+1 | 
| | | | | | | | and work better with VC++. Patch contributed by Morten Ofstad! llvm-svn: 17281 | ||||
| * | Allow creation of GEP constantexprs with a vector of value* operands as | Chris Lattner | 2004-10-11 | 1 | -1/+2 | 
| | | | | | | | | well as a vector of constant*'s. It turns out that this is more efficient and all of the clients want to do that, so we should cater to them. llvm-svn: 16923 | ||||
| * | Fix a link error using VS8.0 | Chris Lattner | 2004-06-08 | 1 | -1/+1 | 
| | | | | | llvm-svn: 14071 | ||||
| * | Add new function | Chris Lattner | 2004-03-12 | 1 | -0/+3 | 
| | | | | | llvm-svn: 12322 | ||||
| * | Rename ConstantHandling.* -> ConstantFolding.* | Chris Lattner | 2004-01-12 | 1 | -62/+16 | 
| | | | | | | | | | | | | | | | | | | | | | | | | | Move a bunch of (now) private stuff from ConstantFolding.h into ConstantFolding.cpp. This _finally_ gets us to a place where we have a sane constant folder. The rules are: 1. LLVM clients now use ConstantExpr::get* methods to fold constants. If they cannot be folded, a constantexpr is created, so these methods always return valid Constant*'s. 2. The implementation of ConstantExpr::get* uses the functions exposed by ConstantFolding.h to try to fold constants. If they cannot be folded, they should return a null pointer. 3. The implementation of ConstantFolding can do whatever it wants, and only has one client (Constants.cpp) This cuts down on the wierd dependencies, and eliminates the two interfaces. The old constanthandling interface was especially bad for clients to use because almost none of them took the failure condition into consideration, thus leading to obscure problems. llvm-svn: 10807 | ||||
| * | Remove a whole bunch more ugliness. This is actually getting to the point of | Chris Lattner | 2004-01-12 | 1 | -40/+20 | 
| | | | | | | | | this whole refactoring: allow constant folding methods to return something other than predefined classes, allow them to return generic Constant*'s. llvm-svn: 10806 | ||||
| * | Move ConstantHandling.h into lib/VMCore and out of include/llvm | Chris Lattner | 2004-01-12 | 1 | -2/+2 | 
| | | | | | llvm-svn: 10805 | ||||
| * | Move this file to lib/VMCore | Chris Lattner | 2004-01-12 | 1 | -0/+102 | 
| llvm-svn: 10804 | |||||

