| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGCUDANV.cpp | 40 llvm::PointerType *CharPtrTy, *VoidPtrTy, *VoidPtrPtrTy; member in __anona02b07190111::CGNVCUDARuntime 225 VoidPtrTy = cast<llvm::PointerType>(Types.ConvertType(Ctx.VoidPtrTy)); in CGNVCUDARuntime() 226 VoidPtrPtrTy = VoidPtrTy->getPointerTo(); in CGNVCUDARuntime() 231 llvm::Type *Params[] = {VoidPtrTy, SizeTy, SizeTy}; in getSetupArgumentFn() 431 VoidPtrTy), in emitDeviceStubBodyLegacy() 526 VoidPtrTy, VoidPtrTy, VoidPtrTy, VoidPtrTy, IntTy->getPointerTo()}; in makeRegisterGlobalsFn() 616 Builder.CreateBitCast(ManagedVar, VoidPtrTy), in makeRegisterGlobalsFn() 617 Builder.CreateBitCast(Var, VoidPtrTy), in makeRegisterGlobalsFn() 626 Builder.CreateBitCast(Var, VoidPtrTy), in makeRegisterGlobalsFn() 702 llvm::StructType::get(IntTy, IntTy, VoidPtrTy, VoidPtrTy); in makeModuleCtorFunction() [all …]
|
| H A D | CGBlocks.cpp | 181 i8p = CGM.VoidPtrTy; in buildBlockDescriptor() 545 elementTypes.push_back(CGM.VoidPtrTy); in initializeForBlockHeader() 548 elementTypes.push_back(CGM.VoidPtrTy); in initializeForBlockHeader() 1474 QualType selfTy = getContext().VoidPtrTy; in GenerateBlockFunction() 1511 : VoidPtrTy; in GenerateBlockFunction() 1932 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction() 1933 ArgTys.push_back(C.VoidPtrTy); in GenerateCopyHelperFunction() 2121 ArgTys.push_back(C.VoidPtrTy); in GenerateDestroyHelperFunction() 2364 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper() 2365 ArgTys.push_back(Context.VoidPtrTy); in generateByrefCopyHelper() [all …]
|
| H A D | CGOpenMPRuntimeGPU.cpp | 1557 PtrV = Bld.CreateIntToPtr(V, CGF.VoidPtrTy); in emitParallelCall() 2039 C.VoidPtrTy); 2436 C.VoidPtrTy, SourceLocation()), in emitShuffleAndReduceFunction() 2510 LocalReduceList.getPointer(), CGF.VoidPtrTy); in emitShuffleAndReduceFunction() 2512 RemoteReduceList.getPointer(), CGF.VoidPtrTy); in emitShuffleAndReduceFunction() 2593 C.VoidPtrTy, Loc), in emitListToGlobalCopyFunction() 2749 AddrReduceListArg, /*Volatile=*/false, C.VoidPtrTy, Loc); in emitListToGlobalReduceFunction() 2802 C.VoidPtrTy, Loc), in emitGlobalToListCopyFunction() 2959 AddrReduceListArg, /*Volatile=*/false, C.VoidPtrTy, Loc); in emitGlobalToListReduceFunction() 3277 ReductionList.getPointer(), CGF.VoidPtrTy); in emitReduction() [all …]
|
| H A D | CGOpenMPRuntime.cpp | 1740 CGM.getContext().VoidPtrTy, Args); in emitThreadPrivateVarDefinition() 1797 llvm::Type *CopyCtorTyArgs[] = {CGM.VoidPtrTy, CGM.VoidPtrTy}; in emitThreadPrivateVarDefinition() 1806 auto *CtorTy = llvm::FunctionType::get(CGM.VoidPtrTy, CGM.VoidPtrTy, in emitThreadPrivateVarDefinition() 2453 CGF.VoidPtrTy), in emitSingleRegion() 3447 addFieldToRecordDecl(C, RD, C.VoidPtrTy); in createKmpTaskTRecordDecl() 3461 addFieldToRecordDecl(C, RD, C.VoidPtrTy); in createKmpTaskTRecordDecl() 5545 ReductionList.getPointer(), CGF.VoidPtrTy); in emitReduction() 5764 QualType VoidPtrTy = C.VoidPtrTy; in emitReduceInitFunction() local 5765 VoidPtrTy.addRestrict(); in emitReduceInitFunction() 12032 CGM.VoidPtrTy)}; in emitDoacrossInit() [all …]
|
| H A D | CodeGenTypeCache.h | 56 llvm::PointerType *VoidPtrTy; member
|
| H A D | CGObjC.cpp | 830 args.add(RValue::get(dest), Context.VoidPtrTy); in emitStructGetterCall() 832 src = CGF.Builder.CreateBitCast(src, CGF.VoidPtrTy); in emitStructGetterCall() 833 args.add(RValue::get(src), Context.VoidPtrTy); in emitStructGetterCall() 1310 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() 1356 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicSetterCall() 1480 Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy); in generateObjCSetterBody() 1485 arg = Builder.CreateBitCast(arg, VoidPtrTy); in generateObjCSetterBody() 3653 object = Builder.CreateBitCast(object, VoidPtrTy); in EmitExtendGCLifetime() 3746 HelperFn = llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateObjCAtomicSetterCopyHelperFunction() 3857 HelperFn = llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy); in GenerateObjCAtomicGetterCopyHelperFunction() [all …]
|
| H A D | CGException.cpp | 971 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy); in emitCatchPadBlock() 978 llvm::Constant::getNullValue(CGF.VoidPtrTy)}); in emitCatchPadBlock() 1021 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy); in emitWasmCatchPadBlock() 1053 TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy); in emitWasmCatchPadBlock() 1715 QualType ArgTys[2] = {Context.UnsignedCharTy, Context.VoidPtrTy}; in Emit() 1909 D->getType() == getContext().VoidPtrTy) { in EmitCapturedLocals() 1935 Address(ParentFP, CGM.VoidPtrTy, getPointerAlign())); in EmitCapturedLocals() 2025 getContext().VoidPtrTy, ImplicitParamDecl::Other)); in startOutlinedSEHHelper() 2034 &getContext().Idents.get("frame_pointer"), getContext().VoidPtrTy, in startOutlinedSEHHelper() 2121 llvm::Type *PtrsTy = llvm::StructType::get(RecordTy, CGM.VoidPtrTy); in EmitSEHExceptionCodeSave()
|
| H A D | CGAtomic.cpp | 802 CGF.getContext().VoidPtrTy); in AddDirectArgument() 1100 getContext().VoidPtrTy); in EmitAtomicExpr() 1135 getContext().VoidPtrTy); in EmitAtomicExpr() 1297 getContext().VoidPtrTy); in EmitAtomicExpr() 1570 CGF.getContext().VoidPtrTy); in EmitAtomicLoadLibcall() 1572 CGF.getContext().VoidPtrTy); in EmitAtomicLoadLibcall() 1767 CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall() 1769 CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall() 1771 CGF.getContext().VoidPtrTy); in EmitAtomicCompareExchangeLibcall() 2075 getContext().VoidPtrTy); in EmitAtomicStore() [all …]
|
| H A D | CGCoroutine.cpp | 527 auto *Phi = Builder.CreatePHI(VoidPtrTy, 2); in EmitCoroutineBody() 566 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 | CGExpr.cpp | 3473 ImplicitParamDecl ArgData(getContext(), getContext().VoidPtrTy, in EmitCfiCheckFail() 3475 ImplicitParamDecl ArgAddr(getContext(), getContext().VoidPtrTy, in EmitCfiCheckFail() 3484 llvm::FunctionType::get(VoidTy, {VoidPtrTy, VoidPtrTy}, false), in EmitCfiCheckFail() 3501 CGM.getContext().VoidPtrTy, ArgData.getLocation()); in EmitCfiCheckFail() 3504 CGM.getContext().VoidPtrTy, ArgAddr.getLocation()); in EmitCfiCheckFail() 3512 llvm::StructType::get(VoidPtrTy, Int32Ty, Int32Ty); in EmitCfiCheckFail() 3514 llvm::StructType::get(Int8Ty, SourceLocationTy, VoidPtrTy); in EmitCfiCheckFail() 5419 Args.add(RValue::get(Builder.CreateBitCast(Chain, CGM.VoidPtrTy)), in EmitCall() 5420 CGM.getContext().VoidPtrTy); in EmitCall()
|
| H A D | CGVTables.cpp | 256 ResultType = CGM.getContext().VoidPtrTy; in StartThunk() 366 ? CGM.getContext().VoidPtrTy in EmitCallAndReturnForThunk()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | SjLjEHPrepare.cpp | 93 Type *VoidPtrTy = Type::getInt8PtrTy(M.getContext()); in doInitialization() local 98 doubleUnderJBufTy = ArrayType::get(VoidPtrTy, 5); in doInitialization() 99 FunctionContextTy = StructType::get(VoidPtrTy, // __prev in doInitialization() 102 VoidPtrTy, // __personality in doInitialization() 103 VoidPtrTy, // __lsda in doInitialization()
|
| H A D | JMCInstrumenter.cpp | 123 PointerType *VoidPtrTy = Type::getInt8PtrTy(Ctx); in getCheckFunctionType() local 124 return FunctionType::get(VoidTy, VoidPtrTy, false); in getCheckFunctionType()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Platform/Windows/ |
| H A D | PlatformWindows.cpp | 350 CompilerType VoidPtrTy = ast->GetBasicType(eBasicTypeVoid).GetPointerType(); in DoLoadImage() local 353 value.SetCompilerType(VoidPtrTy); in DoLoadImage() 689 CompilerType VoidPtrTy = ast->GetBasicType(eBasicTypeVoid).GetPointerType(); in MakeLoadImageUtilityFunction() local 701 value.SetCompilerType(VoidPtrTy); in MakeLoadImageUtilityFunction() 706 utility->MakeFunctionCaller(VoidPtrTy, parameters, context.GetThreadSP(), in MakeLoadImageUtilityFunction()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrProfiling.cpp | 1152 auto *VoidPtrTy = Type::getInt8PtrTy(M->getContext()); in emitRegistration() local 1161 auto *RuntimeRegisterTy = FunctionType::get(VoidTy, VoidPtrTy, false); in emitRegistration() 1169 IRB.CreateCall(RuntimeRegisterF, IRB.CreateBitCast(Data, VoidPtrTy)); in emitRegistration() 1172 IRB.CreateCall(RuntimeRegisterF, IRB.CreateBitCast(Data, VoidPtrTy)); in emitRegistration() 1175 Type *ParamTypes[] = {VoidPtrTy, Int64Ty}; in emitRegistration() 1181 IRB.CreateCall(NamesRegisterF, {IRB.CreateBitCast(NamesVar, VoidPtrTy), in emitRegistration()
|
| /llvm-project-15.0.7/clang/unittests/StaticAnalyzer/ |
| H A D | SValTest.cpp | 378 EXPECT_EQ(Context.VoidPtrTy, A.getType(Context)); 383 EXPECT_EQ(Context.VoidPtrTy, B.getType(Context));
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleConstraintManager.cpp | 36 T = SVB.getContext().VoidPtrTy; in assumeInternal()
|
| H A D | SVals.cpp | 143 return QualType{Context.VoidPtrTy}; in VisitLocGotoLabel()
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StdLibraryFunctionsChecker.cpp | 1244 const QualType VoidPtrTy = getPointerTy(VoidTy); // void * in initFunctionSummaries() local 1248 const QualType VoidPtrRestrictTy = getRestrictTy(VoidPtrTy); in initFunctionSummaries() 1638 "read", Signature(ArgTypes{IntTy, VoidPtrTy, SizeTy}, RetType{Ssize_tTy}), in initFunctionSummaries() 2229 Signature(ArgTypes{VoidPtrTy, SizeTy, IntTy, IntTy, IntTy, Off_tTy}, in initFunctionSummaries() 2230 RetType{VoidPtrTy}), in initFunctionSummaries() 2242 Signature(ArgTypes{VoidPtrTy, SizeTy, IntTy, IntTy, IntTy, Off64_tTy}, in initFunctionSummaries() 2243 RetType{VoidPtrTy}), in initFunctionSummaries() 2560 Signature(ArgTypes{IntTy, VoidPtrTy, SizeTy, IntTy}, in initFunctionSummaries() 2852 ACtx.getFunctionType(/*ResultTy=*/VoidPtrTy, /*Args=*/VoidPtrTy, in initFunctionSummaries() 2972 Signature(ArgTypes{VoidPtrTy, ConstCharPtrTy}, RetType{IntTy}), in initFunctionSummaries()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | ValueMapper.cpp | 1029 PointerType *VoidPtrTy; in mapAppendingVariable() local 1034 VoidPtrTy = Type::getInt8Ty(GV.getContext())->getPointerTo(); in mapAppendingVariable() 1036 Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy}; in mapAppendingVariable() 1046 Constant *Null = Constant::getNullValue(VoidPtrTy); in mapAppendingVariable()
|
| /llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCTypeEncodingParser.cpp | 341 return ast_ctx.VoidPtrTy; in BuildType()
|
| /llvm-project-15.0.7/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() 4626 Context->VoidPtrTy, nullptr, in SynthesizeBlockCall() 4673 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 4682 Context->VoidPtrTy, nullptr, in RewriteBlockDeclRefExpr() 4972 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); in SynthesizeByrefCopyDestroyHelper() 5190 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy); in SynthBlockInitFunctionDecl() 5282 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, in SynthBlockInitExpr() 5291 &Context->Idents.get(DescData), Context->VoidPtrTy, nullptr, SC_Static); in SynthBlockInitExpr() 5294 new (Context) DeclRefExpr(*Context, NewVD, false, Context->VoidPtrTy, in SynthBlockInitExpr() 5296 UO_AddrOf, Context->getPointerType(Context->VoidPtrTy), VK_PRValue, in SynthBlockInitExpr() [all …]
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaOpenMP.cpp | 4149 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local 4152 QualType Args[] = {VoidPtrTy}; in ActOnOpenMPRegionStart() 4194 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local 4197 QualType Args[] = {VoidPtrTy}; in ActOnOpenMPRegionStart() 4255 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local 4258 QualType Args[] = {VoidPtrTy}; in ActOnOpenMPRegionStart() 4297 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local 4300 QualType Args[] = {VoidPtrTy}; in ActOnOpenMPRegionStart() 4342 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local 4403 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local [all …]
|