Searched defs:i32_type (Results 1 - 13 of 13) sorted by relevance

/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
H A Dtarget.ml15 let i32_type = Llvm.i32_type context var
37 let sty = struct_type context [| i32_type; i64_type |] in
H A Dexecutionengine.ml15 let i32_type = Llvm.i32_type context var
26 define_function "main" (function_type i32_type [| i32_type;
30 ignore (build_ret (const_int i32_type retval) b);
34 let fn = define_function "plus" (function_type i32_type [| i32_type;
35 i32_type |]) m in
48 let intgv = GenericValue.of_int i32_type 3 in
51 let i32gv = GenericValue.of_int32 i32_type (Int3
[all...]
H A Dvmcore.ml25 let i32_type = Llvm.i32_type context var
90 let c = const_int i32_type (-1) in
92 insist (i32_type = type_of c);
112 let c = const_int_of_string i32_type "-1" 10 in
114 insist (i32_type = type_of c);
150 let three = const_int i32_type 3 in
151 let four = const_int i32_type 4 in
156 let c = const_array i32_type [| three; four |] in
158 insist ((array_type i32_type
[all...]
/external/llvm/test/Bindings/OCaml/
H A 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";
H A 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;
H A 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
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_format_float.c73 struct lp_type i32_type,
85 struct lp_type f32_type = lp_type_float_vec(32, 32 * i32_type.length);
93 lp_build_context_init(&i32_bld, gallivm, i32_type);
95 i32_smallexpmask = lp_build_const_int_vec(gallivm, i32_type,
97 i32_floatexpmask = lp_build_const_int_vec(gallivm, i32_type, 0xff << 23);
118 i32_roundmask = lp_build_const_int_vec(gallivm, i32_type,
130 magic = lp_build_const_int_vec(gallivm, i32_type,
136 small_max = lp_build_const_int_vec(gallivm, i32_type,
163 is_nan = lp_build_compare(gallivm, i32_type, PIPE_FUNC_GREATER,
165 is_inf = lp_build_compare(gallivm, i32_type, PIPE_FUNC_EQUA
72 lp_build_float_to_smallfloat(struct gallivm_state *gallivm, struct lp_type i32_type, LLVMValueRef src, unsigned mantissa_bits, unsigned exponent_bits, unsigned mantissa_start, boolean has_sign) argument
245 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_length); local
293 struct lp_type i32_type = lp_type_int_vec(32, 32 * f32_type.length); local
431 struct lp_type i32_type = lp_type_int_vec(32, 32 * f32_type.length); local
469 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_length); local
[all...]
H A Dlp_bld_gather.c286 LLVMTypeRef i32_type = LLVMIntTypeInContext(gallivm->context, 32); local
287 LLVMTypeRef i32_vec_type = LLVMVectorType(i32_type, length);
296 LLVMValueRef scale = LLVMConstInt(i32_type, src_width/8, 0);
306 LLVMValueRef alignment = LLVMConstInt(i32_type, src_width/8, 0);
H A Dlp_bld_conv.c100 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_length); local
101 LLVMTypeRef int_vec_type = lp_build_vec_type(gallivm, i32_type);
143 struct lp_type i32_type = lp_type_int_vec(32, 32 * length); local
177 result = lp_build_float_to_smallfloat(gallivm, i32_type, src, 10, 5, 0, true);
H A Dlp_bld_swizzle.c62 LLVMTypeRef i32_type = LLVMInt32TypeInContext(gallivm->context); local
63 LLVMTypeRef i32_vec_type = LLVMVectorType(i32_type, length);
67 res = LLVMBuildInsertElement(builder, undef, scalar, LLVMConstNull(i32_type), "");
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_llvm.c1146 struct lp_type i32_type = lp_int_type(vs_type); local
1166 mask = lp_build_const_int_vec(gallivm, i32_type, 0);
1167 temp = lp_build_const_int_vec(gallivm, i32_type, 0);
1169 shift = lp_build_const_int_vec(gallivm, i32_type, 1); /* 1 1 1 1 */
1230 temp = lp_build_const_int_vec(gallivm, i32_type, 16);
1276 temp = lp_build_const_int_vec(gallivm, i32_type, 1LL << plane_idx);
1309 temp = lp_build_const_int_vec(gallivm, i32_type, 1LL << plane_idx);
1324 temp = lp_build_const_int_vec(gallivm, i32_type,
/external/llvm/bindings/ocaml/llvm/
H A Dllvm.mli535 (** [i32_type c] returns an integer type of bitwidth 32 in the context [c]. See
537 val i32_type : llcontext -> lltype var
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.
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
H A Dllvm.mli402 (** [i32_type c] returns an integer type of bitwidth 32 in the context [c]. See
404 val i32_type : llcontext -> lltype var
790 (const_int i32_type 0) (const_int i32_type 1)) i32_type], but considerably
796 (const_int i32_type 1)) i64_type], but considerably more readable.

Completed in 1131 milliseconds