Hopefully this will fix the linker error in https://lab.llvm.org/buildbot/#/builders/80/builds/7248.
Intrinsic::getDeclaration
getOrInsertDeclaration