• Home
  • Raw
  • Download

Lines Matching refs:LLVMConstReal

91 	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()
568 LLVMConstReal(f32, -1.0), ""); in build_cube_select()
576 *out_ma = LLVMBuildFMul(builder, tmp, LLVMConstReal(f32, 2.0), ""); in build_cube_select()
627 invma = ac_build_fdiv(ctx, LLVMConstReal(ctx->f32, 1.0), invma); in ac_prepare_cube_coords()
683 coords[i] = LLVMBuildFAdd(builder, coords[i], LLVMConstReal(ctx->f32, 1.5), ""); in ac_prepare_cube_coords()
688 LLVMValueRef tmp = LLVMBuildFMul(ctx->builder, coords_arg[3], LLVMConstReal(ctx->f32, 8.0), ""); in ac_prepare_cube_coords()
1291 LLVMConstReal(ctx->f32, 0), in ac_build_clamp()
1292 LLVMConstReal(ctx->f32, 1), in ac_build_clamp()
1516 LLVMConstReal(ctx->f32, 1), in ac_build_kill_if_false()
1517 LLVMConstReal(ctx->f32, -1), ""); in ac_build_kill_if_false()