Home
last modified time | relevance | path

Searched refs:src_index (Results 1 – 25 of 72) sorted by relevance

123

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_vertex.h78 unsigned src_index:8; /**< map to post-xform attribs */ member
115 int src_index) in draw_emit_vertex_attr() argument
121 if (src_index < 0) { in draw_emit_vertex_attr()
122 src_index = DRAW_ATTR_NONEXIST; in draw_emit_vertex_attr()
127 vinfo->attrib[n].src_index = src_index; in draw_emit_vertex_attr()
Ddraw_pt_emit.c86 unsigned src_offset = vinfo->attrib[i].src_index * 4 * sizeof(float); in draw_pt_emit_prepare()
98 else if (vinfo->attrib[i].src_index == DRAW_ATTR_NONEXIST) { in draw_pt_emit_prepare()
/external/tensorflow/tensorflow/core/kernels/
Dmkl_relu_op.cc458 const size_t src_index = 0; // index of src input tensor in Compute() local
460 const Tensor& src_tensor = MklGetInput(context, src_index); in Compute()
462 GetMklShape(context, src_index, &dnn_shape_src); in Compute()
475 tf_shape_dst = MklGetInput(context, src_index).shape(); in Compute()
532 {static_cast<const int>(src_index)}, in Compute()
577 const size_t src_index = 1; // index of src input tensor in Compute() local
580 const Tensor& src_tensor = MklGetInput(context, src_index); in Compute()
585 GetMklShape(context, src_index, &dnn_shape_src); in Compute()
746 const size_t src_index = 0; // index of src input tensor in Compute_Scalar() local
748 const Tensor& src_tensor = MklGetInput(context, src_index); in Compute_Scalar()
[all …]
Dmkl_aggregate_ops.cc41 TensorShape GetTensorShape(OpKernelContext* ctx, size_t src_index) { in GetTensorShape() argument
42 const Tensor& src_tensor = MklGetInput(ctx, src_index); in GetTensorShape()
44 GetMklShape(ctx, src_index, &src_mkl_shape); in GetTensorShape()
Dmkl_conv_ops.h290 virtual inline void GetFilterSizeInMklOrder(size_t src_index, in GetFilterSizeInMklOrder() argument
295 GetFilterSizeInMklOrder(GetTfShape(context_, src_index), in GetFilterSizeInMklOrder()
490 size_t src_index, size_t filter_index, const memory::dims& strides, in GetOutputAndPadSizeInMklOrder() argument
499 auto input_tf_shape = GetTfShape(context_, src_index); in GetOutputAndPadSizeInMklOrder()
/external/tensorflow/tensorflow/java/src/main/native/
Dutils_jni.cc21 jintArray src_index, TF_Output* dst, jint n) { in resolveOutputs() argument
29 len = env->GetArrayLength(src_index); in resolveOutputs()
37 jint* indices = env->GetIntArrayElements(src_index, nullptr); in resolveOutputs()
47 env->ReleaseIntArrayElements(src_index, indices, JNI_ABORT); in resolveOutputs()
Dutils_jni.h28 jintArray src_index, TF_Output* dst, jint n);
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_variable.c87 int src_index = reader->U.P.Arg->Source; in rc_variable_change_dst() local
88 if (src_index == RC_PAIR_PRESUB_SRC) { in rc_variable_change_dst()
89 src_index = rc_pair_get_src_index( in rc_variable_change_dst()
97 src_index, old_mask)) { in rc_variable_change_dst()
104 pair_inst->RGB.Src[src_index] in rc_variable_change_dst()
106 pair_inst->RGB.Src[src_index] in rc_variable_change_dst()
108 pair_inst->RGB.Src[src_index] in rc_variable_change_dst()
112 pair_inst->Alpha.Src[src_index] in rc_variable_change_dst()
114 pair_inst->Alpha.Src[src_index] in rc_variable_change_dst()
116 pair_inst->Alpha.Src[src_index] in rc_variable_change_dst()
[all …]
Dradeon_optimize.c486 unsigned int src_index; in presub_helper() local
491 for (src_index = 0; src_index < info->NumSrcRegs; src_index++) { in presub_helper()
492 if (&reader.Inst->U.I.SrcReg[src_index] == reader.U.I.Src) in presub_helper()
493 presub_replace(inst_add, reader.Inst, src_index); in presub_helper()
504 unsigned int src_index) in presub_replace_add() argument
522 inst_reader->U.I.SrcReg[src_index] = in presub_replace_add()
523 chain_srcregs(inst_reader->U.I.SrcReg[src_index], in presub_replace_add()
525 inst_reader->U.I.SrcReg[src_index].File = RC_FILE_PRESUB; in presub_replace_add()
526 inst_reader->U.I.SrcReg[src_index].Index = presub_opcode; in presub_replace_add()
619 unsigned int src_index) in presub_replace_inv() argument
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dtuple_points_to_analysis.cc236 ShapeIndex src_index; in HandleGetTupleElement() local
237 src_index.push_back(element_index); in HandleGetTupleElement()
239 src_index.push_back(element); in HandleGetTupleElement()
242 *points_to = operand_points_to_set.element(src_index); in HandleGetTupleElement()
244 operand_points_to_set.tuple_sources(src_index)) { in HandleGetTupleElement()
349 const ShapeIndex& src_index, in HandleCopyDone()
351 if (src_index == ShapeIndex({0})) { in HandleCopyDone()
356 operand_points_to_set.tuple_sources(src_index)) { in HandleCopyDone()
387 const ShapeIndex& src_index, in HandleSend()
390 for (auto element : src_index) { in HandleSend()
[all …]
/external/v8/src/compiler/backend/
Dgap-resolver.cc42 int src_index = -1; in Split() local
46 src_index = src_loc.register_code() * aliases; in Split()
48 src_index = src_loc.index(); in Split()
64 move->set_source(AllocatedOperand(src_kind, smaller_rep, src_index)); in Split()
68 src_index += src_step; in Split()
70 moves->AddMove(AllocatedOperand(src_kind, smaller_rep, src_index), in Split()
/external/v8/src/objects/
Dfixed-array-inl.h189 void FixedArray::MoveElements(Isolate* isolate, int dst_index, int src_index, in MoveElements() argument
193 DCHECK_LE(src_index + len, length()); in MoveElements()
196 ObjectSlot src_slot(RawFieldOfElementAt(src_index)); in MoveElements()
201 int src_index, int len, WriteBarrierMode mode) { in CopyElements() argument
204 DCHECK_LE(src_index + len, src.length()); in CopyElements()
208 ObjectSlot src_slot(src.RawFieldOfElementAt(src_index)); in CopyElements()
395 int src_index, int len, in MoveElements() argument
399 MemMove(data_start + dst_index, data_start + src_index, len * kDoubleSize); in MoveElements()
431 WeakFixedArray src, int src_index, int len, in CopyElements() argument
435 DCHECK_LE(src_index + len, src.length()); in CopyElements()
[all …]
Dproperty-array-inl.h80 PropertyArray src, int src_index, int len, in CopyElements() argument
86 ObjectSlot src_slot(src.data_start() + src_index); in CopyElements()
Dfixed-array.h144 inline void MoveElements(Isolate* isolate, int dst_index, int src_index,
148 int src_index, int len, WriteBarrierMode mode);
240 inline void MoveElements(Isolate* isolate, int dst_index, int src_index,
286 int src_index, int len, WriteBarrierMode mode);
366 int src_index, int len, WriteBarrierMode mode);
/external/tensorflow/tensorflow/core/framework/
Dnode_def_builder.cc96 NodeDefBuilder& NodeDefBuilder::Input(StringPiece src_node, int src_index, in Input() argument
99 if (arg != nullptr) SingleInput(arg, src_node, src_index, dt); in Input()
116 StringPiece src_node, int src_index, in SingleInput() argument
118 AddInput(src_node, src_index); in SingleInput()
173 void NodeDefBuilder::AddInput(StringPiece src_node, int src_index) { in AddInput() argument
179 } else if (src_index > 0) { in AddInput()
180 node_def_.add_input(strings::StrCat(src_node, ":", src_index)); in AddInput()
Dnode_def_builder.h80 NodeDefBuilder& Input(StringPiece src_node, int src_index, DataType dt);
160 int src_index, DataType dt);
165 void AddInput(StringPiece src_node, int src_index);
/external/tensorflow/tensorflow/core/graph/
Dnode_builder.cc51 NodeBuilder& NodeBuilder::Input(Node* src_node, int src_index) { in Input() argument
52 inputs_.emplace_back(src_node, src_index); in Input()
54 if (GetOutputType(src_node, src_index, &dt)) { in Input()
55 def_builder_.Input(src_node->name(), src_index, dt); in Input()
/external/tensorflow/tensorflow/core/lib/gtl/
Dflatmap.h349 void MoveFrom(uint32 i, Bucket* src, uint32 src_index) { in MoveFrom()
350 new (&storage.key[i]) Key(std::move(src->storage.key[src_index])); in MoveFrom()
351 new (&storage.val[i]) Val(std::move(src->storage.val[src_index])); in MoveFrom()
353 void CopyFrom(uint32 i, Bucket* src, uint32 src_index) { in CopyFrom()
354 new (&storage.key[i]) Key(src->storage.key[src_index]); in CopyFrom()
355 new (&storage.val[i]) Val(src->storage.val[src_index]); in CopyFrom()
Dflatset.h272 void MoveFrom(uint32 i, Bucket* src, uint32 src_index) { in MoveFrom()
273 new (&storage.key[i]) Key(std::move(src->storage.key[src_index])); in MoveFrom()
275 void CopyFrom(uint32 i, Bucket* src, uint32 src_index) { in CopyFrom()
276 new (&storage.key[i]) Key(src->storage.key[src_index]); in CopyFrom()
Dflatrep.h320 void FreshInsert(Bucket* src, uint32 src_index, Copier copier) { in FreshInsert() argument
321 size_t h = hash_(src->key(src_index)); in FreshInsert()
332 copier(b, bi, src, src_index); in FreshInsert()
/external/mesa3d/src/compiler/nir/
Dnir_opt_vectorize.c283 unsigned src_index = 5; in instr_try_combine() local
286 src_index = i; in instr_try_combine()
290 assert(src_index != 5); in instr_try_combine()
296 i < nir_ssa_alu_instr_src_components(use, src_index); i++) { in instr_try_combine()
297 use->src[src_index].swizzle[i] += alu1_components; in instr_try_combine()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_setup.h48 int src_index:8; member
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.h41 unsigned int src_index,
/external/webrtc/webrtc/modules/audio_processing/utility/
Ddelay_estimator.c333 int src_index = 0; in WebRtc_SoftResetBinaryDelayEstimatorFarend() local
344 src_index = abs_shift; in WebRtc_SoftResetBinaryDelayEstimatorFarend()
350 &self->binary_far_history[src_index], in WebRtc_SoftResetBinaryDelayEstimatorFarend()
355 &self->far_bit_counts[src_index], in WebRtc_SoftResetBinaryDelayEstimatorFarend()
/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_transform.h524 unsigned src_index, in tgsi_transform_kill_inst() argument
534 tgsi_transform_src_reg_xyzw(&inst.Src[0], src_file, src_index); in tgsi_transform_kill_inst()
550 unsigned src_index, in tgsi_transform_tex_inst() argument
566 tgsi_transform_src_reg_xyzw(&inst.Src[0], src_file, src_index); in tgsi_transform_tex_inst()

123