Home
last modified time | relevance | path

Searched refs:i16_type (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_s3tc.c518 struct lp_type i16_type = lp_wider_type(type); in lp_build_lerp23() local
525 lp_build_context_init(&bld2, gallivm, i16_type); in lp_build_lerp23()
530 lp_build_unpack2(gallivm, type, i16_type, x, &x_lo, &x_hi); in lp_build_lerp23()
531 lp_build_unpack2(gallivm, type, i16_type, v0, &v0_lo, &v0_hi); in lp_build_lerp23()
532 lp_build_unpack2(gallivm, type, i16_type, v1, &v1_lo, &v1_hi); in lp_build_lerp23()
539 x_lo = LLVMBuildLShr(builder, mul_lo, lp_build_const_int_vec(gallivm, i16_type, 8), ""); in lp_build_lerp23()
540 x_hi = LLVMBuildLShr(builder, mul_hi, lp_build_const_int_vec(gallivm, i16_type, 8), ""); in lp_build_lerp23()
542 tmp = lp_build_pack2(gallivm, i16_type, type, x_lo, x_hi); in lp_build_lerp23()
545 x_lo = LLVMBuildLShr(builder, mul_lo, lp_build_const_int_vec(gallivm, i16_type, 7), ""); in lp_build_lerp23()
546 x_hi = LLVMBuildLShr(builder, mul_hi, lp_build_const_int_vec(gallivm, i16_type, 7), ""); in lp_build_lerp23()
[all …]
Dlp_bld_conv.c158 struct lp_type i16_type = lp_type_int_vec(16, 16 * length); in lp_build_float_to_half() local
193 result = LLVMBuildTrunc(builder, result, lp_build_vec_type(gallivm, i16_type), ""); in lp_build_float_to_half()
/external/llvm/test/Bindings/OCaml/
Dcore.ml30 let i16_type = Llvm.i16_type context var
197 let one = const_int i16_type 1 in
198 let two = const_int i16_type 2 in
217 insist ((vector_type i16_type 8) = (type_of c));
224 insist ((struct_type context [| i16_type; i16_type; i32_type; i32_type |])
1013 ignore(build_pointercast inst37 (pointer_type i16_type) "build_pointercast" atentry);
/external/llvm-project/llvm/test/Bindings/OCaml/
Dcore.ml30 let i16_type = Llvm.i16_type context var
207 let one = const_int i16_type 1 in
208 let two = const_int i16_type 2 in
227 insist ((vector_type i16_type 8) = (type_of c));
234 insist ((struct_type context [| i16_type; i16_type; i32_type; i32_type |])
1075 ignore(build_pointercast inst37 (pointer_type i16_type) "build_pointercast" atentry);
/external/llvm/bindings/ocaml/llvm/
Dllvm.ml363 external i16_type : llcontext -> lltype = "llvm_i16_type"
Dllvm.mli531 (** [i16_type c] returns an integer type of bitwidth 16 in the context [c]. See
533 val i16_type : llcontext -> lltype val
/external/llvm-project/llvm/bindings/ocaml/llvm/
Dllvm.ml439 external i16_type : llcontext -> lltype = "llvm_i16_type"
Dllvm.mli562 (** [i16_type c] returns an integer type of bitwidth 16 in the context [c]. See
564 val i16_type : llcontext -> lltype val