| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntimeGPU.cpp | 1261 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 D | CGBlocks.cpp | 158 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 D | CGOpenMPRuntime.cpp | 1662 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 D | CodeGenTypeCache.h | 57 llvm::PointerType *VoidPtrTy; member
|
| H A D | CGException.cpp | 989 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 D | CGAtomic.cpp | 833 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 D | CGObjC.cpp | 831 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 D | CGCoroutine.cpp | 695 auto *Phi = Builder.CreatePHI(VoidPtrTy, 2); in EmitCoroutineBody() 737 new llvm::BitCastInst(PromiseAddr.getPointer(), VoidPtrTy, "", CoroId); in EmitCoroutineBody()
|
| H A D | CGObjCRuntime.cpp | 340 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy); in EmitAtSynchronizedStmt()
|
| H A D | CGVTables.cpp | 257 ResultType = CGM.getContext().VoidPtrTy; in StartThunk() 367 ? CGM.getContext().VoidPtrTy in EmitCallAndReturnForThunk()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BuildLibCalls.cpp | 1529 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 D | ValueMapper.cpp | 1075 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 D | SjLjEHPrepare.cpp | 111 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 D | JMCInstrumenter.cpp | 130 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 D | HLSLExternalSemaSource.cpp | 108 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 D | SemaOpenMP.cpp | 4228 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 D | SVals.cpp | 143 return QualType{Context.VoidPtrTy}; in VisitGotoLabel() 172 return QualType{Context.VoidPtrTy}; in VisitAllocaRegion()
|
| H A D | SimpleConstraintManager.cpp | 37 T = SVB.getContext().VoidPtrTy; in assumeInternal()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | Interpreter.cpp | 576 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 D | StdLibraryFunctionsChecker.cpp | 1668 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 D | MallocChecker.cpp | 1248 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 D | AppleObjCTypeEncodingParser.cpp | 341 return ast_ctx.VoidPtrTy; in BuildType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 1642 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 D | RewriteObjC.cpp | 3793 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 D | RewriteModernObjC.cpp | 2743 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 …]
|