[ValueLattice] Make mark* functions public, return if value changed.
authorFlorian Hahn <flo@fhahn.com>
Sat, 15 Feb 2020 18:22:02 +0000 (19:22 +0100)
committerFlorian Hahn <flo@fhahn.com>
Sat, 15 Feb 2020 19:54:58 +0000 (20:54 +0100)
commitaa5ebfdf205de6d599c1fed3161da3b63b6f0bef
tree0e8a4ec53121040794a734de0480dc55fa987e0a
parent4abbaceea07f74c7ed0b2a5b7b452d688e80d24a
[ValueLattice] Make mark* functions public, return if value changed.

This patch prepares ValueLatticeElement to be used by SCCP, by:
* making the mark* functions public
* make the mark* functions return a bool indicating if the value has changed.

Reviewers: efriedma, davide, mssimpso, nikic

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D60581
llvm/include/llvm/Analysis/ValueLattice.h