Home
last modified time | relevance | path

Searched refs:pointee (Results 1 – 25 of 70) sorted by relevance

123

/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DOpaquePointers.rst8 Traditionally, LLVM IR pointer types have contained a pointee type. For example,
10 due to a lack of pointee type semantics and various issues with having pointee
11 types, there is a desire to remove pointee types from pointers.
14 pointee types in LLVM with an opaque pointer type. The new pointer type is
19 Issues with explicit pointee types
23 pointee types. The pointee type does not necessarily actually represent the
24 actual underlying type in memory. In other words, the pointee type contains no
30 different pointee type. The extra bitcasts take up space and require extra work
61 LLVM pointer pointee types to keep track of pointee types. The frontend needs to
62 keep track of frontend pointee types on its own.
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
H A DTransAPIUses.cpp72 QualType pointee = parm->getType()->getPointeeType(); in VisitObjCMessageExpr() local
73 if (pointee.isNull()) in VisitObjCMessageExpr()
76 if (pointee.getObjCLifetime() > Qualifiers::OCL_ExplicitNone) in VisitObjCMessageExpr()
H A DTransAutoreleasePool.cpp393 QualType pointee = Ty->getPointeeType(); in isNSAutoreleasePool() local
394 if (pointee.isNull()) in isNSAutoreleasePool()
396 if (const ObjCInterfaceType *interT = pointee->getAs<ObjCInterfaceType>()) in isNSAutoreleasePool()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dvalue-pointer-equiv.cc139 pointer_equiv_analyzer::set_global_equiv (tree ssa, tree pointee) in set_global_equiv() argument
146 m_global_points[v] = pointee; in set_global_equiv()
152 pointer_equiv_analyzer::set_cond_equiv (tree ssa, tree pointee) in set_cond_equiv() argument
154 m_cond_points->push_replacement (ssa, pointee); in set_cond_equiv()
H A Dvalue-pointer-equiv.h46 void set_global_equiv (tree ssa, tree pointee);
47 void set_cond_equiv (tree ssa, tree pointee);
/netbsd-src/external/gpl3/gcc/dist/gcc/objc/
H A Dobjc-encoding.cc243 pointee_is_readonly (tree pointee) in pointee_is_readonly() argument
245 while (POINTER_TYPE_P (pointee)) in pointee_is_readonly()
246 pointee = TREE_TYPE (pointee); in pointee_is_readonly()
248 return TYPE_READONLY (pointee); in pointee_is_readonly()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/objc/
H A Dobjc-encoding.c243 pointee_is_readonly (tree pointee) in pointee_is_readonly() argument
245 while (POINTER_TYPE_P (pointee)) in pointee_is_readonly()
246 pointee = TREE_TYPE (pointee); in pointee_is_readonly()
248 return TYPE_READONLY (pointee); in pointee_is_readonly()
/netbsd-src/external/gpl3/gcc/dist/gcc/analyzer/
H A Dregion-model-reachability.cc176 const region *pointee = ptr->get_pointee (); in handle_sval() local
189 add (pointee, ptr_is_mutable); in handle_sval()
H A Dregion-model-impl-calls.cc161 if (const region *pointee = str_arg->maybe_get_region ()) in get_arg_string_literal() local
162 if (const string_region *string_reg = pointee->dyn_cast_string_region ()) in get_arg_string_literal()
H A Dregion-model-manager.cc359 region_model_manager::get_ptr_svalue (tree ptr_type, const region *pointee) in get_ptr_svalue() argument
363 if (const symbolic_region *sym_reg = pointee->dyn_cast_symbolic_region ()) in get_ptr_svalue()
367 region_svalue::key_t key (ptr_type, pointee); in get_ptr_svalue()
370 region_svalue *sval = new region_svalue (ptr_type, pointee); in get_ptr_svalue()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DExprMutationAnalyzer.cpp105 referenceType(pointee(unless(isConstQualified())))); in __anon78d823ce0402()
110 pointerType(pointee(unless(isConstQualified())))); in __anon78d823ce0502()
447 hasUnqualifiedDesugaredType(referenceType(pointee(arrayType()))))))); in findRangeLoopMutation()
476 pointee(hasDeclaration(cxxRecordDecl(HasAnyNonConstIterator))))))))); in findRangeLoopMutation()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-pretty-print.c212 tree pointee = strip_pointer_operator (TREE_TYPE (t)); in pp_c_space_for_pointer_operator() local
213 if (TREE_CODE (pointee) != ARRAY_TYPE in pp_c_space_for_pointer_operator()
214 && TREE_CODE (pointee) != FUNCTION_TYPE) in pp_c_space_for_pointer_operator()
451 tree pointee = strip_pointer_operator (TREE_TYPE (t)); in pp_c_specifier_qualifier_list() local
452 pp_c_specifier_qualifier_list (pp, pointee); in pp_c_specifier_qualifier_list()
453 if (TREE_CODE (pointee) == ARRAY_TYPE in pp_c_specifier_qualifier_list()
454 || TREE_CODE (pointee) == FUNCTION_TYPE) in pp_c_specifier_qualifier_list()
458 pp_c_attributes_display (pp, TYPE_ATTRIBUTES (pointee)); in pp_c_specifier_qualifier_list()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp211 pointerType(pointee(hasCanonicalType( in checkASTCodeBody()
223 objcObjectPointerType(pointee( in checkASTCodeBody()
H A DOSObjectCStyleCast.cpp77 return hasType(pointerType(pointee(hasDeclaration(DeclM)))); in hasTypePointingTo()
H A DObjCAutoreleaseWriteChecker.cpp174 pointee(hasCanonicalType(objcObjectPointerType())))))) in checkASTCodeBody()
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-pretty-print.cc218 tree pointee = strip_pointer_operator (TREE_TYPE (t)); in pp_c_space_for_pointer_operator() local
219 if (TREE_CODE (pointee) != ARRAY_TYPE in pp_c_space_for_pointer_operator()
220 && TREE_CODE (pointee) != FUNCTION_TYPE) in pp_c_space_for_pointer_operator()
461 tree pointee = strip_pointer_operator (TREE_TYPE (t)); in pp_c_specifier_qualifier_list() local
462 pp_c_specifier_qualifier_list (pp, pointee); in pp_c_specifier_qualifier_list()
463 if (TREE_CODE (pointee) == ARRAY_TYPE in pp_c_specifier_qualifier_list()
464 || TREE_CODE (pointee) == FUNCTION_TYPE) in pp_c_specifier_qualifier_list()
468 pp_c_attributes_display (pp, TYPE_ATTRIBUTES (pointee)); in pp_c_specifier_qualifier_list()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/
H A Dd-builtins.cc412 tree pointee = TREE_OPERAND (cst, 0); in d_eval_constant_expression() local
414 if (TREE_CODE (pointee) != ARRAY_REF in d_eval_constant_expression()
415 || TREE_OPERAND (pointee, 1) != integer_zero_node in d_eval_constant_expression()
416 || TREE_CODE (TREE_OPERAND (pointee, 0)) != STRING_CST) in d_eval_constant_expression()
419 return d_eval_constant_expression (loc, TREE_OPERAND (pointee, 0)); in d_eval_constant_expression()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DFormatString.cpp484 QualType pointee = PT->getPointeeType(); in matchesType() local
485 if (pointee->getAsStructureType() || pointee->isVoidType()) in matchesType()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/d/dmd/
H A Ddinterpret.c1929 Type *pointee = ((TypePointer *)e->type)->next; in visit() local
1944 ((e->offset == 0 && isSafePointerCast(e->var->type, pointee)) || in visit()
1945 (fromType && isSafePointerCast(fromType, pointee)))) in visit()
1960 if (val->type->ty == Tsarray && pointee->ty == Tsarray && in visit()
1961 elemsize == pointee->nextOf()->size()) in visit()
1963 size_t d = (size_t)((TypeSArray *)pointee)->dim->toInteger(); in visit()
1969 se->type = pointee; in visit()
1975 if (!isSafePointerCast(elemtype, pointee)) in visit()
1978 if (e->offset == 0 && isSafePointerCast(e->var->type, pointee)) in visit()
1993 const dinteger_t sz = pointee->size(); in visit()
[all …]
H A Dctfeexpr.c797 Type *pointee = ((TypePointer *)agg1->type)->next; in pointerDifference() local
798 dinteger_t sz = pointee->size(); in pointerDifference()
805 Type *pointee = ((TypePointer *)agg1->type)->next; in pointerDifference() local
806 dinteger_t sz = pointee->size(); in pointerDifference()
859 Type *pointee = ((TypeNext *)agg1->type->toBasetype())->next; in pointerArithmetic() local
860 dinteger_t sz = pointee->size(); in pointerArithmetic()
/netbsd-src/external/gpl3/gcc/dist/gcc/d/dmd/
H A Ddinterpret.d1873 Type pointee = (cast(TypePointer)e.type).next; in visit() local
1887 if (e.var.isDataseg() && ((e.offset == 0 && isSafePointerCast(e.var.type, pointee)) || in visit()
1888 (fromType && isSafePointerCast(fromType, pointee)) || in visit()
1889 … (e.var.isCsymbol() && e.offset + pointee.size() <= e.var.type.size()))) in visit()
1905 … if (val.type.ty == Tsarray && pointee.ty == Tsarray && elemsize == pointee.nextOf().size()) in visit()
1907 size_t d = cast(size_t)(cast(TypeSArray)pointee).dim.toInteger(); in visit()
1913 se.type = pointee; in visit()
1919 if (!isSafePointerCast(elemtype, pointee)) in visit()
1922 if (e.offset == 0 && isSafePointerCast(e.var.type, pointee)) in visit()
1936 const dinteger_t sz = pointee.size(); in visit()
[all …]
H A Dctfeexpr.d799 Type pointee = (cast(TypePointer)agg1.type).next; in pointerDifference() local
800 const sz = pointee.size(); in pointerDifference()
806 Type pointee = (cast(TypePointer)agg1.type).next; in pointerDifference() local
807 const sz = pointee.size(); in pointerDifference()
852 Type pointee = (cast(TypeNext)agg1.type.toBasetype()).next; in pointerArithmetic() local
853 dinteger_t sz = pointee.size(); in pointerArithmetic()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/analyzer/
H A Dprogram-state.cc446 tree pointee = TREE_OPERAND (parm, 0); in purge_for_unknown_fncall() local
447 svalue_id parm_sid = new_model->get_rvalue (pointee, ctxt); in purge_for_unknown_fncall()
H A Dregion-model.cc3878 tree pointee = get_representative_path_var (pointee_rid).m_tree; in dump_summary_of_rep_path_vars() local
3883 if (pointee) in dump_summary_of_rep_path_vars()
3884 dump_tree (pp, pointee); in dump_summary_of_rep_path_vars()
5585 region *pointee = get_region (ptr->get_pointee ()); in eval_condition_without_cm() local
5586 if (pointee->non_null_p (*this)) in eval_condition_without_cm()
5648 region *pointee = get_region (ptr->get_pointee ()); in add_constraint() local
5649 if (symbolic_region *sym_reg = pointee->dyn_cast_symbolic_region ()) in add_constraint()
8790 region *pointee = model.get_region (rid); in test_malloc_constraints() local
8791 symbolic_region *sym_reg = pointee->dyn_cast_symbolic_region (); in test_malloc_constraints()
/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DAutomaticReferenceCounting.rst841 * For ``__weak`` objects, the current pointee is retained and then released at
843 respect to assignments and to the final release of the pointee.
849 * For ``__strong`` objects, the new pointee is first retained; second, the
850 lvalue is loaded with primitive semantics; third, the new pointee is stored
851 into the lvalue with primitive semantics; and finally, the old pointee is
854 * For ``__weak`` objects, the lvalue is updated to point to the new pointee,
855 unless the new pointee is an object currently undergoing deallocation, in
858 object, and to the final release of the new pointee.
859 * For ``__unsafe_unretained`` objects, the new pointee is stored into the
861 * For ``__autoreleasing`` objects, the new pointee is retained, autoreleased,
[all …]

123