Home
last modified time | relevance | path

Searched refs:float_type (Results 1 – 25 of 58) sorted by relevance

123

/external/mesa3d/src/intel/compiler/
Dtest_fs_saturate_propagation.cpp104 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
107 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
139 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
140 fs_reg dst1 = v->vgrf(glsl_type::float_type); in TEST_F()
141 fs_reg dst2 = v->vgrf(glsl_type::float_type); in TEST_F()
142 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
143 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
177 fs_reg dst0 = v->vgrf(glsl_type::float_type); in TEST_F()
[all …]
Dtest_fs_cmod_propagation.cpp104 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
136 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
137 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
138 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
201 fs_reg dest = v->vgrf(glsl_type::float_type); in TEST_F()
202 fs_reg src0 = v->vgrf(glsl_type::float_type); in TEST_F()
203 fs_reg src1 = v->vgrf(glsl_type::float_type); in TEST_F()
204 fs_reg src2 = v->vgrf(glsl_type::float_type); in TEST_F()
[all …]
Dtest_vec4_cmod_propagation.cpp146 dst_reg dest = dst_reg(v, glsl_type::float_type); in TEST_F()
147 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F()
148 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F()
182 dst_reg dest = dst_reg(v, glsl_type::float_type); in TEST_F()
183 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F()
184 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F()
220 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F()
288 dst_reg dest = dst_reg(v, glsl_type::float_type); in TEST_F()
289 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F()
290 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F()
[all …]
Dtest_fs_copy_propagation.cpp104 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
105 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
106 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
107 fs_reg vgrf3 = v->vgrf(glsl_type::float_type); in TEST_F()
146 fs_reg vgrf0 = v->vgrf(glsl_type::float_type); in TEST_F()
147 fs_reg vgrf1 = v->vgrf(glsl_type::float_type); in TEST_F()
148 fs_reg vgrf2 = v->vgrf(glsl_type::float_type); in TEST_F()
Dtest_vec4_register_coalesce.cpp129 src_reg something = src_reg(v, glsl_type::float_type); in TEST_F()
130 dst_reg temp = dst_reg(v, glsl_type::float_type); in TEST_F()
148 src_reg something = src_reg(v, glsl_type::float_type); in TEST_F()
182 dst_reg temp = dst_reg(v, glsl_type::float_type); in TEST_F()
200 dst_reg temp = dst_reg(v, glsl_type::float_type); in TEST_F()
226 dst_reg temp = dst_reg(v, glsl_type::float_type); in TEST_F()
Dbrw_fs_visitor.cpp193 this->wpos_w = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen4()
197 this->pixel_w = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen4()
227 this->pixel_x = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
228 this->pixel_y = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
255 this->pixel_x = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
256 this->pixel_y = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
263 this->wpos_w = vgrf(glsl_type::float_type); in emit_interpolation_setup_gen6()
Dbrw_fs_sel_peephole.cpp201 src0 = vgrf(glsl_type::float_type); in opt_peephole_sel()
Dbrw_vec4_tes.cpp169 src_reg(ATTR, 1, glsl_type::float_type))); in nir_emit_intrinsic()
/external/mesa3d/src/compiler/glsl/
Dir_expression_operation.py84 float_type = type("float", "f", "GLSL_TYPE_FLOAT") 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)
424 …operation("exp", 1, source_types=(float_type,), c_expression="expf({src0})"), # Log base e…
425 …operation("log", 1, source_types=(float_type,), c_expression="logf({src0})"), # Natural lo…
426 operation("exp2", 1, source_types=(float_type,), c_expression="exp2f({src0})"),
427 operation("log2", 1, source_types=(float_type,), c_expression="log2f({src0})"),
430 operation("f2i", 1, source_types=(float_type,), dest_type=int_type, c_expression="(int) {src0}"),
[all …]
Dbuiltin_types.cpp55 glsl_struct_field(glsl_type::float_type, "near"),
56 glsl_struct_field(glsl_type::float_type, "far"),
57 glsl_struct_field(glsl_type::float_type, "diff"),
61 glsl_struct_field(glsl_type::float_type, "size"),
62 glsl_struct_field(glsl_type::float_type, "sizeMin"),
63 glsl_struct_field(glsl_type::float_type, "sizeMax"),
64 glsl_struct_field(glsl_type::float_type, "fadeThresholdSize"),
65 glsl_struct_field(glsl_type::float_type, "distanceConstantAttenuation"),
66 glsl_struct_field(glsl_type::float_type, "distanceLinearAttenuation"),
67 glsl_struct_field(glsl_type::float_type, "distanceQuadraticAttenuation"),
[all …]
Dbuiltin_functions.cpp1232 _read_invocation_intrinsic(glsl_type::float_type), in create_intrinsics()
1249 _read_first_invocation_intrinsic(glsl_type::float_type), in create_intrinsics()
1277 _##NAME(glsl_type::float_type), \ in create_builtins()
1285 _##NAME(always_available, glsl_type::float_type), \ in create_builtins()
1297 _##NAME(v130, glsl_type::float_type), \ in create_builtins()
1309 _##NAME(gpu_shader5_es, glsl_type::float_type), \ in create_builtins()
1321 _##NAME(glsl_type::float_type), \ in create_builtins()
1333 _##NAME(always_available, glsl_type::float_type), \ in create_builtins()
1423 _##NAME(always_available, glsl_type::float_type, glsl_type::float_type), \ in create_builtins()
1424 _##NAME(always_available, glsl_type::vec2_type, glsl_type::float_type), \ in create_builtins()
[all …]
Dlower_blend_equation_advanced.cpp220 ir_variable *llum = f->make_temp(glsl_type::float_type, "__blend_lum"); in set_lum()
221 ir_variable *mincol = f->make_temp(glsl_type::float_type, "__blend_mincol"); in set_lum()
222 ir_variable *maxcol = f->make_temp(glsl_type::float_type, "__blend_maxcol"); in set_lum()
254 ir_variable *sbase = f->make_temp(glsl_type::float_type, "__blend_sbase"); in set_lum_sat()
300 ir_variable *src_alpha = f.make_temp(glsl_type::float_type, "__blend_src_a"); in calc_blend_result()
307 ir_variable *dst_alpha = f.make_temp(glsl_type::float_type, "__blend_dst_a"); in calc_blend_result()
401 ir_variable *p0 = f.make_temp(glsl_type::float_type, "__blend_p0"); in calc_blend_result()
402 ir_variable *p1 = f.make_temp(glsl_type::float_type, "__blend_p1"); in calc_blend_result()
403 ir_variable *p2 = f.make_temp(glsl_type::float_type, "__blend_p2"); in calc_blend_result()
Dlower_tess_level.cpp116 assert(ir->type->fields.array == glsl_type::float_type); in visit()
133 assert(ir->type->fields.array == glsl_type::float_type); in visit()
168 if (ir->type->fields.array != glsl_type::float_type) in is_tess_level_array()
197 if (ir->type->fields.array != glsl_type::float_type) in lower_tess_level_array()
Dlower_distance.cpp183 assert (ir->type->fields.array == glsl_type::float_type); in visit()
198 assert (ir->type->fields.array->fields.array == glsl_type::float_type); in visit()
300 if (ir->type->fields.array != glsl_type::float_type) in is_distance_vec8()
334 if (ir->type->fields.array != glsl_type::float_type) in lower_distance_vec8()
Dir_builder_print_visitor.cpp100 ir->type == glsl_type::float_type || in is_simple_operand()
352 ir->type == glsl_type::float_type || in visit()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp157 const analysis::Float* float_type = element_type->AsFloat(); in FoldVectorTimesScalar() local
158 assert(float_type != nullptr); in FoldVectorTimesScalar()
169 if (float_type->width() == 32) { in FoldVectorTimesScalar()
175 const_mgr->GetConstant(float_type, words); in FoldVectorTimesScalar()
179 } else if (float_type->width() == 64) { in FoldVectorTimesScalar()
186 const_mgr->GetConstant(float_type, words); in FoldVectorTimesScalar()
356 const analysis::Float* float_type = a->type()->AsFloat(); in FoldFToIOp() local
357 assert(float_type != nullptr); in FoldFToIOp()
360 if (float_type->width() == 32) { in FoldFToIOp()
367 } else if (float_type->width() == 64) { in FoldFToIOp()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconst_folding_rules.cpp157 const analysis::Float* float_type = element_type->AsFloat(); in FoldVectorTimesScalar() local
158 assert(float_type != nullptr); in FoldVectorTimesScalar()
169 if (float_type->width() == 32) { in FoldVectorTimesScalar()
175 const_mgr->GetConstant(float_type, words); in FoldVectorTimesScalar()
179 } else if (float_type->width() == 64) { in FoldVectorTimesScalar()
186 const_mgr->GetConstant(float_type, words); in FoldVectorTimesScalar()
356 const analysis::Float* float_type = a->type()->AsFloat(); in FoldFToIOp() local
357 assert(float_type != nullptr); in FoldFToIOp()
360 if (float_type->width() == 32) { in FoldFToIOp()
367 } else if (float_type->width() == 64) { in FoldFToIOp()
[all …]
/external/mesa3d/src/compiler/glsl/tests/
Dopt_add_neg_to_sub_test.cpp52 var_a = new(mem_ctx) ir_variable(glsl_type::float_type, in SetUp()
56 var_b = new(mem_ctx) ir_variable(glsl_type::float_type, in SetUp()
60 var_c = new(mem_ctx) ir_variable(glsl_type::float_type, in SetUp()
/external/swiftshader/third_party/LLVM/test/Bindings/Ocaml/
Dvmcore.ml28 let float_type = Llvm.float_type context var
135 let cs = const_float float_type 2.75 in
137 insist (float_type = type_of cs);
290 ignore (define_global "const_fptrunc" (const_fptrunc ffoldbomb float_type) m);
408 insist (pointer_type float_type ==
409 type_of (declare_global float_type "GVar01" m));
417 insist (qualified_pointer_type float_type 3 ==
418 type_of (declare_qualified_global float_type "QGVar01" 3 m));
854 let f1 = build_uitofp p1 float_type "F1" atentry in
855 let f2 = build_uitofp p2 float_type "F2" atentry in
[all …]
/external/llvm/test/Bindings/OCaml/
Dcore.ml34 let float_type = Llvm.float_type context var
171 let cs = const_float float_type 2.75 in
173 insist (float_type = type_of cs);
342 ignore (define_global "const_fptrunc" (const_fptrunc ffoldbomb float_type) m);
470 insist (pointer_type float_type ==
471 type_of (declare_global float_type "GVar01" m));
479 insist (qualified_pointer_type float_type 3 ==
480 type_of (declare_qualified_global float_type "QGVar01" 3 m));
955 let f1 = build_uitofp p1 float_type "F1" atentry in
956 let f2 = build_uitofp p2 float_type "F2" atentry in
[all …]
/external/deqp/external/openglcts/modules/gl/
Dgl3cClipDistance.hpp409 const std::type_info& float_type = typeid(glw::GLfloat); in useAsShaderInput() local
418 if (buffer_type == float_type) in useAsShaderInput()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc593 llvm::Type* float_type; in EmitCallToRuntime() local
600 float_type = b_->getHalfTy(); in EmitCallToRuntime()
609 float_type = b_->getFloatTy(); in EmitCallToRuntime()
618 float_type = b_->getDoubleTy(); in EmitCallToRuntime()
625 llvm::Type* float_ptr_type = float_type->getPointerTo(); in EmitCallToRuntime()
/external/compiler-rt/cmake/Modules/
DCompilerRTDarwinUtils.cmake434 foreach(float_type SOFT HARD)
436 string(TOLOWER "${float_type}_${type}" lib_suffix)
437 foreach(arch ${DARWIN_${float_type}_FLOAT_ARCHS})
443 set(float_flag ${${float_type}_FLOAT_FLAG})
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bindings/OCaml/
Dcore.ml34 let float_type = Llvm.float_type context var
181 let cs = const_float float_type 2.75 in
183 insist (float_type = type_of cs);
352 ignore (define_global "const_fptrunc" (const_fptrunc ffoldbomb float_type) m);
516 insist (pointer_type float_type ==
517 type_of (declare_global float_type "GVar01" m));
525 insist (qualified_pointer_type float_type 3 ==
526 type_of (declare_qualified_global float_type "QGVar01" 3 m));
995 let f1 = build_uitofp p1 float_type "F1" atentry in
996 let f2 = build_uitofp p2 float_type "F2" atentry in
[all …]
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm.c221 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context); in create_jit_context_type() local
226 elem_types[0] = LLVMArrayType(LLVMPointerType(float_type, 0), /* vs_constants */ in create_jit_context_type()
230 elem_types[2] = LLVMPointerType(LLVMArrayType(LLVMArrayType(float_type, 4), in create_jit_context_type()
232 elem_types[3] = LLVMPointerType(float_type, 0); /* viewports */ in create_jit_context_type()
272 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context); in create_gs_jit_context_type() local
277 elem_types[0] = LLVMArrayType(LLVMPointerType(float_type, 0), /* constants */ in create_gs_jit_context_type()
281 elem_types[2] = LLVMPointerType(LLVMArrayType(LLVMArrayType(float_type, 4), in create_gs_jit_context_type()
283 elem_types[3] = LLVMPointerType(float_type, 0); /* viewports */ in create_gs_jit_context_type()
333 LLVMTypeRef float_type = LLVMFloatTypeInContext(gallivm->context); in create_gs_jit_input_type() local
336 input_array = LLVMVectorType(float_type, TGSI_NUM_CHANNELS); /* num primitives */ in create_gs_jit_input_type()

123