Home
last modified time | relevance | path

Searched refs:is_scalar (Results 1 – 25 of 45) sorted by relevance

12

/external/mesa3d/src/glsl/
Dir_validate.cpp344 if (ir->operands[0]->type->is_scalar()) in visit_leave()
346 else if (ir->operands[1]->type->is_scalar()) in visit_leave()
369 || ir->operands[0]->type->is_scalar()); in visit_leave()
387 if (ir->operands[0]->type->is_scalar()) { in visit_leave()
388 assert(ir->operands[1]->type->is_scalar()); in visit_leave()
444 assert(ir->operands[0]->type->is_scalar()); in visit_leave()
446 assert(ir->operands[1]->type->is_scalar()); in visit_leave()
452 assert(ir->operands[0]->type->is_scalar()); in visit_leave()
454 assert(ir->operands[1]->type->is_scalar()); in visit_leave()
456 assert(ir->operands[2]->type->is_scalar()); in visit_leave()
[all …]
Dir.cpp138 if (v->type->is_scalar()) in whole_variable_written()
163 if (lhs->type->is_scalar() || lhs->type->is_vector()) { in ir_assignment()
190 else if (rhs->type->is_scalar()) in ir_assignment()
349 if (op0->type->is_scalar()) { in ir_expression()
351 } else if (op1->type->is_scalar()) { in ir_expression()
367 if (op0->type->is_scalar()) { in ir_expression()
369 } else if (op1->type->is_scalar()) { in ir_expression()
601 assert(type->is_scalar() || type->is_vector() || type->is_matrix() in ir_constant()
641 if (value->type->is_scalar() && value->next->is_tail_sentinel()) { in ir_constant()
735 assert(type->is_scalar() || type->is_vector() || type->is_matrix() in zero()
[all …]
Dopt_constant_propagation.cpp141 if (!type->is_scalar() && !type->is_vector()) in handle_rvalue()
396 if (!var->type->is_vector() && !var->type->is_scalar()) in kill()
449 if (!deref->var->type->is_vector() && !deref->var->type->is_scalar()) in add_constant()
Dast_to_hir.cpp222 if (type_a->is_scalar() && type_b->is_scalar()) in arithmetic_result_type()
230 if (type_a->is_scalar()) { in arithmetic_result_type()
231 if (!type_b->is_scalar()) in arithmetic_result_type()
233 } else if (type_b->is_scalar()) { in arithmetic_result_type()
241 assert(!type_a->is_scalar()); in arithmetic_result_type()
242 assert(!type_b->is_scalar()); in arithmetic_result_type()
438 if (type_a->is_scalar()) in bit_logic_result_type()
509 || !type_a->is_scalar() in relational_result_type()
510 || !type_b->is_scalar()) { in relational_result_type()
582 if (type_a->is_scalar() && !type_b->is_scalar()) { in shift_result_type()
[all …]
Dopt_dead_code_local.cpp77 if (var->type->is_scalar() || var->type->is_vector()) { in kill_channels()
175 if (deref_var && (deref_var->var->type->is_scalar() || in process_assignment()
Dglsl_types.cpp645 if (this->is_scalar() || this->is_vector()) { in std140_base_alignment()
677 if (this->fields.array->is_scalar() || in std140_base_alignment()
757 if (this->is_scalar() || this->is_vector()) { in std140_size()
Dlower_mat_op_to_vec.cpp399 assert(op[1]->type->is_scalar()); in visit_leave()
407 assert(op[0]->type->is_scalar()); in visit_leave()
/external/valgrind/none/tests/ppc64/
Dtest_isa_2_06_part3.c1104 Bool is_scalar = (strstr(test_group.name, "xs")) ? True : False; in test_vsx_one_fp_arg() local
1107 int loops = is_scalar ? 1 : stride; in test_vsx_one_fp_arg()
1108 stride = is_scalar ? 1: stride; in test_vsx_one_fp_arg()
1118 if (!dp && !is_scalar && test_group.type == VX_CONV_TO_DOUBLE) { in test_vsx_one_fp_arg()
1138 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1145 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1154 … Bool res = check_estimate(DOUBLE_TEST, is_sqrt, i + j, (isLE && is_scalar) ? 1: j); in test_vsx_one_fp_arg()
1189 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1198 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1202 if (isLE && is_scalar) in test_vsx_one_fp_arg()
[all …]
/external/valgrind/none/tests/ppc32/
Dtest_isa_2_06_part3.c1104 Bool is_scalar = (strstr(test_group.name, "xs")) ? True : False; in test_vsx_one_fp_arg() local
1107 int loops = is_scalar ? 1 : stride; in test_vsx_one_fp_arg()
1108 stride = is_scalar ? 1: stride; in test_vsx_one_fp_arg()
1118 if (!dp && !is_scalar && test_group.type == VX_CONV_TO_DOUBLE) { in test_vsx_one_fp_arg()
1138 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1145 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1154 … Bool res = check_estimate(DOUBLE_TEST, is_sqrt, i + j, (isLE && is_scalar) ? 1: j); in test_vsx_one_fp_arg()
1189 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1198 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1202 if (isLE && is_scalar) in test_vsx_one_fp_arg()
[all …]
/external/libcxx/test/std/experimental/utilities/meta/meta.type.synop/
Dmeta.unary.comp.pass.cpp70 static_assert(ex::is_scalar_v<T> == std::is_scalar<T>::value, ""); in main()
75 static_assert(ex::is_scalar_v<T> == std::is_scalar<T>::value, ""); in main()
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
Drvalue_ref.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_rvalue_ref()
Dlvalue_ref.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_lvalue_ref()
Dvoid.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_void_imp()
Dclass.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_class_imp()
Dmember_object_pointer.pass.cpp23 static_assert( std::is_scalar<T>::value, ""); in test_member_object_pointer_imp()
Dfloating_point.pass.cpp23 static_assert( std::is_scalar<T>::value, ""); in test_floating_point_imp()
Denum.pass.cpp23 static_assert( std::is_scalar<T>::value, ""); in test_enum_imp()
Dfunction.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_function_imp()
Dunion.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_union_imp()
Dpointer.pass.cpp23 static_assert( std::is_scalar<T>::value, ""); in test_pointer_imp()
Dmember_function_pointer.pass.cpp23 static_assert( std::is_scalar<T>::value, ""); in test_member_function_pointer_imp()
Darray.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_array_imp()
Dintegral.pass.cpp23 static_assert( std::is_scalar<T>::value, ""); in test_integral_imp()
/external/libcxx/include/
Dtype_traits55 template <class T> struct is_scalar;
543 // is_scalar
545 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_scalar
552 template <> struct _LIBCPP_TYPE_VIS_ONLY is_scalar<nullptr_t> : public true_type {};
557 : public integral_constant<bool, is_scalar<_Tp>::value ||
1297 template <class _Tp, size_t = sizeof(_Tp), bool = is_scalar<_Tp>::value> struct __transform {typede…
2413 : public is_scalar<_Tp>
2445 : public __libcpp_is_constructible<is_scalar<_Tp>::value || is_reference<_Tp>::value,
2557 : public is_scalar<_Tp>
2574 : public __is_constructible0_imp<is_scalar<_Tp>::value || is_reference<_Tp>::value,
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_vector_splitting.cpp164 if (ir->val->as_dereference_variable() && ir->type->is_scalar()) in visit_enter()
242 if (!swiz || !swiz->type->is_scalar()) in handle_rvalue()

12