/external/llvm/test/Bindings/OCaml/ |
executionengine.ml | 19 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";
|
core.ml | 31 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 i [all...] |
target.ml | 18 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;
|
irreader.ml | 41 insist ((global_initializer foo) = (const_int (i32_type context) 42))
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_conv.c | 92 struct lp_type i32_type = lp_type_int_vec(32, 32 * src_type.length); local 95 LLVMTypeRef int_vec_type = lp_build_vec_type(gallivm, i32_type); 99 LLVMValueRef i32_13 = lp_build_const_int_vec(gallivm, i32_type, 13); 100 LLVMValueRef i32_16 = lp_build_const_int_vec(gallivm, i32_type, 16); 101 LLVMValueRef i32_mask_nosign = lp_build_const_int_vec(gallivm, i32_type, 0x7fff); 102 LLVMValueRef i32_was_infnan = lp_build_const_int_vec(gallivm, i32_type, 0x7bff); 103 LLVMValueRef i32_exp_infnan = lp_build_const_int_vec(gallivm, i32_type, 0xff << 23); 105 lp_build_const_int_vec(gallivm, i32_type, (254 - 15) << 23), 119 LLVMValueRef b_wasinfnan = lp_build_compare(gallivm, i32_type, PIPE_FUNC_GREATER, expmant, i32_was_infnan);
|
lp_bld_swizzle.c | 61 LLVMTypeRef i32_type = LLVMInt32TypeInContext(gallivm->context); local 67 LLVMTypeRef i32_vec_type = LLVMVectorType(i32_type, length); 68 res = LLVMBuildInsertElement(builder, undef, scalar, LLVMConstNull(i32_type), "");
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_llvm.c | 871 struct lp_type i32_type = lp_int_type(vs_type); local 884 mask = lp_build_const_int_vec(gallivm, i32_type, 0); 885 temp = lp_build_const_int_vec(gallivm, i32_type, 0); 887 shift = lp_build_const_int_vec(gallivm, i32_type, 1); /* 1 1 1 1 */ [all...] |
/external/llvm/bindings/ocaml/llvm/ |
llvm.mli | 509 (** [i32_type c] returns an integer type of bitwidth 32 in the context [c]. See 511 val i32_type : llcontext -> lltype var 932 (const_int i32_type 0) (const_int i32_type 1)) i32_type], but considerably 938 (const_int i32_type 1)) i64_type], but considerably more readable. [all...] |
llvm.ml | 342 external i32_type : llcontext -> lltype = "llvm_i32_type" [all...] |