Home
last modified time | relevance | path

Searched refs:indices (Results 1 – 25 of 550) sorted by relevance

12345678910>>...22

/llvm-project-15.0.7/clang/test/CodeGen/aarch64-sve2-intrinsics/
H A Dacle_sve2_tbl2.c34 return SVE_ACLE_FUNC(svtbl2,_s8,,)(data, indices); in test_svtbl2_s8()
53 return SVE_ACLE_FUNC(svtbl2,_s16,,)(data, indices); in test_svtbl2_s16()
72 return SVE_ACLE_FUNC(svtbl2,_s32,,)(data, indices); in test_svtbl2_s32()
91 return SVE_ACLE_FUNC(svtbl2,_s64,,)(data, indices); in test_svtbl2_s64()
110 return SVE_ACLE_FUNC(svtbl2,_u8,,)(data, indices); in test_svtbl2_u8()
129 return SVE_ACLE_FUNC(svtbl2,_u16,,)(data, indices); in test_svtbl2_u16()
148 return SVE_ACLE_FUNC(svtbl2,_u32,,)(data, indices); in test_svtbl2_u32()
167 return SVE_ACLE_FUNC(svtbl2,_u64,,)(data, indices); in test_svtbl2_u64()
186 return SVE_ACLE_FUNC(svtbl2,_f16,,)(data, indices); in test_svtbl2_f16()
205 return SVE_ACLE_FUNC(svtbl2,_f32,,)(data, indices); in test_svtbl2_f32()
[all …]
H A Dacle_sve2_tbx.c30 return SVE_ACLE_FUNC(svtbx,_s8,,)(fallback, data, indices); in test_svtbx_s8()
45 return SVE_ACLE_FUNC(svtbx,_s16,,)(fallback, data, indices); in test_svtbx_s16()
60 return SVE_ACLE_FUNC(svtbx,_s32,,)(fallback, data, indices); in test_svtbx_s32()
75 return SVE_ACLE_FUNC(svtbx,_s64,,)(fallback, data, indices); in test_svtbx_s64()
90 return SVE_ACLE_FUNC(svtbx,_u8,,)(fallback, data, indices); in test_svtbx_u8()
105 return SVE_ACLE_FUNC(svtbx,_u16,,)(fallback, data, indices); in test_svtbx_u16()
120 return SVE_ACLE_FUNC(svtbx,_u32,,)(fallback, data, indices); in test_svtbx_u32()
135 return SVE_ACLE_FUNC(svtbx,_u64,,)(fallback, data, indices); in test_svtbx_u64()
150 return SVE_ACLE_FUNC(svtbx,_f16,,)(fallback, data, indices); in test_svtbx_f16()
165 return SVE_ACLE_FUNC(svtbx,_f32,,)(fallback, data, indices); in test_svtbx_f32()
[all …]
/llvm-project-15.0.7/clang/test/CodeGen/aarch64-sve-intrinsics/
H A Dacle_sve_tbl.c29 return SVE_ACLE_FUNC(svtbl,_s8,,)(data, indices); in test_svtbl_s8()
44 return SVE_ACLE_FUNC(svtbl,_s16,,)(data, indices); in test_svtbl_s16()
59 return SVE_ACLE_FUNC(svtbl,_s32,,)(data, indices); in test_svtbl_s32()
74 return SVE_ACLE_FUNC(svtbl,_s64,,)(data, indices); in test_svtbl_s64()
89 return SVE_ACLE_FUNC(svtbl,_u8,,)(data, indices); in test_svtbl_u8()
104 return SVE_ACLE_FUNC(svtbl,_u16,,)(data, indices); in test_svtbl_u16()
119 return SVE_ACLE_FUNC(svtbl,_u32,,)(data, indices); in test_svtbl_u32()
134 return SVE_ACLE_FUNC(svtbl,_u64,,)(data, indices); in test_svtbl_u64()
149 return SVE_ACLE_FUNC(svtbl,_f16,,)(data, indices); in test_svtbl_f16()
164 return SVE_ACLE_FUNC(svtbl,_f32,,)(data, indices); in test_svtbl_f32()
[all …]
H A Dacle_sve_adrw.c27 svuint32_t test_svadrw_u32base_s32index(svuint32_t bases, svint32_t indices) in test_svadrw_u32base_s32index() argument
29 return SVE_ACLE_FUNC(svadrw_,u32base_s32,index,)(bases, indices); in test_svadrw_u32base_s32index()
42 svuint64_t test_svadrw_u64base_s64index(svuint64_t bases, svint64_t indices) in test_svadrw_u64base_s64index() argument
44 return SVE_ACLE_FUNC(svadrw_,u64base_s64,index,)(bases, indices); in test_svadrw_u64base_s64index()
57 svuint32_t test_svadrw_u32base_u32index(svuint32_t bases, svuint32_t indices) in test_svadrw_u32base_u32index() argument
59 return SVE_ACLE_FUNC(svadrw_,u32base_u32,index,)(bases, indices); in test_svadrw_u32base_u32index()
72 svuint64_t test_svadrw_u64base_u64index(svuint64_t bases, svuint64_t indices) in test_svadrw_u64base_u64index() argument
74 return SVE_ACLE_FUNC(svadrw_,u64base_u64,index,)(bases, indices); in test_svadrw_u64base_u64index()
H A Dacle_sve_adrd.c27 svuint32_t test_svadrd_u32base_s32index(svuint32_t bases, svint32_t indices) in test_svadrd_u32base_s32index() argument
29 return SVE_ACLE_FUNC(svadrd_,u32base_s32,index,)(bases, indices); in test_svadrd_u32base_s32index()
42 svuint64_t test_svadrd_u64base_s64index(svuint64_t bases, svint64_t indices) in test_svadrd_u64base_s64index() argument
44 return SVE_ACLE_FUNC(svadrd_,u64base_s64,index,)(bases, indices); in test_svadrd_u64base_s64index()
57 svuint32_t test_svadrd_u32base_u32index(svuint32_t bases, svuint32_t indices) in test_svadrd_u32base_u32index() argument
59 return SVE_ACLE_FUNC(svadrd_,u32base_u32,index,)(bases, indices); in test_svadrd_u32base_u32index()
72 svuint64_t test_svadrd_u64base_u64index(svuint64_t bases, svuint64_t indices) in test_svadrd_u64base_u64index() argument
74 return SVE_ACLE_FUNC(svadrd_,u64base_u64,index,)(bases, indices); in test_svadrd_u64base_u64index()
H A Dacle_sve_adrh.c27 svuint32_t test_svadrh_u32base_s32index(svuint32_t bases, svint32_t indices) in test_svadrh_u32base_s32index() argument
29 return SVE_ACLE_FUNC(svadrh_,u32base_s32,index,)(bases, indices); in test_svadrh_u32base_s32index()
42 svuint64_t test_svadrh_u64base_s64index(svuint64_t bases, svint64_t indices) in test_svadrh_u64base_s64index() argument
44 return SVE_ACLE_FUNC(svadrh_,u64base_s64,index,)(bases, indices); in test_svadrh_u64base_s64index()
57 svuint32_t test_svadrh_u32base_u32index(svuint32_t bases, svuint32_t indices) in test_svadrh_u32base_u32index() argument
59 return SVE_ACLE_FUNC(svadrh_,u32base_u32,index,)(bases, indices); in test_svadrh_u32base_u32index()
72 svuint64_t test_svadrh_u64base_u64index(svuint64_t bases, svuint64_t indices) in test_svadrh_u64base_u64index() argument
74 return SVE_ACLE_FUNC(svadrh_,u64base_u64,index,)(bases, indices); in test_svadrh_u64base_u64index()
H A Dacle_sve_ld1sh.c503 svint32_t test_svld1sh_gather_s32index_s32(svbool_t pg, const int16_t *base, svint32_t indices) { in test_svld1sh_gather_s32index_s32() argument
504 return SVE_ACLE_FUNC(svld1sh_gather_, s32, index_s32, )(pg, base, indices); in test_svld1sh_gather_s32index_s32()
521 svint64_t test_svld1sh_gather_s64index_s64(svbool_t pg, const int16_t *base, svint64_t indices) { in test_svld1sh_gather_s64index_s64() argument
522 return SVE_ACLE_FUNC(svld1sh_gather_, s64, index_s64, )(pg, base, indices); in test_svld1sh_gather_s64index_s64()
539 svuint32_t test_svld1sh_gather_s32index_u32(svbool_t pg, const int16_t *base, svint32_t indices) { in test_svld1sh_gather_s32index_u32() argument
540 return SVE_ACLE_FUNC(svld1sh_gather_, s32, index_u32, )(pg, base, indices); in test_svld1sh_gather_s32index_u32()
558 return SVE_ACLE_FUNC(svld1sh_gather_, s64, index_u64, )(pg, base, indices); in test_svld1sh_gather_s64index_u64()
576 return SVE_ACLE_FUNC(svld1sh_gather_, u32, index_s32, )(pg, base, indices); in test_svld1sh_gather_u32index_s32()
594 return SVE_ACLE_FUNC(svld1sh_gather_, u64, index_s64, )(pg, base, indices); in test_svld1sh_gather_u64index_s64()
612 return SVE_ACLE_FUNC(svld1sh_gather_, u32, index_u32, )(pg, base, indices); in test_svld1sh_gather_u32index_u32()
[all …]
H A Dacle_sve_ldff1uh.c487 svint32_t test_svldff1uh_gather_s32index_s32(svbool_t pg, const uint16_t *base, svint32_t indices) { in test_svldff1uh_gather_s32index_s32() argument
488 return SVE_ACLE_FUNC(svldff1uh_gather_, s32, index_s32, )(pg, base, indices); in test_svldff1uh_gather_s32index_s32()
505 svint64_t test_svldff1uh_gather_s64index_s64(svbool_t pg, const uint16_t *base, svint64_t indices) { in test_svldff1uh_gather_s64index_s64() argument
506 return SVE_ACLE_FUNC(svldff1uh_gather_, s64, index_s64, )(pg, base, indices); in test_svldff1uh_gather_s64index_s64()
523 svuint32_t test_svldff1uh_gather_s32index_u32(svbool_t pg, const uint16_t *base, svint32_t indices)… in test_svldff1uh_gather_s32index_u32() argument
524 return SVE_ACLE_FUNC(svldff1uh_gather_, s32, index_u32, )(pg, base, indices); in test_svldff1uh_gather_s32index_u32()
542 return SVE_ACLE_FUNC(svldff1uh_gather_, s64, index_u64, )(pg, base, indices); in test_svldff1uh_gather_s64index_u64()
560 return SVE_ACLE_FUNC(svldff1uh_gather_, u32, index_s32, )(pg, base, indices); in test_svldff1uh_gather_u32index_s32()
578 return SVE_ACLE_FUNC(svldff1uh_gather_, u64, index_s64, )(pg, base, indices); in test_svldff1uh_gather_u64index_s64()
596 return SVE_ACLE_FUNC(svldff1uh_gather_, u32, index_u32, )(pg, base, indices); in test_svldff1uh_gather_u32index_u32()
[all …]
H A Dacle_sve_ld1uh.c503 svint32_t test_svld1uh_gather_s32index_s32(svbool_t pg, const uint16_t *base, svint32_t indices) { in test_svld1uh_gather_s32index_s32() argument
504 return SVE_ACLE_FUNC(svld1uh_gather_, s32, index_s32, )(pg, base, indices); in test_svld1uh_gather_s32index_s32()
521 svint64_t test_svld1uh_gather_s64index_s64(svbool_t pg, const uint16_t *base, svint64_t indices) { in test_svld1uh_gather_s64index_s64() argument
522 return SVE_ACLE_FUNC(svld1uh_gather_, s64, index_s64, )(pg, base, indices); in test_svld1uh_gather_s64index_s64()
539 svuint32_t test_svld1uh_gather_s32index_u32(svbool_t pg, const uint16_t *base, svint32_t indices) { in test_svld1uh_gather_s32index_u32() argument
540 return SVE_ACLE_FUNC(svld1uh_gather_, s32, index_u32, )(pg, base, indices); in test_svld1uh_gather_s32index_u32()
558 return SVE_ACLE_FUNC(svld1uh_gather_, s64, index_u64, )(pg, base, indices); in test_svld1uh_gather_s64index_u64()
576 return SVE_ACLE_FUNC(svld1uh_gather_, u32, index_s32, )(pg, base, indices); in test_svld1uh_gather_u32index_s32()
594 return SVE_ACLE_FUNC(svld1uh_gather_, u64, index_s64, )(pg, base, indices); in test_svld1uh_gather_u64index_s64()
612 return SVE_ACLE_FUNC(svld1uh_gather_, u32, index_u32, )(pg, base, indices); in test_svld1uh_gather_u32index_u32()
[all …]
H A Dacle_sve_ldff1sh.c487 svint32_t test_svldff1sh_gather_s32index_s32(svbool_t pg, const int16_t *base, svint32_t indices) { in test_svldff1sh_gather_s32index_s32() argument
488 return SVE_ACLE_FUNC(svldff1sh_gather_, s32, index_s32, )(pg, base, indices); in test_svldff1sh_gather_s32index_s32()
505 svint64_t test_svldff1sh_gather_s64index_s64(svbool_t pg, const int16_t *base, svint64_t indices) { in test_svldff1sh_gather_s64index_s64() argument
506 return SVE_ACLE_FUNC(svldff1sh_gather_, s64, index_s64, )(pg, base, indices); in test_svldff1sh_gather_s64index_s64()
523 svuint32_t test_svldff1sh_gather_s32index_u32(svbool_t pg, const int16_t *base, svint32_t indices) { in test_svldff1sh_gather_s32index_u32() argument
524 return SVE_ACLE_FUNC(svldff1sh_gather_, s32, index_u32, )(pg, base, indices); in test_svldff1sh_gather_s32index_u32()
542 return SVE_ACLE_FUNC(svldff1sh_gather_, s64, index_u64, )(pg, base, indices); in test_svldff1sh_gather_s64index_u64()
560 return SVE_ACLE_FUNC(svldff1sh_gather_, u32, index_s32, )(pg, base, indices); in test_svldff1sh_gather_u32index_s32()
578 return SVE_ACLE_FUNC(svldff1sh_gather_, u64, index_s64, )(pg, base, indices); in test_svldff1sh_gather_u64index_s64()
596 return SVE_ACLE_FUNC(svldff1sh_gather_, u32, index_u32, )(pg, base, indices); in test_svldff1sh_gather_u32index_u32()
[all …]
H A Dacle_sve_ld1.c868 return SVE_ACLE_FUNC(svld1_gather_, s32, index, _s32)(pg, base, indices); in test_svld1_gather_s32index_s32()
884 return SVE_ACLE_FUNC(svld1_gather_, s64, index, _s64)(pg, base, indices); in test_svld1_gather_s64index_s64()
900 return SVE_ACLE_FUNC(svld1_gather_, s32, index, _u32)(pg, base, indices); in test_svld1_gather_s32index_u32()
916 return SVE_ACLE_FUNC(svld1_gather_, s64, index, _u64)(pg, base, indices); in test_svld1_gather_s64index_u64()
932 return SVE_ACLE_FUNC(svld1_gather_, s32, index, _f32)(pg, base, indices); in test_svld1_gather_s32index_f32()
948 return SVE_ACLE_FUNC(svld1_gather_, s64, index, _f64)(pg, base, indices); in test_svld1_gather_s64index_f64()
964 return SVE_ACLE_FUNC(svld1_gather_, u32, index, _s32)(pg, base, indices); in test_svld1_gather_u32index_s32()
980 return SVE_ACLE_FUNC(svld1_gather_, u64, index, _s64)(pg, base, indices); in test_svld1_gather_u64index_s64()
996 return SVE_ACLE_FUNC(svld1_gather_, u32, index, _u32)(pg, base, indices); in test_svld1_gather_u32index_u32()
1012 return SVE_ACLE_FUNC(svld1_gather_, u64, index, _u64)(pg, base, indices); in test_svld1_gather_u64index_u64()
[all …]
H A Dacle_sve_ldff1.c824 return SVE_ACLE_FUNC(svldff1_gather_, s32, index, _s32)(pg, base, indices); in test_svldff1_gather_s32index_s32()
840 return SVE_ACLE_FUNC(svldff1_gather_, s64, index, _s64)(pg, base, indices); in test_svldff1_gather_s64index_s64()
856 return SVE_ACLE_FUNC(svldff1_gather_, s32, index, _u32)(pg, base, indices); in test_svldff1_gather_s32index_u32()
872 return SVE_ACLE_FUNC(svldff1_gather_, s64, index, _u64)(pg, base, indices); in test_svldff1_gather_s64index_u64()
888 return SVE_ACLE_FUNC(svldff1_gather_, s32, index, _f32)(pg, base, indices); in test_svldff1_gather_s32index_f32()
904 return SVE_ACLE_FUNC(svldff1_gather_, s64, index, _f64)(pg, base, indices); in test_svldff1_gather_s64index_f64()
920 return SVE_ACLE_FUNC(svldff1_gather_, u32, index, _s32)(pg, base, indices); in test_svldff1_gather_u32index_s32()
936 return SVE_ACLE_FUNC(svldff1_gather_, u64, index, _s64)(pg, base, indices); in test_svldff1_gather_u64index_s64()
952 return SVE_ACLE_FUNC(svldff1_gather_, u32, index, _u32)(pg, base, indices); in test_svldff1_gather_u32index_u32()
968 return SVE_ACLE_FUNC(svldff1_gather_, u64, index, _u64)(pg, base, indices); in test_svldff1_gather_u64index_u64()
[all …]
H A Dacle_sve_st1h.c326 void test_svst1h_scatter_s32index_s32(svbool_t pg, int16_t *base, svint32_t indices, svint32_t data) in test_svst1h_scatter_s32index_s32() argument
328 return SVE_ACLE_FUNC(svst1h_scatter_,s32,index,_s32)(pg, base, indices, data); in test_svst1h_scatter_s32index_s32()
338 void test_svst1h_scatter_s64index_s64(svbool_t pg, int16_t *base, svint64_t indices, svint64_t data) in test_svst1h_scatter_s64index_s64() argument
340 return SVE_ACLE_FUNC(svst1h_scatter_,s64,index,_s64)(pg, base, indices, data); in test_svst1h_scatter_s64index_s64()
352 return SVE_ACLE_FUNC(svst1h_scatter_,s32,index,_u32)(pg, base, indices, data); in test_svst1h_scatter_s32index_u32()
364 return SVE_ACLE_FUNC(svst1h_scatter_,s64,index,_u64)(pg, base, indices, data); in test_svst1h_scatter_s64index_u64()
374 void test_svst1h_scatter_u32index_s32(svbool_t pg, int16_t *base, svuint32_t indices, svint32_t dat… in test_svst1h_scatter_u32index_s32() argument
376 return SVE_ACLE_FUNC(svst1h_scatter_,u32,index,_s32)(pg, base, indices, data); in test_svst1h_scatter_u32index_s32()
388 return SVE_ACLE_FUNC(svst1h_scatter_,u64,index,_s64)(pg, base, indices, data); in test_svst1h_scatter_u64index_s64()
400 return SVE_ACLE_FUNC(svst1h_scatter_,u32,index,_u32)(pg, base, indices, data); in test_svst1h_scatter_u32index_u32()
[all …]
H A Dacle_sve_st1.c893 return SVE_ACLE_FUNC(svst1_scatter_,s32,index,_s32)(pg, base, indices, data); in test_svst1_scatter_s32index_s32()
910 return SVE_ACLE_FUNC(svst1_scatter_,s64,index,_s64)(pg, base, indices, data); in test_svst1_scatter_s64index_s64()
927 return SVE_ACLE_FUNC(svst1_scatter_,s32,index,_u32)(pg, base, indices, data); in test_svst1_scatter_s32index_u32()
944 return SVE_ACLE_FUNC(svst1_scatter_,s64,index,_u64)(pg, base, indices, data); in test_svst1_scatter_s64index_u64()
961 return SVE_ACLE_FUNC(svst1_scatter_,s32,index,_f32)(pg, base, indices, data); in test_svst1_scatter_s32index_f32()
978 return SVE_ACLE_FUNC(svst1_scatter_,s64,index,_f64)(pg, base, indices, data); in test_svst1_scatter_s64index_f64()
995 return SVE_ACLE_FUNC(svst1_scatter_,u32,index,_s32)(pg, base, indices, data); in test_svst1_scatter_u32index_s32()
1012 return SVE_ACLE_FUNC(svst1_scatter_,u64,index,_s64)(pg, base, indices, data); in test_svst1_scatter_u64index_s64()
1029 return SVE_ACLE_FUNC(svst1_scatter_,u32,index,_u32)(pg, base, indices, data); in test_svst1_scatter_u32index_u32()
1046 return SVE_ACLE_FUNC(svst1_scatter_,u64,index,_u64)(pg, base, indices, data); in test_svst1_scatter_u64index_u64()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/GlobalISel/
H A Dlegalizer-info-validation.mir125 # DEBUG-NEXT: G_BITCAST (opcode {{[0-9]+}}): 2 type indices, 0 imm indices
158 # DEBUG-NEXT: G_LOAD (opcode {{[0-9]+}}): 2 type indices, 0 imm indices
176 # DEBUG-NEXT: G_STORE (opcode {{[0-9]+}}): 2 type indices, 0 imm indices
276 # DEBUG-NEXT: G_SEXT (opcode {{[0-9]+}}): 2 type indices, 0 imm indices
283 # DEBUG-NEXT: G_ZEXT (opcode {{[0-9]+}}): 2 type indices, 0 imm indices
286 # DEBUG-NEXT: G_SHL (opcode {{[0-9]+}}): 2 type indices, 0 imm indices
289 # DEBUG-NEXT: G_LSHR (opcode {{[0-9]+}}): 2 type indices, 0 imm indices
293 # DEBUG-NEXT: G_ASHR (opcode {{[0-9]+}}): 2 type indices, 0 imm indices
297 # DEBUG-NEXT: G_FSHL (opcode {{[0-9]+}}): 2 type indices, 0 imm indices
300 # DEBUG-NEXT: G_FSHR (opcode {{[0-9]+}}): 2 type indices, 0 imm indices
[all …]
/llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/CPU/
H A Dsparse_conversion.mlir132 // Check indices.
171 %v10 = sparse_tensor.indices %1, %c0 : tensor<2x3x4xf64, #Tensor1> to memref<?xindex>
172 %v11 = sparse_tensor.indices %1, %c1 : tensor<2x3x4xf64, #Tensor1> to memref<?xindex>
173 %v12 = sparse_tensor.indices %1, %c2 : tensor<2x3x4xf64, #Tensor1> to memref<?xindex>
174 %v20 = sparse_tensor.indices %2, %c0 : tensor<2x3x4xf64, #Tensor2> to memref<?xindex>
175 %v21 = sparse_tensor.indices %2, %c1 : tensor<2x3x4xf64, #Tensor2> to memref<?xindex>
176 %v22 = sparse_tensor.indices %2, %c2 : tensor<2x3x4xf64, #Tensor2> to memref<?xindex>
177 %v30 = sparse_tensor.indices %3, %c0 : tensor<2x3x4xf64, #Tensor3> to memref<?xindex>
178 %v31 = sparse_tensor.indices %3, %c1 : tensor<2x3x4xf64, #Tensor3> to memref<?xindex>
179 %v32 = sparse_tensor.indices %3, %c2 : tensor<2x3x4xf64, #Tensor3> to memref<?xindex>
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/NVGPU/Transforms/
H A DOptimizeSharedMemory.cpp44 Value src = indices[srcDim]; in permuteVectorOffset()
98 indices[tgtDim] = in transformIndices()
118 void setIndices(Operation *op, ArrayRef<Value> indices) { in setIndices() argument
120 return ldmatrixOp.getIndicesMutable().assign(indices); in setIndices()
122 return copyOp.getDstIndicesMutable().assign(indices); in setIndices()
124 return loadOp.getIndicesMutable().assign(indices); in setIndices()
126 return storeOp.getIndicesMutable().assign(indices); in setIndices()
220 auto indices = getIndices(shmWriteOp); in optimizeSharedMemoryReadsAndWrites() local
221 SmallVector<Value, 4> transformedIndices(indices.begin(), indices.end()); in optimizeSharedMemoryReadsAndWrites()
233 auto indices = getIndices(shmReadOp); in optimizeSharedMemoryReadsAndWrites() local
[all …]
/llvm-project-15.0.7/mlir/test/Integration/Dialect/SparseTensor/taco/
H A Dtest_tensor_unary_ops.py20 indices, values = B.get_coordinates_and_values() variable
21 passed = np.array_equal(indices, [[0, 1], [0, 2], [1, 1], [1, 2]])
25 indices, values = B.get_coordinates_and_values() variable
26 passed += np.array_equal(indices, [[0, 1], [0, 2], [1, 1], [1, 2]])
30 indices, values = B.get_coordinates_and_values() variable
31 passed += np.array_equal(indices, [[0, 1], [0, 2], [1, 1], [1, 2]])
35 indices, values = B.get_coordinates_and_values() variable
36 passed += np.array_equal(indices, [[0, 1], [0, 2], [1, 1], [1, 2]])
H A Dtest_simple_tensor_algebra.py30 indices, values = D.get_coordinates_and_values() variable
31 passed = np.array_equal(indices, [[0, 0], [0, 1], [1, 2]])
38 indices, values = E.get_coordinates_and_values() variable
39 passed += np.array_equal(indices, [[0], [1], [2]])
47 indices, values = G.get_coordinates_and_values() variable
48 passed += np.array_equal(indices, [[0], [1], [2]])
56 indices, values = I.get_coordinates_and_values() variable
57 passed += np.array_equal(indices, [[0], [2]])
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dvar-permute-256.ll66 %index0 = extractelement <4 x i64> %indices, i32 0
67 %index1 = extractelement <4 x i64> %indices, i32 1
68 %index2 = extractelement <4 x i64> %indices, i32 2
69 %index3 = extractelement <4 x i64> %indices, i32 3
106 %index0 = extractelement <8 x i32> %indices, i32 0
107 %index1 = extractelement <8 x i32> %indices, i32 1
108 %index2 = extractelement <8 x i32> %indices, i32 2
109 %index3 = extractelement <8 x i32> %indices, i32 3
110 %index4 = extractelement <8 x i32> %indices, i32 4
111 %index5 = extractelement <8 x i32> %indices, i32 5
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/VectorCombine/X86/
H A Dscalarize-vector-gep.ll274 %indices.new = insertelement <2 x i64> %indices, i64 %second_indice, i64 0
298 %indices.new = insertelement <2 x i64> %indices, i64 %second_indice, i64 0
351 %indices.new = insertelement <3 x i64> %indices, i64 %second_indice, i64 0
380 %indices.new = insertelement <3 x i64> %indices, i64 %second_indice, i64 0
439 %indices.new.tmp = insertelement <3 x i64> %indices, i64 %second_indice, i64 0
472 %indices.new.tmp = insertelement <3 x i64> %indices, i64 %second_indice, i64 0
532 %indices.new.tmp = insertelement <3 x i64> %indices, i64 %second_indice, i64 0
629 %indices.new = insertelement <4 x i64> %indices, i64 %second_indice, i64 0
663 %indices.new = insertelement <4 x i64> %indices, i64 %second_indice, i64 0
788 %indices.new = insertelement <2 x i64> %indices, i64 %second_indice, i64 0
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dsve-intrinsics-scatter-stores-32bit-scaled-offsets.ll20 <vscale x 4 x i32> %indices)
33 <vscale x 4 x i32> %indices)
46 <vscale x 2 x i32> %indices)
59 <vscale x 2 x i32> %indices)
72 <vscale x 4 x i32> %indices)
84 <vscale x 4 x i32> %indices)
97 <vscale x 2 x i32> %indices)
110 <vscale x 2 x i32> %indices)
122 <vscale x 4 x i32> %indices)
134 <vscale x 4 x i32> %indices)
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVCanonicalization.cpp51 ArrayRef<unsigned> indices) { in extractCompositeElement() argument
56 if (indices.empty()) in extractCompositeElement()
61 return vector.getValues<Attribute>()[indices[0]]; in extractCompositeElement()
65 assert(!indices.empty() && "must have at least one index for an array"); in extractCompositeElement()
66 return extractCompositeElement(array.getValue()[indices[0]], in extractCompositeElement()
67 indices.drop_front()); in extractCompositeElement()
103 SmallVector<Value, 4> indices(parentAccessChainOp.indices()); in matchAndRewrite() local
104 indices.append(accessChainOp.indices().begin(), in matchAndRewrite()
105 accessChainOp.indices().end()); in matchAndRewrite()
108 accessChainOp, parentAccessChainOp.base_ptr(), indices); in matchAndRewrite()
[all …]
/llvm-project-15.0.7/clang/utils/
H A DFindSpecRefs690 indices = secs
697 indices = map(int, secs)
698 return SpecIndex(indices, paragraph)
700 def __init__(self, indices, paragraph=None): argument
701 assert len(indices)>0
702 self.indices = tuple(indices)
706 s = '.'.join(map(str,self.indices))
715 return cmp((self.indices,self.paragraph),
716 (b.indices,b.paragraph))
721 def __sub__(self, indices): argument
[all …]
/llvm-project-15.0.7/mlir/include/mlir/ExecutionEngine/
H A DCRunnerUtils.h139 T &operator[](Range &&indices) {
140 assert(indices.size() == N &&
177 T &operator[](Range indices) {
178 assert(indices.size() == 1 &&
180 return (*this)[*indices.begin()];
198 T &operator[](Range indices) {
199 assert((indices.size() == 0) &&
219 indices[dim] = 0;
226 ++indices[dim];
249 std::array<int64_t, Rank> indices = {};
[all …]

12345678910>>...22