Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DPointer.cpp17 Pointer::Pointer(Block *Pointee) : Pointer(Pointee, 0, 0) {} in Pointer() argument
19 Pointer::Pointer(const Pointer &P) : Pointer(P.Pointee, P.Base, P.Offset) {} in Pointer()
22 : Pointee(P.Pointee), Base(P.Base), Offset(P.Offset) { in Pointer()
23 if (Pointee) in Pointer()
24 Pointee->movePointer(&P, this); in Pointer()
27 Pointer::Pointer(Block *Pointee, unsigned Base, unsigned Offset) in Pointer() argument
28 : Pointee(Pointee), Base(Base), Offset(Offset) { in Pointer()
30 if (Pointee) in Pointer()
31 Pointee->addPointer(this); in Pointer()
35 if (Pointee) { in ~Pointer()
[all …]
H A DPointer.h60 return Pointer(Pointee, RootPtrMark, getDeclDesc()->getSize()); in atIndex()
66 return Pointer(Pointee, Base, Base + Off); in atIndex()
72 return Pointer(Pointee, Field, Field); in atField()
83 return Pointer(Pointee, 0, Offset == 0 ? Offset : PastEndMark); in narrow()
87 return Pointer(Pointee, Base, PastEndMark); in narrow()
96 return Pointer(Pointee, Base, Offset + sizeof(InitMap *)); in narrow()
101 return Pointer(Pointee, Offset, Offset); in narrow()
108 return Pointer(Pointee, NewBase, NewBase); in narrow()
120 return Pointer(Pointee, Base, Base + getSize() + Adjust); in expand()
129 return Pointer(Pointee, RootPtrMark, 0); in expand()
[all …]
H A DInterpBlock.cpp76 P->Pointee = &B; in DeadBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Demangle/
H A DMicrosoftDemangleNodes.cpp478 if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre()
482 static_cast<const FunctionSignatureNode *>(Pointee); in outputPre()
485 Pointee->outputPre(OS, Flags); in outputPre()
492 if (Pointee->kind() == NodeKind::ArrayType) { in outputPre()
494 } else if (Pointee->kind() == NodeKind::FunctionSignature) { in outputPre()
497 static_cast<const FunctionSignatureNode *>(Pointee); in outputPre()
524 if (Pointee->kind() == NodeKind::ArrayType || in outputPost()
525 Pointee->kind() == NodeKind::FunctionSignature) in outputPost()
528 Pointee->outputPost(OS, Flags); in outputPost()
H A DMicrosoftDemangle.cpp870 PTN->Pointee->Quals = Qualifiers(PTN->Pointee->Quals | ExtraChildQuals); in demangleVariableEncoding()
2019 Pointer->Pointee = demangleFunctionType(MangledName, false); in demanglePointerType()
2026 Pointer->Pointee = demangleType(MangledName, QualifierMangleMode::Mangle); in demanglePointerType()
2044 Pointer->Pointee = demangleFunctionType(MangledName, true); in demangleMemberPointerType()
2052 Pointer->Pointee = demangleType(MangledName, QualifierMangleMode::Drop); in demangleMemberPointerType()
2053 if (Pointer->Pointee) in demangleMemberPointerType()
2054 Pointer->Pointee->Quals = PointeeQuals; in demangleMemberPointerType()
/netbsd-src/external/apache2/llvm/dist/clang/utils/TableGen/
H A DMveEmitter.cpp191 const Type *Pointee; member in __anone3a730d20111::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()
1126 const Type *Pointee = getType(D->getArg(0), Param); in getType() local
1127 return getPointerType(Pointee, Op->getValueAsBit("const")); in getType()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h478 const Node *Pointee; variable
483 Pointee(Pointee_) {} in PointerType()
485 template<typename Fn> void match(Fn F) const { F(Pointee); } in match()
488 return Pointee->hasRHSComponent(S); in hasRHSComponentSlow()
493 if (Pointee->getKind() != KObjCProtoName || in printLeft()
494 !static_cast<const ObjCProtoName *>(Pointee)->isObjCObject()) { in printLeft()
495 Pointee->printLeft(s); in printLeft()
496 if (Pointee->hasArray(s)) in printLeft()
498 if (Pointee->hasArray(s) || Pointee->hasFunction(s)) in printLeft()
502 const auto *objcProto = static_cast<const ObjCProtoName *>(Pointee); in printLeft()
[all …]
H A DMicrosoftDemangleNodes.h472 TypeNode *Pointee = nullptr; member
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DType.h2639 PointerType(QualType Pointee, QualType CanonicalPtr)
2640 : Type(Pointer, CanonicalPtr, Pointee->getDependence()),
2641 PointeeType(Pointee) {}
2653 static void Profile(llvm::FoldingSetNodeID &ID, QualType Pointee) {
2654 ID.AddPointer(Pointee.getAsOpaquePtr());
2720 BlockPointerType(QualType Pointee, QualType CanonicalCls)
2721 : Type(BlockPointer, CanonicalCls, Pointee->getDependence()),
2722 PointeeType(Pointee) {}
2735 static void Profile(llvm::FoldingSetNodeID &ID, QualType Pointee) {
2736 ID.AddPointer(Pointee.getAsOpaquePtr());
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/
H A DRecordName.cpp167 StringRef Pointee = Types.getTypeName(Ptr.getReferentType()); in visitKnownRecord() local
169 Name = formatv("{0} {1}::*", Pointee, Class); in visitKnownRecord()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp619 QualType Pointee = ParamTy->getPointeeType(); in evalCall() local
620 if (Pointee.isConstQualified() || Pointee->isVoidType()) in evalCall()
623 Escaped.emplace_back(loc::MemRegionVal(MR), State->getSVal(MR, Pointee)); in evalCall()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp561 SymbolRef Pointee = PointeeVal.getAsLocSymbol(); in updateOutParameters() local
562 if (!Pointee) in updateOutParameters()
569 return setRefBinding(St, Pointee, in updateOutParameters()
573 return setRefBinding(St, Pointee, in updateOutParameters()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaExprCXX.cpp3531 QualType Pointee = Type->castAs<PointerType>()->getPointeeType(); in ActOnCXXDelete() local
3532 QualType PointeeElem = Context.getBaseElementType(Pointee); in ActOnCXXDelete()
3534 if (Pointee.getAddressSpace() != LangAS::Default && in ActOnCXXDelete()
3538 << Pointee.getUnqualifiedType() in ActOnCXXDelete()
3539 << Pointee.getQualifiers().getAddressSpaceAttributePrintValue(); in ActOnCXXDelete()
3542 if (Pointee->isVoidType() && !isSFINAEContext()) { in ActOnCXXDelete()
3548 } else if (Pointee->isFunctionType() || Pointee->isVoidType() || in ActOnCXXDelete()
3549 Pointee->isSizelessType()) { in ActOnCXXDelete()
3552 } else if (!Pointee->isDependentType()) { in ActOnCXXDelete()
3555 if (!RequireCompleteType(StartLoc, Pointee, in ActOnCXXDelete()
[all …]
H A DSemaType.cpp7043 QualType Pointee = Type->getPointeeType(); in handleMSPointerTypeQualifierAttr() local
7045 Pointee = S.Context.getAddrSpaceQualType( in handleMSPointerTypeQualifierAttr()
7046 S.Context.removeAddrSpaceQualType(Pointee), ASIdx); in handleMSPointerTypeQualifierAttr()
7047 Type = State.getAttributedType(A, Type, S.Context.getPointerType(Pointee)); in handleMSPointerTypeQualifierAttr()
H A DSemaDeclAttr.cpp5707 QualType Pointee = PT->getPointeeType(); in isErrorParameter() local
5710 if (const auto *OPT = Pointee->getAs<ObjCObjectPointerType>()) in isErrorParameter()
5716 if (const auto *PT = Pointee->getAs<PointerType>()) in isErrorParameter()
H A DSemaDecl.cpp5943 QualType Pointee = PTy->getPointeeType(); in TryToFixInvalidVariablyModifiedType() local
5945 TryToFixInvalidVariablyModifiedType(Pointee, Context, SizeIsNegative, in TryToFixInvalidVariablyModifiedType()
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/go/llvm/
H A Ddibuilder.go316 Pointee Metadata member
329 t.Pointee.C,
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DOpaquePointers.rst56 I Still Need Pointee Types!
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/
H A Dgmock-matchers.h1620 typename std::remove_reference<Pointer>::type>::type>::type Pointee;
1623 : matcher_(MatcherCast<const Pointee&>(matcher)) {}
1644 const Matcher<const Pointee&> matcher_;
3713 inline internal::PointeeMatcher<InnerMatcher> Pointee(
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DExpr.cpp3703 QualType Pointee = PT->getPointeeType(); in isNullPointerConstant() local
3704 Qualifiers Qs = Pointee.getQualifiers(); in isNullPointerConstant()
3710 Pointee.getAddressSpace() == LangAS::opencl_generic) || in isNullPointerConstant()
3713 Pointee.getAddressSpace() == LangAS::opencl_private)) in isNullPointerConstant()
3716 if (Pointee->isVoidType() && Qs.empty() && // to void* in isNullPointerConstant()
H A DType.cpp4310 QualType Pointee = Pointer->getPointeeType(); in isCARCBridgableType() local
4311 return Pointee->isVoidType() || Pointee->isRecordType(); in isCARCBridgableType()
H A DASTContext.cpp3003 QualType Pointee = ptr->getPointeeType(); in getObjCGCQualType() local
3004 if (Pointee->isAnyPointerType()) { in getObjCGCQualType()
3005 QualType ResultType = getObjCGCQualType(Pointee, GCAttr); in getObjCGCQualType()
3026 QualType Pointee = Ptr->getPointeeType(); in removePtrSizeAddrSpace() local
3027 if (isPtrSizeAddressSpace(Pointee.getAddressSpace())) { in removePtrSizeAddrSpace()
3028 return getPointerType(removeAddrSpaceQualType(Pointee)); in removePtrSizeAddrSpace()
H A DExprConstant.cpp8560 QualType Pointee = E->getType()->castAs<PointerType>()->getPointeeType(); in evaluateLValueAsAllocSize() local
8561 Result.addUnsizedArray(Info, E, Pointee); in evaluateLValueAsAllocSize()
8704 QualType Pointee = PExp->getType()->castAs<PointerType>()->getPointeeType(); in VisitBinaryOperator() local
8705 return HandleLValueArrayAdjustment(Info, E, Result, Pointee, Offset); in VisitBinaryOperator()
/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DConstantInterpreter.rst254 Block pointers track a ``Pointee``, the block to which they point, along
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/
H A DChangeLog-20051043 checking for Cray Pointee arrays.