Home
last modified time | relevance | path

Searched refs:LLVMConstReal (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_const.h138 return LLVMConstReal(LLVMFloatTypeInContext(gallivm->context), x); in lp_build_const_float()
144 return LLVMConstReal(LLVMDoubleTypeInContext(gallivm->context), x); in lp_build_const_double()
Dlp_bld_const.c262 elems[0] = LLVMConstReal(elem_type, 1.0); in lp_build_one()
309 elem = LLVMConstReal(elem_type, val); in lp_build_const_elem()
Dlp_bld_nir_soa.c2032 …LLVMValueRef flt_max = bit_size == 64 ? LLVMConstReal(LLVMDoubleTypeInContext(gallivm->context), I… in emit_reduce()
2033 …(bit_size == 16 ? LLVMConstReal(LLVMHalfTypeInContext(gallivm->context), INFINITY) : lp_build_cons… in emit_reduce()
2038 …LLVMValueRef flt_min = bit_size == 64 ? LLVMConstReal(LLVMDoubleTypeInContext(gallivm->context), -… in emit_reduce()
2039 …(bit_size == 16 ? LLVMConstReal(LLVMHalfTypeInContext(gallivm->context), -INFINITY) : lp_build_con… in emit_reduce()
2044 …LLVMValueRef flt_one = bit_size == 64 ? LLVMConstReal(LLVMDoubleTypeInContext(gallivm->context), 1… in emit_reduce()
2045 …(bit_size == 16 ? LLVMConstReal(LLVMHalfTypeInContext(gallivm->context), 1.0) : lp_build_const_flo… in emit_reduce()
/third_party/mesa3d/src/amd/llvm/
Dac_llvm_build.c110 ctx->f16_0 = LLVMConstReal(ctx->f16, 0.0); in ac_llvm_context_init()
111 ctx->f16_1 = LLVMConstReal(ctx->f16, 1.0); in ac_llvm_context_init()
112 ctx->f32_0 = LLVMConstReal(ctx->f32, 0.0); in ac_llvm_context_init()
113 ctx->f32_1 = LLVMConstReal(ctx->f32, 1.0); in ac_llvm_context_init()
114 ctx->f64_0 = LLVMConstReal(ctx->f64, 0.0); in ac_llvm_context_init()
115 ctx->f64_1 = LLVMConstReal(ctx->f64, 1.0); in ac_llvm_context_init()
806 is_ma_positive = LLVMBuildFCmp(builder, LLVMRealUGE, selcoords->ma, LLVMConstReal(f32, 0.0), ""); in build_cube_select()
807 sgn_ma = LLVMBuildSelect(builder, is_ma_positive, LLVMConstReal(f32, 1.0), in build_cube_select()
808 LLVMConstReal(f32, -1.0), ""); in build_cube_select()
810 is_ma_z = LLVMBuildFCmp(builder, LLVMRealUGE, selcoords->id, LLVMConstReal(f32, 4.0), ""); in build_cube_select()
[all …]
Dac_llvm_cull.c158 LLVMConstReal(ctx->f32, t), ""); in cull_bbox()
Dac_nir_to_llvm.c701 LLVMConstReal(ac_to_float_type(&ctx->ac, def_type), FLT_MAX)); in visit_alu()
851 LLVMConstReal(ac_to_float_type(&ctx->ac, def_type), FLT_MAX)); in visit_alu()
1215 LLVMValueRef offset = LLVMConstReal(ctx->ac.f32, 0.5); in visit_alu()
1415 half_texel[0] = half_texel[1] = LLVMConstReal(ctx->f32, -0.5); in lower_gather4_integer()
1435 default_offset = LLVMConstReal(ctx->f32, -0.5); in lower_gather4_integer()
1463 LLVMBuildFMul(ctx->builder, half_texel[c], LLVMConstReal(ctx->f32, -0.5), ""); in lower_gather4_integer()
3310 LLVMValueRef halfval = LLVMConstReal(ctx->ac.f32, 0.5f); in barycentric_at_sample()
3545 LLVMConstReal(ctx->ac.f32, 0.0625), ""), ""); in emit_load_frag_coord()
4763 filler = LLVMConstReal(args.a16 ? ctx->ac.f16 : ctx->ac.f32, 0.5); in visit_tex()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_llvm_ps.c55 LLVMConstReal(ctx->ac.f32, 0), LLVMConstReal(ctx->ac.f32, 0)}; in load_sample_position()
233 LLVMConstReal(ctx->ac.f32, 1.0 / SI_NUM_SMOOTH_AA_SAMPLES), ""); in si_scale_alpha_by_sample_mask()
420 color[3] = LLVMConstReal(LLVMTypeOf(color[0]), 1); in si_export_mrt_color()
Dsi_shader_llvm_vs.c208 fetches[3] = LLVMConstReal(float_type, 1); in load_input_vs()
241 LLVMValueRef neg_one = LLVMConstReal(float_type, -1.0); in load_input_vs()
790 outputs[i].values[j] = LLVMConstReal(ctx->ac.f32, 0); in si_llvm_emit_vs_epilogue()
/third_party/ltp/tools/sparse/sparse-src/
Dsparse-llvm.c964 target = LLVMConstReal(dtype, insn->fvalue); in output_op_setfval()
1203 initial_value = LLVMConstReal(symbol_type(sym), initializer->fvalue); in output_data()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c3195 sample_pos_arr[i * 2] = LLVMConstReal(flt_type, lp_sample_pos_4x[i][0]); in generate_fragment()
3196 sample_pos_arr[i * 2 + 1] = LLVMConstReal(flt_type, lp_sample_pos_4x[i][1]); in generate_fragment()
3201 sample_pos_arr[0] = LLVMConstReal(flt_type, 0.5); in generate_fragment()
3202 sample_pos_arr[1] = LLVMConstReal(flt_type, 0.5); in generate_fragment()
/third_party/flutter/skia/src/sksl/
DSkSLJIT.cpp1040 return LLVMConstReal(this->getType(expr.fType), ((FloatLiteral&) expr).fValue); in compileExpression()
1584 LLVMValueRef value = LLVMConstReal(this->getType(f.fType), f.fValue); in compileVectorFloatLiteral()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm-c/
DCore.h1912 LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N);
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_to_llvm.c635 LLVMValueRef neg_one = LLVMConstReal(ctx->ac.f32, -1.0); in adjust_vertex_fetch_alpha()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DCore.cpp1324 LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N) { in LLVMConstReal() function