| /openbsd/src/gnu/llvm/clang/lib/CodeGen/ |
| D | CGCUDANV.cpp | 40 llvm::PointerType *CharPtrTy, *VoidPtrTy, *VoidPtrPtrTy; member in __anoneb9524e50111::CGNVCUDARuntime 238 VoidPtrTy = cast<llvm::PointerType>(Types.ConvertType(Ctx.VoidPtrTy)); in CGNVCUDARuntime() 239 VoidPtrPtrTy = VoidPtrTy->getPointerTo(); in CGNVCUDARuntime() 244 llvm::Type *Params[] = {VoidPtrTy, SizeTy, SizeTy}; in getSetupArgumentFn() 266 return llvm::FunctionType::get(VoidTy, VoidPtrTy, false); in getCallbackFnTy() 272 llvm::Type *Params[] = {RegisterGlobalsFnTy->getPointerTo(), VoidPtrTy, in getRegisterLinkedBinaryFnTy() 273 VoidPtrTy, CallbackFnTy->getPointerTo()}; in getRegisterLinkedBinaryFnTy() 336 VoidPtrTy, CharUnits::fromQuantity(16), "kernel_args", in emitDeviceStubBodyNew() 341 llvm::Value *VoidVarPtr = CGF.Builder.CreatePointerCast(VarPtr, VoidPtrTy); in emitDeviceStubBodyNew() 344 CGF.Builder.CreateConstGEP1_32(VoidPtrTy, KernelArgs.getPointer(), i)); in emitDeviceStubBodyNew() [all …]
|
| D | CGOpenMPRuntimeGPU.cpp | 1194 llvm::ArrayType::get(CGM.VoidPtrTy, CapturedVars.size()), in emitParallelCall() 1205 PtrV = Bld.CreateIntToPtr(V, CGF.VoidPtrTy); in emitParallelCall() 1207 PtrV = Bld.CreatePointerBitCastOrAddrSpaceCast(V, CGF.VoidPtrTy); in emitParallelCall() 1209 Ctx.getPointerType(Ctx.VoidPtrTy)); in emitParallelCall() 1432 Bld.CreateConstGEP(SrcAddr, 1), CGF.VoidPtrTy, CGF.Int8Ty); in shuffleAndStore() 1462 CGF.VoidPtrTy)); in shuffleAndStore() 1605 Bld.CreateIntToPtr(ScratchPadElemAbsolutePtrVal, CGF.VoidPtrTy); 1620 Bld.CreateIntToPtr(ScratchPadElemAbsolutePtrVal, CGF.VoidPtrTy); 1685 DestElementAddr.getPointer(), CGF.VoidPtrTy), 1687 C.VoidPtrTy); [all …]
|
| D | CGBlocks.cpp | 181 i8p = CGM.VoidPtrTy; in buildBlockDescriptor() 543 elementTypes.push_back(CGM.VoidPtrTy); in initializeForBlockHeader() 546 elementTypes.push_back(CGM.VoidPtrTy); in initializeForBlockHeader() 631 addBlockLayout(align, CGM.getPointerSize(), &CI, CGM.VoidPtrTy, in computeBlockInfo() 804 IsOpenCL ? CGM.getOpenCLRuntime().getGenericVoidPointerType() : VoidPtrTy; in EmitBlockLiteral() 835 isa = llvm::ConstantExpr::getBitCast(blockISA, VoidPtrTy); in EmitBlockLiteral() 967 byrefPointer = Builder.CreateBitCast(src.getPointer(), VoidPtrTy); in EmitBlockLiteral() 1173 llvm::StructType::create("struct.__block_literal_generic", VoidPtrTy, in getGenericBlockLiteralType() 1174 IntTy, IntTy, VoidPtrTy, BlockDescPtrTy); in getGenericBlockLiteralType() 1221 BlockPtr = Builder.CreatePointerCast(BlockPtr, VoidPtrTy); in EmitBlockCallExpr() [all …]
|
| D | CGOpenMPRuntime.cpp | 1703 OMPLoc, CGF.Builder.CreatePointerCast(VDAddr.getPointer(), CGM.VoidPtrTy), in emitThreadPrivateVarInit() 1730 /*Id=*/nullptr, CGM.getContext().VoidPtrTy, in emitThreadPrivateVarDefinition() 1735 CGM.getContext().VoidPtrTy, Args); in emitThreadPrivateVarDefinition() 1740 CtorCGF.StartFunction(GlobalDecl(), CGM.getContext().VoidPtrTy, Fn, FI, in emitThreadPrivateVarDefinition() 1744 CGM.getContext().VoidPtrTy, Dst.getLocation()); in emitThreadPrivateVarDefinition() 1752 CGM.getContext().VoidPtrTy, Dst.getLocation()); in emitThreadPrivateVarDefinition() 1763 /*Id=*/nullptr, CGM.getContext().VoidPtrTy, in emitThreadPrivateVarDefinition() 1780 /*Volatile=*/false, CGM.getContext().VoidPtrTy, Dst.getLocation()); in emitThreadPrivateVarDefinition() 1792 llvm::Type *CopyCtorTyArgs[] = {CGM.VoidPtrTy, CGM.VoidPtrTy}; in emitThreadPrivateVarDefinition() 1793 auto *CopyCtorTy = llvm::FunctionType::get(CGM.VoidPtrTy, CopyCtorTyArgs, in emitThreadPrivateVarDefinition() [all …]
|
| D | CGObjC.cpp | 831 CGF.Builder.CreateBitCast(CGF.ReturnValue.getPointer(), CGF.VoidPtrTy); in emitStructGetterCall() 832 args.add(RValue::get(dest), Context.VoidPtrTy); in emitStructGetterCall() 834 src = CGF.Builder.CreateBitCast(src, CGF.VoidPtrTy); in emitStructGetterCall() 835 args.add(RValue::get(src), Context.VoidPtrTy); in emitStructGetterCall() 1095 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 1102 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 1105 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy); in emitCPPObjectAtomicGetterCall() 1228 llvm::Value *self = Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy); in generateObjCGetterBody() 1336 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() 1345 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy); in emitStructSetterCall() [all …]
|
| D | CodeGenTypeCache.h | 56 llvm::PointerType *VoidPtrTy; member
|
| 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() 1712 QualType ArgTys[2] = {Context.UnsignedCharTy, Context.VoidPtrTy}; in Emit() 1906 D->getType() == getContext().VoidPtrTy) { in EmitCapturedLocals() 1932 Address(ParentFP, CGM.VoidPtrTy, getPointerAlign())); in EmitCapturedLocals() 2022 getContext().VoidPtrTy, ImplicitParamDecl::Other)); in startOutlinedSEHHelper() 2031 &getContext().Idents.get("frame_pointer"), getContext().VoidPtrTy, in startOutlinedSEHHelper() 2118 llvm::Type *PtrsTy = llvm::StructType::get(RecordTy, CGM.VoidPtrTy); in EmitSEHExceptionCodeSave()
|
| 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 …]
|
| D | CGCoroutine.cpp | 527 auto *Phi = Builder.CreatePHI(VoidPtrTy, 2); in EmitCoroutineBody() 566 new llvm::BitCastInst(PromiseAddr.getPointer(), VoidPtrTy, "", CoroId); in EmitCoroutineBody()
|
| D | CGObjCRuntime.cpp | 342 lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy); in EmitAtSynchronizedStmt()
|
| D | CGExpr.cpp | 3447 ImplicitParamDecl ArgData(getContext(), getContext().VoidPtrTy, in EmitCfiCheckFail() 3449 ImplicitParamDecl ArgAddr(getContext(), getContext().VoidPtrTy, in EmitCfiCheckFail() 3458 llvm::FunctionType::get(VoidTy, {VoidPtrTy, VoidPtrTy}, false), in EmitCfiCheckFail() 3475 CGM.getContext().VoidPtrTy, ArgData.getLocation()); in EmitCfiCheckFail() 3478 CGM.getContext().VoidPtrTy, ArgAddr.getLocation()); in EmitCfiCheckFail() 3486 llvm::StructType::get(VoidPtrTy, Int32Ty, Int32Ty); in EmitCfiCheckFail() 3488 llvm::StructType::get(Int8Ty, SourceLocationTy, VoidPtrTy); in EmitCfiCheckFail() 5406 Args.add(RValue::get(Builder.CreateBitCast(Chain, CGM.VoidPtrTy)), in EmitCall() 5407 CGM.getContext().VoidPtrTy); in EmitCall()
|
| D | CGVTables.cpp | 256 ResultType = CGM.getContext().VoidPtrTy; in StartThunk() 366 ? CGM.getContext().VoidPtrTy in EmitCallAndReturnForThunk()
|
| /openbsd/src/gnu/llvm/llvm/lib/CodeGen/ |
| 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()
|
| D | JMCInstrumenter.cpp | 123 PointerType *VoidPtrTy = Type::getInt8PtrTy(Ctx); in getCheckFunctionType() local 124 return FunctionType::get(VoidTy, VoidPtrTy, false); in getCheckFunctionType()
|
| /openbsd/src/gnu/llvm/lldb/source/Plugins/Platform/Windows/ |
| D | PlatformWindows.cpp | 352 CompilerType VoidPtrTy = in DoLoadImage() local 356 value.SetCompilerType(VoidPtrTy); in DoLoadImage() 693 CompilerType VoidPtrTy = in MakeLoadImageUtilityFunction() local 707 value.SetCompilerType(VoidPtrTy); in MakeLoadImageUtilityFunction() 712 utility->MakeFunctionCaller(VoidPtrTy, parameters, context.GetThreadSP(), in MakeLoadImageUtilityFunction()
|
| /openbsd/src/gnu/llvm/clang/lib/Sema/ |
| D | HLSLExternalSemaSource.cpp | 109 QualType Ty = Record->getASTContext().VoidPtrTy; in addHandleMember() 175 Expr *Call = CallExpr::Create(AST, Fn, {RCExpr}, AST.VoidPtrTy, VK_PRValue, in addDefaultHandleConstructor() 188 if (Handle->getType().getCanonicalType() != AST.VoidPtrTy) { in addDefaultHandleConstructor() 225 assert(Handle->getType().getCanonicalType() != AST.VoidPtrTy && in addArraySubscriptOperator()
|
| D | SemaOpenMP.cpp | 1578 SemaRef.Context.VoidPtrTy, ".task_red."); in addTaskgroupReductionData() 1580 buildDeclRefExpr(SemaRef, VD, SemaRef.Context.VoidPtrTy, SR.getBegin()); in addTaskgroupReductionData() 1603 SemaRef.Context.VoidPtrTy, ".task_red."); in addTaskgroupReductionData() 1605 buildDeclRefExpr(SemaRef, VD, SemaRef.Context.VoidPtrTy, SR.getBegin()); in addTaskgroupReductionData() 4204 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local 4207 QualType Args[] = {VoidPtrTy}; in ActOnOpenMPRegionStart() 4214 std::make_pair(".privates.", VoidPtrTy), in ActOnOpenMPRegionStart() 4218 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()), in ActOnOpenMPRegionStart() 4249 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict(); in ActOnOpenMPRegionStart() local 4252 QualType Args[] = {VoidPtrTy}; in ActOnOpenMPRegionStart() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| D | InstrProfiling.cpp | 1163 auto *VoidPtrTy = Type::getInt8PtrTy(M->getContext()); in emitRegistration() local 1172 auto *RuntimeRegisterTy = FunctionType::get(VoidTy, VoidPtrTy, false); in emitRegistration() 1180 IRB.CreateCall(RuntimeRegisterF, IRB.CreateBitCast(Data, VoidPtrTy)); in emitRegistration() 1183 IRB.CreateCall(RuntimeRegisterF, IRB.CreateBitCast(Data, VoidPtrTy)); in emitRegistration() 1186 Type *ParamTypes[] = {VoidPtrTy, Int64Ty}; in emitRegistration() 1192 IRB.CreateCall(NamesRegisterF, {IRB.CreateBitCast(NamesVar, VoidPtrTy), in emitRegistration()
|
| /openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/ |
| D | SimpleConstraintManager.cpp | 37 T = SVB.getContext().VoidPtrTy; in assumeInternal()
|
| D | SVals.cpp | 143 return QualType{Context.VoidPtrTy}; in VisitLocGotoLabel()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| D | ValueMapper.cpp | 1028 PointerType *VoidPtrTy; in mapAppendingVariable() local 1033 VoidPtrTy = Type::getInt8Ty(GV.getContext())->getPointerTo(); in mapAppendingVariable() 1035 Type *Tys[3] = {ST.getElementType(0), ST.getElementType(1), VoidPtrTy}; in mapAppendingVariable() 1045 Constant *Null = Constant::getNullValue(VoidPtrTy); in mapAppendingVariable()
|
| /openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| D | StdLibraryFunctionsChecker.cpp | 1270 const QualType VoidPtrTy = getPointerTy(VoidTy); // void * in initFunctionSummaries() local 1274 const QualType VoidPtrRestrictTy = getRestrictTy(VoidPtrTy); in initFunctionSummaries() 1684 "read", Signature(ArgTypes{IntTy, VoidPtrTy, SizeTy}, RetType{Ssize_tTy}), in initFunctionSummaries() 2392 Signature(ArgTypes{VoidPtrTy, SizeTy, IntTy, IntTy, IntTy, Off_tTy}, in initFunctionSummaries() 2393 RetType{VoidPtrTy}), in initFunctionSummaries() 2405 Signature(ArgTypes{VoidPtrTy, SizeTy, IntTy, IntTy, IntTy, Off64_tTy}, in initFunctionSummaries() 2406 RetType{VoidPtrTy}), in initFunctionSummaries() 2725 Signature(ArgTypes{IntTy, VoidPtrTy, SizeTy, IntTy}, in initFunctionSummaries() 3026 ACtx.getFunctionType(/*ResultTy=*/VoidPtrTy, /*Args=*/VoidPtrTy, in initFunctionSummaries() 3150 Signature(ArgTypes{VoidPtrTy, ConstCharPtrTy}, RetType{IntTy}), in initFunctionSummaries()
|
| /openbsd/src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| D | AppleObjCTypeEncodingParser.cpp | 344 return ast_ctx.VoidPtrTy; in BuildType()
|
| /openbsd/src/gnu/llvm/clang/lib/Frontend/Rewrite/ |
| 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()
|
| D | RewriteModernObjC.cpp | 2743 Context->getPointerType(Context->VoidPtrTy), in RewriteObjCArrayLiteralExpr() 2872 Context->getPointerType(Context->VoidPtrTy), in RewriteObjCDictionaryLiteralExpr() 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() [all …]
|