mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 12:06:10 +00:00

Rename the function to reflect its correct behavior and to be consistent with `Module::getOrInsertFunction`. This is also in preparation of adding a new `Intrinsic::getDeclaration` that will have behavior similar to `Module::getFunction` (i.e, just lookup, no creation).