Home
last modified time | relevance | path

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

1234

/src/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 DCGOpenCLRuntime.h55 llvm::PointerType *getPointerType(const Type *T);
H A DCGOpenMPRuntimeGPU.cpp137 Type = C.getPointerType(Type.getNonReferenceType()); in buildRecordForGlobalizedVars()
1246 Ctx.getPointerType(Ctx.VoidPtrTy)); in emitParallelCall()
1780 ArgType = CGM.getContext().getPointerType(PointeeTy); in translateParameter()
1926 .getPointerType(CGF.getContext().VoidPtrTy) in createParallelDataSharingWrapper()
1937 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
1947 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
1958 Src, CGF.ConvertTypeForMem(CGFContext.getPointerType(ElemTy)), in createParallelDataSharingWrapper()
1962 CGFContext.getPointerType(ElemTy), in createParallelDataSharingWrapper()
H A DCGOpenMPRuntime.cpp1083 QualType PtrTy = C.getPointerType(Ty).withRestrict(); in emitCombinerOrInitializer()
1572 CGM.getContext().getPointerType(VD->getType())); in getAddrOfDeclareTargetVar()
2851 KmpRoutineEntryPtrQTy = C.getPointerType( in emitKmpRoutineEntryT()
2901 Type = C.getPointerType(Type); in createPrivatesRecordDecl()
2903 Type = C.getPointerType(Type); in createPrivatesRecordDecl()
3164 C.getPointerType(PrivatesQTy).withConst().withRestrict(), in emitTaskPrivateMappingFunction()
3172 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3183 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3194 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3205 Ty = C.getPointerType(Ty); in emitTaskPrivateMappingFunction()
[all …]
H A DCGStmtOpenMP.cpp165 CGF.getContext().getPointerType(OrigVDTy))), in emitPreInitStmt()
380 Ctx.getPointerType(Ctx.getUIntPtrType()), in GenerateOpenMPCapturedVars()
381 Ctx.getPointerType(CurField->getType()), CurCap->getLocation()); in GenerateOpenMPCapturedVars()
406 Ctx.getPointerType(DstType), Loc); in castValueFromUintptr()
419 return C.getPointerType(getCanonicalParamType(C, T->getPointeeType())); in getCanonicalParamType()
1680 CGF.ConvertTypeForMem(CGM.getContext().getPointerType(CVD->getType())), in getAddressOfLocalVariable()
4841 CGF.getContext().getPointerType(E->getType()), ".priv.ptr.addr"); in EmitOMPTaskBasedDirective()
4849 CGF.CreateMemTemp(CGF.getContext().getPointerType(E->getType()), in EmitOMPTaskBasedDirective()
4859 CGF.CreateMemTemp(CGF.getContext().getPointerType(E->getType()), in EmitOMPTaskBasedDirective()
4868 Ty = CGF.getContext().getPointerType(Ty); in EmitOMPTaskBasedDirective()
[all …]
/src/contrib/llvm-project/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_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 …]
/src/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()
572 Call->setType(getASTContext().getPointerType( in checkBuiltinToAddr()
H A DSemaWasm.cpp75 QualType Type = Context.getPointerType(Pointee); in BuiltinWasmRefNullFunc()
78 Context.getPointerType(Pointee)); in BuiltinWasmRefNullFunc()
H A DSemaFixItUtils.cpp139 CanConvert = CompareTypes(S.Context.getPointerType(FromQTy), ToQTy, S, in tryToFixConversion()
H A DSemaARM.cpp791 QualType LHSTy = getASTContext().getPointerType(EltTy); in CheckNeonBuiltinFunctionCall()
922 << PointerArg->getType() << Context.getPointerType(AddrType) in CheckARMBuiltinExclusiveCall()
927 AddrType = Context.getPointerType(AddrType); in CheckARMBuiltinExclusiveCall()
H A DSemaExprObjC.cpp587 Context.getPointerType(ConstCharType), in BuildObjCBoxedExpr()
710 Context.getPointerType(ConstCharType), in BuildObjCBoxedExpr()
833 Context.getPointerType(IdT), in BuildObjCArrayLiteral()
861 << Context.getPointerType(IdT.withConst()); in BuildObjCArrayLiteral()
994 Context.getPointerType(IdT), in BuildObjCDictionaryLiteral()
1002 Context.getPointerType(IdT), in BuildObjCDictionaryLiteral()
1031 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
1065 << Context.getPointerType(IdT.withConst()); in BuildObjCDictionaryLiteral()
5050 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType()
5071 QualType destType = Context.getPointerType(destPointee); in FindCompositeObjCPointerType()
H A DSemaPPC.cpp313 Type = Context.getPointerType(Type); in DecodePPCMMATypeFromStr()
/src/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp316 return ast_ctx.getPointerType(ast_ctx.CharTy); in BuildType()
355 return ast_ctx.getPointerType(target_type); in BuildType()
/src/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreterUtils.cpp25 Ty = Ctx.getPointerType(Ty); in CStyleCastPtrExpr()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp171 T = LCtx->getAnalysisDeclContext()->getASTContext().getPointerType(ExType); in conjureSymbolVal()
326 QualType PT = getContext().getPointerType(QualType(T, 0)); in getCXXThis()
661 if (shouldBeModeledWithNoOp(Context, Context.getPointerType(CastTy), in Visit()
662 Context.getPointerType(OriginalTy))) in Visit()
H A DExprEngineC.cpp436 resultType = getContext().getPointerType(resultType); in VisitCast()
477 resultType = getContext().getPointerType(resultType); in VisitCast()
528 resultType = getContext().getPointerType(resultType); in VisitCast()
619 Ty = getContext().getPointerType(Ty); in VisitDeclStmt()
/src/contrib/llvm-project/clang/lib/AST/
H A DFormatString.cpp626 Res = C.getPointerType(C.CharTy); in getRepresentativeType()
629 Res = C.getPointerType(C.getWideCharType()); in getRepresentativeType()
644 Res = C.getPointerType(Res); in getRepresentativeType()
H A DASTContext.cpp1434 VoidPtrTy = getPointerType(getCanonicalType( in InitBuiltinTypes()
1437 VoidPtrTy = getPointerType(VoidTy); in InitBuiltinTypes()
1698 T = getPointerType(RT->getPointeeType()); in getDeclAlign()
3441 return getPointerType(ResultType); in getObjCGCQualType()
3463 return getPointerType(removeAddrSpaceQualType(Pointee)); in removePtrSizeAddrSpace()
3650 QualType ASTContext::getPointerType(QualType T) const { in getPointerType() function in ASTContext
3664 Canonical = getPointerType(getCanonicalType(T)); in getPointerType()
3735 Decayed = getPointerType(T); in getDecayedType()
4034 result = getPointerType(getVariableArrayDecayedType( in getVariableArrayDecayedType()
6432 Result = getPointerType(QualType(Ty, 0)); in getCanonicalParamType()
[all …]
H A DASTDumper.cpp346 Dumper.Visit(*this, /*Ty=*/Context.getPointerType(Context.CharTy)); in dump()
H A DQualTypeNames.cpp387 QT = Ctx.getPointerType(QT); in getFullyQualifiedType()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNumberObjectConversionChecker.cpp137 ObjT = ACtx.getPointerType( in run()
H A DSmartPtrModeling.cpp195 return C.getASTContext().getPointerType(InnerValueType.getCanonicalType()); in getInnerPointerType()
210 return C.getASTContext().getPointerType(ValueType.getCanonicalType()); in getPointerTypeFromTemplateArg()
/src/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp352 ptr_qual_type = Ctx.getPointerType(expr_qual_type); in SynthesizeBodyResult()
/src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h372 ? Context.getPointerType(type->getPointeeType()) in makeNullWithType()

1234