Lines Matching defs:dealloc_decl
1759 /* ALLOC_DECL and DEALLOC_DECL are pair of allocation and deallocation
1764 matching_alloc_calls_p (tree alloc_decl, tree dealloc_decl)
1773 if (DECL_IS_OPERATOR_DELETE_P (dealloc_decl))
1776 return !new_delete_mismatch_p (alloc_decl, dealloc_decl);
1780 if (fndecl_built_in_p (dealloc_decl, BUILT_IN_FREE)
1781 || fndecl_built_in_p (dealloc_decl, BUILT_IN_REALLOC))
1802 if (DECL_IS_OPERATOR_DELETE_P (dealloc_decl))
1805 if (fndecl_built_in_p (dealloc_decl, BUILT_IN_FREE)
1806 || fndecl_built_in_p (dealloc_decl, BUILT_IN_REALLOC))
1817 /* Set if DEALLOC_DECL both allocates and deallocates. */
1820 if (fndecl_built_in_p (dealloc_decl, BUILT_IN_NORMAL))
1822 built_in_function dealloc_code = DECL_FUNCTION_CODE (dealloc_decl);
1847 /* If DEALLOC_DECL has an internal "*dealloc" attribute scan the list
1852 for (tree ddats = DECL_ATTRIBUTES (dealloc_decl);
1864 if (alloc == DECL_NAME (dealloc_decl))
1932 for (tree rmats = DECL_ATTRIBUTES (dealloc_decl);
1955 /* Succeed only if ALLOC_DECL and the reallocator DEALLOC_DECL share
1961 /* Return true if DEALLOC_DECL is a function suitable to deallocate
1965 matching_alloc_calls_p (gimple *alloc, tree dealloc_decl)
1971 return matching_alloc_calls_p (alloc_decl, dealloc_decl);
1985 tree dealloc_decl = gimple_call_fndecl (call);
1986 if (!dealloc_decl)
1989 if (DECL_IS_OPERATOR_DELETE_P (dealloc_decl)
1990 && !DECL_IS_REPLACEABLE_OPERATOR (dealloc_decl))
2023 dealloc_decl, aref.ref, offstr))
3684 tree dealloc_decl = fndecl;
3693 dealloc_decl, ref))
3710 "object %qE", dealloc_decl, ref))
3737 if (matching_alloc_calls_p (def_stmt, dealloc_decl))
3747 || DECL_IS_OPERATOR_DELETE_P (dealloc_decl)
3753 "function", dealloc_decl);
3762 dealloc_decl);
4058 tree dealloc_decl = gimple_call_fndecl (stmt);
4062 dealloc_decl, ptr, realloc_decl))
4067 dealloc_decl, realloc_decl))