Home
last modified time | relevance | path

Searched refs:double_type (Results 1 – 25 of 62) sorted by relevance

123

/external/mesa3d/src/compiler/glsl/
Dir_expression_operation.py85 double_type = type("double", "d", "GLSL_TYPE_DOUBLE") variable
88 all_types = (uint_type, int_type, float_type, double_type, uint64_type, int64_type, bool_type)
89 numeric_types = (uint_type, int_type, float_type, double_type, uint64_type, int64_type)
90 signed_numeric_types = (int_type, float_type, double_type, int64_type)
92 real_types = (float_type, double_type)
450 operation("d2f", 1, source_types=(double_type,), dest_type=float_type, c_expression="{src0}"),
452 operation("f2d", 1, source_types=(float_type,), dest_type=double_type, c_expression="{src0}"),
454 operation("d2i", 1, source_types=(double_type,), dest_type=int_type, c_expression="{src0}"),
456 operation("i2d", 1, source_types=(int_type,), dest_type=double_type, c_expression="{src0}"),
458 operation("d2u", 1, source_types=(double_type,), dest_type=uint_type, c_expression="{src0}"),
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter3/
Dcodegen.ml13 let double_type = double_type context var
16 | Ast.Number n -> const_float double_type n
31 build_uitofp i double_type "booltmp" builder
52 let doubles = Array.make (Array.length args) double_type in
53 let ft = function_type double_type doubles in
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter3/
Dcodegen.ml13 let double_type = double_type context var
16 | Ast.Number n -> const_float double_type n
31 build_uitofp i double_type "booltmp" builder
52 let doubles = Array.make (Array.length args) double_type in
53 let ft = function_type double_type doubles in
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
Dcodegen.ml13 let double_type = double_type context var
16 | Ast.Number n -> const_float double_type n
31 build_uitofp i double_type "booltmp" builder
52 let doubles = Array.make (Array.length args) double_type in
53 let ft = function_type double_type doubles in
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter4/
Dcodegen.ml13 let double_type = double_type context var
16 | Ast.Number n -> const_float double_type n
31 build_uitofp i double_type "booltmp" builder
52 let doubles = Array.make (Array.length args) double_type in
53 let ft = function_type double_type doubles in
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter4/
Dcodegen.ml13 let double_type = double_type context var
16 | Ast.Number n -> const_float double_type n
31 build_uitofp i double_type "booltmp" builder
52 let doubles = Array.make (Array.length args) double_type in
53 let ft = function_type double_type doubles in
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
Dcodegen.ml13 let double_type = double_type context var
16 | Ast.Number n -> const_float double_type n
31 build_uitofp i double_type "booltmp" builder
52 let doubles = Array.make (Array.length args) double_type in
53 let ft = function_type double_type doubles in
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dcodegen.ml13 let double_type = double_type context var
16 | Ast.Number n -> const_float double_type n
31 build_uitofp i double_type "booltmp" builder
52 let zero = const_float double_type 0.0 in
137 | None -> const_float double_type 1.0
146 let zero = const_float double_type 0.0 in
169 const_null double_type
174 let doubles = Array.make (Array.length args) double_type in
175 let ft = function_type double_type doubles in
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter5/
Dcodegen.ml13 let double_type = double_type context var
16 | Ast.Number n -> const_float double_type n
31 build_uitofp i double_type "booltmp" builder
52 let zero = const_float double_type 0.0 in
137 | None -> const_float double_type 1.0
146 let zero = const_float double_type 0.0 in
169 const_null double_type
174 let doubles = Array.make (Array.length args) double_type in
175 let ft = function_type double_type doubles in
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter5/
Dcodegen.ml13 let double_type = double_type context var
16 | Ast.Number n -> const_float double_type n
31 build_uitofp i double_type "booltmp" builder
52 let zero = const_float double_type 0.0 in
137 | None -> const_float double_type 1.0
146 let zero = const_float double_type 0.0 in
169 const_null double_type
174 let doubles = Array.make (Array.length args) double_type in
175 let ft = function_type double_type doubles in
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml13 let double_type = double_type context var
16 | Ast.Number n -> const_float double_type n
40 build_uitofp i double_type "booltmp" builder
70 let zero = const_float double_type 0.0 in
155 | None -> const_float double_type 1.0
164 let zero = const_float double_type 0.0 in
187 const_null double_type
192 let doubles = Array.make (Array.length args) double_type in
193 let ft = function_type double_type doubles in
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml13 let double_type = double_type context var
16 | Ast.Number n -> const_float double_type n
40 build_uitofp i double_type "booltmp" builder
70 let zero = const_float double_type 0.0 in
155 | None -> const_float double_type 1.0
164 let zero = const_float double_type 0.0 in
187 const_null double_type
192 let doubles = Array.make (Array.length args) double_type in
193 let ft = function_type double_type doubles in
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml13 let double_type = double_type context var
16 | Ast.Number n -> const_float double_type n
40 build_uitofp i double_type "booltmp" builder
70 let zero = const_float double_type 0.0 in
155 | None -> const_float double_type 1.0
164 let zero = const_float double_type 0.0 in
187 const_null double_type
192 let doubles = Array.make (Array.length args) double_type in
193 let ft = function_type double_type doubles in
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml13 let double_type = double_type context var
19 build_alloca double_type var_name builder
22 | Ast.Number n -> const_float double_type n
69 build_uitofp i double_type "booltmp" builder
100 let zero = const_float double_type 0.0 in
208 | None -> const_float double_type 1.0
221 let zero = const_float double_type 0.0 in
240 const_null double_type
257 | None -> const_float double_type 0.0
290 let doubles = Array.make (Array.length args) double_type in
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml13 let double_type = double_type context var
19 build_alloca double_type var_name builder
22 | Ast.Number n -> const_float double_type n
69 build_uitofp i double_type "booltmp" builder
100 let zero = const_float double_type 0.0 in
208 | None -> const_float double_type 1.0
221 let zero = const_float double_type 0.0 in
240 const_null double_type
257 | None -> const_float double_type 0.0
290 let doubles = Array.make (Array.length args) double_type in
[all …]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml13 let double_type = double_type context var
19 build_alloca double_type var_name builder
22 | Ast.Number n -> const_float double_type n
69 build_uitofp i double_type "booltmp" builder
100 let zero = const_float double_type 0.0 in
208 | None -> const_float double_type 1.0
221 let zero = const_float double_type 0.0 in
240 const_null double_type
257 | None -> const_float double_type 0.0
290 let doubles = Array.make (Array.length args) double_type in
[all …]
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
Dexecutionengine.ml17 let double_type = Llvm.double_type context var
45 let fpgv = GenericValue.of_float double_type 2. in
46 assert (2. = GenericValue.as_float double_type fpgv);
Dvmcore.ml29 let double_type = Llvm.double_type context var
139 let cd = const_float double_type 3.1459 in
141 insist (double_type = type_of cd);
143 let cd = const_float_of_string double_type "1.25" in
145 insist (double_type = type_of cd)
180 double_type |]) in
237 let ffive = const_uitofp five double_type in
240 let ffoldbomb = const_uitofp foldbomb double_type in
292 ignore (define_global "const_uitofp" (const_uitofp foldbomb double_type) m);
293 ignore (define_global "const_sitofp" (const_sitofp foldbomb double_type) m);
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_swizzle.c654 LLVMTypeRef double_type; in lp_build_transpose_aos() local
660 double_type = lp_build_vec_type(gallivm, double_type_lp); in lp_build_transpose_aos()
670 t0 = LLVMBuildBitCast(gallivm->builder, t0, double_type, "t0"); in lp_build_transpose_aos()
671 t1 = LLVMBuildBitCast(gallivm->builder, t1, double_type, "t1"); in lp_build_transpose_aos()
672 t2 = LLVMBuildBitCast(gallivm->builder, t2, double_type, "t2"); in lp_build_transpose_aos()
673 t3 = LLVMBuildBitCast(gallivm->builder, t3, double_type, "t3"); in lp_build_transpose_aos()
/external/llvm/test/Bindings/OCaml/
Dexecutionengine.ml21 let double_type = Llvm.double_type context var
Dcore.ml35 let double_type = Llvm.double_type context var
176 let cd = const_float double_type 3.1459 in
178 insist (double_type = type_of cd);
181 let cd = const_float_of_string double_type "2" in
183 insist (double_type = type_of cd);
231 double_type |]) in
288 let ffive = const_uitofp five double_type in
291 let ffoldbomb = const_uitofp foldbomb double_type in
344 ignore (define_global "const_uitofp" (const_uitofp foldbomb double_type) m);
345 ignore (define_global "const_sitofp" (const_sitofp foldbomb double_type) m);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bindings/OCaml/
Dexecutionengine.ml21 let double_type = Llvm.double_type context var
Dcore.ml35 let double_type = Llvm.double_type context var
186 let cd = const_float double_type 3.1459 in
188 insist (double_type = type_of cd);
191 let cd = const_float_of_string double_type "2" in
193 insist (double_type = type_of cd);
241 double_type |]) in
298 let ffive = const_uitofp five double_type in
301 let ffoldbomb = const_uitofp foldbomb double_type in
354 ignore (define_global "const_uitofp" (const_uitofp foldbomb double_type) m);
355 ignore (define_global "const_sitofp" (const_sitofp foldbomb double_type) m);
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/docs/tutorial/
DOCamlLangImpl3.rst59 let double_type = double_type context
94 | Ast.Number n -> const_float double_type n
133 build_uitofp i double_type "booltmp" builder
225 let doubles = Array.make (Array.length args) double_type in
226 let ft = function_type double_type doubles in
798 let double_type = double_type context
801 | Ast.Number n -> const_float double_type n
816 build_uitofp i double_type "booltmp" builder
837 let doubles = Array.make (Array.length args) double_type in
838 let ft = function_type double_type doubles in
/external/llvm/docs/tutorial/
DOCamlLangImpl3.rst59 let double_type = double_type context
94 | Ast.Number n -> const_float double_type n
133 build_uitofp i double_type "booltmp" builder
225 let doubles = Array.make (Array.length args) double_type in
226 let ft = function_type double_type doubles in
798 let double_type = double_type context
801 | Ast.Number n -> const_float double_type n
816 build_uitofp i double_type "booltmp" builder
837 let doubles = Array.make (Array.length args) double_type in
838 let ft = function_type double_type doubles in

123