commit | ca178908c8dc2303a1fb54a8a93bab0f0b964e11 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Fri Jul 17 20:47:02 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Fri Jul 17 20:47:02 2009 +0000 |
tree | 80aa85f4b479a948b080f13679535c4c29b7a145 | |
parent | e2cf37b88c089a71727b3ecd466856f0cd638813 [diff] |
Add a new Operator class, for handling Instructions and ConstantExprs in a convenient manner, factoring out some common code from InstructionCombining and ValueTracking. Move the contents of BinaryOperators.h into Operator.h and use Operator to generalize them to support ConstantExprs as well as Instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76232 91177308-0d34-0410-b5e6-96231b3b80d8