Home
last modified time | relevance | path

Searched refs:vector_width (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dllvm_ir_runtime.cc49 int32 vector_width)> in RewriteCalls() argument
51 int32 vector_width, bool enable_fast_math) { in RewriteCalls()
82 if (vector_width == 1) { in RewriteCalls()
89 CHECK_EQ(vector_width, input->getType()->getVectorNumElements()); in RewriteCalls()
90 llvm::Value* result = fn_body_generator(&b, input, vector_width); in RewriteCalls()
93 if (vector_width == 1) { in RewriteCalls()
119 int32 vector_width) { in GenerateVF32Exp() argument
120 VectorSupportLibrary vsl(F32, vector_width, b, "exp_f32"); in GenerateVF32Exp()
161 b->CreateVectorSplat(vector_width, b->getInt32(0x7f)); in GenerateVF32Exp()
163 b->CreateVectorSplat(vector_width, b->getInt32(23)); in GenerateVF32Exp()
[all …]
/external/mesa3d/src/intel/compiler/
Dbrw_fs_bank_conflicts.cpp90 const unsigned vector_width = 2 * sizeof(__m128i) / sizeof(scalar_type); variable
98 assert(i < vector_width); in set()
108 assert(i < vector_width); in get()
198 const unsigned vector_width = 1; variable
206 assert(i < vector_width); in set()
216 assert(i < vector_width); in get()
286 DIV_ROUND_UP(u.size, vector_width) * sizeof(vector_type)); in weight_vector_type()
310 const unsigned size = DIV_ROUND_UP(n, vector_width) * sizeof(vector_type); in alloc()
325 set(v.v[(2 * i + p) / vector_width], (2 * i + p) % vector_width, x); in set()
334 return get(v.v[(2 * i + p) / vector_width], (2 * i + p) % vector_width); in get()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample_aos.c584 lp_build_context_init(&u8n, bld->gallivm, lp_type_unorm(8, bld->vector_width)); in lp_build_sample_fetch_image_nearest()
644 lp_build_context_init(&i32, bld->gallivm, lp_type_int_vec(32, bld->vector_width)); in lp_build_sample_image_nearest()
856 lp_build_context_init(&u8n, bld->gallivm, lp_type_unorm(8, bld->vector_width)); in lp_build_sample_fetch_image_linear()
1050 lp_build_context_init(&i32, bld->gallivm, lp_type_int_vec(32, bld->vector_width)); in lp_build_sample_image_linear()
1510 lp_build_context_init(&u8n_bld, bld->gallivm, lp_type_unorm(8, bld->vector_width)); in lp_build_sample_mipmap()
1627 lp_build_context_init(&u8n_bld, bld->gallivm, lp_type_unorm(8, bld->vector_width)); in lp_build_sample_aos()
Dlp_bld_sample.h318 unsigned vector_width; member
Dlp_bld_sample_soa.c2838 bld.vector_width = lp_type_width(type); in lp_build_sample_soa_code()
3222 bld4.vector_width = lp_type_width(type4); in lp_build_sample_soa_code()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/
Dexplicit_outer_detection.ll21 ; CHECK-LABEL: vector_width
30 define void @vector_width(i32* nocapture %a, i32* nocapture readonly %b, i32 %N, i32 %M) local_unna…
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c1755 unsigned vector_width; in generate_unswizzled_blend() local
1822 vector_width = dst_type.floating ? lp_native_vector_width : lp_integer_vector_width; in generate_unswizzled_blend()
2055 assert(src_count >= (vector_width / bits)); in generate_unswizzled_blend()
2057 dst_count = src_count / (vector_width / bits); in generate_unswizzled_blend()
2123 pad_inline &= (dst_channels * (block_size / src_count) * row_type.width) != vector_width; in generate_unswizzled_blend()
2157 mask_type.length = vector_width / mask_type.width; in generate_unswizzled_blend()