Lines Matching refs:pfn

3343 	     (op0.pfn == op1.pfn
3344 && (!op0.pfn || op0.delta == op1.delta))
3346 The reason for the `!op0.pfn' bit is that a NULL
5974 build_ptrmemfunc1 (tree type, tree delta, tree pfn)
5990 CONSTRUCTOR_APPEND_ELT(v, pfn_field, pfn);
5993 TREE_CONSTANT (u) = TREE_CONSTANT (pfn) & TREE_CONSTANT (delta);
5994 TREE_INVARIANT (u) = TREE_INVARIANT (pfn) & TREE_INVARIANT (delta);
5996 && (initializer_constant_valid_p (pfn, TREE_TYPE (pfn))
6015 build_ptrmemfunc (tree type, tree pfn, int force, bool c_cast_p)
6021 if (error_operand_p (pfn))
6024 pfn_type = TREE_TYPE (pfn);
6035 && !can_convert_arg (to_type, TREE_TYPE (pfn), pfn, LOOKUP_NORMAL))
6048 if (TREE_CODE (pfn) != PTRMEM_CST)
6051 return pfn;
6053 return build_reinterpret_cast (to_type, pfn);
6056 if (TREE_SIDE_EFFECTS (pfn))
6057 pfn = save_expr (pfn);
6060 if (TREE_CODE (pfn) == PTRMEM_CST)
6061 expand_ptrmemfunc_cst (pfn, &delta, &npfn);
6064 npfn = build_ptrmemfunc_access_expr (pfn, pfn_identifier);
6065 delta = build_ptrmemfunc_access_expr (pfn, delta_identifier);
6078 if (integer_zerop (pfn))
6080 pfn = build_c_cast (type, integer_zero_node);
6083 pfn);
6086 if (type_unknown_p (pfn))
6087 return instantiate_type (type, pfn, tf_warning_or_error);
6089 fn = TREE_OPERAND (pfn, 0);
6105 expand_ptrmemfunc_cst (tree cst, tree *delta, tree *pfn)
6124 *pfn = convert (TYPE_PTRMEMFUNC_FN_TYPE (type), build_addr_func (fn));
6139 *pfn = DECL_VINDEX (fn);
6140 *pfn = build2 (MULT_EXPR, integer_type_node, *pfn,
6142 *pfn = fold_if_not_in_template (*pfn);
6147 *pfn = build2 (PLUS_EXPR, integer_type_node, *pfn,
6149 *pfn = fold_if_not_in_template (*pfn);
6165 *pfn = build_nop (TYPE_PTRMEMFUNC_FN_TYPE (type), *pfn);
6166 *pfn = fold_if_not_in_template (*pfn);
6179 tree pfn;
6181 expand_ptrmemfunc_cst (t, &delta, &pfn);
6182 if (pfn)
6183 return pfn;