/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_type.c | 64 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_vec_type() local 66 return elem_type; in lp_build_vec_type() 68 return LLVMVectorType(elem_type, type.length); in lp_build_vec_type() 79 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type) in lp_check_elem_type() argument 83 assert(elem_type); in lp_check_elem_type() 84 if(!elem_type) in lp_check_elem_type() 87 elem_kind = LLVMGetTypeKind(elem_type); in lp_check_elem_type() 112 if(LLVMGetIntTypeWidth(elem_type) != type.width) in lp_check_elem_type() 123 LLVMTypeRef elem_type; in lp_check_vec_type() local 138 elem_type = LLVMGetElementType(vec_type); in lp_check_vec_type() [all …]
|
D | lp_bld_const.c | 251 LLVMTypeRef elem_type; in lp_build_one() local 257 elem_type = lp_build_elem_type(gallivm, type); in lp_build_one() 260 elems[0] = LLVMConstInt(elem_type, util_float_to_half(1.0f), 0); in lp_build_one() 262 elems[0] = LLVMConstReal(elem_type, 1.0); in lp_build_one() 264 elems[0] = LLVMConstInt(elem_type, 1LL << (type.width/2), 0); in lp_build_one() 266 elems[0] = LLVMConstInt(elem_type, 1, 0); in lp_build_one() 268 elems[0] = LLVMConstInt(elem_type, (1LL << (type.width - 1)) - 1, 0); in lp_build_one() 303 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, type); in lp_build_const_elem() local 307 elem = LLVMConstInt(elem_type, util_float_to_half((float)val), 0); in lp_build_const_elem() 309 elem = LLVMConstReal(elem_type, val); in lp_build_const_elem() [all …]
|
D | lp_bld_intr.c | 323 LLVMTypeRef elem_type = lp_build_elem_type(gallivm, intrin_type); in lp_build_intrinsic_binary_anylength() local 324 a = LLVMBuildBitCast(builder, a, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength() 325 b = LLVMBuildBitCast(builder, b, LLVMVectorType(elem_type, 1), ""); in lp_build_intrinsic_binary_anylength()
|
D | lp_bld_type.h | 151 LLVMTypeRef elem_type; member 352 lp_check_elem_type(struct lp_type type, LLVMTypeRef elem_type);
|
D | lp_bld_logic.c | 463 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_select_aos() local 468 shuffles[j + i] = LLVMConstInt(elem_type, in lp_build_select_aos()
|
D | lp_bld_swizzle.c | 178 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_swizzle_scalar_aos() local 183 shuffles[j + i] = LLVMConstInt(elem_type, j + channel, 0); in lp_build_swizzle_scalar_aos()
|
D | lp_bld_sample_aos.c | 848 LLVMTypeRef elem_type = LLVMInt32TypeInContext(bld->gallivm->context); in lp_build_sample_fetch_image_linear() local 887 index = LLVMConstInt(elem_type, j + subindex, 0); in lp_build_sample_fetch_image_linear() 1560 lod_fpart = LLVMBuildTrunc(builder, lod_fpart, u8n_bld.elem_type, ""); in lp_build_sample_mipmap() 1565 LLVMTypeRef tmp_vec_type = LLVMVectorType(u8n_bld.elem_type, bld->lodi_bld.type.length); in lp_build_sample_mipmap()
|
/external/flatbuffers/include/flatbuffers/ |
D | reflection.h | 208 reflection::BaseType elem_type, size_t i) { in GetAnyVectorElemI() argument 209 return GetAnyValueI(elem_type, vec->Data() + GetTypeSize(elem_type) * i); in GetAnyVectorElemI() 214 reflection::BaseType elem_type, size_t i) { in GetAnyVectorElemF() argument 215 return GetAnyValueF(elem_type, vec->Data() + GetTypeSize(elem_type) * i); in GetAnyVectorElemF() 220 reflection::BaseType elem_type, size_t i) { in GetAnyVectorElemS() argument 221 return GetAnyValueS(elem_type, vec->Data() + GetTypeSize(elem_type) * i, in GetAnyVectorElemS() 332 inline void SetAnyVectorElemI(VectorOfAny *vec, reflection::BaseType elem_type, in SetAnyVectorElemI() argument 334 SetAnyValueI(elem_type, vec->Data() + GetTypeSize(elem_type) * i, val); in SetAnyVectorElemI() 338 inline void SetAnyVectorElemF(VectorOfAny *vec, reflection::BaseType elem_type, in SetAnyVectorElemF() argument 340 SetAnyValueF(elem_type, vec->Data() + GetTypeSize(elem_type) * i, val); in SetAnyVectorElemF() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | stack_ops_test.py | 39 -1, elem_type=dtypes.float32, stack_name="foo") 55 -1, elem_type=dtypes.float32, stack_name="foo") 70 -1, elem_type=dtypes.float32, stack_name="foo") 107 -1, elem_type=dtypes.float32, stack_name="foo") 112 -1, elem_type=dtypes.float32, stack_name="bar") 128 -1, elem_type=dtypes.float32, stack_name="foo") 130 -1, elem_type=dtypes.float32, stack_name="foo") 151 -1, elem_type=dtypes.float32, stack_name="foo") 163 -1, elem_type=dtypes.float32, stack_name="foo")
|
/external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/ |
D | rx-scheduler.hpp | 892 typedef std::pair<item_type, int64_t> elem_type; typedef in rxcpp::schedulers::detail::schedulable_queue 893 typedef std::vector<elem_type> container_type; 899 bool operator()(const elem_type& lhs, const elem_type& rhs) const { in operator ()() 910 elem_type, 938 q.push(elem_type(value, ordinal++)); in push() 942 q.push(elem_type(std::move(value), ordinal++)); in push()
|
/external/tensorflow/tensorflow/python/ops/parallel_for/ |
D | control_flow_ops_test.py | 609 s = data_flow_ops.stack_v2(max_size=4, elem_type=dtypes.int32) 614 e2 = data_flow_ops.stack_pop_v2(s, elem_type=dtypes.int32) 616 e1 = data_flow_ops.stack_pop_v2(s, elem_type=dtypes.int32) 625 s = data_flow_ops.stack_v2(max_size=4, elem_type=dtypes.int32) 630 e2 = data_flow_ops.stack_pop_v2(s, elem_type=dtypes.int32) 632 e1 = data_flow_ops.stack_pop_v2(s, elem_type=dtypes.int32) 639 s = data_flow_ops.stack_v2(max_size=4, elem_type=dtypes.int32) 647 e1 = data_flow_ops.stack_pop_v2(s, elem_type=dtypes.int32) 649 e2 = data_flow_ops.stack_pop_v2(s, elem_type=dtypes.int32) 655 e3 = data_flow_ops.stack_pop_v2(s, elem_type=dtypes.int32) [all …]
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_StackPopV2.pbtxt | 17 name: "elem_type"
|
D | api_def_StackV2.pbtxt | 18 name: "elem_type"
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_memory.cpp | 48 auto elem_type = _.FindDef(type->word(2)); in IsAllowedTypeOrArrayOfSame() local 49 return std::find(allowed.begin(), allowed.end(), elem_type->opcode()) != in IsAllowedTypeOrArrayOfSame() 173 Instruction* elem_type; in ContainsInvalidBool() local 183 elem_type = _.FindDef(elem_type_id); in ContainsInvalidBool() 184 return ContainsInvalidBool(_, elem_type, skip_builtin); in ContainsInvalidBool()
|
/external/flatbuffers/src/ |
D | reflection.cpp | 254 auto elem_type = fielddef.type()->element(); in ResizeTable() local 255 if (elem_type != reflection::Obj && elem_type != reflection::String) in ResizeTable() 259 elem_type == reflection::Obj in ResizeTable()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | stack.cc | 51 Stack(const DataType& elem_type, const string& stack_name, int max_size) in Stack() argument 52 : elem_type_(elem_type), in Stack()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | conv_op_helpers.cc | 153 auto elem_type = filter_shape.element_type(); in ContractFilterForDepthwiseBackprop() local 159 xla::Reduce(masked_expanded_filter, xla::Zero(builder, elem_type), in ContractFilterForDepthwiseBackprop() 160 CreateScalarAddComputation(elem_type, builder), in ContractFilterForDepthwiseBackprop()
|
/external/libchrome/mojo/public/tools/bindings/pylib/mojom/generate/ |
D | translate.py | 29 def _ElemsOfType(elems, elem_type, scope): argument 41 assert isinstance(elem_type, type) 42 result = [elem for elem in elems if isinstance(elem, elem_type)]
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_memory.cpp | 48 auto elem_type = _.FindDef(type->word(2)); in IsAllowedTypeOrArrayOfSame() local 49 return std::find(allowed.begin(), allowed.end(), elem_type->opcode()) != in IsAllowedTypeOrArrayOfSame() 173 Instruction* elem_type; in ContainsInvalidBool() local 183 elem_type = _.FindDef(elem_type_id); in ContainsInvalidBool() 184 return ContainsInvalidBool(_, elem_type, skip_builtin); in ContainsInvalidBool()
|
/external/mesa3d/src/amd/common/ |
D | ac_llvm_build.c | 189 LLVMTypeRef elem_type = LLVMGetElementType(t); in ac_to_integer_type() local 190 return LLVMVectorType(to_integer_type_scalar(ctx, elem_type), in ac_to_integer_type() 219 LLVMTypeRef elem_type = LLVMGetElementType(t); in ac_to_float_type() local 220 return LLVMVectorType(to_float_type_scalar(ctx, elem_type), in ac_to_float_type() 277 LLVMTypeRef elem_type = type; in ac_build_type_name_for_intr() local 290 elem_type = LLVMGetElementType(type); in ac_build_type_name_for_intr() 294 switch (LLVMGetTypeKind(elem_type)) { in ac_build_type_name_for_intr() 297 snprintf(buf, bufsize, "i%d", LLVMGetIntTypeWidth(elem_type)); in ac_build_type_name_for_intr()
|
/external/bcc/src/lua/bpf/ |
D | builtins.lua | 195 local elem_type = tostring(ct):match('ctype<(.+)%s%[(%d+)%]>') 196 if elem_type then 197 e.V[dst].const.__dissector = ffi.typeof(elem_type)
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_graph_dumper.cc | 490 auto add_hover_css_rule = [&](string elem_type, int64 elem_id, in Header() 500 elem_type, elem_id, edge_id, color, // in Header() 501 elem_type, elem_id, edge_id, color, // in Header() 502 elem_type, elem_id, edge_id, color, color)); in Header()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader_internal.h | 305 LLVMTypeRef si_const_array(LLVMTypeRef elem_type, int num_elements);
|
/external/mesa3d/src/compiler/spirv/ |
D | spirv_to_nir.c | 172 const struct glsl_type *elem_type = in vtn_undef_ssa_value() local 177 val->elems[i] = vtn_undef_ssa_value(b, elem_type); in vtn_undef_ssa_value() 179 const struct glsl_type *elem_type = glsl_get_array_element(type); in vtn_undef_ssa_value() local 181 val->elems[i] = vtn_undef_ssa_value(b, elem_type); in vtn_undef_ssa_value() 184 const struct glsl_type *elem_type = glsl_get_struct_field(type, i); in vtn_undef_ssa_value() local 185 val->elems[i] = vtn_undef_ssa_value(b, elem_type); in vtn_undef_ssa_value() 252 const struct glsl_type *elem_type = glsl_get_array_element(val->type); in vtn_const_ssa_value() local 255 elem_type); in vtn_const_ssa_value() 263 const struct glsl_type *elem_type = in vtn_const_ssa_value() local 266 elem_type); in vtn_const_ssa_value()
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_bld_interp.c | 682 bld->x = LLVMBuildSIToFP(builder, x0, coeff_bld->elem_type, ""); in pos_init() 683 bld->y = LLVMBuildSIToFP(builder, y0, coeff_bld->elem_type, ""); in pos_init()
|