/external/mesa3d/src/amd/common/ |
D | ac_llvm_util.c | 165 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 …]
|
D | ac_nir_to_llvm.c | 567 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/ |
D | lp_bld_const.c | 262 elems[0] = LLVMConstReal(elem_type, 1.0); in lp_build_one() 309 elem = LLVMConstReal(elem_type, val); in lp_build_const_elem()
|
D | lp_bld_const.h | 133 return LLVMConstReal(LLVMFloatTypeInContext(gallivm->context), x); in lp_build_const_float()
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_shader.c | 468 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()
|
D | si_shader_tgsi_alu.c | 360 val = LLVMBuildSelect(builder, cmp, val, LLVMConstReal(bld_base->base.elem_type, -1), ""); in emit_ssg()
|
/external/swiftshader/third_party/LLVM/include/llvm-c/ |
D | Core.h | 580 LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N);
|
/external/llvm/include/llvm-c/ |
D | Core.h | 1586 LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N);
|
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 637 return LLVMConstReal(RealTy, Double_val(N)); in llvm_const_float()
|
/external/llvm/bindings/ocaml/llvm/ |
D | llvm_ocaml.c | 799 return LLVMConstReal(RealTy, Double_val(N)); in llvm_const_float()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Core.cpp | 589 LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N) { in LLVMConstReal() function
|
/external/llvm/lib/IR/ |
D | Core.cpp | 945 LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N) { in LLVMConstReal() function
|
/external/llvm/bindings/go/llvm/ |
D | ir.go | 778 v.C = C.LLVMConstReal(t.C, C.double(n))
|