Full support for exception sets in value numbering.
authorBrian Sullivan <briansul@microsoft.com>
Tue, 25 Sep 2018 20:06:24 +0000 (13:06 -0700)
committerBrian Sullivan <briansul@microsoft.com>
Fri, 5 Oct 2018 22:08:49 +0000 (15:08 -0700)
commit4a6f0c8f0c706c3a5ed5e98feeca80de1da57b5d
tree31f09749f5954c087f6c8c436d8418e323b6ca2d
parent27c848e37e9998142b60e776cf5b5d08a3543fe1
Full support for exception sets in value numbering.

New method that add exception sets:
  fgValueNumberAddExceptionSet
  - fgValueNumberAddExceptionSetForIndirection
  - fgValueNumberAddExceptionSetForDivision
  - fgValueNumberAddExceptionSetForOverflow
  - fgValueNumberAddExceptionSetForCkFinite

Refactoring work added methods:
 VNEvalShouldFold - method to decide if constant folding should be performed
 EvalUsingMathIdentity - Uses math identities to simplify value number exoressions
 Renamed fgValueNumberHelperMethVNFunc to fgValueNumberJitHelperMethodVNFunc

Removed the suffixes from the method headers comments
src/jit/compiler.h
src/jit/optcse.cpp
src/jit/valuenum.cpp
src/jit/valuenum.h
src/jit/valuenumfuncs.h