Example #1
0
void
set_note (Operation operation, NoteKey key, const Note &note)
{
    if (operation.is_phi_handle())
	set_note(*operation.get_phi_handle(), key, note);
    else
	set_note(*operation.get_instr_handle(), key, note);
}
Example #2
0
void
map_opnds(Operation operation, OpndFilter &filter)
{
    if (operation.is_phi_handle())
	map_opnds(*operation.get_phi_handle(), filter);
    else
	map_opnds(*operation.get_instr_handle(), filter);
}
Example #3
0
Note
take_note(Operation operation, NoteKey key)
{
    if (operation.is_phi_handle())
	return take_note(*operation.get_phi_handle(), key);
    else
	return take_note(*operation.get_instr_handle(), key);
}
Example #4
0
Opnd
get_dst(Operation operation, int pos)
{
    if (operation.is_phi_handle())
	return get_dst(*operation.get_phi_handle());
    else
	return get_dst(*operation.get_instr_handle(), pos);
}