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)
Output & lookup(const Output &original) const
bool contains(const Output &original) const noexcept
std::unordered_map< const Output *, Output * > outputMap_
NodeType * TryGetOwnerNode(const rvsdg::Input &input) noexcept
Checks if this is an input to a node of specified type.