fn cast_float_to_int<'a, 'tcx, Bx: BuilderMethods<'a, 'tcx>>( bx: &mut Bx, signed: bool, x: Bx::Value, float_ty: Bx::Type, int_ty: Bx::Type) -> Bx::Value