Home
last modified time | relevance | path

Searched refs:cast_lhs (Results 1 – 25 of 26) sorted by relevance

12

/dports/lang/rust/rustc-1.58.1-src/src/tools/clippy/clippy_lints/src/
H A Dptr_offset_with_cast.rs125 let cast_lhs = snippet_opt(cx, cast_lhs_expr.span)?; in build_suggestion() localVariable
126 Some(format!("{}.{}({})", receiver, method.suggestion(), cast_lhs)) in build_suggestion()
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/
H A Dtree-ssa-math-opts.c3883 tree cast_lhs = NULL_TREE; in match_arith_overflow() local
3929 cast_lhs = gimple_assign_lhs (use_stmt); in match_arith_overflow()
3930 if (INTEGRAL_TYPE_P (TREE_TYPE (cast_lhs)) in match_arith_overflow()
3931 && !TYPE_UNSIGNED (TREE_TYPE (cast_lhs)) in match_arith_overflow()
3932 && (TYPE_PRECISION (TREE_TYPE (cast_lhs)) in match_arith_overflow()
3936 cast_lhs = NULL_TREE; in match_arith_overflow()
3950 FOR_EACH_IMM_USE_FAST (use_p, iter, cast_lhs) in match_arith_overflow()
3964 cast_lhs = NULL_TREE; in match_arith_overflow()
4155 type = TREE_TYPE (cast_lhs); in match_arith_overflow()
4233 FOR_EACH_IMM_USE_STMT (use_stmt, iter, cast_lhs ? cast_lhs : lhs) in match_arith_overflow()
H A Dgimple-ssa-strength-reduction.c3616 tree cast_lhs; in introduce_cast_before_cand() local
3620 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3621 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3631 return cast_lhs; in introduce_cast_before_cand()
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/
H A Dtree-ssa-math-opts.c3896 tree cast_lhs = NULL_TREE; in match_arith_overflow() local
3942 cast_lhs = gimple_assign_lhs (use_stmt); in match_arith_overflow()
3943 if (INTEGRAL_TYPE_P (TREE_TYPE (cast_lhs)) in match_arith_overflow()
3944 && !TYPE_UNSIGNED (TREE_TYPE (cast_lhs)) in match_arith_overflow()
3945 && (TYPE_PRECISION (TREE_TYPE (cast_lhs)) in match_arith_overflow()
3949 cast_lhs = NULL_TREE; in match_arith_overflow()
3963 FOR_EACH_IMM_USE_FAST (use_p, iter, cast_lhs) in match_arith_overflow()
3977 cast_lhs = NULL_TREE; in match_arith_overflow()
4168 type = TREE_TYPE (cast_lhs); in match_arith_overflow()
4246 FOR_EACH_IMM_USE_STMT (use_stmt, iter, cast_lhs ? cast_lhs : lhs) in match_arith_overflow()
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/
H A Dtree-ssa-math-opts.c3883 tree cast_lhs = NULL_TREE; in match_arith_overflow() local
3929 cast_lhs = gimple_assign_lhs (use_stmt); in match_arith_overflow()
3930 if (INTEGRAL_TYPE_P (TREE_TYPE (cast_lhs)) in match_arith_overflow()
3931 && !TYPE_UNSIGNED (TREE_TYPE (cast_lhs)) in match_arith_overflow()
3932 && (TYPE_PRECISION (TREE_TYPE (cast_lhs)) in match_arith_overflow()
3936 cast_lhs = NULL_TREE; in match_arith_overflow()
3950 FOR_EACH_IMM_USE_FAST (use_p, iter, cast_lhs) in match_arith_overflow()
3964 cast_lhs = NULL_TREE; in match_arith_overflow()
4155 type = TREE_TYPE (cast_lhs); in match_arith_overflow()
4233 FOR_EACH_IMM_USE_STMT (use_stmt, iter, cast_lhs ? cast_lhs : lhs) in match_arith_overflow()
H A Dgimple-ssa-strength-reduction.c3616 tree cast_lhs; in introduce_cast_before_cand() local
3620 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3621 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3631 return cast_lhs; in introduce_cast_before_cand()
/dports/lang/gcc11/gcc-11.2.0/gcc/
H A Dtree-ssa-math-opts.c3883 tree cast_lhs = NULL_TREE; in match_arith_overflow() local
3929 cast_lhs = gimple_assign_lhs (use_stmt); in match_arith_overflow()
3930 if (INTEGRAL_TYPE_P (TREE_TYPE (cast_lhs)) in match_arith_overflow()
3931 && !TYPE_UNSIGNED (TREE_TYPE (cast_lhs)) in match_arith_overflow()
3932 && (TYPE_PRECISION (TREE_TYPE (cast_lhs)) in match_arith_overflow()
3936 cast_lhs = NULL_TREE; in match_arith_overflow()
3950 FOR_EACH_IMM_USE_FAST (use_p, iter, cast_lhs) in match_arith_overflow()
3964 cast_lhs = NULL_TREE; in match_arith_overflow()
4155 type = TREE_TYPE (cast_lhs); in match_arith_overflow()
4233 FOR_EACH_IMM_USE_STMT (use_stmt, iter, cast_lhs ? cast_lhs : lhs) in match_arith_overflow()
H A Dgimple-ssa-strength-reduction.c3616 tree cast_lhs; in introduce_cast_before_cand() local
3620 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3621 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3631 return cast_lhs; in introduce_cast_before_cand()
/dports/lang/gcc48/gcc-4.8.5/gcc/
H A Dgimple-ssa-strength-reduction.c2324 tree cast_lhs; in introduce_cast_before_cand() local
2329 cast_lhs = make_ssa_name (*new_var, NULL); in introduce_cast_before_cand()
2330 cast_stmt = gimple_build_assign_with_ops (NOP_EXPR, cast_lhs, in introduce_cast_before_cand()
2341 return cast_lhs; in introduce_cast_before_cand()
/dports/devel/mingw32-gcc/gcc-4.8.1/gcc/
H A Dgimple-ssa-strength-reduction.c2309 tree cast_lhs; in introduce_cast_before_cand() local
2314 cast_lhs = make_ssa_name (*new_var, NULL); in introduce_cast_before_cand()
2315 cast_stmt = gimple_build_assign_with_ops (NOP_EXPR, cast_lhs, in introduce_cast_before_cand()
2326 return cast_lhs; in introduce_cast_before_cand()
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/gcc/
H A Dgimple-ssa-strength-reduction.c3261 tree cast_lhs; in introduce_cast_before_cand() local
3265 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3266 cast_stmt = gimple_build_assign_with_ops (NOP_EXPR, cast_lhs, in introduce_cast_before_cand()
3277 return cast_lhs; in introduce_cast_before_cand()
/dports/lang/gnat_util/gcc-6-20180516/gcc/
H A Dgimple-ssa-strength-reduction.c3262 tree cast_lhs; in introduce_cast_before_cand() local
3266 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3267 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3277 return cast_lhs; in introduce_cast_before_cand()
/dports/lang/gcc6-aux/gcc-6-20180516/gcc/
H A Dgimple-ssa-strength-reduction.c3262 tree cast_lhs; in introduce_cast_before_cand() local
3266 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3267 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3277 return cast_lhs; in introduce_cast_before_cand()
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/
H A Dgimple-ssa-strength-reduction.c3614 tree cast_lhs; in introduce_cast_before_cand() local
3618 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3619 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3629 return cast_lhs; in introduce_cast_before_cand()
/dports/lang/gcc9/gcc-9.4.0/gcc/
H A Dgimple-ssa-strength-reduction.c3614 tree cast_lhs; in introduce_cast_before_cand() local
3618 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3619 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3629 return cast_lhs; in introduce_cast_before_cand()
/dports/devel/avr-gcc/gcc-10.2.0/gcc/
H A Dgimple-ssa-strength-reduction.c3616 tree cast_lhs; in introduce_cast_before_cand() local
3620 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3621 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3631 return cast_lhs; in introduce_cast_before_cand()
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/
H A Dgimple-ssa-strength-reduction.c3614 tree cast_lhs; in introduce_cast_before_cand() local
3618 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3619 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3629 return cast_lhs; in introduce_cast_before_cand()
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/
H A Dgimple-ssa-strength-reduction.c3616 tree cast_lhs; in introduce_cast_before_cand() local
3620 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3621 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3631 return cast_lhs; in introduce_cast_before_cand()
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/
H A Dgimple-ssa-strength-reduction.c3614 tree cast_lhs; in introduce_cast_before_cand() local
3618 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3619 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3629 return cast_lhs; in introduce_cast_before_cand()
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/
H A Dgimple-ssa-strength-reduction.c3614 tree cast_lhs; in introduce_cast_before_cand() local
3618 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3619 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3629 return cast_lhs; in introduce_cast_before_cand()
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/
H A Dgimple-ssa-strength-reduction.c3614 tree cast_lhs; in introduce_cast_before_cand() local
3618 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3619 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3629 return cast_lhs; in introduce_cast_before_cand()
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/
H A Dgimple-ssa-strength-reduction.c3614 tree cast_lhs; in introduce_cast_before_cand() local
3618 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3619 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3629 return cast_lhs; in introduce_cast_before_cand()
/dports/lang/gcc10/gcc-10.3.0/gcc/
H A Dgimple-ssa-strength-reduction.c3616 tree cast_lhs; in introduce_cast_before_cand() local
3620 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3621 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3631 return cast_lhs; in introduce_cast_before_cand()
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/
H A Dgimple-ssa-strength-reduction.c3614 tree cast_lhs; in introduce_cast_before_cand() local
3618 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3619 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3629 return cast_lhs; in introduce_cast_before_cand()
/dports/lang/gcc8/gcc-8.5.0/gcc/
H A Dgimple-ssa-strength-reduction.c3614 tree cast_lhs; in introduce_cast_before_cand() local
3618 cast_lhs = make_temp_ssa_name (to_type, NULL, "slsr"); in introduce_cast_before_cand()
3619 cast_stmt = gimple_build_assign (cast_lhs, NOP_EXPR, from_expr); in introduce_cast_before_cand()
3629 return cast_lhs; in introduce_cast_before_cand()

12