[SCEV][NFC] API for tracking of SCEV users
authorMax Kazantsev <mkazantsev@azul.com>
Mon, 25 Oct 2021 04:36:25 +0000 (11:36 +0700)
committerMax Kazantsev <mkazantsev@azul.com>
Mon, 25 Oct 2021 05:14:18 +0000 (12:14 +0700)
commitfea4a48c0baabb4732e6a7fd826755f011e19e0a
treee94a06b7790b60947e946eb5ac147a84e3aa35f7
parenta8c1d9d63e121f16d49b3f80c76f695dfcbcc142
[SCEV][NFC] API for tracking of SCEV users

This patch introduces API that keeps track of SCEVs users of
another SCEVs, required to handle invalidations of users along
with operands that comes in follow-up patches.

Differential Revision: https://reviews.llvm.org/D112295
Reviewed By: reames
llvm/include/llvm/Analysis/ScalarEvolution.h
llvm/lib/Analysis/ScalarEvolution.cpp