Lines Matching defs:loc
59 cp_ubsan_instrument_vptr (location_t loc, tree op, tree type, bool is_addr,
70 op = build_fold_addr_expr_loc (loc, op);
72 tree vptr = fold_build3_loc (loc, COMPONENT_REF,
74 build_fold_indirect_ref_loc (loc, op),
76 vptr = fold_convert_loc (loc, pointer_sized_int_node, vptr);
77 vptr = fold_convert_loc (loc, uint64_type_node, vptr);
80 tree cond = build2_loc (loc, NE_EXPR, boolean_type_node, op,
85 vptr = build3_loc (loc, COND_EXPR, uint64_type_node, cond,
92 = build_call_expr_internal_loc (loc, IFN_UBSAN_VPTR,
106 cp_ubsan_maybe_instrument_vptr (location_t loc, tree op, tree type,
111 return cp_ubsan_instrument_vptr (loc, op, type, is_addr, ckind);
257 cp_ubsan_maybe_instrument_downcast (location_t loc, tree type,
267 return cp_ubsan_maybe_instrument_vptr (loc, op, TREE_TYPE (type), true,
276 cp_ubsan_maybe_instrument_cast_to_vbase (location_t loc, tree type, tree op)
278 return cp_ubsan_maybe_instrument_vptr (loc, op, type, true,