Add a getContext() utility to the Module/FunctionPass class (NFC)
Add a getContext() utility to the Module/FunctionPass class (NFC)

This is just a convenience for reducing boilerplate when writing a pass.

PiperOrigin-RevId: 240407564

aam-at/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,freedomtan/tensorflow,Intel-tensorflow/tensorflow,arborh/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,jhseu/tensorflow,Intel-tensorflow/tensorflow,Intel-tensorflow/tensorflow,aldian/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,DavidNorman/tensorflow,petewarden/tensorflow,yongtang/tensorflow,ppwwyyxx/tensorflow,adit-chandra/tensorflow,gunan/tensorflow,annarev/tensorflow,Intel-Corporation/tensorflow,annarev/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,aldian/tensorflow,aam-at/tensorflow,arborh/tensorflow,adit-chandra/tensorflow,davidzchen/tensorflow,arborh/tensorflow,gautam1858/tensorflow,aldian/tensorflow,sarvex/tensorflow,davidzchen/tensorflow,Intel-Corporation/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,jhseu/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,xzturn/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-Corporation/tensorflow,renyi533/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,DavidNorman/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,arborh/tensorflow,aldian/tensorflow,sarvex/tensorflow,gunan/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,renyi533/tensorflow,arborh/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,cxxgtxy/tensorflow,frreiss/tensorflow-fred,annarev/tensorflow,petewarden/tensorflow,cxxgtxy/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,xzturn/tensorflow,karllessard/tensorflow,jhseu/tensorflow,karllessard/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,sarvex/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,petewarden/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_saved_model,DavidNorman/tensorflow,annarev/tensorflow,yongtang/tensorflow,gautam1858/tensorflow,yongtang/tensorflow,xzturn/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,yongtang/tensorflow,davidzchen/tensorflow,gunan/tensorflow,adit-chandra/tensorflow,Intel-Corporation/tensorflow,yongtang/tensorflow,xzturn/tensorflow,cxxgtxy/tensorflow,renyi533/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,sarvex/tensorflow,ppwwyyxx/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,petewarden/tensorflow,xzturn/tensorflow,aldian/tensorflow,gautam1858/tensorflow,cxxgtxy/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,tensorflow/tensorflow,freedomtan/tensorflow,arborh/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_tf_optimizer,aldian/tensorflow,xzturn/tensorflow,ppwwyyxx/tensorflow,petewarden/tensorflow,aam-at/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,jhseu/tensorflow,renyi533/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,freedomtan/tensorflow,arborh/tensorflow,renyi533/tensorflow,aam-at/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,sarvex/tensorflow,karllessard/tensorflow,yongtang/tensorflow,karllessard/tensorflow,frreiss/tensorflow-fred,jhseu/tensorflow,aldian/tensorflow,sarvex/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,karllessard/tensorflow,ppwwyyxx/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,annarev/tensorflow,ppwwyyxx/tensorflow,aam-at/tensorflow,aam-at/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,ppwwyyxx/tensorflow,annarev/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,xzturn/tensorflow,yongtang/tensorflow,adit-chandra/tensorflow,sarvex/tensorflow,gunan/tensorflow,paolodedios/tensorflow,aam-at/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,renyi533/tensorflow,karllessard/tensorflow,karllessard/tensorflow,gunan/tensorflow,Intel-Corporation/tensorflow,cxxgtxy/tensorflow,annarev/tensorflow,jhseu/tensorflow,renyi533/tensorflow,petewarden/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,arborh/tensorflow,renyi533/tensorflow,arborh/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,adit-chandra/tensorflow,xzturn/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,paolodedios/tensorflow,tensorflow/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,gunan/tensorflow,davidzchen/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,DavidNorman/tensorflow,freedomtan/tensorflow,paolodedios/tensorflow,paolodedios/tensorflow,Intel-Corporation/tensorflow,gunan/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,DavidNorman/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_saved_model,Intel-tensorflow/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,jhseu/tensorflow,sarvex/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,aam-at/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,DavidNorman/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,gunan/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,frreiss/tensorflow-fred,DavidNorman/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,jhseu/tensorflow