/external/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_format_float.c | 73 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 …]
|
D | lp_bld_gather.c | 312 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()
|
D | lp_bld_swizzle.c | 62 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()
|
D | lp_bld_conv.c | 100 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() 143 struct lp_type i32_type = lp_type_int_vec(32, 32 * length); in lp_build_float_to_half() local 177 result = lp_build_float_to_smallfloat(gallivm, i32_type, src, 10, 5, 0, true); in lp_build_float_to_half()
|
D | lp_bld_format.h | 185 struct lp_type i32_type,
|
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/ |
D | executionengine.ml | 15 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 (Int32.of_int 4) in 54 let nigv = GenericValue.of_nativeint i32_type (Nativeint.of_int 5) in 92 [| GenericValue.of_int i32_type 2; 93 GenericValue.of_int i32_type 2 |] [all …]
|
D | vmcore.ml | 25 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 2) = (type_of c)); 173 insist ((struct_type context [| i16_type; i16_type; i32_type; i32_type |]) [all …]
|
D | target.ml | 15 let i32_type = Llvm.i32_type context var 37 let sty = struct_type context [| i32_type; i64_type |] in
|
/external/llvm/test/Bindings/OCaml/ |
D | 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 in 205 let c = const_array i32_type [| three; four |] in [all …]
|
D | 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";
|
D | 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;
|
D | irreader.ml | 41 insist ((global_initializer foo) = (const_int (i32_type context) 42))
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bindings/OCaml/ |
D | core.ml | 31 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 …]
|
D | 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";
|
D | 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;
|
D | irreader.ml | 41 insist ((global_initializer foo) = (const_int (i32_type context) 42))
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm.c | 1150 struct lp_type i32_type = lp_int_type(vs_type); in generate_clipmask() local 1170 mask = lp_build_const_int_vec(gallivm, i32_type, 0); in generate_clipmask() 1171 temp = lp_build_const_int_vec(gallivm, i32_type, 0); in generate_clipmask() 1173 shift = lp_build_const_int_vec(gallivm, i32_type, 1); /* 1 1 1 1 */ in generate_clipmask() 1234 temp = lp_build_const_int_vec(gallivm, i32_type, 16); in generate_clipmask() 1280 temp = lp_build_const_int_vec(gallivm, i32_type, 1LL << plane_idx); in generate_clipmask() 1313 temp = lp_build_const_int_vec(gallivm, i32_type, 1LL << plane_idx); in generate_clipmask() 1328 temp = lp_build_const_int_vec(gallivm, i32_type, in generate_clipmask()
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/ |
D | llvm.mli | 402 (** [i32_type c] returns an integer type of bitwidth 32 in the context [c]. See 404 val i32_type : llcontext -> lltype val 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.
|
D | llvm.ml | 275 external i32_type : llcontext -> lltype = "llvm_i32_type"
|
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 556 (** [i32_type c] returns an integer type of bitwidth 32 in the context [c]. See 558 val i32_type : llcontext -> lltype val 986 (const_int i32_type 0) (const_int i32_type 1)) i32_type], but considerably 992 (const_int i32_type 1)) i64_type], but considerably more readable.
|
D | llvm.ml | 430 external i32_type : llcontext -> lltype = "llvm_i32_type"
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm.mli | 535 (** [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.
|
D | llvm.ml | 364 external i32_type : llcontext -> lltype = "llvm_i32_type"
|