/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()
|
/external/chromium_org/third_party/mesa/src/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()
|
/external/libcxx/include/ |
D | type_traits | 50 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/ |
D | lvalue_ref.pass.cpp | 23 static_assert(!std::is_scalar<T>::value, ""); in test_lvalue_ref()
|
D | rvalue_ref.pass.cpp | 23 static_assert(!std::is_scalar<T>::value, ""); in test_rvalue_ref()
|
D | void.pass.cpp | 23 static_assert(!std::is_scalar<T>::value, ""); in test_void_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 | pointer.pass.cpp | 23 static_assert( std::is_scalar<T>::value, ""); in test_pointer_imp()
|
D | class.pass.cpp | 23 static_assert(!std::is_scalar<T>::value, ""); in test_class_imp()
|
D | function.pass.cpp | 23 static_assert(!std::is_scalar<T>::value, ""); in test_function_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/valgrind/main/none/tests/ppc64/ |
D | test_isa_2_06_part3.c | 1098 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()
|