reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/CGBlocks.cpp
  196     i8p = CGM.VoidPtrTy;
  494     elementTypes.push_back(CGM.VoidPtrTy);
  497     elementTypes.push_back(CGM.VoidPtrTy);
  586                                         CGM.VoidPtrTy, variable->getType()));
  927       IsOpenCL ? CGM.getOpenCLRuntime().getGenericVoidPointerType() : VoidPtrTy;
  960     isa = llvm::ConstantExpr::getBitCast(blockISA, VoidPtrTy);
 1092         byrefPointer = Builder.CreateBitCast(src.getPointer(), VoidPtrTy);
 1247         llvm::StructType::create("struct.__block_literal_generic", VoidPtrTy,
 1248                                  IntTy, IntTy, VoidPtrTy, BlockDescPtrTy);
 1292     BlockPtr = Builder.CreatePointerCast(BlockPtr, VoidPtrTy);
 1581                             : VoidPtrTy;
 1790       BlockVarAddr = CGF.Builder.CreateBitCast(BlockVarAddr, CGF.VoidPtrTy);
 2000     return llvm::ConstantExpr::getBitCast(Func, VoidPtrTy);
 2104       srcValue = Builder.CreateBitCast(srcValue, VoidPtrTy);
 2106           Builder.CreateBitCast(dstField.getPointer(), VoidPtrTy);
 2129   return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy);
 2195     return llvm::ConstantExpr::getBitCast(Func, VoidPtrTy);
 2259   return llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy);
 2274     destField = CGF.Builder.CreateBitCast(destField, CGF.VoidPtrTy);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 2882       Args.add(RValue::get(llvm::Constant::getNullValue(VoidPtrTy)),
 6325       ValueType = VoidPtrTy;
 7403       ValueType = VoidPtrTy;
tools/clang/lib/CodeGen/CGClass.cpp
 1640    llvm::Value *Args[] = {CGF.Builder.CreateBitCast(Ptr, CGF.VoidPtrTy),
 1643    llvm::Type *ArgTypes[] = {CGF.VoidPtrTy, CGF.SizeTy};
tools/clang/lib/CodeGen/CGCoroutine.cpp
  591   auto *Phi = Builder.CreatePHI(VoidPtrTy, 2);
  622         new llvm::BitCastInst(PromiseAddr.getPointer(), VoidPtrTy, "", CoroId);
tools/clang/lib/CodeGen/CGException.cpp
  919       TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy);
  926                         llvm::Constant::getNullValue(CGF.VoidPtrTy)});
  969       TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy);
 1001       TypeInfo.RTTI = llvm::Constant::getNullValue(CGF.VoidPtrTy);
 1955   llvm::Type *PtrsTy = llvm::StructType::get(RecordTy, CGM.VoidPtrTy);
tools/clang/lib/CodeGen/CGExpr.cpp
 3201       llvm::FunctionType::get(VoidTy, {VoidPtrTy, VoidPtrTy}, false),
 3201       llvm::FunctionType::get(VoidTy, {VoidPtrTy, VoidPtrTy}, false),
 3226       llvm::StructType::get(VoidPtrTy, Int32Ty, Int32Ty);
 3228       llvm::StructType::get(Int8Ty, SourceLocationTy, VoidPtrTy);
 4878     Args.add(RValue::get(Builder.CreateBitCast(Chain, CGM.VoidPtrTy)),
tools/clang/lib/CodeGen/CGExprScalar.cpp
 3230     Value *result = CGF.Builder.CreateBitCast(pointer, CGF.VoidPtrTy);
 3261     Value *result = CGF.Builder.CreateBitCast(pointer, CGF.VoidPtrTy);
tools/clang/lib/CodeGen/CGObjC.cpp
  738   Address dest = CGF.Builder.CreateBitCast(CGF.ReturnValue, CGF.VoidPtrTy);
  741   src = CGF.Builder.CreateBitCast(src, CGF.VoidPtrTy);
 1103     llvm::Value *self = Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy);
 1391       Builder.CreateBitCast(LoadObjCSelf(), VoidPtrTy);
 1396     arg = Builder.CreateBitCast(arg, VoidPtrTy);
 3469     = llvm::FunctionType::get(VoidTy, VoidPtrTy, RequiredArgs::All);
 3475   object = Builder.CreateBitCast(object, VoidPtrTy);
 3562   HelperFn = llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy);
 3667   HelperFn = llvm::ConstantExpr::getBitCast(Fn, VoidPtrTy);
 3731       llvm::FunctionType::get(Int32Ty, {VoidPtrTy}, false);
 3747                                 llvm::Constant::getNullValue(VoidPtrTy));
tools/clang/lib/CodeGen/CGObjCRuntime.cpp
  340   lock = CGF.Builder.CreateBitCast(lock, CGF.VoidPtrTy);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 1816                                 CGM.VoidPtrTy, CGM.SizeTy,
 1817                                 CGM.VoidPtrTy->getPointerTo()->getPointerTo()};
 1819         llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg*/ false);
 1850         llvm::FunctionType::get(CGM.VoidPtrTy, CGM.VoidPtrTy,
 1850         llvm::FunctionType::get(CGM.VoidPtrTy, CGM.VoidPtrTy,
 1853     llvm::Type *KmpcCopyCtorTyArgs[] = {CGM.VoidPtrTy, CGM.VoidPtrTy};
 1853     llvm::Type *KmpcCopyCtorTyArgs[] = {CGM.VoidPtrTy, CGM.VoidPtrTy};
 1855         llvm::FunctionType::get(CGM.VoidPtrTy, KmpcCopyCtorTyArgs,
 1860         llvm::FunctionType::get(CGM.VoidTy, CGM.VoidPtrTy, /*isVarArg*/ false)
 1862     llvm::Type *FnTyArgs[] = {getIdentTyPointerTy(), CGM.VoidPtrTy, KmpcCtorTy,
 1992         llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg=*/false);
 2007         llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg=*/false);
 2015                                 CGM.VoidPtrTy};
 2025     llvm::Type *CpyTypeParams[] = {CGM.VoidPtrTy, CGM.VoidPtrTy};
 2025     llvm::Type *CpyTypeParams[] = {CGM.VoidPtrTy, CGM.VoidPtrTy};
 2029                                 CGM.VoidPtrTy, CpyFnTy->getPointerTo(),
 2040     llvm::Type *ReduceTypeParams[] = {CGM.VoidPtrTy, CGM.VoidPtrTy};
 2040     llvm::Type *ReduceTypeParams[] = {CGM.VoidPtrTy, CGM.VoidPtrTy};
 2045         CGM.VoidPtrTy, ReduceFnTy->getPointerTo(),
 2057     llvm::Type *ReduceTypeParams[] = {CGM.VoidPtrTy, CGM.VoidPtrTy};
 2057     llvm::Type *ReduceTypeParams[] = {CGM.VoidPtrTy, CGM.VoidPtrTy};
 2062         CGM.VoidPtrTy, ReduceFnTy->getPointerTo(),
 2096                                 CGM.VoidPtrTy};
 2107                                 CGM.VoidPtrTy};
 2168         getIdentTyPointerTy(), CGM.Int32Ty, CGM.VoidPtrTy, CGM.Int32Ty,
 2169         CGM.VoidPtrTy,         CGM.Int32Ty, CGM.VoidPtrTy};
 2169         CGM.VoidPtrTy,         CGM.Int32Ty, CGM.VoidPtrTy};
 2181                                 CGM.Int32Ty,           CGM.VoidPtrTy,
 2182                                 CGM.Int32Ty,           CGM.VoidPtrTy};
 2248                                 CGM.VoidPtrTy,
 2256                                 CGM.VoidPtrTy};
 2268                                 CGM.VoidPtrTy};
 2305     llvm::Type *TypeParams[] = {CGM.IntTy, CGM.IntTy, CGM.VoidPtrTy};
 2307         llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg=*/false);
 2315     llvm::Type *TypeParams[] = {CGM.IntTy, CGM.VoidPtrTy, CGM.VoidPtrTy};
 2315     llvm::Type *TypeParams[] = {CGM.IntTy, CGM.VoidPtrTy, CGM.VoidPtrTy};
 2317         llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg=*/false);
 2325     llvm::Type *TypeParams[] = {CGM.IntTy, CGM.SizeTy, CGM.VoidPtrTy};
 2327         llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg=*/false);
 2334     llvm::Type *TypeParams[] = {CGM.IntTy, CGM.VoidPtrTy, CGM.VoidPtrTy};
 2334     llvm::Type *TypeParams[] = {CGM.IntTy, CGM.VoidPtrTy, CGM.VoidPtrTy};
 2354                                 CGM.VoidPtrTy,
 2370                                 CGM.VoidPtrTy,
 2386                                 CGM.VoidPtrTy,
 2404                                 CGM.VoidPtrTy,
 2534     llvm::Type *TypeParams[] = {CGM.VoidPtrTy};
 2543     llvm::Type *TypeParams[] = {CGM.VoidPtrTy, CGM.VoidPtrTy, CGM.VoidPtrTy,
 2543     llvm::Type *TypeParams[] = {CGM.VoidPtrTy, CGM.VoidPtrTy, CGM.VoidPtrTy,
 2543     llvm::Type *TypeParams[] = {CGM.VoidPtrTy, CGM.VoidPtrTy, CGM.VoidPtrTy,
 2748       OMPLoc, CGF.Builder.CreatePointerCast(VDAddr.getPointer(), CGM.VoidPtrTy),
 2834     llvm::Type *CopyCtorTyArgs[] = {CGM.VoidPtrTy, CGM.VoidPtrTy};
 2834     llvm::Type *CopyCtorTyArgs[] = {CGM.VoidPtrTy, CGM.VoidPtrTy};
 2835     auto *CopyCtorTy = llvm::FunctionType::get(CGM.VoidPtrTy, CopyCtorTyArgs,
 2843       auto *CtorTy = llvm::FunctionType::get(CGM.VoidPtrTy, CGM.VoidPtrTy,
 2843       auto *CtorTy = llvm::FunctionType::get(CGM.VoidPtrTy, CGM.VoidPtrTy,
 2849       auto *DtorTy = llvm::FunctionType::get(CGM.VoidTy, CGM.VoidPtrTy,
 2998       CGF.Builder.CreatePointerBitCastOrAddrSpaceCast(GAddr, CGM.VoidPtrTy),
 3397               CGF.EmitLValue(CopyprivateVars[I]).getPointer(), CGF.VoidPtrTy),
 3408                                                       CGF.VoidPtrTy);
 4032   llvm::Constant *Data[] = {llvm::ConstantExpr::getBitCast(ID, CGM.VoidPtrTy),
 4553         PrivatesLVal.getPointer(), CGF.VoidPtrTy);
 4555     PrivatesParam = llvm::ConstantPointerNull::get(CGF.VoidPtrTy);
 4562                                        TDBase.getAddress(), CGF.VoidPtrTy)
 5283         CGF.Builder.CreateConstArrayGEP(DependenciesArray, 0), CGF.VoidPtrTy);
 5303     DepTaskArgs[6] = llvm::ConstantPointerNull::get(CGF.VoidPtrTy);
 5333     DepWaitTaskArgs[5] = llvm::ConstantPointerNull::get(CGF.VoidPtrTy);
 5452                              Result.TaskDupFn, CGF.VoidPtrTy)
 5453                        : llvm::ConstantPointerNull::get(CGF.VoidPtrTy)};
 5754             CGF.EmitLValue(RHSExprs[I]).getPointer(), CGF.VoidPtrTy),
 5765       CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy),
 5785       ReductionList.getPointer(), CGF.VoidPtrTy);
 6047         llvm::ConstantPointerNull::get(CGM.VoidPtrTy),
 6262                                 : llvm::ConstantPointerNull::get(CGM.VoidPtrTy);
 6286                                                       CGM.VoidPtrTy)};
 6313             RCG.getSharedLValue(N).getPointer(), CGM.VoidPtrTy),
 6329                                                       CGM.VoidPtrTy)};
 7634                                                               CGF.VoidPtrTy),
 7891     llvm::Value *CLAddr = CGF.Builder.CreatePointerCast(LB, CGF.VoidPtrTy);
 7892     llvm::Value *CHAddr = CGF.Builder.CreatePointerCast(HAddr, CGF.VoidPtrTy);
 8634           llvm::ArrayType::get(CGM.VoidPtrTy, Info.NumberOfPtrs),
 8647           llvm::ArrayType::get(CGM.VoidPtrTy, Info.NumberOfPtrs),
 8678         llvm::ArrayType::get(CGM.VoidPtrTy, Info.NumberOfPtrs),
 8682         llvm::ArrayType::get(CGM.VoidPtrTy, Info.NumberOfPtrs),
10864           CGM.VoidPtrTy)};
10999     Allocator = CGF.Builder.CreateIntToPtr(Allocator, CGM.VoidPtrTy);
11002                                                                 CGM.VoidPtrTy);
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
 1179         CGM.getModule(), CGM.VoidPtrTy, /*isConstant=*/false,
 1181         llvm::ConstantPointerNull::get(CGM.VoidPtrTy),
 1309         CGM.getModule(), CGM.VoidPtrTy, /*isConstant=*/false,
 1311         llvm::ConstantPointerNull::get(CGM.VoidPtrTy),
 1631     llvm::Type *ShuffleReduceTypeParams[] = {CGM.VoidPtrTy, CGM.Int16Ty,
 1636     llvm::Type *InterWarpCopyTypeParams[] = {CGM.VoidPtrTy, CGM.Int32Ty};
 1644                                 CGM.VoidPtrTy,
 1674     llvm::Type *ShuffleReduceTypeParams[] = {CGM.VoidPtrTy, CGM.Int16Ty,
 1679     llvm::Type *InterWarpCopyTypeParams[] = {CGM.VoidPtrTy, CGM.Int32Ty};
 1683     llvm::Type *GlobalListTypeParams[] = {CGM.VoidPtrTy, CGM.IntTy,
 1684                                           CGM.VoidPtrTy};
 1690                                 CGM.VoidPtrTy,
 1692                                 CGM.VoidPtrTy,
 1725         llvm::FunctionType::get(CGM.VoidPtrTy, TypeParams, /*isVarArg=*/false);
 1732     llvm::Type *TypeParams[] = {CGM.VoidPtrTy};
 1780     llvm::Type *TypeParams[] = {CGM.Int16Ty, CGM.VoidPtrTy, CGM.SizeTy,
 2570           PtrV = Bld.CreateIntToPtr(V, CGF.VoidPtrTy);
 2572           PtrV = Bld.CreatePointerBitCastOrAddrSpaceCast(V, CGF.VoidPtrTy);
 2885       Bld.CreateConstGEP(SrcAddr, 1), CGF.VoidPtrTy);
 2912                                    Ptr.getPointer(), CGF.VoidPtrTy));
 3039           Bld.CreateIntToPtr(ScratchPadElemAbsolutePtrVal, CGF.VoidPtrTy);
 3054           Bld.CreateIntToPtr(ScratchPadElemAbsolutePtrVal, CGF.VoidPtrTy);
 3117                                 DestElementAddr.getPointer(), CGF.VoidPtrTy),
 3578       LocalReduceList.getPointer(), CGF.VoidPtrTy);
 3580       RemoteReduceList.getPointer(), CGF.VoidPtrTy);
 3798       CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy),
 3998       CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy),
 4309             CGF.EmitLValue(RHSExprs[I]).getPointer(), CGF.VoidPtrTy),
 4320       CGF.Builder.CreateStore(CGF.Builder.CreateIntToPtr(Size, CGF.VoidPtrTy),
 4326       ReductionList.getPointer(), CGF.VoidPtrTy);
 4364           CGM.getModule(), CGM.VoidPtrTy, /*isConstant=*/true,
 5133           GV, CGM.VoidPtrTy);
 5161           GV, CGM.VoidPtrTy);
 5197                                                              CGM.VoidPtrTy));
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1160       Int32Ty, CtorPFTy, VoidPtrTy);
 1170       ctor.add(llvm::ConstantExpr::getBitCast(I.AssociatedData, VoidPtrTy));
 1172       ctor.addNullPointer(VoidPtrTy);
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
  944       emitRTtypeidCall(CGF, llvm::Constant::getNullValue(CGM.VoidPtrTy));
 2615     fields.push_back(CGM.VoidPtrTy);  // FunctionPointerOrVirtualThunk
 2640     fields.push_back(llvm::Constant::getNullValue(CGM.VoidPtrTy));
 2808   FirstField = llvm::ConstantExpr::getBitCast(FirstField, CGM.VoidPtrTy);
 2884     fields.push_back(llvm::Constant::getNullValue(CGM.VoidPtrTy));