Lines Matching refs:alloc_call
2913 maybe_wrap_new_for_constexpr (tree alloc_call, tree elt_type, tree cookie_size) in maybe_wrap_new_for_constexpr() argument
2916 return alloc_call; in maybe_wrap_new_for_constexpr()
2920 return alloc_call; in maybe_wrap_new_for_constexpr()
2922 tree call_expr = extract_call_expr (alloc_call); in maybe_wrap_new_for_constexpr()
2924 return alloc_call; in maybe_wrap_new_for_constexpr()
2930 return alloc_call; in maybe_wrap_new_for_constexpr()
2934 return build_nop (build_pointer_type (rtype), alloc_call); in maybe_wrap_new_for_constexpr()
2972 tree alloc_call, alloc_expr; in build_new_1() local
3305 alloc_call = NULL_TREE; in build_new_1()
3310 alloc_call in build_new_1()
3318 if (alloc_call == error_mark_node) in build_new_1()
3319 alloc_call = NULL_TREE; in build_new_1()
3321 if (!alloc_call) in build_new_1()
3322 alloc_call = build_new_method_call (dummy, fns, placement, in build_new_1()
3346 alloc_call = build_operator_new_call (fnname, placement, in build_new_1()
3352 if (alloc_call == error_mark_node) in build_new_1()
3393 && TREE_CODE (alloc_call) == CALL_EXPR in build_new_1()
3394 && call_expr_nargs (alloc_call) == 2 in build_new_1()
3395 && TREE_CODE (TREE_TYPE (CALL_EXPR_ARG (alloc_call, 0))) == INTEGER_TYPE in build_new_1()
3396 && TYPE_PTR_P (TREE_TYPE (CALL_EXPR_ARG (alloc_call, 1)))) in build_new_1()
3398 tree placement = CALL_EXPR_ARG (alloc_call, 1); in build_new_1()
3405 CALL_EXPR_ARG (alloc_call, 1) in build_new_1()
3410 && VOID_TYPE_P (TREE_TYPE (TREE_TYPE (CALL_EXPR_ARG (alloc_call, 1))))) in build_new_1()
3420 tree alloc_call_expr = extract_call_expr (alloc_call); in build_new_1()
3424 alloc_expr = alloc_call; in build_new_1()
3426 alloc_expr = maybe_wrap_new_for_constexpr (alloc_call, type, in build_new_1()
3440 while (TREE_CODE (alloc_call) == COMPOUND_EXPR) in build_new_1()
3441 alloc_call = TREE_OPERAND (alloc_call, 1); in build_new_1()
3448 stabilize_call (alloc_call, &inits); in build_new_1()
3684 placement_allocation_fn_p ? alloc_call : NULL_TREE, in build_new_1()