Avoid the use edge iterator in `TryGetUse`.
authorPat Gavlin <pagavlin@microsoft.com>
Fri, 23 Jun 2017 22:31:47 +0000 (15:31 -0700)
committerPat Gavlin <pagavlin@microsoft.com>
Sat, 24 Jun 2017 01:03:34 +0000 (18:03 -0700)
commit3c8988e689f2a56981bcbf09be6fcb5185f87efe
tree8e26aef1843e0c595a3ceaca5777da7822586dc3
parent609700b7fe82ac6f6a4292f8343ee93b65e2cc7c
Avoid the use edge iterator in `TryGetUse`.

`TryGetUse` does not require the ordering semantics provided by the use
edge iterator. Replace use edge iteration with manual inspection of each
node type.

Commit migrated from https://github.com/dotnet/coreclr/commit/2f96406751925fe3d8d7074b2d687a1abb785ed7
src/coreclr/src/jit/gentree.cpp
src/coreclr/src/jit/gentree.h