Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/common/
Dac_llvm_util.c165 args[0] = LLVMConstReal(ctx->f32, 2.5); in ac_llvm_context_init()
393 selcoords->ma, LLVMConstReal(f32, 0.0), ""); in build_cube_select()
395 LLVMConstReal(f32, 1.0), LLVMConstReal(f32, -1.0), ""); in build_cube_select()
397 is_ma_z = LLVMBuildFCmp(builder, LLVMRealUGE, selcoords->id, LLVMConstReal(f32, 4.0), ""); in build_cube_select()
400 LLVMBuildFCmp(builder, LLVMRealUGE, selcoords->id, LLVMConstReal(f32, 2.0), ""), ""); in build_cube_select()
405 sgn = LLVMBuildSelect(builder, is_ma_y, LLVMConstReal(f32, 1.0), in build_cube_select()
413 LLVMConstReal(f32, -1.0), ""); in build_cube_select()
420 LLVMConstReal(f32, 2.0), LLVMConstReal(f32, -2.0), ""); in build_cube_select()
440 invma = ac_emit_fdiv(ctx, LLVMConstReal(ctx->f32, 1.0), invma); in ac_prepare_cube_coords()
496 coords[i] = LLVMBuildFAdd(builder, coords[i], LLVMConstReal(ctx->f32, 1.5), ""); in ac_prepare_cube_coords()
[all …]
Dac_nir_to_llvm.c567 ctx->f32zero = LLVMConstReal(ctx->f32, 0.0); in setup_types()
568 ctx->f32one = LLVMConstReal(ctx->f32, 1.0); in setup_types()
584 args[0] = LLVMConstReal(ctx->f32, 2.5); in setup_types()
871 val = LLVMBuildSelect(ctx->builder, cmp, val, LLVMConstReal(ctx->f32, -1.0), ""); in emit_fsign()
923 …return LLVMBuildAnd(ctx->builder, src0, LLVMBuildBitCast(ctx->builder, LLVMConstReal(ctx->f32, 1.0… in emit_b2f()
1629 LLVMConstReal(ctx->f32, -0.5), ""); in radv_lower_gather4_integer()
2629 LLVMConstReal(ctx->f32, -1.0f), in emit_discard_if()
2787 LLVMValueRef halfval = LLVMConstReal(ctx->f32, 0.5f); in visit_interp()
3964 v = emit_intrin_2f_param(ctx, "llvm.maxnum.f32", v, LLVMConstReal(ctx->f32, lo)); in emit_float_saturate()
3965 return emit_intrin_2f_param(ctx, "llvm.minnum.f32", v, LLVMConstReal(ctx->f32, hi)); in emit_float_saturate()
[all …]
/external/mesa3d/src/gallium/auxiliary/gallivm/
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_const.h133 return LLVMConstReal(LLVMFloatTypeInContext(gallivm->context), x); in lp_build_const_float()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.c468 LLVMValueRef neg_one = LLVMConstReal(ctx->f32, -1.0); in declare_input_vs()
487 LLVMConstReal(ctx->f32, 1.0 / UINT_MAX), ""); in declare_input_vs()
491 out[3] = LLVMConstReal(ctx->f32, 1); in declare_input_vs()
509 LLVMConstReal(ctx->f32, scale), ""); in declare_input_vs()
514 out[3] = LLVMConstReal(ctx->f32, 1); in declare_input_vs()
4877 half_texel[0] = half_texel[1] = LLVMConstReal(ctx->f32, -0.5); in si_lower_gather4_integer()
4903 LLVMConstReal(ctx->f32, -0.5), ""); in si_lower_gather4_integer()
6015 bit = LLVMBuildSelect(builder, bit, LLVMConstReal(ctx->f32, 0), in si_llvm_emit_polygon_stipple()
6016 LLVMConstReal(ctx->f32, -1), ""); in si_llvm_emit_polygon_stipple()
Dsi_shader_tgsi_alu.c360 val = LLVMBuildSelect(builder, cmp, val, LLVMConstReal(bld_base->base.elem_type, -1), ""); in emit_ssg()
/external/swiftshader/third_party/LLVM/include/llvm-c/
DCore.h580 LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N);
/external/llvm/include/llvm-c/
DCore.h1586 LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N);
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm_ocaml.c637 return LLVMConstReal(RealTy, Double_val(N)); in llvm_const_float()
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c799 return LLVMConstReal(RealTy, Double_val(N)); in llvm_const_float()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DCore.cpp589 LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N) { in LLVMConstReal() function
/external/llvm/lib/IR/
DCore.cpp945 LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N) { in LLVMConstReal() function
/external/llvm/bindings/go/llvm/
Dir.go778 v.C = C.LLVMConstReal(t.C, C.double(n))