aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Constant.h
Commit message (Collapse)AuthorAgeFilesLines
* - Dramatically simplify the Constant::mutateReferences implementation,Chris Lattner2002-10-141-1/+1
| | | | | | | allowing it to be called on all constant types (structures/arrays) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4160 91177308-0d34-0410-b5e6-96231b3b80d8
* - Add new Constant::replaceUsesOfWithOnConstant which has an end resultChris Lattner2002-10-091-2/+23
| | | | | | | | similar to User::replaceUsesOfWith but actually does the right thing for constants. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4102 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert comments to Doxygen styleChris Lattner2002-08-251-20/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3507 91177308-0d34-0410-b5e6-96231b3b80d8
* - ConstantPointerRefs are now automatically removed from the module tableChris Lattner2002-08-181-9/+18
| | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3378 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a couple of virtual functions to support subclass ConstantExpr.Vikram S. Adve2002-07-141-0/+9
| | | | | | | | | 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. This is why isConstantExpr() is needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2890 91177308-0d34-0410-b5e6-96231b3b80d8
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-281-0/+47
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2378 91177308-0d34-0410-b5e6-96231b3b80d8