Home
last modified time | relevance | path

Searched refs:scatter (Results 1 – 25 of 156) sorted by relevance

1234567

/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/NewGVN/
D2016-08-30-MaskedScatterGather.ll4 declare void @llvm.masked.scatter.v2i32.v2p0i32(<2 x i32> , <2 x i32*> , i32 , <2 x i1> )
7 ; This test ensures that masked scatter and gather operations, which take vectors of pointers,
9 ; No scatter/gather calls should end up eliminated
12 ; CHECK: llvm.masked.scatter
14 ; CHECK: llvm.masked.scatter
27 …call void @llvm.masked.scatter.v2i32.v2p0i32(<2 x i32> %in1.v, <2 x i32*> %tmp, i32 1, <2 x i1> <i…
29 ; This gather should alias the scatter we just saw
32 …call void @llvm.masked.scatter.v2i32.v2p0i32(<2 x i32> %in2.v, <2 x i32*> %tmp, i32 1, <2 x i1> <i…
34 ; This gather should alias the scatter we just saw, and not be eliminated
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/GVN/
D2016-08-30-MaskedScatterGather.ll3 declare void @llvm.masked.scatter.v2i32.v2p0i32(<2 x i32> , <2 x i32*> , i32 , <2 x i1> )
6 ; This test ensures that masked scatter and gather operations, which take vectors of pointers,
8 ; No scatter/gather calls should end up eliminated
11 ; CHECK: llvm.masked.scatter
13 ; CHECK: llvm.masked.scatter
26 …call void @llvm.masked.scatter.v2i32.v2p0i32(<2 x i32> %in1.v, <2 x i32*> %tmp, i32 1, <2 x i1> <i…
28 ; This gather should alias the scatter we just saw
31 …call void @llvm.masked.scatter.v2i32.v2p0i32(<2 x i32> %in2.v, <2 x i32*> %tmp, i32 1, <2 x i1> <i…
33 ; This gather should alias the scatter we just saw, and not be eliminated
/external/tensorflow/tensorflow/compiler/xla/service/
Dscatter_expander.cc220 HloInstruction* scatter, HloInstruction* induction_var, in ScatterLoopBody() argument
223 scatter->scatter_dimension_numbers(); in ScatterLoopBody()
303 scatter->to_apply())); in ScatterLoopBody()
311 scatter->GetModule())); in ScatterLoopBody()
346 HloInstruction* scatter) { in ExpandScatter() argument
347 HloInstruction* operand = scatter->mutable_operand(0); in ExpandScatter()
348 HloInstruction* scatter_indices = scatter->mutable_operand(1); in ExpandScatter()
349 HloInstruction* updates = scatter->mutable_operand(2); in ExpandScatter()
351 scatter->scatter_dimension_numbers(); in ExpandScatter()
372 scatter->ToString()); in ExpandScatter()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Verifier/
Dscatter_gather.ll70 …call void @llvm.masked.scatter.v16f32.v16p0f32(<16 x float> %value, <16 x float*> %ptrs, i32 4, <1…
73 declare void @llvm.masked.scatter.v16f32.v16p0f32(<16 x float>, <16 x float*>, i32, <16 x i1>*)
78 …call void @llvm.masked.scatter.v8f32.v8p0f32(<8 x float> %value, <8 x float*> %ptrs, i32 4, <16 x …
81 declare void @llvm.masked.scatter.v8f32.v8p0f32(<8 x float>, <8 x float*>, i32, <16 x i1>)
86 …call void @llvm.masked.scatter.p0v8f32.v8p0f32(<8 x float>* %value, <8 x float*> %ptrs, i32 4, <8 …
89 declare void @llvm.masked.scatter.p0v8f32.v8p0f32(<8 x float>*, <8 x float*>, i32, <8 x i1>)
94 …call void @llvm.masked.scatter.v8f32.p0v8p0f32(<8 x float> %value, <8 x float*>* %ptrs, i32 4, <8 …
97 declare void @llvm.masked.scatter.v8f32.p0v8p0f32(<8 x float>, <8 x float*>*, i32, <8 x i1>)
102 …call void @llvm.masked.scatter.v8f32.v8f32(<8 x float> %value, <8 x float> %ptrs, i32 4, <8 x i1> …
105 declare void @llvm.masked.scatter.v8f32.v8f32(<8 x float>, <8 x float>, i32, <8 x i1>)
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dscatter_nd_ops_test.py162 scatter = state_ops.scatter_nd_update(ref, indices, updates)
167 result = self.evaluate(scatter)
177 scatter = state_ops.scatter_nd_update(ref, indices, updates)
182 self.evaluate(scatter)
191 scatter = state_ops.scatter_nd_update(ref, indices, updates)
196 result = self.evaluate(scatter)
205 scatter = state_ops.scatter_nd_update(ref, indices, updates)
210 result = self.evaluate(scatter)
354 scatter = state_ops.scatter_nd_add(ref, indices, updates)
359 result = self.evaluate(scatter)
[all …]
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ScatterNd.pbtxt12 Updates to scatter into output.
58 The simplest form of scatter is to insert individual elements in a tensor by
66 In Python, this scatter operation would look like this:
72 scatter = tf.scatter_nd(indices, updates, shape)
74 print(sess.run(scatter))
89 In Python, this scatter operation would look like this:
98 scatter = tf.scatter_nd(indices, updates, shape)
100 print(sess.run(scatter))
Dapi_def_TensorScatterUpdate.pbtxt18 Updates to scatter into output.
55 The simplest form of scatter is to insert individual elements in a tensor by
63 In Python, this scatter operation would look like this:
71 print(sess.run(scatter))
82 In Python, this scatter operation would look like this:
93 print(sess.run(scatter))
Dapi_def_TensorScatterAdd.pbtxt18 Updates to scatter into output.
51 In Python, this scatter add operation would look like this:
59 print(sess.run(scatter))
70 In Python, this scatter add operation would look like this:
81 print(sess.run(scatter))
Dapi_def_TensorScatterSub.pbtxt18 Updates to scatter into output.
51 In Python, this scatter subtract operation would look like this:
59 print(sess.run(scatter))
70 In Python, this scatter add operation would look like this:
81 print(sess.run(scatter))
/external/llvm/lib/Transforms/Scalar/
DScalarizer.cpp163 Scatterer scatter(Instruction *, Value *);
272 Scatterer Scalarizer::scatter(Instruction *Point, Value *V) { in scatter() function in Scalarizer
384 Scatterer Op0 = scatter(&I, I.getOperand(0)); in splitBinary()
385 Scatterer Op1 = scatter(&I, I.getOperand(1)); in splitBinary()
404 Scatterer Op1 = scatter(&SI, SI.getOperand(1)); in visitSelectInst()
405 Scatterer Op2 = scatter(&SI, SI.getOperand(2)); in visitSelectInst()
412 Scatterer Op0 = scatter(&SI, SI.getOperand(0)); in visitSelectInst()
448 Scatterer Base = scatter(&GEPI, GEPI.getOperand(0)); in visitGetElementPtrInst()
453 Ops[I] = scatter(&GEPI, GEPI.getOperand(I + 1)); in visitGetElementPtrInst()
479 Scatterer Op0 = scatter(&CI, CI.getOperand(0)); in visitCastInst()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DScalarizer.cpp193 Scatterer scatter(Instruction *Point, Value *V);
306 Scatterer Scalarizer::scatter(Instruction *Point, Value *V) { in scatter() function in Scalarizer
418 Scatterer Op0 = scatter(&I, I.getOperand(0)); in splitBinary()
419 Scatterer Op1 = scatter(&I, I.getOperand(1)); in splitBinary()
470 Scattered[I] = scatter(&CI, OpI); in splitCall()
509 Scatterer Op1 = scatter(&SI, SI.getOperand(1)); in visitSelectInst()
510 Scatterer Op2 = scatter(&SI, SI.getOperand(2)); in visitSelectInst()
517 Scatterer Op0 = scatter(&SI, SI.getOperand(0)); in visitSelectInst()
558 Scatterer Base = scatter(&GEPI, Op0); in visitGetElementPtrInst()
570 Ops[I] = scatter(&GEPI, Op); in visitGetElementPtrInst()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dxla_select_and_scatter_op.cc94 XlaCompiler::CompilationResult scatter; in Compile() local
97 {scatter_arg, scatter_arg}, &scatter)); in Compile()
104 xla::ShapeUtil::Compatible(scatter.xla_output_shape, scalar_shape), in Compile()
108 xla::ShapeUtil::HumanString(scatter.xla_output_shape))); in Compile()
129 context->Input("init_value"), *scatter.computation); in Compile()
/external/llvm/test/Analysis/CostModel/X86/
Dmasked-intrinsic-cost.ll194 ; AVX2: Found an estimated cost of 64 {{.*}}.scatter
197 ; KNL: Found an estimated cost of 18 {{.*}}.scatter
200 ; SKX: Found an estimated cost of 18 {{.*}}.scatter
207 …call void @llvm.masked.scatter.v16i32(<16 x i32>%val, <16 x i32*> %gep.random, i32 4, <16 x i1> %i…
213 ; AVX2: Found an estimated cost of 32 {{.*}}.scatter
216 ; KNL: Found an estimated cost of 10 {{.*}}.scatter
219 ; SKX: Found an estimated cost of 10 {{.*}}.scatter
221 call void @llvm.masked.scatter.v8i32(<8 x i32> %a1, <8 x i32*> %ptr, i32 4, <8 x i1> %mask)
225 declare void @llvm.masked.scatter.v8i32(<8 x i32> %a1, <8 x i32*> %ptr, i32, <8 x i1> %mask)
229 ; AVX2: Found an estimated cost of 16 {{.*}}.scatter
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dscatter-schedule.ll6 ; This test checks the order of scatter operations after split.
19 …call void @llvm.masked.scatter.v16i32.v16p0i32(<16 x i32> %x270, <16 x i32*> %x335, i32 4, <16 x i…
22 declare void @llvm.masked.scatter.v16i32.v16p0i32(<16 x i32> , <16 x i32*> , i32, <16 x i1> )
Dreplace_unsupported_masked_mem_intrin.ll7 ; for unsupported gather/scatter.
37 call void @llvm.masked.scatter.v4i32(<4 x i32> %value, <4 x i32*> %ptrs, i32 4, <4 x i1> %mask)
41 declare void @llvm.masked.scatter.v4i32(<4 x i32>, <4 x i32*>, i32, <4 x i1>)
/external/tensorflow/tensorflow/compiler/tf2xla/lib/
DBUILD50 name = "scatter",
51 srcs = ["scatter.cc"],
52 hdrs = ["scatter.h"],
/external/libdrm/
Dxf86drmHash.c84 static unsigned long scatter[256]; in HashHash() local
90 for (i = 0; i < 256; i++) scatter[i] = drmRandom(state); in HashHash()
96 hash = (hash << 1) + scatter[tmp & 0xff]; in HashHash()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Assembler/
Dauto_upgrade_intrinsics.ll97 declare void @llvm.masked.scatter.v2f64(<2 x double> %val, <2 x double*> %ptrs, i32, <2 x i1> %mask)
99 define void @tests.masked.scatter(<2 x double*> %ptr, <2 x i1> %mask, <2 x double> %val) {
100 ; CHECK-LABEL: @tests.masked.scatter(
101 ; CHECK: @llvm.masked.scatter.v2f64.v2p0f64
102 call void @llvm.masked.scatter.v2f64(<2 x double> %val, <2 x double*> %ptr, i32 3, <2 x i1> %mask)
/external/tensorflow/tensorflow/python/ops/
Dctc_ops.py508 scatter = array_ops.scatter_nd(
512 scatter = array_ops.reshape(scatter, [batch_size, num_labels, num_frames])
513 scatter = array_ops.where(
514 math_ops.equal(scatter, 0.0),
515 array_ops.fill(array_ops.shape(scatter), math_ops.log(0.0)),
516 scatter)
517 label_olabels = array_ops.transpose(scatter, [2, 0, 1])
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/
Dpr37248.ll6 ; more than one BasicBlocks in the loop body (emulated masked scatter)
7 ; for those targets that do not support masked scatter. Broadcast
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/X86/
Dgather_scatter.ll170 ; AVX512-NEXT: call void @llvm.masked.scatter.v16f32.v16p0f32(<16 x float> [[TMP3]], <16 x float…
178 ; AVX512-NEXT: call void @llvm.masked.scatter.v16f32.v16p0f32(<16 x float> [[TMP8]], <16 x float…
186 ; AVX512-NEXT: call void @llvm.masked.scatter.v16f32.v16p0f32(<16 x float> [[TMP13]], <16 x floa…
194 ; AVX512-NEXT: call void @llvm.masked.scatter.v16f32.v16p0f32(<16 x float> [[TMP18]], <16 x floa…
202 ; AVX512-NEXT: call void @llvm.masked.scatter.v16f32.v16p0f32(<16 x float> [[TMP23]], <16 x floa…
210 ; AVX512-NEXT: call void @llvm.masked.scatter.v16f32.v16p0f32(<16 x float> [[TMP28]], <16 x floa…
218 ; AVX512-NEXT: call void @llvm.masked.scatter.v16f32.v16p0f32(<16 x float> [[TMP33]], <16 x floa…
226 ; AVX512-NEXT: call void @llvm.masked.scatter.v16f32.v16p0f32(<16 x float> [[TMP38]], <16 x floa…
234 ; AVX512-NEXT: call void @llvm.masked.scatter.v16f32.v16p0f32(<16 x float> [[TMP43]], <16 x floa…
242 ; AVX512-NEXT: call void @llvm.masked.scatter.v16f32.v16p0f32(<16 x float> [[TMP48]], <16 x floa…
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dvec-move-10.ll378 ; Test a v4i32 scatter of the first element.
392 ; Test a v4i32 scatter of the last element.
406 ; Test a v4i32 scatter with the highest in-range offset.
421 ; Test a v2i64 scatter of the first element.
434 ; Test a v2i64 scatter of the last element.
447 ; Test a v4f32 scatter of the first element.
461 ; Test a v4f32 scatter of the last element.
475 ; Test a v2f64 scatter of the first element.
488 ; Test a v2f64 scatter of the last element.
/external/llvm/test/CodeGen/SystemZ/
Dvec-move-10.ll378 ; Test a v4i32 scatter of the first element.
392 ; Test a v4i32 scatter of the last element.
406 ; Test a v4i32 scatter with the highest in-range offset.
421 ; Test a v2i64 scatter of the first element.
434 ; Test a v2i64 scatter of the last element.
447 ; Test a v4f32 scatter of the first element.
461 ; Test a v4f32 scatter of the last element.
475 ; Test a v2f64 scatter of the first element.
488 ; Test a v2f64 scatter of the last element.
/external/llvm/test/Transforms/FunctionAttrs/
Dreadattrs.ll70 ; CHECK: declare void @llvm.masked.scatter
71 declare void @llvm.masked.scatter.v4i32(<4 x i32>%val, <4 x i32*>, i32, <4 x i1>)
77 …call void @llvm.masked.scatter.v4i32(<4 x i32>%val, <4 x i32*> %ptrs, i32 4, <4 x i1><i1 true, i1 …
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/FunctionAttrs/
Dreadattrs.ll71 ; CHECK: declare void @llvm.masked.scatter
72 declare void @llvm.masked.scatter.v4i32.v4p0i32(<4 x i32>%val, <4 x i32*>, i32, <4 x i1>)
78 …call void @llvm.masked.scatter.v4i32.v4p0i32(<4 x i32>%val, <4 x i32*> %ptrs, i32 4, <4 x i1><i1 t…

1234567