/external/mesa3d/src/glsl/ |
D | ir_validate.cpp | 344 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 …]
|
D | ir.cpp | 138 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 …]
|
D | opt_constant_propagation.cpp | 141 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()
|
D | ast_to_hir.cpp | 222 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 …]
|
D | opt_dead_code_local.cpp | 77 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()
|
D | glsl_types.cpp | 645 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()
|
D | opt_copy_propagation_elements.cpp | 172 if (var->type->is_scalar() || var->type->is_vector()) { in visit_leave() 440 if (!lhs || !(lhs->type->is_scalar() || lhs->type->is_vector())) in add_copy()
|
/external/valgrind/none/tests/ppc64/ |
D | test_isa_2_06_part3.c | 1104 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/ |
D | test_isa_2_06_part3.c | 1104 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/ |
D | meta.unary.comp.pass.cpp | 70 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/include/ |
D | type_traits | 50 template <class T> struct is_scalar; 533 // is_scalar 535 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_scalar 542 template <> struct _LIBCPP_TYPE_VIS_ONLY is_scalar<nullptr_t> : public true_type {}; 547 : public integral_constant<bool, is_scalar<_Tp>::value || 1271 template <class _Tp, size_t = sizeof(_Tp), bool = is_scalar<_Tp>::value> struct __transform {typede… 2386 : public is_scalar<_Tp> 2418 : public __libcpp_is_constructible<is_scalar<_Tp>::value || is_reference<_Tp>::value, 2530 : public is_scalar<_Tp> 2547 : public __is_constructible0_imp<is_scalar<_Tp>::value || is_reference<_Tp>::value, [all …]
|
/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/ |
D | rvalue_ref.pass.cpp | 23 static_assert(!std::is_scalar<T>::value, ""); in test_rvalue_ref()
|
D | lvalue_ref.pass.cpp | 23 static_assert(!std::is_scalar<T>::value, ""); in test_lvalue_ref()
|
D | void.pass.cpp | 23 static_assert(!std::is_scalar<T>::value, ""); in test_void_imp()
|
D | class.pass.cpp | 23 static_assert(!std::is_scalar<T>::value, ""); in test_class_imp()
|
D | floating_point.pass.cpp | 23 static_assert( std::is_scalar<T>::value, ""); in test_floating_point_imp()
|
D | member_object_pointer.pass.cpp | 23 static_assert( std::is_scalar<T>::value, ""); in test_member_object_pointer_imp()
|
D | enum.pass.cpp | 23 static_assert( std::is_scalar<T>::value, ""); in test_enum_imp()
|
D | union.pass.cpp | 23 static_assert(!std::is_scalar<T>::value, ""); in test_union_imp()
|
D | function.pass.cpp | 23 static_assert(!std::is_scalar<T>::value, ""); in test_function_imp()
|
D | pointer.pass.cpp | 23 static_assert( std::is_scalar<T>::value, ""); in test_pointer_imp()
|
D | member_function_pointer.pass.cpp | 23 static_assert( std::is_scalar<T>::value, ""); in test_member_function_pointer_imp()
|
D | array.pass.cpp | 23 static_assert(!std::is_scalar<T>::value, ""); in test_array_imp()
|
D | integral.pass.cpp | 23 static_assert( std::is_scalar<T>::value, ""); in test_integral_imp()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_fs_vector_splitting.cpp | 164 if (ir->val->as_dereference_variable() && ir->type->is_scalar()) in visit_enter() 242 if (!swiz || !swiz->type->is_scalar()) in handle_rvalue()
|