Jlm
jlm
rvsdg
nullary.hpp
Go to the documentation of this file.
1
/*
2
* Copyright 2010 2011 2012 2014 Helge Bahmann <hcb@chaoticmind.net>
3
* Copyright 2013 2014 Nico Reißmann <nico.reissmann@gmail.com>
4
* See COPYING for terms of redistribution.
5
*/
6
7
#ifndef JLM_RVSDG_NULLARY_HPP
8
#define JLM_RVSDG_NULLARY_HPP
9
10
#include <
jlm/rvsdg/node.hpp
>
11
#include <
jlm/rvsdg/simple-node.hpp
>
12
13
namespace
jlm::rvsdg
14
{
15
16
class
Output;
17
21
class
NullaryOperation
:
public
SimpleOperation
22
{
23
public
:
24
~NullaryOperation
() noexcept
override
;
25
26
explicit
NullaryOperation
(std::shared_ptr<const Type> resultType)
27
:
SimpleOperation
({}, { std::move(resultType) })
28
{}
29
};
30
31
}
32
33
#endif
jlm::rvsdg::NullaryOperation
Nullary operator (operator taking no formal arguments)
Definition:
nullary.hpp:22
jlm::rvsdg::NullaryOperation::~NullaryOperation
~NullaryOperation() noexcept override
Definition:
nullary.cpp:13
jlm::rvsdg::NullaryOperation::NullaryOperation
NullaryOperation(std::shared_ptr< const Type > resultType)
Definition:
nullary.hpp:26
jlm::rvsdg::SimpleOperation
Definition:
operation.hpp:57
jlm::rvsdg
Definition:
add-sinks.hpp:12
node.hpp
simple-node.hpp
Generated by
1.9.1