diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2021-06-17 13:04:26 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2021-06-18 01:07:53 -0500 |
commit | 666dc6f1267dfedcd0502a1f8fbd9aafe463e06a (patch) | |
tree | b9c6d897b47fd9980d84ffc2944fd92584c98d6d /llvm/lib/Demangle/RustDemangle.cpp | |
parent | d9194b6efb4d287d2a9f2ad216a6fb5b7b260353 (diff) | |
download | llvm-666dc6f1267dfedcd0502a1f8fbd9aafe463e06a.zip llvm-666dc6f1267dfedcd0502a1f8fbd9aafe463e06a.tar.gz llvm-666dc6f1267dfedcd0502a1f8fbd9aafe463e06a.tar.bz2 |
[Attributor] Use a centralized value simplification interface
To allow outside AAs that simplify values we need to ensure all value
simplification goes through the Attributor, not AAValueSimplify (or any
of the other AAs we have already like AAPotentialValues). This patch
also introduces an interface for the outside AAs to register
simplification callbacks for an IRPosition. To make this work as
expected we have to pass IRPositions instead of Values in
AAValueSimplify, which makes sense by itself.
Diffstat (limited to 'llvm/lib/Demangle/RustDemangle.cpp')
0 files changed, 0 insertions, 0 deletions