Lines Matching refs:GetSize

45 			if (GetSize(port.in_a) == 0 && GetSize(port.in_b) == 0)  in optimize()
48 if (GetSize(port.in_a) < GetSize(port.in_b)) in optimize()
51 if (GetSize(port.in_a) == 1 && GetSize(port.in_b) == 0 && !port.is_signed && !port.do_subtract) { in optimize()
58 if (GetSize(port.in_b)) in optimize()
68 …while (GetSize(port.in_a) > 1 && port.in_a[GetSize(port.in_a)-1] == port.in_a[GetSize(port.in_a)-2… in optimize()
69 port.in_a.remove(GetSize(port.in_a)-1); in optimize()
70 …while (GetSize(port.in_b) > 1 && port.in_b[GetSize(port.in_b)-1] == port.in_b[GetSize(port.in_b)-2… in optimize()
71 port.in_b.remove(GetSize(port.in_b)-1); in optimize()
73 while (GetSize(port.in_a) > 1 && port.in_a[GetSize(port.in_a)-1] == State::S0) in optimize()
74 port.in_a.remove(GetSize(port.in_a)-1); in optimize()
75 while (GetSize(port.in_b) > 1 && port.in_b[GetSize(port.in_b)-1] == State::S0) in optimize()
76 port.in_b.remove(GetSize(port.in_b)-1); in optimize()
111 log_assert(GetSize(config_bits) >= config_width); in from_cell()
120 while (port_a_cursor < GetSize(port_a)) in from_cell()
149 log_assert(port_a_cursor == GetSize(port_a)); in from_cell()
159 max_size = max(max_size, GetSize(port.in_a)); in to_cell()
160 max_size = max(max_size, GetSize(port.in_b)); in to_cell()
174 if (GetSize(port.in_a) == 0) in to_cell()
180 int size_a = GetSize(port.in_a); in to_cell()
184 int size_b = GetSize(port.in_b); in to_cell()
195 cell->setParam(ID::CONFIG_WIDTH, GetSize(config_bits)); in to_cell()
196 cell->setParam(ID::A_WIDTH, GetSize(port_a)); in to_cell()
197 cell->setParam(ID::B_WIDTH, GetSize(bit_ports)); in to_cell()
211 if (GetSize(port.in_b) == 0) in eval()
212 …t_pos(port.in_a.as_const(), port.in_b.as_const(), port.is_signed, port.is_signed, GetSize(result)); in eval()
214 …t_mul(port.in_a.as_const(), port.in_b.as_const(), port.is_signed, port.is_signed, GetSize(result)); in eval()
217 result = const_sub(result, summand, port.is_signed, port.is_signed, GetSize(result)); in eval()
219 result = const_add(result, summand, port.is_signed, port.is_signed, GetSize(result)); in eval()
225 result = const_add(result, bit.data, false, false, GetSize(result)); in eval()