Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp537 T = Context->getPointerType(T); in convertToUnqualifiedObjCType()
1274 selfTy = Context->getPointerType(selfTy); in RewriteObjCMethodDecl()
2683 castType = Context->getPointerType(castType); in RewriteObjCBoxedExpr()
2804 castType = Context->getPointerType(castType); in RewriteObjCArrayLiteralExpr()
2936 T = Context->getPointerType(PointeeTy); in RewriteObjCDictionaryLiteralExpr()
2955 castType = Context->getPointerType(castType); in RewriteObjCDictionaryLiteralExpr()
4123 QT = Context->getPointerType(QT); in SynthesizeBlockFunc()
4217 QT = Context->getPointerType(QT); in SynthesizeBlockImpl()
4517 T = Context->getPointerType(T); in convertObjCTypeToCStyleType()
5318 QT = Context->getPointerType(QT); in SynthBlockInitExpr()
[all …]
H A DRewriteObjC.cpp421 T = Context->getPointerType(BPT->getPointeeType()); in convertBlockPointerToFunctionPointer()
444 T = Context->getPointerType(T); in convertToUnqualifiedObjCType()
1104 selfTy = Context->getPointerType(selfTy); in RewriteObjCMethodDecl()
2016 QualType pToFunc = Context->getPointerType(msgSendType); in SynthesizeCallToFunctionDecl()
2601 castType = Context->getPointerType(castType); in SynthMsgSendStretCallExpr()
2954 castType = Context->getPointerType(castType); in SynthMessageExpr()
3329 QT = Context->getPointerType(QT); in SynthesizeBlockFunc()
3423 QT = Context->getPointerType(QT); in SynthesizeBlockImpl()
4405 QualType FType = Context->getPointerType(BFT); in SynthBlockInitExpr()
4451 QT = Context->getPointerType(QT); in SynthBlockInitExpr()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp149 T = LCtx->getAnalysisDeclContext()->getASTContext().getPointerType(ExType); in conjureSymbolVal()
282 QualType PT = getContext().getPointerType(QualType(T, 0)); in getCXXThis()
557 if (shouldBeModeledWithNoOp(Context, Context.getPointerType(castTy), in evalCast()
558 Context.getPointerType(originalTy))) in evalCast()
H A DExprEngineC.cpp288 resultType = getContext().getPointerType(resultType); in handleLVectorSplat()
448 resultType = getContext().getPointerType(resultType); in VisitCast()
487 resultType = getContext().getPointerType(resultType); in VisitCast()
605 Ty = getContext().getPointerType(Ty); in VisitDeclStmt()
H A DCallEvent.cpp789 QualType Ty = Ctx.getPointerType(Ctx.getRecordType(Class)); in getInitialStackFrameContents()
800 QualType StaticTy = Ctx.getPointerType(Ctx.getRecordType(StaticClass)); in getInitialStackFrameContents()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp335 return ast_ctx.getPointerType(ast_ctx.CharTy); in BuildType()
372 return ast_ctx.getPointerType(target_type); in BuildType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DFormatString.cpp512 Res = C.getPointerType(C.CharTy); in getRepresentativeType()
515 Res = C.getPointerType(C.getWideCharType()); in getRepresentativeType()
530 Res = C.getPointerType(Res); in getRepresentativeType()
H A DASTContext.cpp1319 VoidPtrTy = getPointerType(getCanonicalType( in InitBuiltinTypes()
1322 VoidPtrTy = getPointerType(VoidTy); in InitBuiltinTypes()
1591 T = getPointerType(RT->getPointeeType()); in getDeclAlign()
2703 return getPointerType(ResultType); in getObjCGCQualType()
2912 Decayed = getPointerType(T); in getDecayedType()
5033 Result = getPointerType(QualType(Ty, 0)); in getCanonicalParamType()
5983 getPointerType(VoidPtrTy), in getBlockDescriptorExtendedType()
5984 getPointerType(VoidPtrTy) in getBlockDescriptorExtendedType()
7185 QualType T = getPointerType(ObjCBuiltinSelTy); in getObjCSelDecl()
8839 return getPointerType(ResultType); in mergeTypes()
[all …]
H A DPrintfFormatString.cpp593 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType()
602 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType()
H A DQualTypeNames.cpp379 QT = Ctx.getPointerType(QT); in getFullyQualifiedType()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenMPRuntimeNVPTX.cpp254 Type = C.getPointerType(Type.getNonReferenceType()); in buildRecordForGlobalizedVars()
2235 .getPointerType(CGM.getContext().VoidPtrTy) in emitGenericVarsProlog()
2536 SharedArgs, Ctx.getPointerType(Ctx.getPointerType(Ctx.VoidPtrTy)) in emitNonSPMDParallelCall()
2547 Ctx.getPointerType(Ctx.VoidPtrTy)); in emitNonSPMDParallelCall()
2966 C.getPointerType(Private->getType())->castAs<PointerType>());
2984 C.getPointerType(Private->getType())->castAs<PointerType>());
2992 C.getPointerType(Private->getType())->castAs<PointerType>());
3001 C.getPointerType(Private->getType())->castAs<PointerType>());
3988 ArgType = CGM.getContext().getPointerType(PointeeTy); in translateParameter()
4134 .getPointerType(CGF.getContext().getPointerType( in createParallelDataSharingWrapper()
[all …]
H A DCGOpenMPRuntime.cpp1259 QualType PtrTy = C.getPointerType(Ty).withRestrict(); in emitCombinerOrInitializer()
4168 KmpRoutineEntryPtrQTy = C.getPointerType( in emitKmpRoutineEntryT()
4190 addFieldToRecordDecl(C, RD, C.getPointerType(C.CharTy)); in getTgtOffloadEntryQTy()
4549 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
4560 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
4571 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
4903 C.getPointerType(KmpTaskTWithPrivatesQTy); in emitTaskInit()
4909 QualType SharedsPtrTy = C.getPointerType(SharedsTy); in emitTaskInit()
5879 C.getPointerType(C.VoidPtrTy).castAs<PointerType>()); in emitReduceInitFunction()
5973 C.getPointerType(C.VoidPtrTy).castAs<PointerType>()); in emitReduceCombFunction()
[all …]
H A DCGStmtOpenMP.cpp280 DstAddr.getPointer(), Ctx.getPointerType(Ctx.getUIntPtrType()), in GenerateOpenMPCapturedVars()
281 Ctx.getPointerType(CurField->getType()), CurCap->getLocation()); in GenerateOpenMPCapturedVars()
307 Ctx.getPointerType(DstType), Loc); in castValueFromUintptr()
309 CGF.MakeNaturalAlignAddrLValue(CastedPtr, Ctx.getPointerType(DstType)) in castValueFromUintptr()
331 return C.getPointerType(getCanonicalParamType(C, T->getPointeeType())); in getCanonicalParamType()
2909 CGF.getContext().getPointerType(E->getType()), ".priv.ptr.addr"); in EmitOMPTaskBasedDirective()
2916 CGF.CreateMemTemp(CGF.getContext().getPointerType(E->getType()), in EmitOMPTaskBasedDirective()
2924 CGF.CreateMemTemp(CGF.getContext().getPointerType(E->getType()), in EmitOMPTaskBasedDirective()
2967 CGF.getContext().getPointerType( in EmitOMPTaskBasedDirective()
3019 CGF.getContext().getPointerType(InRedPrivs[Cnt]->getType()), in EmitOMPTaskBasedDirective()
[all …]
H A DItaniumCXXABI.cpp1470 Context.getPointerType(Context.VoidPtrTy)); in buildStructorSignature()
1503 QualType T = Context.getPointerType(Context.VoidPtrTy); in addImplicitStructorParams()
1548 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy); in addImplicitConstructorArgs()
1559 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy); in EmitDestructorCall()
2453 getContext().getPointerType(RetQT), FunctionArgList()); in getOrCreateThreadLocalWrapper()
3740 QualType PointerType = getContext().getPointerType(FundamentalType); in EmitFundamentalRTTIDescriptors()
3741 QualType PointerTypeConst = getContext().getPointerType( in EmitFundamentalRTTIDescriptors()
H A DCGObjC.cpp1628 getContext().getPointerType(StateTy)); in EmitObjCForCollectionStmt()
1636 getContext().getPointerType(ItemsTy)); in EmitObjCForCollectionStmt()
3425 QualType DestTy = C.getPointerType(Ty); in GenerateObjCAtomicSetterCopyHelperFunction()
3428 SrcTy = C.getPointerType(SrcTy); in GenerateObjCAtomicSetterCopyHelperFunction()
3509 QualType DestTy = C.getPointerType(Ty); in GenerateObjCAtomicGetterCopyHelperFunction()
3512 SrcTy = C.getPointerType(SrcTy); in GenerateObjCAtomicGetterCopyHelperFunction()
H A DCGDebugInfo.cpp1021 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in collectDefaultElementTypesForBlockPointer()
1026 FType = CGM.getContext().getPointerType(Ty->getPointeeType()); in collectDefaultElementTypesForBlockPointer()
1028 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in collectDefaultElementTypesForBlockPointer()
3354 ResultTy = CGM.getContext().getPointerType( in getOrCreateFunctionType()
3668 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr()
3677 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr()
3688 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr()
3979 auto FnPtrType = CGM.getContext().getPointerType(FnTy->desugar()); in collectDefaultFieldsForBlockLiteralDeclare()
3985 Context.getPointerType(Block.NeedsCopyDispose in collectDefaultFieldsForBlockLiteralDeclare()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaFixItUtils.cpp136 CanConvert = CompareTypes(S.Context.getPointerType(FromQTy), ToQTy, in tryToFixConversion()
H A DSemaExprCXX.cpp1010 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda()
1051 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda()
1058 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda()
1083 ThisTy = Context.getPointerType(ClassTy); in getCurrentThisType()
1113 S.CXXThisTypeOverride = S.Context.getPointerType(T); in CXXThisScopeRAII()
1139 AdjustedThisTy = Context.getPointerType(CaptureThisFieldTy); in captureThis()
1909 QualType ResultType = Context.getPointerType(AllocType); in BuildCXXNew()
2733 QualType VoidPtr = Context.getPointerType(Context.VoidTy); in DeclareGlobalNewDelete()
3431 QualType Unqual = Context.getPointerType( in ActOnCXXDelete()
3981 FromType = Context.getPointerType(FromType); in PerformImplicitConversion()
[all …]
H A DSemaExprObjC.cpp550 Context.getPointerType(ConstCharType), in BuildObjCBoxedExpr()
681 Context.getPointerType(ConstCharType), in BuildObjCBoxedExpr()
802 Context.getPointerType(IdT), in BuildObjCArrayLiteral()
830 << Context.getPointerType(IdT.withConst()); in BuildObjCArrayLiteral()
910 Context.getPointerType(IdT), in BuildObjCDictionaryLiteral()
918 Context.getPointerType(IdT), in BuildObjCDictionaryLiteral()
947 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
984 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
H A DSemaCast.cpp1720 DestType = Self.Context.getPointerType(DestTypeTmp->getPointeeType()); in TryConstCast()
1721 SrcType = Self.Context.getPointerType(SrcType); in TryConstCast()
2044 DestType = Self.Context.getPointerType(DestTypeTmp->getPointeeType()); in TryReinterpretCast()
2045 SrcType = Self.Context.getPointerType(SrcType); in TryReinterpretCast()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp138 ObjT = ACtx.getPointerType( in run()
H A DCStringChecker.cpp352 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckBufferAccess()
492 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckOverlap()
863 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in IsFirstBufInBound()
1165 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in evalCopyCommon()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp336 ptr_qual_type = Ctx.getPointerType(expr_qual_type); in SynthesizeBodyResult()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DASTContext.h1226 QualType getPointerType(QualType T) const;
1227 CanQualType getPointerType(CanQualType T) const { in getPointerType() function
1228 return CanQualType::CreateUnsafe(getPointerType((QualType) T)); in getPointerType()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h547 return ctx.getPointerType(getValueType()); in getLocationType()
598 return Ctx.getPointerType(D->getType()); in getLocationType()

123