[NFC][OpaquePtr] Use GlobalValue::getValueType() more
authorArthur Eubanks <aeubanks@google.com>
Fri, 9 Jul 2021 16:55:07 +0000 (09:55 -0700)
committerArthur Eubanks <aeubanks@google.com>
Fri, 9 Jul 2021 16:55:41 +0000 (09:55 -0700)
commit4e6013250d319a7ca4fc7fb5ba9ac7b1b28d2b4f
treec1845b79e32fd4159d5adeaacbd75116a2f5666f
parent486992f958cedc0b0ce4ab29262deb48cc8c8a51
[NFC][OpaquePtr] Use GlobalValue::getValueType() more

Instead of getType()->getElementType().
llvm/lib/IR/Module.cpp
llvm/lib/Linker/LinkModules.cpp
llvm/lib/Object/IRSymtab.cpp
llvm/lib/Transforms/IPO/GlobalOpt.cpp
llvm/lib/Transforms/Utils/MemoryOpRemark.cpp
llvm/lib/Transforms/Utils/ValueMapper.cpp
llvm/unittests/Transforms/Utils/ModuleUtilsTest.cpp