Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp509 T = Context->getPointerType(BPT->getPointeeType()); in convertBlockPointerToFunctionPointer()
536 T = Context->getPointerType(T); in convertToUnqualifiedObjCType()
869 QualType PtrStructIMPL = Context->getPointerType(Context->getTagDeclType(RD)); in getIvarAccessString()
890 QualType castT = Context->getPointerType(IvarT); in getIvarAccessString()
1273 selfTy = Context->getPointerType(selfTy); in RewriteObjCMethodDecl()
2107 QualType pToFunc = Context->getPointerType(msgSendType); in SynthesizeCallToFunctionDecl()
2318 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2518 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl()
2548 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl()
2594 Context->getPointerType(DRE->getType()), VK_RValue, OK_Ordinary, in RewriteObjCStringLiteral()
[all …]
H A DRewriteObjC.cpp420 T = Context->getPointerType(BPT->getPointeeType()); in convertBlockPointerToFunctionPointer()
443 T = Context->getPointerType(T); in convertToUnqualifiedObjCType()
1107 selfTy = Context->getPointerType(selfTy); in RewriteObjCMethodDecl()
2024 QualType pToFunc = Context->getPointerType(msgSendType); in SynthesizeCallToFunctionDecl()
2232 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2363 QualType argT = Context->getPointerType(Context->getTagDeclType(RD)); in SynthMsgSendSuperFunctionDecl()
2406 QualType argT = Context->getPointerType(Context->getTagDeclType(RD)); in SynthMsgSendSuperStretFunctionDecl()
2445 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl()
2475 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl()
2521 Context->getPointerType(DRE->getType()), VK_RValue, OK_Ordinary, in RewriteObjCStringLiteral()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp148 T = LCtx->getAnalysisDeclContext()->getASTContext().getPointerType(ExType); in conjureSymbolVal()
282 QualType PT = getContext().getPointerType(QualType(T, 0)); in getCXXThis()
575 if (shouldBeModeledWithNoOp(Context, Context.getPointerType(CastTy), in evalCast()
576 Context.getPointerType(OriginalTy))) in evalCast()
H A DExprEngineC.cpp291 resultType = getContext().getPointerType(resultType); in handleLVectorSplat()
455 resultType = getContext().getPointerType(resultType); in VisitCast()
494 resultType = getContext().getPointerType(resultType); in VisitCast()
633 Ty = getContext().getPointerType(Ty); in VisitDeclStmt()
H A DCallEvent.cpp802 QualType Ty = Ctx.getPointerType(Ctx.getRecordType(Class)); in getInitialStackFrameContents()
813 QualType StaticTy = Ctx.getPointerType(Ctx.getRecordType(StaticClass)); in getInitialStackFrameContents()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DFormatString.cpp518 Res = C.getPointerType(C.CharTy); in getRepresentativeType()
521 Res = C.getPointerType(C.getWideCharType()); in getRepresentativeType()
536 Res = C.getPointerType(Res); in getRepresentativeType()
H A DASTContext.cpp1468 VoidPtrTy = getPointerType(getCanonicalType( in InitBuiltinTypes()
1471 VoidPtrTy = getPointerType(VoidTy); in InitBuiltinTypes()
1738 T = getPointerType(RT->getPointeeType()); in getDeclAlign()
3006 return getPointerType(ResultType); in getObjCGCQualType()
3028 return getPointerType(removeAddrSpaceQualType(Pointee)); in removePtrSizeAddrSpace()
3189 QualType ASTContext::getPointerType(QualType T) const { in getPointerType() function in ASTContext
3203 Canonical = getPointerType(getCanonicalType(T)); in getPointerType()
3254 Decayed = getPointerType(T); in getDecayedType()
3530 result = getPointerType(getVariableArrayDecayedType( in getVariableArrayDecayedType()
5704 Result = getPointerType(QualType(Ty, 0)); in getCanonicalParamType()
[all …]
H A DASTDumper.cpp289 Dumper.Visit(*this, /*Ty=*/Context.getPointerType(Context.CharTy)); in dump()
H A DPrintfFormatString.cpp631 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType()
640 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType()
H A DQualTypeNames.cpp376 QT = Ctx.getPointerType(QT); in getFullyQualifiedType()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp176 Type = C.getPointerType(Type.getNonReferenceType()); in buildRecordForGlobalizedVars()
1865 .getPointerType(CGM.getContext().VoidPtrTy) in emitGenericVarsProlog()
2125 Ctx.getPointerType(Ctx.VoidPtrTy)); in emitParallelCall()
2465 C.getPointerType(Private->getType())->castAs<PointerType>());
2481 C.getPointerType(Private->getType())->castAs<PointerType>());
2488 C.getPointerType(Private->getType())->castAs<PointerType>());
2496 C.getPointerType(Private->getType())->castAs<PointerType>());
3852 /*Volatile=*/false, C.getPointerType(C.VoidPtrTy), Loc); in emitReduction()
3943 ArgType = CGM.getContext().getPointerType(PointeeTy); in translateParameter()
4096 .getPointerType(CGF.getContext().getPointerType( in createParallelDataSharingWrapper()
[all …]
H A DCGOpenMPRuntime.cpp1118 QualType PtrTy = C.getPointerType(Ty).withRestrict(); in emitCombinerOrInitializer()
1699 QualType PtrTy = CGM.getContext().getPointerType(VD->getType()); in getAddrOfDeclareTargetVar()
3387 KmpRoutineEntryPtrQTy = C.getPointerType( in emitKmpRoutineEntryT()
3409 addFieldToRecordDecl(C, RD, C.getPointerType(C.CharTy)); in getTgtOffloadEntryQTy()
3467 Type = C.getPointerType(Type); in createPrivatesRecordDecl()
3469 Type = C.getPointerType(Type); in createPrivatesRecordDecl()
3730 C.getPointerType(PrivatesQTy).withConst().withRestrict(), in emitTaskPrivateMappingFunction()
3738 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3749 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3760 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
[all …]
H A DCGStmtOpenMP.cpp156 CGF.getContext().getPointerType( in emitPreInitStmt()
348 DstAddr.getPointer(), Ctx.getPointerType(Ctx.getUIntPtrType()), in GenerateOpenMPCapturedVars()
349 Ctx.getPointerType(CurField->getType()), CurCap->getLocation()); in GenerateOpenMPCapturedVars()
374 Ctx.getPointerType(DstType), Loc); in castValueFromUintptr()
376 CGF.MakeNaturalAlignAddrLValue(CastedPtr, Ctx.getPointerType(DstType)) in castValueFromUintptr()
387 return C.getPointerType(getCanonicalParamType(C, T->getPointeeType())); in getCanonicalParamType()
1649 CGF.ConvertTypeForMem(CGM.getContext().getPointerType(CVD->getType())), in getAddressOfLocalVariable()
4366 CGF.getContext().getPointerType(E->getType()), ".priv.ptr.addr"); in EmitOMPTaskBasedDirective()
4374 CGF.CreateMemTemp(CGF.getContext().getPointerType(E->getType()), in EmitOMPTaskBasedDirective()
4384 CGF.CreateMemTemp(CGF.getContext().getPointerType(E->getType()), in EmitOMPTaskBasedDirective()
[all …]
H A DItaniumCXXABI.cpp1627 Context.getPointerType(Context.VoidPtrTy)); in buildStructorSignature()
1660 QualType T = Context.getPointerType(Context.VoidPtrTy); in addImplicitStructorParams()
1705 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy); in getImplicitConstructorArgs()
1724 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy); in EmitDestructorCall()
2804 getContext().getPointerType(RetQT), FunctionArgList()); in getOrCreateThreadLocalWrapper()
4180 QualType PointerType = getContext().getPointerType(FundamentalType); in EmitFundamentalRTTIDescriptors()
4181 QualType PointerTypeConst = getContext().getPointerType( in EmitFundamentalRTTIDescriptors()
H A DCGDebugInfo.cpp1177 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in collectDefaultElementTypesForBlockPointer()
1182 FType = CGM.getContext().getPointerType(Ty->getPointeeType()); in collectDefaultElementTypesForBlockPointer()
1184 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in collectDefaultElementTypesForBlockPointer()
3834 ResultTy = CGM.getContext().getPointerType( in getOrCreateFunctionType()
4187 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr()
4196 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr()
4207 FType = CGM.getContext().getPointerType(CGM.getContext().VoidTy); in EmitTypeForVarWithBlocksAttr()
4582 auto FnPtrType = CGM.getContext().getPointerType(FnTy->desugar()); in collectDefaultFieldsForBlockLiteralDeclare()
4588 Context.getPointerType(Block.NeedsCopyDispose in collectDefaultFieldsForBlockLiteralDeclare()
H A DCGObjC.cpp1773 getContext().getPointerType(StateTy)); in EmitObjCForCollectionStmt()
1781 getContext().getPointerType(ItemsTy)); in EmitObjCForCollectionStmt()
3682 QualType DestTy = C.getPointerType(Ty); in GenerateObjCAtomicSetterCopyHelperFunction()
3685 SrcTy = C.getPointerType(SrcTy); in GenerateObjCAtomicSetterCopyHelperFunction()
3766 QualType DestTy = C.getPointerType(Ty); in GenerateObjCAtomicGetterCopyHelperFunction()
3769 SrcTy = C.getPointerType(SrcTy); in GenerateObjCAtomicGetterCopyHelperFunction()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaFixItUtils.cpp135 CanConvert = CompareTypes(S.Context.getPointerType(FromQTy), ToQTy, in tryToFixConversion()
H A DSemaExprObjC.cpp577 Context.getPointerType(ConstCharType), in BuildObjCBoxedExpr()
703 Context.getPointerType(ConstCharType), in BuildObjCBoxedExpr()
824 Context.getPointerType(IdT), in BuildObjCArrayLiteral()
852 << Context.getPointerType(IdT.withConst()); in BuildObjCArrayLiteral()
986 Context.getPointerType(IdT), in BuildObjCDictionaryLiteral()
994 Context.getPointerType(IdT), in BuildObjCDictionaryLiteral()
1023 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
1060 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
H A DSemaExprCXX.cpp1118 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda()
1159 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda()
1166 return ASTCtx.getPointerType(ClassType); in adjustCVQualifiersForCXXThisWithinLambda()
1187 ThisTy = Context.getPointerType(ClassTy); in getCurrentThisType()
1217 S.CXXThisTypeOverride = S.Context.getPointerType(T); in CXXThisScopeRAII()
2020 QualType ResultType = Context.getPointerType(AllocType); in BuildCXXNew()
2952 QualType VoidPtr = Context.getPointerType(Context.VoidTy); in DeclareGlobalNewDelete()
3653 QualType Unqual = Context.getPointerType( in ActOnCXXDelete()
4209 FromType = Context.getPointerType(FromType); in PerformImplicitConversion()
4344 NewToType = Context.getPointerType(NewToType); in PerformImplicitConversion()
[all …]
H A DSemaCast.cpp1922 DestType = Self.Context.getPointerType(DestTypeTmp->getPointeeType()); in TryConstCast()
1923 SrcType = Self.Context.getPointerType(SrcType); in TryConstCast()
2249 DestType = Self.Context.getPointerType(DestTypeTmp->getPointeeType()); in TryReinterpretCast()
2250 SrcType = Self.Context.getPointerType(SrcType); in TryReinterpretCast()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp137 ObjT = ACtx.getPointerType( in run()
H A DCastValueChecker.cpp290 CastToTy = C.getASTContext().getPointerType(CastToTy); in addInstanceOfTransition()
H A DCStringChecker.cpp388 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckBufferAccess()
511 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in CheckOverlap()
886 QualType PtrTy = Ctx.getPointerType(Ctx.CharTy); in IsFirstBufInBound()
1188 QualType CharPtrTy = Ctx.getPointerType(Ctx.CharTy); in evalCopyCommon()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h539 return ctx.getPointerType(getValueType()); in getLocationType()
588 return Ctx.getPointerType(D->getType()); in getLocationType()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTContext.h1241 QualType getPointerType(QualType T) const;
1242 CanQualType getPointerType(CanQualType T) const { in getPointerType() function
1243 return CanQualType::CreateUnsafe(getPointerType((QualType) T)); in getPointerType()

123