commit | dbaef68d59c82f354c4f36be6abb3245600284ef | [log] [tgz] |
---|---|---|
author | Rahul Joshi <rjoshi@nvidia.com> | Fri Oct 11 05:26:03 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Oct 11 05:30:57 2024 -0700 |
tree | ff8c5cb6023b11ea159118217d8a79f914d2b95a | |
parent | c84b3121045c7dd61e4b2b72fc6cd0f7bc97f7e5 [diff] |
[NFC] Rename `Intrinsic::getDeclaration` to `getOrInsertDeclaration` (#111752) 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). GitOrigin-RevId: fa789dffb1e12c2aece0187aeacc48dfb1768340