/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | loop_emitter.cc | 42 : body_emitter_([=](const llvm_ir::IrArray::Index array_index) in LoopEmitter() 46 target_element_generator(array_index)); in LoopEmitter() 47 target_array.EmitWriteArrayElement(array_index, target_element, in LoopEmitter() 57 return [=](const llvm_ir::IrArray::Index array_index) { in MakeBodyEmitterForMultiOutputFusion() argument 59 target_element_generator(array_index)); in MakeBodyEmitterForMultiOutputFusion() 68 array_index, ir_builder->CreateExtractValue(target_element, i), in MakeBodyEmitterForMultiOutputFusion() 104 IrArray::Index array_index(shape_.dimensions_size()); in EmitIndexAndSetExitBasicBlock() local 111 array_index[dimension] = loop->GetIndVarValue(); in EmitIndexAndSetExitBasicBlock() 124 return array_index; in EmitIndexAndSetExitBasicBlock() 128 IrArray::Index array_index = EmitIndexAndSetExitBasicBlock(loop_name); in EmitLoop() local [all …]
|
/external/mesa3d/src/mesa/main/ |
D | shader_query.cpp | 46 unsigned array_index); 182 unsigned array_index = 0; in _mesa_GetAttribLocation() local 185 &array_index); in _mesa_GetAttribLocation() 190 return program_resource_location(res, array_index); in _mesa_GetAttribLocation() 355 unsigned array_index = 0; in _mesa_GetFragDataLocation() local 358 &array_index); in _mesa_GetFragDataLocation() 363 return program_resource_location(res, array_index); in _mesa_GetFragDataLocation() 447 valid_array_index(const GLchar *name, unsigned *array_index) in valid_array_index() argument 456 if (array_index) in valid_array_index() 457 *array_index = idx; in valid_array_index() [all …]
|
D | uniform_query.cpp | 162 unsigned *array_index, in validate_uniform_parameters() argument 255 *array_index = 0; in validate_uniform_parameters() 260 *array_index = location - uni->remap_location; in validate_uniform_parameters() 265 if (*array_index >= uni->array_elements) { in validate_uniform_parameters() 559 unsigned array_index, in _mesa_propagate_uniforms_to_driver_storage() argument 581 (uint8_t *) (&uni->storage[array_index * (dmul * components * vectors)].i); in _mesa_propagate_uniforms_to_driver_storage() 586 __func__, dst, array_index, components, in _mesa_propagate_uniforms_to_driver_storage() 590 dst += array_index * store->element_stride; in _mesa_propagate_uniforms_to_driver_storage()
|
D | program_resource.c | 272 unsigned array_index = 0; in _mesa_GetProgramResourceIndex() local 316 &array_index); in _mesa_GetProgramResourceIndex() 317 if (!res || array_index > 0) in _mesa_GetProgramResourceIndex()
|
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
D | parallel_loop_emitter.cc | 39 llvm_ir::IrArray::Index array_index(num_dims); in EmitIndexAndSetExitBasicBlock() local 54 array_index[dimension] = loop->GetIndVarValue(); in EmitIndexAndSetExitBasicBlock() 61 array_index[dimension] = loop->GetIndVarValue(); in EmitIndexAndSetExitBasicBlock() 72 return array_index; in EmitIndexAndSetExitBasicBlock()
|
/external/v8/src/interpreter/ |
D | constant-array-builder.cc | 143 int array_index = 0; in ToFixedArray() local 146 DCHECK(array_index == 0 || in ToFixedArray() 147 base::bits::IsPowerOfTwo32(static_cast<uint32_t>(array_index))); in ToFixedArray() 156 fixed_array->set(array_index++, in ToFixedArray() 161 if (static_cast<size_t>(fixed_array->length() - array_index) <= padding) { in ToFixedArray() 164 array_index += padding; in ToFixedArray() 166 DCHECK_GE(array_index, fixed_array->length()); in ToFixedArray()
|
/external/mesa3d/src/compiler/glsl/ |
D | lower_buffer_access.cpp | 402 ir_rvalue *array_index = deref_array->array_index; in setup_buffer_access() local 403 if (array_index->type->base_type == GLSL_TYPE_INT) in setup_buffer_access() 404 array_index = i2u(array_index); in setup_buffer_access() 407 array_index->constant_expression_value(NULL); in setup_buffer_access() 412 mul(array_index, in setup_buffer_access()
|
D | lower_vector_derefs.cpp | 64 ir_constant *old_index_constant = deref->array_index->constant_expression_value(); in visit_enter() 71 deref->array_index); in visit_enter() 93 deref->array_index); in handle_rvalue()
|
D | lower_distance.cpp | 225 ir_rvalue *&array_index, in create_indices() argument 245 array_index = new(ctx) ir_constant(const_val / 4); in create_indices() 260 array_index = new(ctx) ir_expression( in create_indices() 356 ir_dereference_array(*new_var, array_ref->array_index); in lower_distance_vec8() 379 ir_rvalue *array_index; in handle_rvalue() local 381 this->create_indices(array_deref->array_index, array_index, swizzle_index); in handle_rvalue() 385 new(mem_ctx) ir_dereference_array(lowered_vec8, array_index); in handle_rvalue()
|
D | opt_function_inlining.cpp | 115 if (deref->array_index->ir_type != ir_type_constant) { in visit_enter() 120 index = new(ctx) ir_variable(deref->array_index->type, "saved_idx", ir_var_temporary); in visit_enter() 124 deref->array_index, 0); in visit_enter() 127 deref->array_index = new(ctx) ir_dereference_variable(index); in visit_enter()
|
D | lower_variable_index_to_cond_assign.cpp | 171 && (ir->array_index->as_constant() == NULL)) { in visit_enter() 447 if (deref == NULL || deref->array_index->as_constant() in needs_lowering() 493 new(mem_ctx) ir_variable(orig_deref->array_index->type, in convert_dereference_array() 499 new(mem_ctx) ir_assignment(lhs, orig_deref->array_index, NULL); in convert_dereference_array() 502 orig_deref->array_index = lhs->clone(mem_ctx, NULL); in convert_dereference_array()
|
D | ir_set_program_inouts.cpp | 354 if (try_mark_partial_variable(deref_var->var, ir->array_index)) in visit_enter() 360 inner_array->array_index->accept(this); in visit_enter() 377 ir->array_index->accept(this); in visit_enter() 383 if (try_mark_partial_variable(deref_var->var, ir->array_index)) in visit_enter()
|
D | opt_array_splitting.cpp | 216 if (!ir->array_index->as_constant()) { in visit_enter() 230 if (ir->array_index->as_dereference_array()) in visit_enter() 231 visit_enter(ir->array_index->as_dereference_array()); in visit_enter() 337 ir_constant *constant = deref_array->array_index->as_constant(); in split_deref()
|
D | lower_ubo_reference.cpp | 203 ir_constant *const_index = a->array_index->as_constant(); in interface_field_name() 206 ir_rvalue *array_index = a->array_index; in interface_field_name() local 207 if (array_index->type != glsl_type::uint_type) in interface_field_name() 208 array_index = i2u(array_index); in interface_field_name() 214 array_index = mul(array_index, base_size); in interface_field_name() 218 *nonconst_block_index = add(*nonconst_block_index, array_index); in interface_field_name() 220 *nonconst_block_index = array_index; in interface_field_name()
|
D | loop_unroll.cpp | 109 !ir->array_index->constant_expression_value()) { in visit_enter() 125 !ir->array_index->as_constant()) { in visit_enter() 127 loop_variable *lv = ls->get(ir->array_index->variable_referenced()); in visit_enter()
|
D | opt_dead_builtin_varyings.cpp | 98 ir_constant *index = ir->array_index->as_constant(); in visit_enter() 125 ir_constant *index = ir->array_index->as_constant(); in visit_enter() 443 unsigned i = da->array_index->as_constant()->get_uint_component(0); in handle_rvalue() 456 unsigned i = da->array_index->as_constant()->get_uint_component(0); in handle_rvalue()
|
D | ir_equals.cpp | 98 if (!array_index->equals(other->array_index, ignore)) in equals()
|
D | lower_named_interface_blocks.cpp | 91 deref_array_prev->array_index); in process_array_ir() 97 deref_array_prev->array_index); in process_array_ir()
|
D | ir.cpp | 1212 ir_rvalue *array_index) in ir_dereference_array() argument 1215 this->array_index = array_index; in ir_dereference_array() 1221 ir_rvalue *array_index) in ir_dereference_array() argument 1226 this->array_index = array_index; in ir_dereference_array()
|
/external/v8/src/ast/ |
D | ast.cc | 702 int array_index = 0; in InitDepthAndFlags() local 703 for (; array_index < constants_length; array_index++) { in InitDepthAndFlags() 704 Expression* element = values()->at(array_index); in InitDepthAndFlags() 735 int array_index = 0; in BuildConstantElements() local 736 for (; array_index < constants_length; array_index++) { in BuildConstantElements() 737 Expression* element = values()->at(array_index); in BuildConstantElements() 758 fixed_array->set(array_index, *boilerplate_value); in BuildConstantElements() 765 if (is_simple() && depth() == 1 && array_index > 0 && in BuildConstantElements() 804 for (int array_index = 0; array_index < values()->length(); array_index++) { in AssignFeedbackSlots() local 805 Expression* subexpr = values()->at(array_index); in AssignFeedbackSlots()
|
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/ |
D | esextcGPUShader5ImagesArrayIndexing.cpp | 129 for (glw::GLuint array_index = 0; array_index < m_array_size; ++array_index) in initTest() local 133 m_data_buffer[index + array_index * dataSize] = 1 + array_index; in initTest()
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
D | index_sub_table.cc | 58 int32_t array_index) { in CreateIndexSubTable() argument 61 data, offset_to_index_sub_table_array, array_index)); in CreateIndexSubTable() 147 int32_t offset_to_index_sub_table_array, int32_t array_index) { in CreateBuilder() argument 150 array_index * EblcTable::Offset::kIndexSubTableEntryLength; in CreateBuilder()
|
D | index_sub_table.h | 88 int32_t array_index); 146 int32_t array_index);
|
/external/vulkan-validation-layers/scripts/ |
D | object_tracker_generator.py | 734 …def validate_objects(self, members, indent, prefix, array_index, create_func, destroy_func, destro… argument 738 index = 'index%s' % str(array_index) 739 array_index += 1 769 …, tmp_post) = self.validate_objects(struct_info, indent, local_prefix, array_index, create_func, d… 785 …re, tmp_post) = self.validate_objects(struct_info, indent, new_prefix, array_index, create_func, d…
|
D | unique_objects_generator.py | 650 …def uniquify_members(self, members, indent, prefix, array_index, create_func, destroy_func, destro… argument 654 index = 'index%s' % str(array_index) 655 array_index += 1 697 …, tmp_post) = self.uniquify_members(struct_info, indent, local_prefix, array_index, create_func, d… 721 …re, tmp_post) = self.uniquify_members(struct_info, indent, new_prefix, array_index, create_func, d…
|