Home
last modified time | relevance | path

Searched refs:i32_type (Results 1 – 21 of 21) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_format_float.c73 struct lp_type i32_type, in lp_build_float_to_smallfloat() argument
85 struct lp_type f32_type = lp_type_float_vec(32, 32 * i32_type.length); in lp_build_float_to_smallfloat()
93 lp_build_context_init(&i32_bld, gallivm, i32_type); in lp_build_float_to_smallfloat()
95 i32_smallexpmask = lp_build_const_int_vec(gallivm, i32_type, in lp_build_float_to_smallfloat()
97 i32_floatexpmask = lp_build_const_int_vec(gallivm, i32_type, 0xff << 23); in lp_build_float_to_smallfloat()
118 i32_roundmask = lp_build_const_int_vec(gallivm, i32_type, in lp_build_float_to_smallfloat()
130 magic = lp_build_const_int_vec(gallivm, i32_type, in lp_build_float_to_smallfloat()
136 small_max = lp_build_const_int_vec(gallivm, i32_type, in lp_build_float_to_smallfloat()
163 is_nan = lp_build_compare(gallivm, i32_type, PIPE_FUNC_GREATER, in lp_build_float_to_smallfloat()
165 is_inf = lp_build_compare(gallivm, i32_type, PIPE_FUNC_EQUAL, in lp_build_float_to_smallfloat()
[all …]
Dlp_bld_gather.c312 LLVMTypeRef i32_type = LLVMIntTypeInContext(gallivm->context, 32); in lp_build_gather_avx2() local
313 LLVMTypeRef i32_vec_type = LLVMVectorType(i32_type, length); in lp_build_gather_avx2()
322 LLVMValueRef scale = LLVMConstInt(i32_type, src_width/8, 0); in lp_build_gather_avx2()
332 LLVMValueRef alignment = LLVMConstInt(i32_type, src_width/8, 0); in lp_build_gather_avx2()
Dlp_bld_swizzle.c62 LLVMTypeRef i32_type = LLVMInt32TypeInContext(gallivm->context); in lp_build_broadcast() local
63 LLVMTypeRef i32_vec_type = LLVMVectorType(i32_type, length); in lp_build_broadcast()
67 res = LLVMBuildInsertElement(builder, undef, scalar, LLVMConstNull(i32_type), ""); in lp_build_broadcast()
Dlp_bld_conv.c100 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_length); in lp_build_half_to_float() local
101 LLVMTypeRef int_vec_type = lp_build_vec_type(gallivm, i32_type); in lp_build_half_to_float()
157 struct lp_type i32_type = lp_type_int_vec(32, 32 * length); in lp_build_float_to_half() local
191 result = lp_build_float_to_smallfloat(gallivm, i32_type, src, 10, 5, 0, true); in lp_build_float_to_half()
Dlp_bld_format.h212 struct lp_type i32_type,
Dlp_bld_format_s3tc.c1220 struct lp_type i32_type = lp_wider_type(i16_type); in lp_build_lerp23_single() local
1239 v01 = lp_build_interleave2(gallivm, i32_type, v01, v01, 0); in lp_build_lerp23_single()
/external/llvm/test/Bindings/OCaml/
Dexecutionengine.ml19 let i32_type = Llvm.i32_type context var
31 let fn = define_function "getglobal" (function_type i32_type [||]) m in
38 let fn = define_function "plus" (function_type i32_type [| i32_type;
39 i32_type |]) m in
56 ignore (define_global "globvar" (const_int i32_type 23) m);
64 (* let g = declare_function "g" (function_type i32_type [||]) m2 in
105 if ty != i32_type && ty != i64_type then bomb "target_data did not work";
Dcore.ml31 let i32_type = Llvm.i32_type context var
73 insist ("i32" = (string_of_lltype i32_type));
74 let c = const_int i32_type 42 in
103 let c = const_int i32_type (-1) in
105 insist (i32_type = type_of c);
128 let c = const_int_of_string i32_type "-1" 10 in
130 insist (i32_type = type_of c);
199 let three = const_int i32_type 3 in
200 let four = const_int i32_type 4 in
205 let c = const_array i32_type [| three; four |] in
[all …]
Dtarget.ml18 let i32_type = Llvm.i32_type context var
46 let sty = struct_type context [| i32_type; i64_type |] in
51 assert_equal (DL.intptr_type context dl) i32_type;
53 assert_equal (DL.qualified_intptr_type context 0 dl) i32_type;
Dirreader.ml41 insist ((global_initializer foo) = (const_int (i32_type context) 42))
/external/llvm-project/llvm/test/Bindings/OCaml/
Dexecutionengine.ml19 let i32_type = Llvm.i32_type context var
31 let fn = define_function "getglobal" (function_type i32_type [||]) m in
38 let fn = define_function "plus" (function_type i32_type [| i32_type;
39 i32_type |]) m in
56 ignore (define_global "globvar" (const_int i32_type 23) m);
64 (* let g = declare_function "g" (function_type i32_type [||]) m2 in
105 if ty != i32_type && ty != i64_type then bomb "target_data did not work";
Dcore.ml31 let i32_type = Llvm.i32_type context var
72 let pointer_i32 = pointer_type i32_type in
73 insist (i32_type = (Array.get (subtypes pointer_i32) 0));
75 let ar = struct_type context [| i32_type; i8_type |] in
76 insist (i32_type = (Array.get (subtypes ar)) 0);
83 insist ("i32" = (string_of_lltype i32_type));
84 let c = const_int i32_type 42 in
113 let c = const_int i32_type (-1) in
115 insist (i32_type = type_of c);
138 let c = const_int_of_string i32_type "-1" 10 in
[all …]
Dtarget.ml18 let i32_type = Llvm.i32_type context var
46 let sty = struct_type context [| i32_type; i64_type |] in
51 assert_equal (DL.intptr_type context dl) i32_type;
53 assert_equal (DL.qualified_intptr_type context 0 dl) i32_type;
Dirreader.ml41 insist ((global_initializer foo) = (const_int (i32_type context) 42))
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dtf_framework_legalize_to_llvm.cc278 auto i32_type = IntegerType::get(ctx, 32); in GetFuncType() local
280 getVoidType(), {getVoidPtrType(), i32_type, i8_ptr_type}); in GetFuncType()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c1499 struct lp_type i32_type = lp_int_type(vs_type); in generate_clipmask() local
1519 mask = lp_build_const_int_vec(gallivm, i32_type, 0); in generate_clipmask()
1520 temp = lp_build_const_int_vec(gallivm, i32_type, 0); in generate_clipmask()
1522 shift = lp_build_const_int_vec(gallivm, i32_type, 1); /* 1 1 1 1 */ in generate_clipmask()
1583 temp = lp_build_const_int_vec(gallivm, i32_type, 16); in generate_clipmask()
1629 temp = lp_build_const_int_vec(gallivm, i32_type, 1LL << plane_idx); in generate_clipmask()
1662 temp = lp_build_const_int_vec(gallivm, i32_type, 1LL << plane_idx); in generate_clipmask()
1677 temp = lp_build_const_int_vec(gallivm, i32_type, in generate_clipmask()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc608 auto i32_type = builder->getIntegerType(32); in CreateRngUniform32() local
609 auto key_type = RankedTensorType::get({num_elements}, i32_type); in CreateRngUniform32()
4750 auto i32_type = rewriter.getIntegerType(32); in matchAndRewrite() local
4751 Type iota_type = RankedTensorType::get(input_type.getShape(), i32_type); in matchAndRewrite()
4766 BuildSortComparisonBody({input_type.getElementType(), i32_type}, in matchAndRewrite()
5055 auto i32_type = rewriter.getIntegerType(32); in matchAndRewrite() local
5056 BuildSortComparisonBody({i32_type, input_type.getElementType()}, in matchAndRewrite()
/external/llvm/bindings/ocaml/llvm/
Dllvm.mli535 (** [i32_type c] returns an integer type of bitwidth 32 in the context [c]. See
537 val i32_type : llcontext -> lltype val
962 (const_int i32_type 0) (const_int i32_type 1)) i32_type], but considerably
968 (const_int i32_type 1)) i64_type], but considerably more readable.
Dllvm.ml364 external i32_type : llcontext -> lltype = "llvm_i32_type"
/external/llvm-project/llvm/bindings/ocaml/llvm/
Dllvm.mli566 (** [i32_type c] returns an integer type of bitwidth 32 in the context [c]. See
568 val i32_type : llcontext -> lltype val
1013 (const_int i32_type 0) (const_int i32_type 1)) i32_type], but considerably
1019 (const_int i32_type 1)) i64_type], but considerably more readable.
Dllvm.ml440 external i32_type : llcontext -> lltype = "llvm_i32_type"