Lines Matching defs:instance

228    the B base instance within A.  To convert base A to derived B, CODE
229 is MINUS_EXPR and BINFO is the binfo for the A instance within B.
582 build_vtbl_ref_1 (tree instance, tree idx)
591 tree fixed_type = fixed_type_or_null (instance, NULL, &cdtorp);
593 tree basetype = non_reference (TREE_TYPE (instance));
604 vtbl = build_vfield_ref (instance, basetype);
616 build_vtbl_ref (tree instance, tree idx)
618 tree aref = build_vtbl_ref_1 (instance, idx);
1550 instance. */
1623 be used to construct an instance of the class unless
5287 fixed_type_or_null (tree instance, int* nonnull, int* cdtorp)
5289 switch (TREE_CODE (instance))
5292 if (POINTER_TYPE_P (TREE_TYPE (instance)))
5295 return fixed_type_or_null (TREE_OPERAND (instance, 0),
5300 if (TREE_HAS_CONSTRUCTOR (instance))
5304 return TREE_TYPE (instance);
5310 if (TREE_HAS_CONSTRUCTOR (instance))
5314 return TREE_TYPE (instance);
5316 return fixed_type_or_null (TREE_OPERAND (instance, 0), nonnull, cdtorp);
5320 if (TREE_CODE (TREE_OPERAND (instance, 0)) == ADDR_EXPR)
5321 return fixed_type_or_null (TREE_OPERAND (instance, 0), nonnull, cdtorp);
5322 if (TREE_CODE (TREE_OPERAND (instance, 1)) == INTEGER_CST)
5324 return fixed_type_or_null (TREE_OPERAND (instance, 0), nonnull, cdtorp);
5329 return fixed_type_or_null (TREE_OPERAND (instance, 0), nonnull, cdtorp);
5332 instance = TREE_OPERAND (instance, 0);
5337 tree t = get_base_address (instance);
5342 return fixed_type_or_null (instance, nonnull, cdtorp);
5347 if (DECL_FIELD_IS_BASE (TREE_OPERAND (instance, 1)))
5348 return fixed_type_or_null (TREE_OPERAND (instance, 0), nonnull, cdtorp);
5349 return fixed_type_or_null (TREE_OPERAND (instance, 1), nonnull, cdtorp);
5353 if (TREE_CODE (TREE_TYPE (instance)) == ARRAY_TYPE
5354 && IS_AGGR_TYPE (TREE_TYPE (TREE_TYPE (instance))))
5358 return TREE_TYPE (TREE_TYPE (instance));
5364 if (IS_AGGR_TYPE (TREE_TYPE (instance)))
5368 return TREE_TYPE (instance);
5370 else if (instance == current_class_ptr)
5382 return TREE_TYPE (TREE_TYPE (instance));
5385 else if (TREE_CODE (TREE_TYPE (instance)) == REFERENCE_TYPE)
5402 if (TREE_CODE (instance) == VAR_DECL
5403 && DECL_INITIAL (instance)
5404 && !htab_find (ht, instance))
5409 slot = htab_find_slot (ht, instance, INSERT);
5410 *slot = instance;
5411 type = fixed_type_or_null (DECL_INITIAL (instance),
5413 htab_remove_elt (ht, instance);
5440 resolves_to_fixed_type_p (tree instance, int* nonnull)
5442 tree t = TREE_TYPE (instance);
5445 tree fixed = fixed_type_or_null (instance, nonnull, &cdtorp);
6601 fprintf (stream, " (0x%lx instance)", (unsigned long)binfo);
7473 /* Find the instance of this virtual base in the complete