Home
last modified time | relevance | path

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

/openbmc/linux/scripts/gcc-plugins/
H A Drandomize_layout_plugin.c742 const_tree ptr_lhs_type; in find_bad_casts_execute() local
781 ptr_lhs_type = TYPE_MAIN_VARIANT(strip_array_types(TYPE_MAIN_VARIANT(TREE_TYPE(lhs_type)))); in find_bad_casts_execute()
787 if (ptr_lhs_type == void_type_node) in find_bad_casts_execute()
795 if (lookup_attribute("randomize_performed", TYPE_ATTRIBUTES(ptr_lhs_type))) in find_bad_casts_execute()
797 MISMATCH(gimple_location(stmt), "rhs", ptr_lhs_type, ptr_rhs_type); in find_bad_casts_execute()
801 if (rhs_code == SSA_NAME && ptr_lhs_type == ptr_rhs_type) in find_bad_casts_execute()
814 if (op0_type == ptr_lhs_type) in find_bad_casts_execute()
820 MISMATCH(gimple_location(stmt), "op0", ptr_lhs_type, op0_type); in find_bad_casts_execute()
830 MISMATCH(gimple_location(stmt), "ssa", ptr_lhs_type, ptr_rhs_type); in find_bad_casts_execute()