Lines Matching defs:alloc_decl
1759 /* ALLOC_DECL and DEALLOC_DECL are pair of allocation and deallocation
1764 matching_alloc_calls_p (tree alloc_decl, tree dealloc_decl)
1766 /* Set to alloc_kind_t::builtin if ALLOC_DECL is associated with
1771 if (DECL_IS_OPERATOR_NEW_P (alloc_decl))
1776 return !new_delete_mismatch_p (alloc_decl, dealloc_decl);
1787 else if (fndecl_built_in_p (alloc_decl, BUILT_IN_NORMAL))
1789 switch (DECL_FUNCTION_CODE (alloc_decl))
1826 for (tree amats = DECL_ATTRIBUTES (alloc_decl);
1844 const bool alloc_builtin = fndecl_built_in_p (alloc_decl, BUILT_IN_NORMAL);
1848 of its associated allocation functions for ALLOC_DECL.
1849 If the corresponding ALLOC_DECL is found they're a matching pair,
1889 if (DECL_FUNCTION_CODE (alloc) != DECL_FUNCTION_CODE (alloc_decl))
1895 if (alloc == DECL_NAME (alloc_decl))
1911 for (tree amats = DECL_ATTRIBUTES (alloc_decl);
1955 /* Succeed only if ALLOC_DECL and the reallocator DEALLOC_DECL share
1967 tree alloc_decl = gimple_call_fndecl (alloc);
1968 if (!alloc_decl)
1971 return matching_alloc_calls_p (alloc_decl, dealloc_decl);
2000 tree alloc_decl = gimple_call_fndecl (def_stmt);
2001 if (!alloc_decl || !DECL_IS_OPERATOR_NEW_P (alloc_decl))
2034 tree alloc_decl = gimple_call_fndecl (def_stmt);
2035 if (alloc_decl)
2037 "returned from %qD", alloc_decl);
3744 tree alloc_decl = gimple_call_fndecl (def_stmt);
3746 (DECL_IS_OPERATOR_NEW_P (alloc_decl)