Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/common/
Dac_llvm_build.c91 ctx->f32_0 = LLVMConstReal(ctx->f32, 0.0); in ac_llvm_context_init()
92 ctx->f32_1 = LLVMConstReal(ctx->f32, 1.0); in ac_llvm_context_init()
93 ctx->f64_0 = LLVMConstReal(ctx->f64, 0.0); in ac_llvm_context_init()
94 ctx->f64_1 = LLVMConstReal(ctx->f64, 1.0); in ac_llvm_context_init()
107 args[0] = LLVMConstReal(ctx->f32, 2.5); in ac_llvm_context_init()
548 selcoords->ma, LLVMConstReal(f32, 0.0), ""); in build_cube_select()
550 LLVMConstReal(f32, 1.0), LLVMConstReal(f32, -1.0), ""); in build_cube_select()
552 is_ma_z = LLVMBuildFCmp(builder, LLVMRealUGE, selcoords->id, LLVMConstReal(f32, 4.0), ""); in build_cube_select()
555 LLVMBuildFCmp(builder, LLVMRealUGE, selcoords->id, LLVMConstReal(f32, 2.0), ""), ""); in build_cube_select()
560 sgn = LLVMBuildSelect(builder, is_ma_y, LLVMConstReal(f32, 1.0), in build_cube_select()
[all …]
Dac_nir_to_llvm.c1390 val = LLVMBuildSelect(ctx->builder, cmp, val, LLVMConstReal(type, -1.0), ""); in emit_fsign()
1453 …return LLVMBuildAnd(ctx->builder, src0, LLVMBuildBitCast(ctx->builder, LLVMConstReal(ctx->f32, 1.0… in emit_b2f()
2220 LLVMConstReal(ctx->f32, -0.5), ""); in radv_lower_gather4_integer()
4135 LLVMValueRef halfval = LLVMConstReal(ctx->ac.f32, 0.5f); in visit_interp()
5046 filler = LLVMConstReal(ctx->ac.f32, 0.5); in visit_tex()
5770 v = emit_intrin_2f_param(ctx, "llvm.maxnum", ctx->f32, v, LLVMConstReal(ctx->f32, lo)); in emit_float_saturate()
5771 return emit_intrin_2f_param(ctx, "llvm.minnum", ctx->f32, v, LLVMConstReal(ctx->f32, hi)); in emit_float_saturate()
5864 LLVMConstReal(ctx->ac.f32, 65535), ""); in si_llvm_init_export_args()
5866 LLVMConstReal(ctx->ac.f32, 0.5), ""); in si_llvm_init_export_args()
5880 LLVMConstReal(ctx->ac.f32, 32767), ""); in si_llvm_init_export_args()
[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.c653 LLVMValueRef neg_one = LLVMConstReal(ctx->f32, -1.0); in si_llvm_load_input_vs()
671 LLVMConstReal(ctx->f32, 1.0 / UINT_MAX), ""); in si_llvm_load_input_vs()
675 out[3] = LLVMConstReal(ctx->f32, 1); in si_llvm_load_input_vs()
692 LLVMConstReal(ctx->f32, scale), ""); in si_llvm_load_input_vs()
697 out[3] = LLVMConstReal(ctx->f32, 1); in si_llvm_load_input_vs()
718 out[2] = LLVMConstReal(ctx->f32, 0); in si_llvm_load_input_vs()
719 out[3] = LLVMConstReal(ctx->f32, 1); in si_llvm_load_input_vs()
725 out[3] = LLVMConstReal(ctx->f32, 1); in si_llvm_load_input_vs()
744 out[3] = LLVMConstReal(ctx->f32, 1); in si_llvm_load_input_vs()
1804 result[2] = LLVMConstReal(ctx->f32, 0.0f); in interp_fs_input()
[all …]
Dsi_shader_tgsi_alu.c369 val = LLVMBuildSelect(builder, cmp, val, LLVMConstReal(bld_base->dbl_bld.elem_type, -1), ""); in emit_ssg()
374 val = LLVMBuildSelect(builder, cmp, val, LLVMConstReal(ctx->f32, -1), ""); in emit_ssg()
Dsi_shader_tgsi_mem.c1477 filler = LLVMConstReal(ctx->f32, 0.5); in tex_fetch_args()
1717 half_texel[0] = half_texel[1] = LLVMConstReal(ctx->f32, -0.5); in si_lower_gather4_integer()
1747 LLVMConstReal(ctx->f32, -0.5), ""); in si_lower_gather4_integer()
Dsi_shader_tgsi_setup.c1061 LLVMValueRef arg = LLVMConstReal(ctx->ac.f32, 2.5); in si_llvm_context_init()
/external/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()
/external/skqp/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()
/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-7.0/llvm/include/llvm-c/
DCore.h1774 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/swiftshader/third_party/llvm-7.0/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c882 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))
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/go/llvm/
Dir.go806 v.C = C.LLVMConstReal(t.C, C.double(n))
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DCore.cpp1136 LLVMValueRef LLVMConstReal(LLVMTypeRef RealTy, double N) { in LLVMConstReal() function