6#ifndef JLM_RVSDG_TESTNODES_HPP
7#define JLM_RVSDG_TESTNODES_HPP
44 std::vector<RegionArgument *> argument{};
53 std::vector<RegionResult *> result{};
63 addInputOnly(
Output & origin);
72 addInputWithArguments(
Output & origin);
81 removeInputAndArguments(
size_t index);
89 addArguments(
const std::shared_ptr<const Type> & type);
98 addOutputOnly(std::shared_ptr<const Type> type);
107 addOutputWithResults(
const std::vector<Output *> &
origins);
115 removeOutputAndResults(
size_t index);
124 addResults(
const std::vector<Output *> &
origins);
135 mapInput(
const Input & input)
const;
146 mapOutput(
const Output & output)
const;
Represent acyclic RVSDG subgraphs.
~TestStructuralNode() noexcept override
std::string debug_string() const override
std::unique_ptr< Operation > copy() const override
~TestStructuralOperation() noexcept override
NodeType * TryGetOwnerNode(const rvsdg::Input &input) noexcept
Checks if this is an input to a node of specified type.
A variable routed out of a TestStructuralNode.