[IR] Remove unused ConstantExpr::getOffsetOf() methods (NFC)
authorNikita Popov <npopov@redhat.com>
Thu, 16 Mar 2023 09:34:18 +0000 (10:34 +0100)
committerNikita Popov <npopov@redhat.com>
Thu, 16 Mar 2023 09:35:11 +0000 (10:35 +0100)
commitd7144df63718e8d882f53400b2e54e0ed67c23a4
tree44e5b931bb1c50c9dde9b2268c3a86ad47593691
parentbbfb13a5ffbccf1759ca6b75262a3ffdbe20496e
[IR] Remove unused ConstantExpr::getOffsetOf() methods (NFC)

These are not used and should not be used (just like anything that
creates a constant expression only due to lack of DL-awareness).
llvm/include/llvm/IR/Constants.h
llvm/lib/IR/Constants.cpp