Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/mlir/lib/Conversion/GPUToVulkan/
H A DConvertLaunchFuncToVulkanCalls.cpp93 Type getPointerType() { return llvmPointerType; } in getPointerType() function in __anon6bce53480111::VulkanLaunchFuncToVulkanCallsPass
298 {getPointerType(), getPointerType()})); in declareVulkanFunctions()
305 {getPointerType(), getInt64Type(), in declareVulkanFunctions()
314 {getPointerType(), getPointerType(), getInt32Type()})); in declareVulkanFunctions()
320 LLVM::LLVMFunctionType::get(getVoidType(), {getPointerType()})); in declareVulkanFunctions()
336 {getPointerType(), getInt32Type(), getInt32Type(), in declareVulkanFunctions()
346 loc, kInitVulkan, LLVM::LLVMFunctionType::get(getPointerType(), {})); in declareVulkanFunctions()
352 LLVM::LLVMFunctionType::get(getVoidType(), {getPointerType()})); in declareVulkanFunctions()
374 loc, TypeRange{getPointerType()}, kInitVulkan); in translateVulkanLaunchCall()
/llvm-project-15.0.7/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.cpp174 Type = C.getPointerType(Type.getNonReferenceType()); in buildRecordForGlobalizedVars()
1561 Ctx.getPointerType(Ctx.VoidPtrTy)); in emitParallelCall()
1903 QualType PrivatePtrType = C.getPointerType(Private->getType());
3321 /*Volatile=*/false, C.getPointerType(C.VoidPtrTy), Loc); in emitReduction()
3408 ArgType = CGM.getContext().getPointerType(PointeeTy); in translateParameter()
3562 .getPointerType(CGF.getContext().VoidPtrTy) in createParallelDataSharingWrapper()
3573 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
3583 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
3594 Src, CGF.ConvertTypeForMem(CGFContext.getPointerType(ElemTy)), in createParallelDataSharingWrapper()
3598 CGFContext.getPointerType(ElemTy), in createParallelDataSharingWrapper()
H A DCGOpenMPRuntime.cpp3353 KmpRoutineEntryPtrQTy = C.getPointerType( in emitKmpRoutineEntryT()
3403 Type = C.getPointerType(Type); in createPrivatesRecordDecl()
3405 Type = C.getPointerType(Type); in createPrivatesRecordDecl()
3674 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3685 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3696 C.getPointerType(C.getPointerType(E->getType())) in emitTaskPrivateMappingFunction()
3707 Ty = C.getPointerType(Ty); in emitTaskPrivateMappingFunction()
3709 Ty = C.getPointerType(Ty); in emitTaskPrivateMappingFunction()
3712 C.getPointerType(C.getPointerType(Ty)).withConst().withRestrict(), in emitTaskPrivateMappingFunction()
9916 C.getPointerType(Int64Ty), Loc); in emitUserDefinedMapper()
[all …]
H A DCGStmtOpenMP.cpp160 CGF.getContext().getPointerType(OrigVDTy))), in emitPreInitStmt()
352 DstAddr.getPointer(), Ctx.getPointerType(Ctx.getUIntPtrType()), in GenerateOpenMPCapturedVars()
353 Ctx.getPointerType(CurField->getType()), CurCap->getLocation()); in GenerateOpenMPCapturedVars()
378 Ctx.getPointerType(DstType), Loc); in castValueFromUintptr()
390 return C.getPointerType(getCanonicalParamType(C, T->getPointeeType())); in getCanonicalParamType()
4731 Ty = CGF.getContext().getPointerType(Ty); in EmitOMPTaskBasedDirective()
4733 Ty = CGF.getContext().getPointerType(Ty); in EmitOMPTaskBasedDirective()
4735 CGF.getContext().getPointerType(Ty), ".local.ptr.addr"); in EmitOMPTaskBasedDirective()
4823 CGF.getContext().getPointerType( in EmitOMPTaskBasedDirective()
5098 CGF.getContext().getPointerType( in processInReduction()
[all …]
/llvm-project-15.0.7/clang/unittests/AST/
H A DSizelessTypesTest.cpp53 ASSERT_FALSE(Ctx.getPointerType(Ctx.SveBoolTy)->isSizelessBuiltinType()); in TEST_F()
83 ASSERT_FALSE(Ctx.getPointerType(Ctx.SveBoolTy)->isSizelessType()); in TEST_F()
/llvm-project-15.0.7/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp537 T = Context->getPointerType(T); in convertToUnqualifiedObjCType()
1274 selfTy = Context->getPointerType(selfTy); in RewriteObjCMethodDecl()
2689 castType = Context->getPointerType(castType); in RewriteObjCBoxedExpr()
2810 castType = Context->getPointerType(castType); in RewriteObjCArrayLiteralExpr()
2943 T = Context->getPointerType(PointeeTy); in RewriteObjCDictionaryLiteralExpr()
2962 castType = Context->getPointerType(castType); in RewriteObjCDictionaryLiteralExpr()
4121 QT = Context->getPointerType(QT); in SynthesizeBlockFunc()
4215 QT = Context->getPointerType(QT); in SynthesizeBlockImpl()
4515 T = Context->getPointerType(T); in convertObjCTypeToCStyleType()
5313 QT = Context->getPointerType(QT); in SynthBlockInitExpr()
[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()
2611 castType = Context->getPointerType(castType); in SynthMsgSendStretCallExpr()
2957 castType = Context->getPointerType(castType); in SynthMessageExpr()
3330 QT = Context->getPointerType(QT); in SynthesizeBlockFunc()
3424 QT = Context->getPointerType(QT); in SynthesizeBlockImpl()
4403 QualType FType = Context->getPointerType(BFT); in SynthBlockInitExpr()
4450 QT = Context->getPointerType(QT); in SynthBlockInitExpr()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/misc/
H A DMisplacedConstCheck.cpp44 QualType NewQT = Context.getPointerType( in guessAlternateQualification()
/llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp311 return ast_ctx.getPointerType(ast_ctx.CharTy); in BuildType()
350 return ast_ctx.getPointerType(target_type); in BuildType()
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DExpectedTypes.cpp36 return Ctx.getPointerType(QualType(T->getArrayElementTypeNoTypeQual(), 0)) in toEquivClass()
/llvm-project-15.0.7/clang/lib/AST/
H A DFormatString.cpp523 Res = C.getPointerType(C.CharTy); in getRepresentativeType()
526 Res = C.getPointerType(C.getWideCharType()); in getRepresentativeType()
541 Res = C.getPointerType(Res); in getRepresentativeType()
H A DASTContext.cpp1475 VoidPtrTy = getPointerType(getCanonicalType( in InitBuiltinTypes()
1478 VoidPtrTy = getPointerType(VoidTy); in InitBuiltinTypes()
1771 T = getPointerType(RT->getPointeeType()); in getDeclAlign()
3102 return getPointerType(ResultType); in getObjCGCQualType()
3350 Decayed = getPointerType(T); in getDecayedType()
5925 Result = getPointerType(QualType(Ty, 0)); in getCanonicalParamType()
7318 getPointerType(VoidPtrTy), in getBlockDescriptorExtendedType()
7319 getPointerType(VoidPtrTy) in getBlockDescriptorExtendedType()
8582 QualType T = getPointerType(ObjCBuiltinSelTy); in getObjCSelDecl()
10438 return getPointerType(ResultType); in mergeTypes()
[all …]
H A DASTDumper.cpp281 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.cpp388 QT = Ctx.getPointerType(QT); in getFullyQualifiedType()
/llvm-project-15.0.7/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()
654 if (shouldBeModeledWithNoOp(Context, Context.getPointerType(CastTy), in Visit()
655 Context.getPointerType(OriginalTy))) in Visit()
H A DExprEngineC.cpp443 resultType = getContext().getPointerType(resultType); in VisitCast()
484 resultType = getContext().getPointerType(resultType); in VisitCast()
534 resultType = getContext().getPointerType(resultType); in VisitCast()
625 Ty = getContext().getPointerType(Ty); in VisitDeclStmt()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaFixItUtils.cpp135 CanConvert = CompareTypes(S.Context.getPointerType(FromQTy), ToQTy, S, in tryToFixConversion()
H A DSemaRISCVVectorLookup.cpp125 QT = Context.getPointerType(QT); in RVVType2Qual()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DErrnoModeling.cpp108 ACtx.getPointerType(ACtx.IntTy); in getErrnoFunc()
H A DNumberObjectConversionChecker.cpp137 ObjT = ACtx.getPointerType( in run()
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DASTResultSynthesizer.cpp352 ptr_qual_type = Ctx.getPointerType(expr_qual_type); in SynthesizeBodyResult()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h351 ? Context.getPointerType(type->getPointeeType()) in makeNullWithType()

1234