Improve performance of HloValue::SetPositionsAndComputeUses
Improve performance of HloValue::SetPositionsAndComputeUses

Previously it called HloInstruction::OperandIndices what constructed a
std::vector with the indices what was unnecessary as we can iterate over
the list of operands directly instead.
PiperOrigin-RevId: 244161260

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