| /openbsd-src/gnu/llvm/clang/lib/AST/Interp/ |
| H A D | Pointer.cpp | 17 Pointer::Pointer(Block *Pointee) : Pointer(Pointee, 0, 0) {} in Pointer() argument 19 Pointer::Pointer(Block *Pointee, unsigned BaseAndOffset) in Pointer() argument 20 : Pointer(Pointee, BaseAndOffset, BaseAndOffset) {} in Pointer() 22 Pointer::Pointer(const Pointer &P) : Pointer(P.Pointee, P.Base, P.Offset) {} in Pointer() 25 : Pointee(P.Pointee), Base(P.Base), Offset(P.Offset) { in Pointer() 26 if (Pointee) in Pointer() 27 Pointee->movePointer(&P, this); in Pointer() 30 Pointer::Pointer(Block *Pointee, unsigned Base, unsigned Offset) in Pointer() argument 31 : Pointee(Pointee), Base(Base), Offset(Offset) { in Pointer() 33 if (Pointee) in Pointer() [all …]
|
| H A D | Pointer.h | 83 return Pointer(Pointee, RootPtrMark, getDeclDesc()->getSize()); in atIndex() 89 return Pointer(Pointee, Base, Base + Off); in atIndex() 95 return Pointer(Pointee, Field, Field); in atField() 106 return Pointer(Pointee, 0, Offset == 0 ? Offset : PastEndMark); in narrow() 110 return Pointer(Pointee, Base, PastEndMark); in narrow() 119 return Pointer(Pointee, Base, Offset + sizeof(InitMap *)); in narrow() 124 return Pointer(Pointee, Offset, Offset); in narrow() 131 return Pointer(Pointee, NewBase, NewBase); in narrow() 143 return Pointer(Pointee, Base, Base + getSize() + Adjust); in expand() 152 return Pointer(Pointee, RootPtrMark, 0); in expand() [all …]
|
| H A D | InterpBlock.cpp | 76 P->Pointee = &B; in DeadBlock()
|
| /openbsd-src/gnu/llvm/llvm/lib/Demangle/ |
| H A D | MicrosoftDemangleNodes.cpp | 479 if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre() 483 static_cast<const FunctionSignatureNode *>(Pointee); in outputPre() 486 Pointee->outputPre(OB, Flags); in outputPre() 493 if (Pointee->kind() == NodeKind::ArrayType) { in outputPre() 495 } else if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre() 498 static_cast<const FunctionSignatureNode *>(Pointee); in outputPre() 525 if (Pointee->kind() == NodeKind::ArrayType || in outputPost() 526 Pointee->kind() == NodeKind::FunctionSignature) in outputPost() 529 Pointee->outputPost(OB, Flags); in outputPost()
|
| H A D | MicrosoftDemangle.cpp | 877 PTN->Pointee->Quals = Qualifiers(PTN->Pointee->Quals | ExtraChildQuals); in demangleVariableEncoding() 2010 Pointer->Pointee = demangleFunctionType(MangledName, false); in demanglePointerType() 2017 Pointer->Pointee = demangleType(MangledName, QualifierMangleMode::Mangle); in demanglePointerType() 2035 Pointer->Pointee = demangleFunctionType(MangledName, true); in demangleMemberPointerType() 2043 Pointer->Pointee = demangleType(MangledName, QualifierMangleMode::Drop); in demangleMemberPointerType() 2044 if (Pointer->Pointee) in demangleMemberPointerType() 2045 Pointer->Pointee->Quals = PointeeQuals; in demangleMemberPointerType()
|
| /openbsd-src/gnu/llvm/clang/utils/TableGen/ |
| H A D | MveEmitter.cpp | 191 const Type *Pointee; member in __anonece5a09e0111::PointerType 195 PointerType(const Type *Pointee, bool Const) in PointerType() argument 196 : Type(TypeKind::Pointer), Pointee(Pointee), Const(Const) {} in PointerType() 198 bool requiresFloat() const override { return Pointee->requiresFloat(); } in requiresFloat() 199 bool requiresMVE() const override { return Pointee->requiresMVE(); } in requiresMVE() 201 std::string Name = Pointee->cName(); in cName() 206 assert(!isa<PointerType>(Pointee) && "Pointer to pointer not supported"); in cName() 213 return "llvm::PointerType::getUnqual(" + Pointee->llvmName() + ")"; in llvmName() 215 const Type *getPointeeType() const { return Pointee; } in getPointeeType() 1124 const Type *Pointee = getType(D->getArg(0), Param); in getType() local [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Demangle/ |
| H A D | ItaniumDemangle.h | 589 const Node *Pointee; variable 594 Pointee(Pointee_) {} in PointerType() 596 const Node *getPointee() const { return Pointee; } in getPointee() 598 template<typename Fn> void match(Fn F) const { F(Pointee); } in match() 601 return Pointee->hasRHSComponent(OB); in hasRHSComponentSlow() 606 if (Pointee->getKind() != KObjCProtoName || in printLeft() 607 !static_cast<const ObjCProtoName *>(Pointee)->isObjCObject()) { in printLeft() 608 Pointee->printLeft(OB); in printLeft() 609 if (Pointee->hasArray(OB)) in printLeft() 611 if (Pointee->hasArray(OB) || Pointee->hasFunction(OB)) in printLeft() [all …]
|
| H A D | MicrosoftDemangleNodes.h | 471 TypeNode *Pointee = nullptr; member
|
| /openbsd-src/gnu/llvm/libcxxabi/src/demangle/ |
| H A D | ItaniumDemangle.h | 589 const Node *Pointee; variable 594 Pointee(Pointee_) {} in PointerType() 596 const Node *getPointee() const { return Pointee; } in getPointee() 598 template<typename Fn> void match(Fn F) const { F(Pointee); } in match() 601 return Pointee->hasRHSComponent(OB); in hasRHSComponentSlow() 606 if (Pointee->getKind() != KObjCProtoName || in printLeft() 607 !static_cast<const ObjCProtoName *>(Pointee)->isObjCObject()) { in printLeft() 608 Pointee->printLeft(OB); in printLeft() 609 if (Pointee->hasArray(OB)) in printLeft() 611 if (Pointee->hasArray(OB) || Pointee->hasFunction(OB)) in printLeft() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
| H A D | RecordName.cpp | 171 StringRef Pointee = Types.getTypeName(Ptr.getReferentType()); in visitKnownRecord() local 173 Name = formatv("{0} {1}::*", Pointee, Class); in visitKnownRecord()
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | Type.h | 2779 PointerType(QualType Pointee, QualType CanonicalPtr) 2780 : Type(Pointer, CanonicalPtr, Pointee->getDependence()), 2781 PointeeType(Pointee) {} 2793 static void Profile(llvm::FoldingSetNodeID &ID, QualType Pointee) { 2794 ID.AddPointer(Pointee.getAsOpaquePtr()); 2860 BlockPointerType(QualType Pointee, QualType CanonicalCls) 2861 : Type(BlockPointer, CanonicalCls, Pointee->getDependence()), 2862 PointeeType(Pointee) {} 2875 static void Profile(llvm::FoldingSetNodeID &ID, QualType Pointee) { 2876 ID.AddPointer(Pointee.getAsOpaquePtr()); [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExprEngineCallAndReturn.cpp | 725 QualType Pointee = ParamTy->getPointeeType(); in evalCall() local 726 if (Pointee.isConstQualified() || Pointee->isVoidType()) in evalCall() 729 Escaped.emplace_back(loc::MemRegionVal(MR), State->getSVal(MR, Pointee)); in evalCall()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | GenericTaintChecker.cpp | 141 if (auto Pointee = getPointeeOf(C, Arg)) in getTaintedPointeeOrPointer() local 142 if (isTainted(State, *Pointee)) // FIXME: isTainted(...) ? Pointee : None; in getTaintedPointeeOrPointer() 143 return Pointee; in getTaintedPointeeOrPointer()
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/ |
| H A D | RetainCountChecker.cpp | 562 SymbolRef Pointee = PointeeVal.getAsLocSymbol(); in updateOutParameters() local 563 if (!Pointee) in updateOutParameters() 570 return setRefBinding(St, Pointee, in updateOutParameters() 574 return setRefBinding(St, Pointee, in updateOutParameters()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaExprCXX.cpp | 3664 QualType Pointee = Type->castAs<PointerType>()->getPointeeType(); in ActOnCXXDelete() local 3665 QualType PointeeElem = Context.getBaseElementType(Pointee); in ActOnCXXDelete() 3667 if (Pointee.getAddressSpace() != LangAS::Default && in ActOnCXXDelete() 3671 << Pointee.getUnqualifiedType() in ActOnCXXDelete() 3672 << Pointee.getQualifiers().getAddressSpaceAttributePrintValue(); in ActOnCXXDelete() 3675 if (Pointee->isVoidType() && !isSFINAEContext()) { in ActOnCXXDelete() 3681 } else if (Pointee->isFunctionType() || Pointee->isVoidType() || in ActOnCXXDelete() 3682 Pointee->isSizelessType()) { in ActOnCXXDelete() 3685 } else if (!Pointee->isDependentType()) { in ActOnCXXDelete() 3688 if (!RequireCompleteType(StartLoc, Pointee, in ActOnCXXDelete() [all …]
|
| H A D | SemaType.cpp | 7326 QualType Pointee = Type->getPointeeType(); in handleMSPointerTypeQualifierAttr() local 7328 Pointee = S.Context.getAddrSpaceQualType( in handleMSPointerTypeQualifierAttr() 7329 S.Context.removeAddrSpaceQualType(Pointee), ASIdx); in handleMSPointerTypeQualifierAttr() 7330 Type = State.getAttributedType(A, Type, S.Context.getPointerType(Pointee)); in handleMSPointerTypeQualifierAttr()
|
| H A D | SemaDeclAttr.cpp | 6252 QualType Pointee = PT->getPointeeType(); in isErrorParameter() local 6255 if (const auto *OPT = Pointee->getAs<ObjCObjectPointerType>()) in isErrorParameter() 6261 if (const auto *PT = Pointee->getAs<PointerType>()) in isErrorParameter()
|
| H A D | SemaDecl.cpp | 6459 QualType Pointee = PTy->getPointeeType(); in TryToFixInvalidVariablyModifiedType() local 6461 TryToFixInvalidVariablyModifiedType(Pointee, Context, SizeIsNegative, in TryToFixInvalidVariablyModifiedType()
|
| /openbsd-src/gnu/llvm/llvm/docs/ |
| H A D | OpaquePointers.rst | 70 Pointee types provide some value to frontends because the IR verifier uses types
|
| /openbsd-src/gnu/llvm/clang/docs/ |
| H A D | ConstantInterpreter.rst | 254 Block pointers track a ``Pointee``, the block to which they point, along
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | Expr.cpp | 3893 QualType Pointee = PT->getPointeeType(); in isNullPointerConstant() local 3894 Qualifiers Qs = Pointee.getQualifiers(); in isNullPointerConstant() 3900 Pointee.getAddressSpace() == Ctx.getDefaultOpenCLPointeeAddrSpace()) in isNullPointerConstant() 3903 if (Pointee->isVoidType() && Qs.empty() && // to void* in isNullPointerConstant()
|
| H A D | Type.cpp | 4462 QualType Pointee = Pointer->getPointeeType(); in isCARCBridgableType() local 4463 return Pointee->isVoidType() || Pointee->isRecordType(); in isCARCBridgableType()
|
| H A D | ASTContext.cpp | 3122 QualType Pointee = ptr->getPointeeType(); in getObjCGCQualType() local 3123 if (Pointee->isAnyPointerType()) { in getObjCGCQualType() 3124 QualType ResultType = getObjCGCQualType(Pointee, GCAttr); in getObjCGCQualType() 3145 QualType Pointee = Ptr->getPointeeType(); in removePtrSizeAddrSpace() local 3146 if (isPtrSizeAddressSpace(Pointee.getAddressSpace())) { in removePtrSizeAddrSpace() 3147 return getPointerType(removeAddrSpaceQualType(Pointee)); in removePtrSizeAddrSpace()
|
| H A D | ExprConstant.cpp | 8687 QualType Pointee = E->getType()->castAs<PointerType>()->getPointeeType(); in evaluateLValueAsAllocSize() local 8688 Result.addUnsizedArray(Info, E, Pointee); in evaluateLValueAsAllocSize() 8849 QualType Pointee = PExp->getType()->castAs<PointerType>()->getPointeeType(); in VisitBinaryOperator() local 8850 return HandleLValueArrayAdjustment(Info, E, Result, Pointee, Offset); in VisitBinaryOperator()
|