Home
last modified time | relevance | path

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

1234

/external/libcxx/test/std/utilities/meta/meta.unary/meta.unary.comp/
Dis_scalar.pass.cpp21 static_assert( std::is_scalar<T>::value, ""); in test_is_scalar()
22 static_assert( std::is_scalar<const T>::value, ""); in test_is_scalar()
23 static_assert( std::is_scalar<volatile T>::value, ""); in test_is_scalar()
24 static_assert( std::is_scalar<const volatile T>::value, ""); in test_is_scalar()
36 static_assert(!std::is_scalar<T>::value, ""); in test_is_not_scalar()
37 static_assert(!std::is_scalar<const T>::value, ""); in test_is_not_scalar()
38 static_assert(!std::is_scalar<volatile T>::value, ""); in test_is_not_scalar()
39 static_assert(!std::is_scalar<const volatile T>::value, ""); in test_is_not_scalar()
Dlvalue_ref.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_lvalue_ref()
Drvalue_ref.pass.cpp25 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()
Dmember_object_pointer.pass.cpp23 static_assert( std::is_scalar<T>::value, ""); in test_member_object_pointer_imp()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir.h100 bool is_scalar,
103 void brw_nir_lower_vue_inputs(nir_shader *nir, bool is_scalar,
109 void brw_nir_lower_vue_outputs(nir_shader *nir, bool is_scalar);
117 bool is_scalar);
130 bool is_scalar);
139 bool is_scalar);
Dbrw_nir_uniforms.cpp32 bool is_scalar) in brw_nir_setup_glsl_builtin_uniform() argument
58 if (swiz == last_swiz && is_scalar) in brw_nir_setup_glsl_builtin_uniform()
73 bool is_scalar) in brw_nir_setup_glsl_uniform() argument
121 if (!is_scalar) { in brw_nir_setup_glsl_uniform()
136 bool is_scalar) in brw_nir_setup_glsl_uniforms() argument
146 is_scalar); in brw_nir_setup_glsl_uniforms()
149 is_scalar); in brw_nir_setup_glsl_uniforms()
Dbrw_nir.c256 bool is_scalar, in brw_nir_lower_vs_inputs() argument
279 if (is_scalar) { in brw_nir_lower_vs_inputs()
293 brw_nir_lower_vue_inputs(nir_shader *nir, bool is_scalar, in brw_nir_lower_vue_inputs() argument
303 if (is_scalar || nir->stage != MESA_SHADER_GEOMETRY) { in brw_nir_lower_vue_inputs()
391 bool is_scalar) in brw_nir_lower_vue_outputs() argument
458 bool is_scalar) in nir_optimize() argument
474 if (is_scalar) { in nir_optimize()
480 if (is_scalar) { in nir_optimize()
536 const bool is_scalar = compiler->scalar_stage[nir->stage]; in brw_preprocess_nir() local
560 nir = nir_optimize(nir, compiler, is_scalar); in brw_preprocess_nir()
[all …]
Dbrw_compiler.c132 bool is_scalar = compiler->scalar_stage[i]; in brw_compiler_create() local
134 compiler->glsl_compiler_options[i].EmitNoIndirectOutput = is_scalar; in brw_compiler_create()
135 compiler->glsl_compiler_options[i].EmitNoIndirectTemp = is_scalar; in brw_compiler_create()
136 compiler->glsl_compiler_options[i].OptimizeForAOS = !is_scalar; in brw_compiler_create()
138 if (is_scalar) { in brw_compiler_create()
Dbrw_vec4_tcs.cpp401 const bool is_scalar = compiler->scalar_stage[MESA_SHADER_TESS_CTRL]; in brw_compile_tcs() local
414 nir = brw_nir_apply_sampler_key(nir, compiler, &key->tex, is_scalar); in brw_compile_tcs()
415 brw_nir_lower_vue_inputs(nir, is_scalar, &input_vue_map); in brw_compile_tcs()
421 nir = brw_postprocess_nir(nir, compiler, is_scalar); in brw_compile_tcs()
423 if (is_scalar) in brw_compile_tcs()
468 if (is_scalar) { in brw_compile_tcs()
Dbrw_vec4_gs_visitor.cpp602 const bool is_scalar = compiler->scalar_stage[MESA_SHADER_GEOMETRY]; in brw_compile_gs() local
618 shader = brw_nir_apply_sampler_key(shader, compiler, &key->tex, is_scalar); in brw_compile_gs()
619 brw_nir_lower_vue_inputs(shader, is_scalar, &c.input_vue_map); in brw_compile_gs()
620 brw_nir_lower_vue_outputs(shader, is_scalar); in brw_compile_gs()
621 shader = brw_postprocess_nir(shader, compiler, is_scalar); in brw_compile_gs()
819 if (is_scalar) { in brw_compile_gs()
Dbrw_program.c51 brw_nir_lower_uniforms(nir_shader *nir, bool is_scalar) in brw_nir_lower_uniforms() argument
53 if (is_scalar) { in brw_nir_lower_uniforms()
69 bool is_scalar) in brw_create_nir() argument
108 NIR_PASS_V(nir, brw_nir_lower_uniforms, is_scalar); in brw_create_nir()
/external/mesa3d/src/compiler/glsl/
Dir_validate.cpp123 if (!ir->array_index->type->is_scalar()) { in visit_enter()
486 if (ir->operands[0]->type->is_scalar()) in visit_leave()
488 else if (ir->operands[1]->type->is_scalar()) in visit_leave()
524 || ir->operands[0]->type->is_scalar()); in visit_leave()
542 if (ir->operands[0]->type->is_scalar()) { in visit_leave()
543 assert(ir->operands[1]->type->is_scalar()); in visit_leave()
600 assert(ir->operands[1]->type->is_scalar() in visit_leave()
650 assert(ir->operands[1]->type->is_scalar()); in visit_leave()
652 assert(ir->operands[2]->type->is_scalar() in visit_leave()
676 assert(ir->operands[0]->type->is_scalar()); in visit_leave()
[all …]
Dir.cpp133 if (v->type->is_scalar()) in whole_variable_written()
158 if (lhs->type->is_scalar() || lhs->type->is_vector()) { in ir_assignment()
185 else if (rhs->type->is_scalar()) in ir_assignment()
382 if (op0->type->is_scalar()) { in ir_expression()
384 } else if (op1->type->is_scalar()) { in ir_expression()
404 if (op0->type->is_scalar()) { in ir_expression()
406 } else if (op1->type->is_scalar()) { in ir_expression()
651 assert(type->is_scalar() || type->is_vector() || type->is_matrix() in ir_constant()
690 if (value->type->is_scalar() && value->next->is_tail_sentinel()) { in ir_constant()
801 assert(type->is_scalar() || type->is_vector() || type->is_matrix() in zero()
[all …]
Dopt_constant_propagation.cpp172 if (!type->is_scalar() && !type->is_vector()) in constant_propagation()
442 if (!var->type->is_vector() && !var->type->is_scalar()) in kill()
492 if (!deref->var->type->is_vector() && !deref->var->type->is_scalar()) in add_constant()
/external/flatbuffers/include/flatbuffers/
Dstl_emulation.h97 template <typename T> using is_scalar = std::is_scalar<T>; variable
103 template <typename T> using is_scalar = std::tr1::is_scalar<T>; variable
111 template <typename T> struct is_scalar : public std::is_scalar<T> {}; struct
/external/tensorflow/tensorflow/core/kernels/
Dstring_join_op.cc41 std::vector<bool> is_scalar; in Compute() local
46 is_scalar.push_back(TensorShapeUtils::IsScalar(input.shape())); in Compute()
68 strings[j] = (is_scalar[j]) ? inputs[j](0) : inputs[j](i); in Compute()
Dsubstr_op.cc46 bool is_scalar = TensorShapeUtils::IsScalar(pos_shape); in Compute() local
48 if (is_scalar || input_shape == pos_shape) { in Compute()
60 if (is_scalar) { in Compute()
/external/tensorflow/tensorflow/python/ops/
Dweights_broadcast_ops.py120 is_scalar = math_ops.equal(0, weights_rank, name="is_scalar")
125 "is_scalar=", is_scalar,
128 is_scalar,
129 lambda: is_scalar,
/external/valgrind/none/tests/ppc64/
Dtest_isa_2_06_part3.c1109 Bool is_scalar = (strstr(test_group.name, "xs")) ? True : False; in test_vsx_one_fp_arg() local
1112 int loops = is_scalar ? 1 : stride; in test_vsx_one_fp_arg()
1113 stride = is_scalar ? 1: stride; in test_vsx_one_fp_arg()
1123 if (!dp && !is_scalar && test_group.type == VX_CONV_TO_DOUBLE) { in test_vsx_one_fp_arg()
1143 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1150 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1159 … Bool res = check_estimate(DOUBLE_TEST, is_sqrt, i + j, (isLE && is_scalar) ? 1: j); in test_vsx_one_fp_arg()
1194 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1203 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1207 if (isLE && is_scalar) in test_vsx_one_fp_arg()
[all …]
/external/valgrind/none/tests/ppc32/
Dtest_isa_2_06_part3.c1109 Bool is_scalar = (strstr(test_group.name, "xs")) ? True : False; in test_vsx_one_fp_arg() local
1112 int loops = is_scalar ? 1 : stride; in test_vsx_one_fp_arg()
1113 stride = is_scalar ? 1: stride; in test_vsx_one_fp_arg()
1123 if (!dp && !is_scalar && test_group.type == VX_CONV_TO_DOUBLE) { in test_vsx_one_fp_arg()
1143 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1150 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1159 … Bool res = check_estimate(DOUBLE_TEST, is_sqrt, i + j, (isLE && is_scalar) ? 1: j); in test_vsx_one_fp_arg()
1194 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1203 if (isLE && is_scalar) in test_vsx_one_fp_arg()
1207 if (isLE && is_scalar) in test_vsx_one_fp_arg()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dmodule.cpp66 std::is_scalar<T>::value>::type> {
87 !std::is_scalar<T>::value>::type> {
116 std::is_scalar<T>::value>::type> {
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/
Ddistribution_test.py123 is_scalar = normal._is_scalar_helper(x.get_shape(),
125 self.assertTrue(is_scalar.eval(feed_dict={x: 1}))
126 self.assertFalse(is_scalar.eval(feed_dict={x: [1]}))
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Ddistribution_util.py430 def check_is_scalar(is_scalar, name): argument
431 is_scalar_ = static_value(is_scalar)
438 is_scalar, True,
/external/mesa3d/src/compiler/
Dnir_types.cpp166 return type->is_scalar(); in glsl_type_is_scalar()
172 return type->is_vector() || type->is_scalar(); in glsl_type_is_vector_or_scalar()

1234