Home
last modified time | relevance | path

Searched refs:base_index (Results 1 – 25 of 44) sorted by relevance

12

/external/libsrtp2/crypto/math/
Ddatatypes.c241 const int base_index = shift >> 5; in v128_right_shift() local
253 x->v32[4 - 1] = x->v32[4 - 1 - base_index]; in v128_right_shift()
254 for (i = 4 - 1; i > base_index; i--) in v128_right_shift()
255 x->v32[i - 1] = x->v32[i - 1 - base_index]; in v128_right_shift()
259 for (i = 4; i > base_index; i--) { in v128_right_shift()
260 from = i - 1 - base_index; in v128_right_shift()
269 for (i = 0; i < base_index; i++) in v128_right_shift()
276 const int base_index = shift >> 5; in v128_left_shift() local
285 for (i = 0; i < 4 - base_index; i++) in v128_left_shift()
286 x->v32[i] = x->v32[i + base_index]; in v128_left_shift()
[all …]
/external/mesa3d/src/compiler/nir/
Dnir_lower_samplers.c34 unsigned base_index = 0; in lower_tex_src_to_offset() local
67 base_index += index_in_array * array_elements; in lower_tex_src_to_offset()
69 base_index = glsl_array_size(parent->type) - 1; in lower_tex_src_to_offset()
74 index = nir_imm_int(b, base_index); in lower_tex_src_to_offset()
75 base_index = 0; in lower_tex_src_to_offset()
94 base_index += deref->var->data.binding; in lower_tex_src_to_offset()
111 instr->sampler_index = base_index; in lower_tex_src_to_offset()
113 instr->texture_index = base_index; in lower_tex_src_to_offset()
Dnir_opt_copy_prop_vars.c449 unsigned base_index, unsigned write_mask) in value_set_from_value() argument
452 assert(base_index == 0 || write_mask == 1); in value_set_from_value()
462 value->ssa.def[base_index + i] = from->ssa.def[i]; in value_set_from_value()
463 value->ssa.component[base_index + i] = from->ssa.component[i]; in value_set_from_value()
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.ds.bpermute.ll15 define amdgpu_kernel void @ds_bpermute_imm_offset(i32 addrspace(1)* %out, i32 %base_index, i32 %src…
16 %index = add i32 %base_index, 4
24 define amdgpu_kernel void @ds_bpermute_imm_index(i32 addrspace(1)* %out, i32 %base_index, i32 %src)…
33 define void @ds_bpermute_add_shl(i32 addrspace(1)* %out, i32 %base_index, i32 %src) nounwind {
34 %index = add i32 %base_index, 1
44 define void @ds_bpermute_or_shl(i32 addrspace(1)* %out, i32 %base_index, i32 %src) nounwind {
45 %masked = and i32 %base_index, 62
Dllvm.amdgcn.ds.permute.ll15 define amdgpu_kernel void @ds_permute_imm_offset(i32 addrspace(1)* %out, i32 %base_index, i32 %src)…
16 %index = add i32 %base_index, 4
/external/pigweed/pw_kvs/
Dflash_partition_with_stats.cc74 size_t base_index = address / FlashPartition::sector_size_bytes(); in Erase() local
75 if (base_index < sector_counters_.size()) { in Erase()
76 num_sectors = std::min(num_sectors, (sector_counters_.size() - base_index)); in Erase()
78 sector_counters_[base_index + i]++; in Erase()
/external/tensorflow/tensorflow/lite/examples/label_image/
Dbitmap_helpers_impl.h36 int base_index = 0; in resize() local
39 interpreter->AddTensors(2, &base_index); in resize()
41 interpreter->AddTensors(1, &base_index); in resize()
/external/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.ds.bpermute.ll17 define void @ds_bpermute_imm_offset(i32 addrspace(1)* %out, i32 %base_index, i32 %src) nounwind {
18 %index = add i32 %base_index, 4
27 define void @ds_bpermute_imm_index(i32 addrspace(1)* %out, i32 %base_index, i32 %src) nounwind {
Dllvm.amdgcn.ds.permute.ll17 define void @ds_permute_imm_offset(i32 addrspace(1)* %out, i32 %base_index, i32 %src) nounwind {
18 %index = add i32 %base_index, 4
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dparallel_loop_emitter.cc63 llvm::Value* base_index) { in EmitIndexAndSetExitBasicBlock() argument
127 if (base_index != nullptr) { in EmitIndexAndSetExitBasicBlock()
129 b_->CreateAdd(linear_index_base, base_index, "linear_index_plus_base", in EmitIndexAndSetExitBasicBlock()
Dparallel_loop_emitter.h61 llvm::Value* base_index) override;
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dparallel_loop_emitter.cc35 llvm::Value* base_index) { in EmitIndexAndSetExitBasicBlock() argument
38 CHECK_EQ(base_index, nullptr) in EmitIndexAndSetExitBasicBlock()
Dparallel_loop_emitter.h65 llvm::Value* base_index) override;
/external/rust/crates/rayon/src/iter/
Dintersperse.rs172 let base_index = (index + !self.clone_first as usize) / 2; in split_at() localVariable
173 let (left_base, right_base) = self.base.split_at(base_index); in split_at()
310 let base_index = index + index.saturating_sub(!self.clone_first.get() as usize); in split_at() localVariable
311 let (left, right, reducer) = self.base.split_at(base_index); in split_at()
/external/python/cffi/c/
Drealize_c_type.c564 int i, base_index, num_args, ellipsis, abi; in realize_c_type_or_func() local
570 base_index = index + 1; in realize_c_type_or_func()
576 while (_CFFI_GETOP(opcodes[base_index + num_args]) != in realize_c_type_or_func()
580 ellipsis = _CFFI_GETARG(opcodes[base_index + num_args]) & 0x01; in realize_c_type_or_func()
581 abi = _CFFI_GETARG(opcodes[base_index + num_args]) & 0xFE; in realize_c_type_or_func()
606 z = (PyObject *)realize_c_type(builder, opcodes, base_index + i); in realize_c_type_or_func()
Dparse_c_type.c297 int arg_total, base_index, arg_next, flags=0; in parse_sequel() local
316 base_index = write_ds(tok, _CFFI_OP(_CFFI_OP_FUNCTION, 0)); in parse_sequel()
317 if (base_index < 0) in parse_sequel()
325 arg_next = base_index + 1; in parse_sequel()
350 assert(arg_next - base_index <= arg_total); in parse_sequel()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dloop_emitter.cc134 llvm::Value* base_index) { in EmitIndexAndSetExitBasicBlock() argument
136 CHECK_EQ(base_index, nullptr) in EmitIndexAndSetExitBasicBlock()
Dloop_emitter.h80 llvm::Value* base_index);
/external/tensorflow/tensorflow/lite/
Dinterpreter.cc244 const size_t base_index = subgraphs_.size(); in AddSubgraphs() local
245 if (first_new_subgraph_index) *first_new_subgraph_index = base_index; in AddSubgraphs()
247 subgraphs_.reserve(base_index + subgraphs_to_add); in AddSubgraphs()
/external/mesa3d/src/amd/llvm/
Dac_shader_abi.h128 unsigned base_index, unsigned constant_index,
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_resources.c220 unsigned base_index, unsigned constant_index, in si_nir_load_sampler_desc() argument
227 unsigned const_index = base_index + constant_index; in si_nir_load_sampler_desc()
/external/tensorflow/tensorflow/core/kernels/
Dset_kernels.cc66 Status SparseTensorFromContext(OpKernelContext* ctx, const int32 base_index, in SparseTensorFromContext() argument
71 TensorShape(ctx->input(base_index + 2).vec<int64>()); in SparseTensorFromContext()
77 ctx->input(base_index), ctx->input(base_index + 1), shape, order, tensor); in SparseTensorFromContext()
/external/libchrome/components/policy/core/common/
Dschema.cc574 int base_index = properties_nodes_[extra].begin; in ParseDictionary() local
575 int index = base_index; in ParseDictionary()
588 CHECK_EQ(static_cast<int>(properties->size()), index - base_index); in ParseDictionary()
592 int base_index = properties_nodes_[extra].end; in ParseDictionary() local
593 int index = base_index; in ParseDictionary()
611 CHECK_EQ(static_cast<int>(pattern_properties->size()), index - base_index); in ParseDictionary()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c679 unsigned base_index = 0; in lower_tex_src_to_offset() local
695 base_index += nir_src_as_uint(deref->arr.index) * array_elements; in lower_tex_src_to_offset()
699 index = nir_imm_int(b, base_index); in lower_tex_src_to_offset()
700 base_index = 0; in lower_tex_src_to_offset()
740 deref->var->data.index + base_index : in lower_tex_src_to_offset()
741 base_index; in lower_tex_src_to_offset()
799 unsigned base_index = 0; in lower_image_deref() local
810 base_index += nir_src_as_uint(deref->arr.index) * array_elements; in lower_image_deref()
814 index = nir_imm_int(b, base_index); in lower_image_deref()
815 base_index = 0; in lower_image_deref()
[all …]
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c285 uint32_t base_index = *(uint32_t *)(untrusted + 5); in validate_gl_array_primitive() local
296 if (length + base_index < length) { in validate_gl_array_primitive()
300 max_index = length + base_index - 1; in validate_gl_array_primitive()

12