|
Jlm
|
#include <control.hpp>


Static Public Member Functions | |
| static Node & | CreateNode (Output &predicate, const std::unordered_map< uint64_t, uint64_t > &mapping, const uint64_t defaultAlternative, const size_t numAlternatives) |
| static Output * | Create (Output &predicate, const std::unordered_map< uint64_t, uint64_t > &mapping, const uint64_t defaultAlternative, const size_t numAlternatives) |
Private Types | |
| typedef std::unordered_map< uint64_t, uint64_t >::const_iterator | const_iterator |
Static Private Member Functions | |
| static const BitType & | CheckAndExtractBitType (const rvsdg::Type &type) |
Private Attributes | |
| uint64_t | default_alternative_ |
| std::unordered_map< uint64_t, uint64_t > | mapping_ |
Match operator Converts an n-bit integer input into a value of type ControlType. The ControlType has a given number of alternative values, which are indexed starting at 0. The match can represent any mapping from integers to alternatives, with a default alternative. These alternatives represent the different outgoing edges from a basic block, or the different regions of a gamma node.
Definition at line 157 of file control.hpp.
|
private |
Definition at line 159 of file control.hpp.
|
overridedefaultnoexcept |
| jlm::rvsdg::MatchOperation::MatchOperation | ( | size_t | nbits, |
| const std::unordered_map< uint64_t, uint64_t > & | mapping, | ||
| uint64_t | default_alternative, | ||
| size_t | nalternatives | ||
| ) |
Definition at line 113 of file control.cpp.
Definition at line 186 of file control.hpp.
|
inline |
Definition at line 208 of file control.hpp.
|
inlinestaticprivate |
Definition at line 247 of file control.hpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 156 of file control.cpp.
|
inlinestatic |
Definition at line 236 of file control.hpp.
|
inlinestatic |
Definition at line 220 of file control.hpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 132 of file control.cpp.
|
inlinenoexcept |
Definition at line 196 of file control.hpp.
|
inline |
Definition at line 214 of file control.hpp.
|
inlinenoexcept |
Definition at line 180 of file control.hpp.
|
inlinenoexcept |
Definition at line 202 of file control.hpp.
|
overridevirtualnoexcept |
Implements jlm::rvsdg::Operation.
Definition at line 124 of file control.cpp.
|
private |
Definition at line 257 of file control.hpp.
Definition at line 258 of file control.hpp.