Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp43 return getPointerType(T, "opencl." #ImgType "_" #Suffix "_t"); in convertOpenCLSpecificType()
48 return getPointerType(T, "opencl.event_t"); in convertOpenCLSpecificType()
50 return getPointerType(T, "opencl.clk_event_t"); in convertOpenCLSpecificType()
52 return getPointerType(T, "opencl.queue_t"); in convertOpenCLSpecificType()
54 return getPointerType(T, "opencl.reserve_id_t"); in convertOpenCLSpecificType()
57 return getPointerType(T, "opencl." #ExtType); in convertOpenCLSpecificType()
62 llvm::PointerType *CGOpenCLRuntime::getPointerType(const Type *T, in getPointerType() function in CGOpenCLRuntime
H A DCGOpenCLRuntime.h56 llvm::PointerType *getPointerType(const Type *T, StringRef Name);
H A DCGOpenMPRuntimeGPU.cpp157 Type = C.getPointerType(Type.getNonReferenceType()); in buildRecordForGlobalizedVars()
1209 Ctx.getPointerType(Ctx.VoidPtrTy)); in emitParallelCall()
1551 QualType PrivatePtrType = C.getPointerType(Private->getType());
2969 /*Volatile=*/false, C.getPointerType(C.VoidPtrTy), Loc); in emitReduction()
3056 ArgType = CGM.getContext().getPointerType(PointeeTy); in translateParameter()
3210 .getPointerType(CGF.getContext().VoidPtrTy) in createParallelDataSharingWrapper()
3221 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
3231 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
3242 Src, CGF.ConvertTypeForMem(CGFContext.getPointerType(ElemTy)), in createParallelDataSharingWrapper()
3246 CGFContext.getPointerType(ElemTy), in createParallelDataSharingWrapper()
H A DCGOpenMPRuntime.cpp1099 QualType PtrTy = C.getPointerType(Ty).withRestrict(); in emitCombinerOrInitializer()
1642 QualType PtrTy = CGM.getContext().getPointerType(VD->getType()); in getAddrOfDeclareTargetVar()
3038 KmpRoutineEntryPtrQTy = C.getPointerType( in emitKmpRoutineEntryT()
3088 Type = C.getPointerType(Type); in createPrivatesRecordDecl()
3090 Type = C.getPointerType(Type); in createPrivatesRecordDecl()
3351 C.getPointerType(PrivatesQTy).withConst().withRestrict(), in emitTaskPrivateMappingFunction()
3359 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3370 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3381 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3392 Ty = C.getPointerType(Ty); in emitTaskPrivateMappingFunction()
[all …]
H A DCGStmtOpenMP.cpp161 CGF.getContext().getPointerType(OrigVDTy))), in emitPreInitStmt()
353 DstAddr.getPointer(), Ctx.getPointerType(Ctx.getUIntPtrType()), in GenerateOpenMPCapturedVars()
354 Ctx.getPointerType(CurField->getType()), CurCap->getLocation()); in GenerateOpenMPCapturedVars()
379 Ctx.getPointerType(DstType), Loc); in castValueFromUintptr()
391 return C.getPointerType(getCanonicalParamType(C, T->getPointeeType())); in getCanonicalParamType()
1657 CGF.ConvertTypeForMem(CGM.getContext().getPointerType(CVD->getType())), in getAddressOfLocalVariable()
4757 CGF.getContext().getPointerType(E->getType()), ".priv.ptr.addr"); in EmitOMPTaskBasedDirective()
4765 CGF.CreateMemTemp(CGF.getContext().getPointerType(E->getType()), in EmitOMPTaskBasedDirective()
4775 CGF.CreateMemTemp(CGF.getContext().getPointerType(E->getType()), in EmitOMPTaskBasedDirective()
4784 Ty = CGF.getContext().getPointerType(Ty); in EmitOMPTaskBasedDirective()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp510 T = Context->getPointerType(BPT->getPointeeType()); in convertBlockPointerToFunctionPointer()
537 T = Context->getPointerType(T); in convertToUnqualifiedObjCType()
870 QualType PtrStructIMPL = Context->getPointerType(Context->getTagDeclType(RD)); in getIvarAccessString()
891 QualType castT = Context->getPointerType(IvarT); in getIvarAccessString()
1274 selfTy = Context->getPointerType(selfTy); in RewriteObjCMethodDecl()
2108 QualType pToFunc = Context->getPointerType(msgSendType); in SynthesizeCallToFunctionDecl()
2319 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2519 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl()
2549 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl()
2595 Context->getPointerType(DRE->getType()), VK_PRValue, 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_PRValue, OK_Ordinary, in RewriteObjCStringLiteral()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp314 return ast_ctx.getPointerType(ast_ctx.CharTy); in BuildType()
353 return ast_ctx.getPointerType(target_type); in BuildType()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp171 T = LCtx->getAnalysisDeclContext()->getASTContext().getPointerType(ExType); in conjureSymbolVal()
318 QualType PT = getContext().getPointerType(QualType(T, 0)); in getCXXThis()
656 if (shouldBeModeledWithNoOp(Context, Context.getPointerType(CastTy), in Visit()
657 Context.getPointerType(OriginalTy))) in Visit()
H A DExprEngineC.cpp444 resultType = getContext().getPointerType(resultType); in VisitCast()
485 resultType = getContext().getPointerType(resultType); in VisitCast()
535 resultType = getContext().getPointerType(resultType); in VisitCast()
626 Ty = getContext().getPointerType(Ty); in VisitDeclStmt()
H A DCallEvent.cpp806 QualType Ty = Ctx.getPointerType(Ctx.getRecordType(Class)); in getInitialStackFrameContents()
817 QualType StaticTy = Ctx.getPointerType(Ctx.getRecordType(StaticClass)); in getInitialStackFrameContents()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DFormatString.cpp583 Res = C.getPointerType(C.CharTy); in getRepresentativeType()
586 Res = C.getPointerType(C.getWideCharType()); in getRepresentativeType()
601 Res = C.getPointerType(Res); in getRepresentativeType()
H A DASTContext.cpp1448 VoidPtrTy = getPointerType(getCanonicalType( in InitBuiltinTypes()
1451 VoidPtrTy = getPointerType(VoidTy); in InitBuiltinTypes()
1744 T = getPointerType(RT->getPointeeType()); in getDeclAlign()
3125 return getPointerType(ResultType); in getObjCGCQualType()
3147 return getPointerType(removeAddrSpaceQualType(Pointee)); in removePtrSizeAddrSpace()
3308 QualType ASTContext::getPointerType(QualType T) const { in getPointerType() function in ASTContext
3322 Canonical = getPointerType(getCanonicalType(T)); in getPointerType()
3393 Decayed = getPointerType(T); in getDecayedType()
3659 result = getPointerType(getVariableArrayDecayedType( in getVariableArrayDecayedType()
5974 Result = getPointerType(QualType(Ty, 0)); in getCanonicalParamType()
[all …]
H A DASTDumper.cpp334 Dumper.Visit(*this, /*Ty=*/Context.getPointerType(Context.CharTy)); in dump()
H A DPrintfFormatString.cpp634 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType()
643 return ArgType(Ctx.getPointerType(Ctx.UnsignedShortTy.withConst()), in getScalarArgType()
H A DQualTypeNames.cpp386 QT = Ctx.getPointerType(QT); in getFullyQualifiedType()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaFixItUtils.cpp139 CanConvert = CompareTypes(S.Context.getPointerType(FromQTy), ToQTy, S, in tryToFixConversion()
H A DSemaRISCVVectorLookup.cpp126 QT = Context.getPointerType(QT); in RVVType2Qual()
H A DSemaExprObjC.cpp578 Context.getPointerType(ConstCharType), in BuildObjCBoxedExpr()
704 Context.getPointerType(ConstCharType), in BuildObjCBoxedExpr()
825 Context.getPointerType(IdT), in BuildObjCArrayLiteral()
853 << Context.getPointerType(IdT.withConst()); in BuildObjCArrayLiteral()
987 Context.getPointerType(IdT), in BuildObjCDictionaryLiteral()
995 Context.getPointerType(IdT), in BuildObjCDictionaryLiteral()
1024 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
1058 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp137 ObjT = ACtx.getPointerType( in run()
H A DErrnoModeling.cpp109 ACtx.getPointerType(ACtx.IntTy); in getErrnoFunc()
H A DSmartPtrModeling.cpp195 return C.getASTContext().getPointerType(InnerValueType.getCanonicalType()); in getInnerPointerType()
210 return C.getASTContext().getPointerType(ValueType.getCanonicalType()); in getPointerTypeFromTemplateArg()
H A DCastValueChecker.cpp291 CastToTy = C.getASTContext().getPointerType(CastToTy); in addInstanceOfTransition()
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp352 ptr_qual_type = Ctx.getPointerType(expr_qual_type); in SynthesizeBodyResult()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h351 ? Context.getPointerType(type->getPointeeType()) in makeNullWithType()

1234