|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h 205 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
209 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
tools/clang/lib/AST/ASTContext.cpp 1374 VoidPtrTy = getPointerType(getCanonicalType(
1377 VoidPtrTy = getPointerType(VoidTy);
6121 getPointerType(VoidPtrTy),
6122 getPointerType(VoidPtrTy)
6283 sz = getTypeSizeInChars(VoidPtrTy);
6337 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy);
6445 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy);
7211 CurOffs += getTypeSize(VoidPtrTy);
tools/clang/lib/AST/Decl.cpp 2933 return (proto->getParamType(1).getCanonicalType() == Context.VoidPtrTy);
tools/clang/lib/AST/ExprConstant.cpp 6045 return Pointer.toString(Info.Ctx, Info.Ctx.VoidPtrTy);
tools/clang/lib/AST/FormatString.cpp 528 Res = C.VoidPtrTy;
tools/clang/lib/CodeGen/CGAtomic.cpp 742 CGF.getContext().VoidPtrTy);
986 getContext().VoidPtrTy);
1018 getContext().VoidPtrTy);
1162 getContext().VoidPtrTy);
1433 CGF.getContext().VoidPtrTy);
1435 CGF.getContext().VoidPtrTy);
1630 CGF.getContext().VoidPtrTy);
1632 CGF.getContext().VoidPtrTy);
1634 CGF.getContext().VoidPtrTy);
1943 getContext().VoidPtrTy);
1945 getContext().VoidPtrTy);
tools/clang/lib/CodeGen/CGBlocks.cpp 1293 Args.add(RValue::get(BlockPtr), Ctx.VoidPtrTy);
1544 QualType selfTy = getContext().VoidPtrTy;
2007 ImplicitParamDecl DstDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other);
2009 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other);
2028 ArgTys.push_back(C.VoidPtrTy);
2029 ArgTys.push_back(C.VoidPtrTy);
2202 ImplicitParamDecl SrcDecl(C, C.VoidPtrTy, ImplicitParamDecl::Other);
2221 ArgTys.push_back(C.VoidPtrTy);
2451 ImplicitParamDecl Dst(Context, Context.VoidPtrTy, ImplicitParamDecl::Other);
2454 ImplicitParamDecl Src(Context, Context.VoidPtrTy, ImplicitParamDecl::Other);
2472 ArgTys.push_back(Context.VoidPtrTy);
2473 ArgTys.push_back(Context.VoidPtrTy);
2528 ImplicitParamDecl Src(CGF.getContext(), Context.VoidPtrTy,
2548 ArgTys.push_back(Context.VoidPtrTy);
tools/clang/lib/CodeGen/CGBuiltin.cpp 1141 Ctx, nullptr, SourceLocation(), &Ctx.Idents.get("buffer"), Ctx.VoidPtrTy,
1143 ArgTys.emplace_back(Ctx.VoidPtrTy);
1235 Args.add(RValue::get(BufAddr.getPointer()), Ctx.VoidPtrTy);
1421 Types[Context.VoidPtrTy] = "%p";
1461 ? Types[Context.VoidPtrTy]
2880 getContext().VoidPtrTy);
2883 getContext().VoidPtrTy);
tools/clang/lib/CodeGen/CGCUDANV.cpp 167 VoidPtrTy = cast<llvm::PointerType>(Types.ConvertType(Ctx.VoidPtrTy));
tools/clang/lib/CodeGen/CGCall.cpp 347 ? CGM.getContext().VoidPtrTy
413 ? CGM.getContext().VoidPtrTy
tools/clang/lib/CodeGen/CGDebugInfo.cpp 665 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
1028 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
1903 unsigned Size = Context.getTypeSize(Context.VoidPtrTy);
1994 CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
2020 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
4189 Fields.push_back(createFieldType("__isa", Context.VoidPtrTy, Loc, AS_public,
4294 TypeInfo PtrInfo = C.getTypeInfo(C.VoidPtrTy);
tools/clang/lib/CodeGen/CGDeclCXX.cpp 761 ImplicitParamDecl Dst(getContext(), getContext().VoidPtrTy,
tools/clang/lib/CodeGen/CGException.cpp 1626 QualType ArgTys[2] = {Context.UnsignedCharTy, Context.VoidPtrTy};
1859 getContext().VoidPtrTy, ImplicitParamDecl::Other));
1868 &getContext().Idents.get("frame_pointer"), getContext().VoidPtrTy,
tools/clang/lib/CodeGen/CGExpr.cpp 3190 ImplicitParamDecl ArgData(getContext(), getContext().VoidPtrTy,
3192 ImplicitParamDecl ArgAddr(getContext(), getContext().VoidPtrTy,
3215 CGM.getContext().VoidPtrTy, ArgData.getLocation());
3218 CGM.getContext().VoidPtrTy, ArgAddr.getLocation());
4879 CGM.getContext().VoidPtrTy);
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp 307 QualType ParamTy = Ctx.getPointerType(Ctx.VoidPtrTy);
tools/clang/lib/CodeGen/CGObjC.cpp 739 args.add(RValue::get(dest.getPointer()), Context.VoidPtrTy);
742 args.add(RValue::get(src.getPointer()), Context.VoidPtrTy);
1001 args.add(RValue::get(returnAddr), CGF.getContext().VoidPtrTy);
1008 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy);
1011 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy);
1211 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy);
1220 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy);
1257 args.add(RValue::get(ivarAddr), CGF.getContext().VoidPtrTy);
1266 args.add(RValue::get(argAddr), CGF.getContext().VoidPtrTy);
1269 args.add(RValue::get(AtomicHelperFn), CGF.getContext().VoidPtrTy);
tools/clang/lib/CodeGen/CGObjCMac.cpp 306 Params.push_back(Ctx.VoidPtrTy);
307 Params.push_back(Ctx.VoidPtrTy);
326 Params.push_back(Ctx.VoidPtrTy);
327 Params.push_back(Ctx.VoidPtrTy);
328 Params.push_back(Ctx.VoidPtrTy);
6007 nullptr, Ctx.VoidPtrTy, nullptr, nullptr, false,
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 1258 addFieldToRecordDecl(C, RD, C.VoidPtrTy);
2773 /*Id=*/nullptr, CGM.getContext().VoidPtrTy,
2778 CGM.getContext().VoidPtrTy, Args);
2783 CtorCGF.StartFunction(GlobalDecl(), CGM.getContext().VoidPtrTy, Fn, FI,
2787 CGM.getContext().VoidPtrTy, Dst.getLocation());
2795 CGM.getContext().VoidPtrTy, Dst.getLocation());
2806 /*Id=*/nullptr, CGM.getContext().VoidPtrTy,
2823 /*Volatile=*/false, CGM.getContext().VoidPtrTy, Dst.getLocation());
3295 ImplicitParamDecl LHSArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, C.VoidPtrTy,
3297 ImplicitParamDecl RHSArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, C.VoidPtrTy,
3388 C.VoidPtrTy, ArraySize, nullptr, ArrayType::Normal,
4293 QualType KmpRoutineEntryTyArgs[] = {KmpInt32Ty, C.VoidPtrTy};
4316 addFieldToRecordDecl(C, RD, C.VoidPtrTy);
4346 addFieldToRecordDecl(C, RD, C.VoidPtrTy);
4347 addFieldToRecordDecl(C, RD, C.VoidPtrTy);
4446 addFieldToRecordDecl(C, RD, C.VoidPtrTy);
4460 addFieldToRecordDecl(C, RD, C.VoidPtrTy);
5430 CGF.getContext().VoidPtrTy);
5566 ImplicitParamDecl LHSArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, C.VoidPtrTy,
5568 ImplicitParamDecl RHSArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, C.VoidPtrTy,
5744 C.getConstantArrayType(C.VoidPtrTy, ArraySize, nullptr, ArrayType::Normal,
6005 ImplicitParamDecl Param(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, C.VoidPtrTy,
6020 C.getPointerType(C.VoidPtrTy).castAs<PointerType>());
6039 CGF, CGM.getContext().VoidPtrTy,
6043 CGM.getContext().VoidPtrTy.castAs<PointerType>()->getTypePtr());
6044 SharedLVal = CGF.MakeAddrLValue(SharedAddr, CGM.getContext().VoidPtrTy);
6048 CGM.getContext().VoidPtrTy);
6080 C.VoidPtrTy, ImplicitParamDecl::Other);
6081 ImplicitParamDecl ParamIn(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, C.VoidPtrTy,
6114 C.getPointerType(C.VoidPtrTy).castAs<PointerType>());
6122 C.getPointerType(C.VoidPtrTy).castAs<PointerType>());
6152 ImplicitParamDecl Param(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, C.VoidPtrTy,
6167 C.getPointerType(C.VoidPtrTy).castAs<PointerType>());
6204 const FieldDecl *SharedFD = addFieldToRecordDecl(C, RD, C.VoidPtrTy);
6206 const FieldDecl *InitFD = addFieldToRecordDecl(C, RD, C.VoidPtrTy);
6207 const FieldDecl *FiniFD = addFieldToRecordDecl(C, RD, C.VoidPtrTy);
6208 const FieldDecl *CombFD = addFieldToRecordDecl(C, RD, C.VoidPtrTy);
6309 CGF, CGM.getContext().VoidPtrTy,
8188 CGF.Builder.CreateIntCast(CGF.getTypeSize(CGF.getContext().VoidPtrTy),
8275 CGF.Builder.CreateIntCast(CGF.getTypeSize(CGF.getContext().VoidPtrTy),
8579 Ctx.VoidPtrTy, PointerNumAP, nullptr, ArrayType::Normal,
8638 Address BPAddr(BP, Ctx.getTypeAlignInChars(Ctx.VoidPtrTy));
8651 Address PAddr(P, Ctx.getTypeAlignInChars(Ctx.VoidPtrTy));
8846 C.VoidPtrTy, ImplicitParamDecl::Other);
8847 ImplicitParamDecl BaseArg(C, /*DC=*/nullptr, Loc, /*Id=*/nullptr, C.VoidPtrTy,
8850 C.VoidPtrTy, ImplicitParamDecl::Other);
8889 /*Volatile=*/false, C.getPointerType(C.VoidPtrTy), Loc);
8892 /*Volatile=*/false, C.getPointerType(C.VoidPtrTy), Loc);
8895 /*Volatile=*/false, C.getPointerType(C.VoidPtrTy), Loc);
8953 *BasePointers[I], CGM.getTypes().ConvertTypeForMem(C.VoidPtrTy));
8955 Pointers[I], CGM.getTypes().ConvertTypeForMem(C.VoidPtrTy));
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 2262 .getPointerType(CGM.getContext().VoidPtrTy)
2564 SharedArgs, Ctx.getPointerType(Ctx.getPointerType(Ctx.VoidPtrTy))
2574 Ctx.getPointerType(Ctx.VoidPtrTy));
3119 C.VoidPtrTy);
3178 C.VoidPtrTy, ImplicitParamDecl::Other);
3233 C.VoidPtrTy, Loc),
3291 ElemPtrPtrAddr, /*Volatile=*/false, C.VoidPtrTy, SourceLocation());
3357 TargetElemPtrPtr, /*Volatile=*/false, C.VoidPtrTy, Loc);
3466 C.VoidPtrTy, ImplicitParamDecl::Other);
3504 C.VoidPtrTy, SourceLocation()),
3631 C.VoidPtrTy, ImplicitParamDecl::Other);
3637 C.VoidPtrTy, ImplicitParamDecl::Other);
3660 C.VoidPtrTy, Loc),
3667 CGF.EmitLoadOfScalar(AddrBufferArg, /*Volatile=*/false, C.VoidPtrTy, Loc),
3678 ElemPtrPtrAddr, /*Volatile=*/false, C.VoidPtrTy, SourceLocation());
3737 C.VoidPtrTy, ImplicitParamDecl::Other);
3743 C.VoidPtrTy, ImplicitParamDecl::Other);
3766 CGF.EmitLoadOfScalar(AddrBufferArg, /*Volatile=*/false, C.VoidPtrTy, Loc),
3788 CGF.EmitStoreOfScalar(Ptr, Elem, /*Volatile=*/false, C.VoidPtrTy);
3808 AddrReduceListArg, /*Volatile=*/false, C.VoidPtrTy, Loc);
3831 C.VoidPtrTy, ImplicitParamDecl::Other);
3837 C.VoidPtrTy, ImplicitParamDecl::Other);
3860 C.VoidPtrTy, Loc),
3867 CGF.EmitLoadOfScalar(AddrBufferArg, /*Volatile=*/false, C.VoidPtrTy, Loc),
3879 ElemPtrPtrAddr, /*Volatile=*/false, C.VoidPtrTy, SourceLocation());
3937 C.VoidPtrTy, ImplicitParamDecl::Other);
3943 C.VoidPtrTy, ImplicitParamDecl::Other);
3966 CGF.EmitLoadOfScalar(AddrBufferArg, /*Volatile=*/false, C.VoidPtrTy, Loc),
3988 CGF.EmitStoreOfScalar(Ptr, Elem, /*Volatile=*/false, C.VoidPtrTy);
4008 AddrReduceListArg, /*Volatile=*/false, C.VoidPtrTy, Loc);
4299 C.getConstantArrayType(C.VoidPtrTy, ArraySize, nullptr, ArrayType::Normal,
4370 /*Volatile=*/false, C.getPointerType(C.VoidPtrTy), Loc);
4605 CGF.getContext().VoidPtrTy))
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 3058 Replacement.getPointer(), CGF.getContext().VoidPtrTy,
3110 Replacement.getPointer(), CGF.getContext().VoidPtrTy,
3196 getContext().VoidPtrTy, ArrSize, nullptr, ArrayType::Normal,
tools/clang/lib/CodeGen/CGVTables.cpp 251 ResultType = CGM.getContext().VoidPtrTy;
361 ? CGM.getContext().VoidPtrTy
tools/clang/lib/CodeGen/CodeGenFunction.cpp 1095 ResTy = CGM.getContext().VoidPtrTy;
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 1530 Context.getPointerType(Context.VoidPtrTy));
1563 QualType T = Context.getPointerType(Context.VoidPtrTy);
1608 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy);
1620 QualType VTTTy = getContext().getPointerType(getContext().VoidPtrTy);
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 4164 CatchableTypes.insert(getCatchableType(getContext().VoidPtrTy));
4175 CatchableTypes.insert(getCatchableType(getContext().VoidPtrTy));
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 2734 Context->getPointerType(Context->VoidPtrTy),
2863 Context->getPointerType(Context->VoidPtrTy),
4626 Context->VoidPtrTy, nullptr,
4672 Context->VoidPtrTy, nullptr,
4681 Context->VoidPtrTy, nullptr,
4971 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy));
5189 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy);
5281 CastExpr *castExpr = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy,
5290 &Context->Idents.get(DescData), Context->VoidPtrTy, nullptr, SC_Static);
5292 new (Context) DeclRefExpr(*Context, NewVD, false, Context->VoidPtrTy,
5294 UO_AddrOf, Context->getPointerType(Context->VoidPtrTy), VK_RValue,
5320 Exp = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy,
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 3794 Context->VoidPtrTy, nullptr,
3840 Context->VoidPtrTy, nullptr,
3850 Context->VoidPtrTy, nullptr,
4125 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy));
4343 QualType FType = Context->getFunctionNoProtoType(Context->VoidPtrTy);
4420 NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, CK_BitCast, Arg);
4428 &Context->Idents.get(DescData), Context->VoidPtrTy, nullptr, SC_Static);
4430 new (Context) DeclRefExpr(*Context, NewVD, false, Context->VoidPtrTy,
4432 UO_AddrOf, Context->getPointerType(Context->VoidPtrTy), VK_RValue,
4458 Exp = NoTypeInfoCStyleCastExpr(Context, Context->VoidPtrTy, CK_BitCast,
tools/clang/lib/Sema/SemaChecking.cpp 1458 TheCall->setType(Context.VoidPtrTy);
6120 Context, Context.VoidPtrTy, false);
6171 TheCall->setType(Context.VoidPtrTy);
tools/clang/lib/Sema/SemaDeclCXX.cpp13780 if (CheckOperatorNewDeleteTypes(SemaRef, FnDecl, SemaRef.Context.VoidPtrTy,
13815 : SemaRef.Context.VoidPtrTy;
tools/clang/lib/Sema/SemaExprCXX.cpp 2522 ArgTypes.push_back(Context.VoidPtrTy);
tools/clang/lib/Sema/SemaExprObjC.cpp 695 Context.VoidPtrTy.withConst(),
tools/clang/lib/Sema/SemaOpenMP.cpp 1148 SemaRef.Context.VoidPtrTy, ".task_red.");
1150 buildDeclRefExpr(SemaRef, VD, SemaRef.Context.VoidPtrTy, SR.getBegin());
1171 SemaRef.Context.VoidPtrTy, ".task_red.");
1173 buildDeclRefExpr(SemaRef, VD, SemaRef.Context.VoidPtrTy, SR.getBegin());
3119 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict();
3133 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()),
3164 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict();
3178 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()),
3217 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict();
3231 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()),
3257 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict();
3271 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()),
3299 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict();
3321 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()),
3360 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict();
3373 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()),
3446 QualType VoidPtrTy = Context.VoidPtrTy.withConst().withRestrict();
3460 std::make_pair(".task_t.", Context.VoidPtrTy.withConst()),
tools/clang/lib/Sema/SemaStmt.cpp 359 if (T == Context.VoidPtrTy) {
tools/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp 567 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy);
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp 2493 SVal V = svalBuilder.conjureSymbolVal(Ex, LCtx, getContext().VoidPtrTy,
tools/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp 36 T = SVB.getContext().VoidPtrTy;
tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp 582 BasicVals.getAPSIntType(Context.VoidPtrTy).apply(i);
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp 349 return ast_ctx.VoidPtrTy;
tools/lldb/source/Symbol/ClangASTContext.cpp 858 if (QualTypeMatchesBitSize(bit_size, ast, ast->VoidPtrTy))
859 return CompilerType(clang_ast_context, ast->VoidPtrTy.getAsOpaquePtr());
1036 if (QualTypeMatchesBitSize(bit_size, ast, ast->VoidPtrTy))
1037 return CompilerType(this, ast->VoidPtrTy.getAsOpaquePtr());
2317 return GetIntTypeFromBitSize(ast, ast->getTypeSize(ast->VoidPtrTy),