7 #ifndef JLM_RVSDG_SUBSTITUTION_HPP
8 #define JLM_RVSDG_SUBSTITUTION_HPP
12 #include <unordered_map>
32 throw util::Error(
"Output not in substitution map.");
44 std::unordered_map<const Output *, Output *>
outputMap_{};
void insert(const Output *original, Output *substitute)
bool contains(const Output &original) const noexcept
std::unordered_map< const Output *, Output * > outputMap_
Output & lookup(const Output &original) const