Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp43 return getPointerType(T); in convertOpenCLSpecificType()
46 llvm::PointerType *CGOpenCLRuntime::getPointerType(const Type *T) { in getPointerType() function in CGOpenCLRuntime
65 PipeTy = getPointerType(T); in getPipeType()
77 SamplerTy = getPointerType(T); in getSamplerType()
H A DCGOpenMPRuntimeGPU.cpp138 Type = C.getPointerType(Type.getNonReferenceType()); in buildRecordForGlobalizedVars()
1245 Ctx.getPointerType(Ctx.VoidPtrTy)); in emitParallelCall()
1779 ArgType = CGM.getContext().getPointerType(PointeeTy); in translateParameter()
1925 .getPointerType(CGF.getContext().VoidPtrTy) in createParallelDataSharingWrapper()
1936 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
1946 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
1957 Src, CGF.ConvertTypeForMem(CGFContext.getPointerType(ElemTy)), in createParallelDataSharingWrapper()
1961 CGFContext.getPointerType(ElemTy), in createParallelDataSharingWrapper()
H A DCGStmtOpenMP.cpp169 CGF.getContext().getPointerType(OrigVDTy))), in emitPreInitStmt()
410 Ctx.getPointerType(Ctx.getUIntPtrType()), in GenerateOpenMPCapturedVars()
411 Ctx.getPointerType(CurField->getType()), CurCap->getLocation()); in GenerateOpenMPCapturedVars()
436 Ctx.getPointerType(DstType), Loc); in castValueFromUintptr()
449 return C.getPointerType(getCanonicalParamType(C, T->getPointeeType())); in getCanonicalParamType()
1721 CGF.ConvertTypeForMem(CGM.getContext().getPointerType(CVD->getType())), in getAddressOfLocalVariable()
5041 CGF.getContext().getPointerType(E->getType()), ".priv.ptr.addr"); in EmitOMPTaskBasedDirective()
5049 CGF.CreateMemTemp(CGF.getContext().getPointerType(E->getType()), in EmitOMPTaskBasedDirective()
5059 CGF.CreateMemTemp(CGF.getContext().getPointerType(E->getType()), in EmitOMPTaskBasedDirective()
5068 Ty = CGF.getContext().getPointerType(Ty); in EmitOMPTaskBasedDirective()
[all …]
H A DCGOpenMPRuntime.cpp1079 QualType PtrTy = C.getPointerType(Ty).withRestrict(); in emitCombinerOrInitializer()
1562 CGM.getContext().getPointerType(VD->getType())); in getAddrOfDeclareTargetVar()
2827 KmpRoutineEntryPtrQTy = C.getPointerType( in emitKmpRoutineEntryT()
2877 Type = C.getPointerType(Type); in createPrivatesRecordDecl()
2879 Type = C.getPointerType(Type); in createPrivatesRecordDecl()
3140 C.getPointerType(PrivatesQTy).withConst().withRestrict(), in emitTaskPrivateMappingFunction()
3148 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3159 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3170 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3181 Ty = C.getPointerType(Ty); in emitTaskPrivateMappingFunction()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp508 T = Context->getPointerType(BPT->getPointeeType()); in convertBlockPointerToFunctionPointer()
535 T = Context->getPointerType(T); in convertToUnqualifiedObjCType()
868 QualType PtrStructIMPL = Context->getPointerType(Context->getTagDeclType(RD)); in getIvarAccessString()
889 QualType castT = Context->getPointerType(IvarT); in getIvarAccessString()
1272 selfTy = Context->getPointerType(selfTy); in RewriteObjCMethodDecl()
2106 QualType pToFunc = Context->getPointerType(msgSendType); in SynthesizeCallToFunctionDecl()
2317 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2517 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl()
2547 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl()
2593 Context->getPointerType(DRE->getType()), VK_PRValue, OK_Ordinary, in RewriteObjCStringLiteral()
[all …]
H A DRewriteObjC.cpp418 T = Context->getPointerType(BPT->getPointeeType()); in convertBlockPointerToFunctionPointer()
441 T = Context->getPointerType(T); in convertToUnqualifiedObjCType()
1105 selfTy = Context->getPointerType(selfTy); in RewriteObjCMethodDecl()
2022 QualType pToFunc = Context->getPointerType(msgSendType); in SynthesizeCallToFunctionDecl()
2230 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthSelGetUidFunctionDecl()
2361 QualType argT = Context->getPointerType(Context->getTagDeclType(RD)); in SynthMsgSendSuperFunctionDecl()
2404 QualType argT = Context->getPointerType(Context->getTagDeclType(RD)); in SynthMsgSendSuperStretFunctionDecl()
2443 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetClassFunctionDecl()
2473 ArgTys.push_back(Context->getPointerType(Context->CharTy.withConst())); in SynthGetMetaClassFunctionDecl()
2519 Context->getPointerType(DRE->getType()), VK_PRValue, OK_Ordinary, in RewriteObjCStringLiteral()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaOpenCL.cpp331 << Context.getPointerType(Context.OCLClkEventTy); in checkBuiltinEnqueueKernel()
343 << Context.getPointerType(Context.OCLClkEventTy); in checkBuiltinEnqueueKernel()
426 << Call->getDirectCallee() << S.Context.getPointerType(EltTy) in checkPipePacketType()
573 Call->setType(getASTContext().getPointerType( in checkBuiltinToAddr()
H A DHLSLBuiltinTypeDeclBuilder.cpp453 AST, AST.getPointerType(FD->getType()), CK_BuiltinFnToFnPtr, DRE, nullptr, in callBuiltin()
665 .addParam("name", AST.getPointerType(AST.CharTy.withConst())) in addHandleConstructorFromBinding()
686 .addParam("name", AST.getPointerType(AST.CharTy.withConst())) in addHandleConstructorFromImplicitBinding()
815 QualType ElemPtrTy = AST.getPointerType(AddrSpaceElemTy); in addHandleAccessFunction()
848 AST.getPointerType(AddrSpaceElemTy), PH::Handle, in addAppendMethod()
865 AST.getPointerType(AddrSpaceElemTy), PH::Handle, in addConsumeMethod()
H A DSemaWasm.cpp86 QualType Type = Context.getPointerType(Pointee); in BuiltinWasmRefNullFunc()
89 Context.getPointerType(Pointee)); in BuiltinWasmRefNullFunc()
H A DSemaFixItUtils.cpp139 CanConvert = CompareTypes(S.Context.getPointerType(FromQTy), ToQTy, S, in tryToFixConversion()
H A DSemaSPIRV.cpp134 Call->setType(SemaRef.getASTContext().getPointerType( in checkGenericCastToPtr()
H A DSemaARM.cpp773 QualType LHSTy = getASTContext().getPointerType(EltTy); in CheckNeonBuiltinFunctionCall()
905 << PointerArg->getType() << Context.getPointerType(AddrType) in CheckARMBuiltinExclusiveCall()
910 AddrType = Context.getPointerType(AddrType); in CheckARMBuiltinExclusiveCall()
H A DSemaExprObjC.cpp583 Context.getPointerType(ConstCharType), in BuildObjCBoxedExpr()
705 Context.getPointerType(ConstCharType), in BuildObjCBoxedExpr()
828 Context.getPointerType(IdT), in BuildObjCArrayLiteral()
856 << Context.getPointerType(IdT.withConst()); in BuildObjCArrayLiteral()
989 Context.getPointerType(IdT), in BuildObjCDictionaryLiteral()
997 Context.getPointerType(IdT), in BuildObjCDictionaryLiteral()
1026 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
1060 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
5044 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType()
5065 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType()
H A DSemaPPC.cpp319 Type = Context.getPointerType(Type); in DecodePPCMMATypeFromStr()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp326 return ast_ctx.getPointerType(ast_ctx.CharTy); in BuildType()
365 return ast_ctx.getPointerType(target_type); in BuildType()
/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreterUtils.cpp25 Ty = Ctx.getPointerType(Ty); in CStyleCastPtrExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp169 T = LCtx->getAnalysisDeclContext()->getASTContext().getPointerType(ExType); in conjureSymbolVal()
324 QualType PT = getContext().getPointerType(QualType(T, 0)); in getCXXThis()
662 if (shouldBeModeledWithNoOp(Context, Context.getPointerType(CastTy), in Visit()
663 Context.getPointerType(OriginalTy))) in Visit()
H A DExprEngineC.cpp472 resultType = getContext().getPointerType(resultType); in VisitCast()
513 resultType = getContext().getPointerType(resultType); in VisitCast()
566 resultType = getContext().getPointerType(resultType); in VisitCast()
657 Ty = getContext().getPointerType(Ty); in VisitDeclStmt()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DFormatString.cpp712 Res = C.getPointerType(C.CharTy); in getRepresentativeType()
715 Res = C.getPointerType(C.getWideCharType()); in getRepresentativeType()
730 Res = C.getPointerType(Res); in getRepresentativeType()
H A DASTContext.cpp1497 VoidPtrTy = getPointerType(getCanonicalType( in InitBuiltinTypes()
1500 VoidPtrTy = getPointerType(VoidTy); in InitBuiltinTypes()
1852 T = getPointerType(RT->getPointeeType()); in getDeclAlign()
3669 return getPointerType(ResultType); in getObjCGCQualType()
3691 return getPointerType(removeAddrSpaceQualType(Pointee)); in removePtrSizeAddrSpace()
3929 QualType ASTContext::getPointerType(QualType T) const { in getPointerType() function in ASTContext
3943 Canonical = getPointerType(getCanonicalType(T)); in getPointerType()
4014 Decayed = getPointerType(T); in getDecayedType()
4332 result = getPointerType(getVariableArrayDecayedType( in getVariableArrayDecayedType()
6879 Result = getPointerType(QualType(Ty, 0)); in getCanonicalParamType()
[all …]
H A DASTDumper.cpp345 Dumper.Visit(*this, /*Ty=*/Context.getPointerType(Context.CharTy)); in dump()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp137 ObjT = ACtx.getPointerType( in run()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp344 ptr_qual_type = Ctx.getPointerType(expr_qual_type); in SynthesizeBodyResult()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h358 ? Context.getPointerType(type->getPointeeType()) in makeNullWithType()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprAggregate.cpp132 const QualType elementPtrType = cgf.getContext().getPointerType(elementType); in emitArrayInit()

1234