[IRBuilder] Add getModule() method (#229832)

Add a getModule() helper method, which gets the module from the
insertion point. In the future, this will hopefully return the module
stored directly in IRBuilder.

GitOrigin-RevId: 226c70ef83c06706fdcc4a13ae9b36b2412e41d5
3 files changed