/external/mesa3d/src/intel/compiler/ |
D | test_fs_saturate_propagation.cpp | 104 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 …]
|
D | test_fs_cmod_propagation.cpp | 104 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 …]
|
D | test_vec4_cmod_propagation.cpp | 146 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 …]
|
D | test_fs_copy_propagation.cpp | 104 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()
|
D | test_vec4_register_coalesce.cpp | 129 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()
|
D | brw_fs_visitor.cpp | 193 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()
|
D | brw_fs_sel_peephole.cpp | 201 src0 = vgrf(glsl_type::float_type); in opt_peephole_sel()
|
D | brw_vec4_tes.cpp | 169 src_reg(ATTR, 1, glsl_type::float_type))); in nir_emit_intrinsic()
|
/external/mesa3d/src/compiler/glsl/ |
D | ir_expression_operation.py | 84 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 …]
|
D | builtin_types.cpp | 55 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 …]
|
D | builtin_functions.cpp | 1232 _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 …]
|
D | lower_blend_equation_advanced.cpp | 220 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()
|
D | lower_tess_level.cpp | 116 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()
|
D | lower_distance.cpp | 183 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()
|
D | ir_builder_print_visitor.cpp | 100 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/ |
D | const_folding_rules.cpp | 157 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/ |
D | const_folding_rules.cpp | 157 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/ |
D | opt_add_neg_to_sub_test.cpp | 52 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/ |
D | vmcore.ml | 28 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/ |
D | core.ml | 34 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/ |
D | gl3cClipDistance.hpp | 409 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/ |
D | dot_op_emitter.cc | 593 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/ |
D | CompilerRTDarwinUtils.cmake | 434 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/ |
D | core.ml | 34 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/ |
D | draw_llvm.c | 221 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()
|