Added subclass ConstantExpr to represent expressions consructed from
authorVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 14 Jul 2002 23:13:17 +0000 (23:13 +0000)
committerVikram S. Adve <vadve@cs.uiuc.edu>
Sun, 14 Jul 2002 23:13:17 +0000 (23:13 +0000)
commit345e0cfb86b182c744e618ad39b5181f46110365
treed1a660e5a4e94358d7296015547d76f77c31d13e
parentc105645c16f77ee20b853baf717073ad393dd4aa
Added subclass ConstantExpr to represent expressions consructed from
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2901 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Constants.cpp