attr_struct = "irg_attr"
knownBlock = True
singleton = True
+ noconstructor = True
class And(Binop):
flags = [ "commutative" ]
type = "ident*",
),
]
- java_noconstr = True
class Bad(Op):
- mode = "mode_Bad"
- flags = [ "cfopcode", "start_block", "dump_noblock" ]
- pinned = "yes"
- knownBlock = True
- singleton = True
- attr_struct = "bad_attr"
+ mode = "mode_T"
+ flags = [ "cfopcode", "start_block", "dump_noblock" ]
+ pinned = "yes"
+ knownBlock = True
+ block = "get_irg_start_block(irg)"
+ singleton = True
+ attr_struct = "bad_attr"
init = '''
- res->attr.irg.irg = irg;
+ res->attr.bad.irg.irg = irg;
'''
class Deleted(Op):
- mode = "mode_Bad"
- flags = [ ]
- pinned = "yes"
- knownBlock = True
- singleton = True
+ mode = "mode_Bad"
+ flags = [ ]
+ pinned = "yes"
+ noconstructor = True
class Block(Op):
mode = "mode_BB"
knownBlock = True
block = "NULL"
pinned = "yes"
- optimize = False
arity = "variable"
flags = [ "labeled" ]
attr_struct = "block_attr"
- java_noconstr = True
init = '''
- res->attr.block.is_dead = 0;
res->attr.block.irg.irg = irg;
res->attr.block.backedge = new_backedge_arr(irg->obst, arity);
- res->attr.block.in_cg = NULL;
- res->attr.block.cg_backedge = NULL;
- res->attr.block.extblk = NULL;
- res->attr.block.entity = NULL;
-
set_Block_matured(res, 1);
- set_Block_block_visited(res, 0);
/* Create and initialize array for Phi-node construction. */
if (get_irg_phase_state(irg) == phase_building) {
pinned = "yes"
arity = "dynamic"
flags = [ "cfopcode" ]
+ knownBlock = True
+ block = "get_irg_end_block(irg)"
singleton = True
class Eor(Binop):
pinned = "no"
class NoMem(Op):
- mode = "mode_M"
- flags = [ "dump_noblock", "dump_noinput" ]
- pinned = "yes"
- knownBlock = True
- singleton = True
+ mode = "mode_M"
+ flags = [ "dump_noblock", "dump_noinput" ]
+ pinned = "yes"
+ knownBlock = True
+ block = "get_irg_start_block(irg)"
+ singleton = True
class Not(Unop):
flags = []
arity = "variable"
flags = []
attr_struct = "phi_attr"
- java_noconstr = True
init = '''
/* Memory Phis in endless loops must be kept alive.
As we can't distinguish these easily we keep all of them alive. */
pinned = "yes"
flags = [ "cfopcode" ]
singleton = True
+ knownBlock = True
+ block = "get_irg_start_block(irg)"
class Store(Op):
ins = [ "mem", "ptr", "value" ]
)
]
attr_struct = "symconst_attr"
- java_noconstr = True
class Sync(Op):
mode = "mode_M"
flags = []
pinned = "no"
- optimize = False
arity = "dynamic"
class Tuple(Op):
mode = "mode_T"
pinned = "no"
flags = [ "labeled" ]
- java_noconstr = True
class Unknown(Op):
knownBlock = True