1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef GOOSE_LLR_INSTRUCTION_H
#define GOOSE_LLR_INSTRUCTION_H
namespace goose::llr
{
class CFG;
class Instruction
{
public:
Instruction() {}
Instruction( Call&& c ) :
m_content( move( c ) )
{}
Instruction( ptr< CFG >&& ic ) :
m_content( move( ic ) )
{}
Instruction( CreateTemporary&& ct ) :
m_content( move( ct ) )
{}
Instruction( GetTemporary&& gt ) :
m_content( move( gt ) )
{}
|
<
<
<
<
<
<
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef GOOSE_LLR_INSTRUCTION_H
#define GOOSE_LLR_INSTRUCTION_H
namespace goose::llr
{
class CFG;
class Instruction
{
public:
Instruction( Call&& c ) :
m_content( move( c ) )
{}
Instruction( CreateTemporary&& ct ) :
m_content( move( ct ) )
{}
Instruction( GetTemporary&& gt ) :
m_content( move( gt ) )
{}
|
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
|
Instruction( Placeholder&& x ) :
m_content( move( x ) )
{}
using Content = variant
<
ptr< CFG >, // CFG inlining
Call,
CreateTemporary,
GetTemporary,
AllocVar,
GetVar,
SetVar,
Phi,
|
<
|
142
143
144
145
146
147
148
149
150
151
152
153
154
155
|
Instruction( Placeholder&& x ) :
m_content( move( x ) )
{}
using Content = variant
<
Call,
CreateTemporary,
GetTemporary,
AllocVar,
GetVar,
SetVar,
Phi,
|