Home
last modified time | relevance | path

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

123

/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()
/external/chromium_org/third_party/mesa/src/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()
/external/libcxx/include/
Dtype_traits50 template <class T> struct is_scalar;
521 // is_scalar
523 template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY is_scalar
530 template <> struct _LIBCPP_TYPE_VIS_ONLY is_scalar<nullptr_t> : public true_type {};
535 : public integral_constant<bool, is_scalar<_Tp>::value ||
1256 template <class _Tp, size_t = sizeof(_Tp), bool = is_scalar<_Tp>::value> struct __transform {typede…
2114 : public is_scalar<_Tp>
2146 : public __libcpp_is_constructible<is_scalar<_Tp>::value || is_reference<_Tp>::value,
2258 : public is_scalar<_Tp>
2275 : public __is_constructible0_imp<is_scalar<_Tp>::value || is_reference<_Tp>::value,
[all …]
/external/libcxx/test/utilities/meta/meta.unary/meta.unary.comp/
Dlvalue_ref.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_lvalue_ref()
Drvalue_ref.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_rvalue_ref()
Dvoid.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_void_imp()
Dfloating_point.pass.cpp23 static_assert( std::is_scalar<T>::value, ""); in test_floating_point_imp()
Dmember_object_pointer.pass.cpp23 static_assert( std::is_scalar<T>::value, ""); in test_member_object_pointer_imp()
Denum.pass.cpp23 static_assert( std::is_scalar<T>::value, ""); in test_enum_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()
Dclass.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_class_imp()
Dfunction.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_function_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/valgrind/main/none/tests/ppc64/
Dtest_isa_2_06_part3.c1098 Bool is_scalar = (strstr(test_group.name, "xs")) ? True : False; in test_vsx_one_fp_arg() local
1101 int loops = is_scalar ? 1 : stride; in test_vsx_one_fp_arg()
1102 stride = is_scalar ? 1: stride; in test_vsx_one_fp_arg()
1112 if (!dp && !is_scalar && test_group.type == VX_CONV_TO_DOUBLE) { in test_vsx_one_fp_arg()
1436 Bool is_scalar = (strstr(test_group.name, "xs")) ? True : False; in test_vx_tdivORtsqrt() local
1439 int loops = is_scalar ? 1 : stride; in test_vx_tdivORtsqrt()
1440 stride = is_scalar ? 1: stride; in test_vx_tdivORtsqrt()

123