Home
last modified time | relevance | path

Searched refs:VoidPtrTy (Results 1 – 25 of 57) sorted by relevance

123

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntimeGPU.cpp1261 PtrV = Bld.CreateIntToPtr(V, CGF.VoidPtrTy); in emitParallelCall()
1682 C.VoidPtrTy);
2034 C.VoidPtrTy, SourceLocation()), in emitShuffleAndReduceFunction()
2108 LocalReduceList.getPointer(), CGF.VoidPtrTy); in emitShuffleAndReduceFunction()
2110 RemoteReduceList.getPointer(), CGF.VoidPtrTy); in emitShuffleAndReduceFunction()
2191 C.VoidPtrTy, Loc), in emitListToGlobalCopyFunction()
2325 C.VoidPtrTy); in emitListToGlobalReduceFunction()
2344 AddrReduceListArg, /*Volatile=*/false, C.VoidPtrTy, Loc); in emitListToGlobalReduceFunction()
2397 C.VoidPtrTy, Loc), in emitGlobalToListCopyFunction()
2532 C.VoidPtrTy); in emitGlobalToListReduceFunction()
[all …]
H A DCGBlocks.cpp158 i8p = CGM.VoidPtrTy; in buildBlockDescriptor()
1896 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction()
1897 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction()
2081 ArgTys.push_back(C.VoidPtrTy); in GenerateDestroyHelperFunction()
2324 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper()
2325 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper()
2584 types.push_back(VoidPtrTy); in getBlockByrefInfo()
2588 types.push_back(VoidPtrTy); in getBlockByrefInfo()
2603 types.push_back(VoidPtrTy); in getBlockByrefInfo()
2607 types.push_back(VoidPtrTy); in getBlockByrefInfo()
[all …]
H A DCGOpenMPRuntime.cpp1662 CGM.getContext().VoidPtrTy, Args); in emitThreadPrivateVarDefinition()
1718 llvm::Type *CopyCtorTyArgs[] = {CGM.VoidPtrTy, CGM.VoidPtrTy}; in emitThreadPrivateVarDefinition()
1727 auto *CtorTy = llvm::FunctionType::get(CGM.VoidPtrTy, CGM.VoidPtrTy, in emitThreadPrivateVarDefinition()
1780 CGM.getModule(), CGM.VoidPtrTy, in emitDeclareTargetFunction()
2259 CGF.VoidPtrTy), in emitSingleRegion()
2930 addFieldToRecordDecl(C, RD, C.VoidPtrTy); in createKmpTaskTRecordDecl()
2944 addFieldToRecordDecl(C, RD, C.VoidPtrTy); in createKmpTaskTRecordDecl()
5248 QualType VoidPtrTy = C.VoidPtrTy; in emitReduceInitFunction() local
5249 VoidPtrTy.addRestrict(); in emitReduceInitFunction()
11167 CGM.VoidPtrTy)}; in emitDoacrossInit()
[all …]
H A DCodeGenTypeCache.h57 llvm::PointerType *VoidPtrTy; member
H A DCGException.cpp989 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy); in emitCatchPadBlock()
996 llvm::Constant::getNullValue(CGF.VoidPtrTy)}); in emitCatchPadBlock()
1039 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy); in emitWasmCatchPadBlock()
1071 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy); in emitWasmCatchPadBlock()
1736 QualType ArgTys[2] = {Context.UnsignedCharTy, Context.VoidPtrTy}; in Emit()
1926 D->getType() == getContext().VoidPtrTy) { in EmitCapturedLocals()
1948 Address(ParentFP, CGM.VoidPtrTy, getPointerAlign())); in EmitCapturedLocals()
2038 getContext().VoidPtrTy, ImplicitParamKind::Other)); in startOutlinedSEHHelper()
2047 &getContext().Idents.get("frame_pointer"), getContext().VoidPtrTy, in startOutlinedSEHHelper()
2133 llvm::Type *PtrsTy = llvm::StructType::get(RecordTy, CGM.VoidPtrTy); in EmitSEHExceptionCodeSave()
H A DCGAtomic.cpp833 Args.add(RValue::get(Val), CGF.getContext().VoidPtrTy); in AddDirectArgument()
1183 getContext().VoidPtrTy); in EmitAtomicExpr()
1219 getContext().VoidPtrTy); in EmitAtomicExpr()
1403 Args.add(RValue::get(Dest.getPointer()), getContext().VoidPtrTy); in EmitAtomicExpr()
1676 Args.add(RValue::get(getAtomicPointer()), CGF.getContext().VoidPtrTy); in EmitAtomicLoadLibcall()
1677 Args.add(RValue::get(AddForLoaded), CGF.getContext().VoidPtrTy); in EmitAtomicLoadLibcall()
1870 Args.add(RValue::get(getAtomicPointer()), CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall()
1871 Args.add(RValue::get(ExpectedAddr), CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall()
1872 Args.add(RValue::get(DesiredAddr), CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall()
2175 args.add(RValue::get(atomics.getAtomicPointer()), getContext().VoidPtrTy); in EmitAtomicStore()
[all …]
H A DCGObjC.cpp831 args.add(RValue::get(dest), Context.VoidPtrTy); in emitStructGetterCall()
832 args.add(RValue::get(src), Context.VoidPtrTy); in emitStructGetterCall()
1092 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1098 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall()
1331 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1339 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall()
1375 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1383 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall()
1522 Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy); in generateObjCSetterBody()
1527 arg = Builder.CreateBitCast(arg, VoidPtrTy); in generateObjCSetterBody()
[all …]
H A DCGCoroutine.cpp695 auto *Phi = Builder.CreatePHI(VoidPtrTy, 2); in EmitCoroutineBody()
737 new llvm::BitCastInst(PromiseAddr.getPointer(), VoidPtrTy, "", CoroId); in EmitCoroutineBody()
H A DCGObjCRuntime.cpp340 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy); in EmitAtSynchronizedStmt()
H A DCGVTables.cpp257 ResultType = CGM.getContext().VoidPtrTy; in StartThunk()
367 ? CGM.getContext().VoidPtrTy in EmitCallAndReturnForThunk()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBuildLibCalls.cpp1529 Type *VoidPtrTy = B.getPtrTy(); in emitMemCpyChk() local
1533 VoidPtrTy, VoidPtrTy, SizeTTy, SizeTTy); in emitMemCpyChk()
1543 Type *VoidPtrTy = B.getPtrTy(); in emitMemPCpy() local
1546 {VoidPtrTy, VoidPtrTy, SizeTTy}, in emitMemPCpy()
1552 Type *VoidPtrTy = B.getPtrTy(); in emitMemChr() local
1562 Type *VoidPtrTy = B.getPtrTy(); in emitMemRChr() local
1572 Type *VoidPtrTy = B.getPtrTy(); in emitMemCmp() local
1576 {VoidPtrTy, VoidPtrTy, SizeTTy}, in emitMemCmp()
1582 Type *VoidPtrTy = B.getPtrTy(); in emitBCmp() local
1586 {VoidPtrTy, VoidPtrTy, SizeTTy}, in emitBCmp()
[all …]
H A DValueMapper.cpp1075 PointerType *VoidPtrTy; in mapAppendingVariable() local
1080 VoidPtrTy = PointerType::getUnqual(GV.getContext()); in mapAppendingVariable()
1082 Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy}; in mapAppendingVariable()
1092 Constant *Null = Constant::getNullValue(VoidPtrTy); in mapAppendingVariable()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DSjLjEHPrepare.cpp111 Type *VoidPtrTy = PointerType::getUnqual(M.getContext()); in doInitialization() local
116 doubleUnderJBufTy = ArrayType::get(VoidPtrTy, 5); in doInitialization()
117 FunctionContextTy = StructType::get(VoidPtrTy, // __prev in doInitialization()
120 VoidPtrTy, // __personality in doInitialization()
121 VoidPtrTy, // __lsda in doInitialization()
H A DJMCInstrumenter.cpp130 PointerType *VoidPtrTy = PointerType::getUnqual(Ctx); in getCheckFunctionType() local
131 return FunctionType::get(VoidTy, VoidPtrTy, false); in getCheckFunctionType()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp108 QualType Ty = Record->getASTContext().VoidPtrTy; in addHandleMember()
173 Expr *Call = CallExpr::Create(AST, Fn, {RCExpr}, AST.VoidPtrTy, VK_PRValue, in addDefaultHandleConstructor()
185 if (Handle->getType().getCanonicalType() != AST.VoidPtrTy) { in addDefaultHandleConstructor()
222 assert(Handle->getType().getCanonicalType() != AST.VoidPtrTy && in addArraySubscriptOperator()
H A DSemaOpenMP.cpp4228 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local
4231 QualType Args[] = {VoidPtrTy}; in ActOnOpenMPRegionStart()
4275 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local
4278 QualType Args[] = {VoidPtrTy}; in ActOnOpenMPRegionStart()
4341 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local
4344 QualType Args[] = {VoidPtrTy}; in ActOnOpenMPRegionStart()
4382 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local
4385 QualType Args[] = {VoidPtrTy}; in ActOnOpenMPRegionStart()
4426 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local
4487 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSVals.cpp143 return QualType{Context.VoidPtrTy}; in VisitGotoLabel()
172 return QualType{Context.VoidPtrTy}; in VisitAllocaRegion()
H A DSimpleConstraintManager.cpp37 T = SVB.getContext().VoidPtrTy; in assumeInternal()
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DInterpreter.cpp576 CStyleCastPtrExpr(S, Ctx.VoidPtrTy, (uintptr_t)Ty.getAsOpaquePtr()); in getCall()
707 TypeSourceInfo *TSI = Ctx.getTrivialTypeSourceInfo(Ctx.VoidPtrTy); in HandlePtrType()
738 auto *ThisInterp = CStyleCastPtrExpr(S, Ctx.VoidPtrTy, (uintptr_t)this); in SynthesizeExpr()
741 auto *OutValue = CStyleCastPtrExpr(S, Ctx.VoidPtrTy, (uintptr_t)&LastValue); in SynthesizeExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp1668 const QualType VoidPtrTy = getPointerTy(VoidTy); // void * in initFunctionSummaries() local
1672 const QualType VoidPtrRestrictTy = getRestrictTy(VoidPtrTy); in initFunctionSummaries()
2089 "read", Signature(ArgTypes{IntTy, VoidPtrTy, SizeTy}, RetType{Ssize_tTy}), in initFunctionSummaries()
2886 Signature(ArgTypes{VoidPtrTy, SizeTy, IntTy, IntTy, IntTy, Off_tTy}, in initFunctionSummaries()
2887 RetType{VoidPtrTy}), in initFunctionSummaries()
2899 Signature(ArgTypes{VoidPtrTy, SizeTy, IntTy, IntTy, IntTy, Off64_tTy}, in initFunctionSummaries()
2900 RetType{VoidPtrTy}), in initFunctionSummaries()
3245 Signature(ArgTypes{IntTy, VoidPtrTy, SizeTy, IntTy}, in initFunctionSummaries()
3562 ACtx.getFunctionType(/*ResultTy=*/VoidPtrTy, /*Args=*/VoidPtrTy, in initFunctionSummaries()
3644 Signature(ArgTypes{VoidPtrTy, IntTy, IntTy}, RetType{IntTy}), in initFunctionSummaries()
[all …]
H A DMallocChecker.cpp1248 return FD->getDeclaredReturnType().getDesugaredType(AC) == AC.VoidPtrTy && in isStandardRealloc()
1249 FD->getParamDecl(0)->getType().getDesugaredType(AC) == AC.VoidPtrTy && in isStandardRealloc()
1262 return FD->getDeclaredReturnType().getDesugaredType(AC) == AC.VoidPtrTy && in isGRealloc()
1263 FD->getParamDecl(0)->getType().getDesugaredType(AC) == AC.VoidPtrTy && in isGRealloc()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeEncodingParser.cpp341 return ast_ctx.VoidPtrTy; in BuildType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DInstrProfiling.cpp1642 auto *VoidPtrTy = PointerType::getUnqual(M.getContext()); in emitRegistration() local
1651 auto *RuntimeRegisterTy = FunctionType::get(VoidTy, VoidPtrTy, false); in emitRegistration()
1665 Type *ParamTypes[] = {VoidPtrTy, Int64Ty}; in emitRegistration()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp3793 Context->VoidPtrTy, nullptr, in SynthesizeBlockCall()
3840 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr()
3850 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr()
4125 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper()
4343 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl()
4420 NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, CK_BitCast, Arg); in SynthBlockInitExpr()
4428 &Context->Idents.get(DescData), Context->VoidPtrTy, nullptr, SC_Static); in SynthBlockInitExpr()
4431 new (Context) DeclRefExpr(*Context, NewVD, false, Context->VoidPtrTy, in SynthBlockInitExpr()
4433 UO_AddrOf, Context->getPointerType(Context->VoidPtrTy), VK_PRValue, in SynthBlockInitExpr()
4460 Exp = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, CK_BitCast, in SynthBlockInitExpr()
H A DRewriteModernObjC.cpp2743 Context->getPointerType(Context->VoidPtrTy), in RewriteObjCArrayLiteralExpr()
4625 Context->VoidPtrTy, nullptr, in SynthesizeBlockCall()
4672 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr()
4681 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr()
4971 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper()
5189 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl()
5281 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr()
5290 &Context->Idents.get(DescData), Context->VoidPtrTy, nullptr, SC_Static); in SynthBlockInitExpr()
5293 new (Context) DeclRefExpr(*Context, NewVD, false, Context->VoidPtrTy, in SynthBlockInitExpr()
5295 UO_AddrOf, Context->getPointerType(Context->VoidPtrTy), VK_PRValue, in SynthBlockInitExpr()
[all …]

123