Home
last modified time | relevance | path

Searched refs:is_scalar (Results 1 – 25 of 78) 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()
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()
Dfunction.pass.cpp23 static_assert(!std::is_scalar<T>::value, ""); in test_function_imp()
Dpointer.pass.cpp23 static_assert( std::is_scalar<T>::value, ""); in test_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()
/external/mesa3d/src/intel/compiler/
Dbrw_nir.h112 void brw_nir_lower_vue_outputs(nir_shader *nir, bool is_scalar);
120 bool is_scalar);
132 bool is_scalar);
142 bool is_scalar);
158 bool is_scalar);
Dbrw_compiler.c141 bool is_scalar = compiler->scalar_stage[i]; in brw_compiler_create() local
143 compiler->glsl_compiler_options[i].EmitNoIndirectOutput = is_scalar; in brw_compiler_create()
144 compiler->glsl_compiler_options[i].EmitNoIndirectTemp = is_scalar; in brw_compiler_create()
145 compiler->glsl_compiler_options[i].OptimizeForAOS = !is_scalar; in brw_compiler_create()
147 if (is_scalar) { in brw_compiler_create()
Dbrw_nir.c459 bool is_scalar) in brw_nir_lower_vue_outputs() argument
540 bool is_scalar) in brw_nir_optimize() argument
551 if (is_scalar) { in brw_nir_optimize()
557 if (is_scalar) { in brw_nir_optimize()
613 const bool is_scalar = compiler->scalar_stage[nir->info.stage]; in brw_preprocess_nir() local
637 nir = brw_nir_optimize(nir, compiler, is_scalar); in brw_preprocess_nir()
639 if (is_scalar) { in brw_preprocess_nir()
654 .lower_vote_trivial = !is_scalar, in brw_preprocess_nir()
669 nir = brw_nir_optimize(nir, compiler, is_scalar); in brw_preprocess_nir()
715 bool is_scalar) in brw_postprocess_nir() argument
[all …]
Dbrw_vec4_tcs.cpp389 const bool is_scalar = compiler->scalar_stage[MESA_SHADER_TESS_CTRL]; in brw_compile_tcs() local
403 nir = brw_nir_apply_sampler_key(nir, compiler, &key->tex, is_scalar); in brw_compile_tcs()
410 nir = brw_postprocess_nir(nir, compiler, is_scalar); in brw_compile_tcs()
412 if (is_scalar) in brw_compile_tcs()
464 if (is_scalar) { in brw_compile_tcs()
Dbrw_vec4_gs_visitor.cpp627 const bool is_scalar = compiler->scalar_stage[MESA_SHADER_GEOMETRY]; in brw_compile_gs() local
643 shader = brw_nir_apply_sampler_key(shader, compiler, &key->tex, is_scalar); in brw_compile_gs()
645 brw_nir_lower_vue_outputs(shader, is_scalar); in brw_compile_gs()
646 shader = brw_postprocess_nir(shader, compiler, is_scalar); in brw_compile_gs()
852 if (is_scalar) { in brw_compile_gs()
Dbrw_shader.cpp1157 const bool is_scalar = compiler->scalar_stage[MESA_SHADER_TESS_EVAL]; in brw_compile_tes() local
1164 nir = brw_nir_apply_sampler_key(nir, compiler, &key->tex, is_scalar); in brw_compile_tes()
1166 brw_nir_lower_vue_outputs(nir, is_scalar); in brw_compile_tes()
1167 nir = brw_postprocess_nir(nir, compiler, is_scalar); in brw_compile_tes()
1241 if (is_scalar) { in brw_compile_tes()
/external/mesa3d/src/mesa/drivers/dri/i965/
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()
125 bool is_scalar) in brw_nir_setup_glsl_uniform() argument
177 if (!is_scalar) { in brw_nir_setup_glsl_uniform()
193 bool is_scalar) in brw_nir_setup_glsl_uniforms() argument
207 is_scalar); in brw_nir_setup_glsl_uniforms()
210 stage_prog_data, is_scalar); in brw_nir_setup_glsl_uniforms()
/external/mesa3d/src/compiler/glsl/
Dir_validate.cpp124 if (!ir->array_index->type->is_scalar()) { in visit_enter()
625 if (ir->operands[0]->type->is_scalar()) in visit_leave()
627 else if (ir->operands[1]->type->is_scalar()) in visit_leave()
661 || ir->operands[0]->type->is_scalar()); in visit_leave()
679 if (ir->operands[0]->type->is_scalar()) { in visit_leave()
680 assert(ir->operands[1]->type->is_scalar()); in visit_leave()
737 assert(ir->operands[1]->type->is_scalar() in visit_leave()
787 assert(ir->operands[1]->type->is_scalar()); in visit_leave()
789 assert(ir->operands[2]->type->is_scalar() in visit_leave()
813 assert(ir->operands[0]->type->is_scalar()); in visit_leave()
[all …]
Dir.cpp135 if (v->type->is_scalar()) in whole_variable_written()
160 if (lhs->type->is_scalar() || lhs->type->is_vector()) { in ir_assignment()
187 else if (rhs->type->is_scalar()) in ir_assignment()
456 if (op0->type->is_scalar()) { in ir_expression()
458 } else if (op1->type->is_scalar()) { in ir_expression()
478 if (op0->type->is_scalar()) { in ir_expression()
480 } else if (op1->type->is_scalar()) { in ir_expression()
757 assert(type->is_scalar() || type->is_vector() || type->is_matrix() in ir_constant()
787 if (value->type->is_scalar() && value->next->is_tail_sentinel()) { in ir_constant()
908 assert(type->is_scalar() || type->is_vector() || type->is_matrix() in zero()
[all …]
Dopt_constant_propagation.cpp173 if (!type->is_scalar() && !type->is_vector()) in constant_propagation()
449 if (!var->type->is_vector() && !var->type->is_scalar()) in kill()
499 if (!deref->var->type->is_vector() && !deref->var->type->is_scalar()) in add_constant()
/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()
/external/flatbuffers/include/flatbuffers/
Dstl_emulation.h137 template <typename T> using is_scalar = std::is_scalar<T>; variable
144 template <typename T> using is_scalar = std::tr1::is_scalar<T>; variable
163 template <typename T> struct is_scalar : public std::is_scalar<T> {};
/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/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/ops/
Ddistribution_util.py438 def check_is_scalar(is_scalar, name): argument
439 is_scalar_ = static_value(is_scalar)
446 is_scalar, True,

1234