Lines Matching refs:VoidPtrTy
38 llvm::PointerType *CharPtrTy, *VoidPtrTy, *VoidPtrPtrTy; member in __anoncc61ed400111::CGNVCUDARuntime
182 VoidPtrTy = cast<llvm::PointerType>(Types.ConvertType(Ctx.VoidPtrTy)); in CGNVCUDARuntime()
183 VoidPtrPtrTy = VoidPtrTy->getPointerTo(); in CGNVCUDARuntime()
188 llvm::Type *Params[] = {VoidPtrTy, SizeTy, SizeTy}; in getSetupArgumentFn()
211 return llvm::FunctionType::get(VoidTy, VoidPtrTy, false); in getCallbackFnTy()
217 llvm::Type *Params[] = {RegisterGlobalsFnTy->getPointerTo(), VoidPtrTy, in getRegisterLinkedBinaryFnTy()
218 VoidPtrTy, CallbackFnTy->getPointerTo()}; in getRegisterLinkedBinaryFnTy()
261 VoidPtrTy, CharUnits::fromQuantity(16), "kernel_args", in emitDeviceStubBodyNew()
266 llvm::Value *VoidVarPtr = CGF.Builder.CreatePointerCast(VarPtr, VoidPtrTy); in emitDeviceStubBodyNew()
306 CGF.CreateTempAlloca(VoidPtrTy, CGM.getPointerAlign(), "stream"); in emitDeviceStubBodyNew()
321 llvm::Value *Kernel = CGF.Builder.CreatePointerCast(CGF.CurFn, VoidPtrTy); in emitDeviceStubBodyNew()
361 VoidPtrTy), in emitDeviceStubBodyLegacy()
414 VoidPtrTy, VoidPtrTy, VoidPtrTy, VoidPtrTy, IntTy->getPointerTo()}; in makeRegisterGlobalsFn()
426 llvm::Constant *NullPtr = llvm::ConstantPointerNull::get(VoidPtrTy); in makeRegisterGlobalsFn()
429 Builder.CreateBitCast(I.Kernel, VoidPtrTy), in makeRegisterGlobalsFn()
459 VoidTy, {VoidPtrPtrTy, VoidPtrTy, CharPtrTy, CharPtrTy, IntTy, IntTy}, in makeRegisterGlobalsFn()
467 {VoidPtrPtrTy, VoidPtrTy, CharPtrTy, CharPtrTy, IntTy, IntTy, IntTy}, in makeRegisterGlobalsFn()
479 Builder.CreateBitCast(Var, VoidPtrTy), in makeRegisterGlobalsFn()
492 {&GpuBinaryHandlePtr, Builder.CreateBitCast(Var, VoidPtrTy), VarName, in makeRegisterGlobalsFn()
499 {&GpuBinaryHandlePtr, Builder.CreateBitCast(Var, VoidPtrTy), VarName, in makeRegisterGlobalsFn()
550 llvm::FunctionType::get(VoidPtrPtrTy, VoidPtrTy, false), in makeModuleCtorFunction()
554 llvm::StructType::get(IntTy, IntTy, VoidPtrTy, VoidPtrTy); in makeModuleCtorFunction()
573 llvm::FunctionType::get(VoidTy, VoidPtrTy, false), in makeModuleCtorFunction()
650 Values.add(llvm::ConstantPointerNull::get(VoidPtrTy)); in makeModuleCtorFunction()
696 CtorBuilder.CreateBitCast(FatbinWrapper, VoidPtrTy)); in makeModuleCtorFunction()
714 CtorBuilder.CreateBitCast(FatbinWrapper, VoidPtrTy)); in makeModuleCtorFunction()
756 CtorBuilder.CreateBitCast(FatbinWrapper, VoidPtrTy), in makeModuleCtorFunction()
809 llvm::FunctionType::get(VoidTy, VoidPtrTy, false), in makeModuleDtorFunction()