| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 413 TI.getTypeConstantSuffix(TI.getSizeType())); in InitializeStandardPredefinedMacros() 878 DefineTypeSize("__SIZE_MAX__", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros() 896 TI.getTypeWidth(TI.getSizeType()), TI, Builder); in InitializePredefinedMacros() 919 DefineType("__SIZE_TYPE__", TI.getSizeType(), Builder); in InitializePredefinedMacros() 920 DefineFmt("__SIZE", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros() 921 DefineTypeWidth("__SIZE_WIDTH__", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | NVPTX.cpp | 132 SizeType = HostTarget->getSizeType(); in NVPTXTargetInfo()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | VLASizeChecker.cpp | 97 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
|
| H A D | CStringChecker.cpp | 657 QualType sizeTy = svalBuilder.getContext().getSizeType(); in checkAdditionOverflow() 752 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLengthForRegion() 812 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLength() 1098 svalBuilder.makeZeroVal(Ctx.getSizeType())); in memsetAux() 1101 CStringChecker::getTag(), MR, DstBuffer, Ctx.getSizeType(), in memsetAux() 1577 QualType sizeTy = svalBuilder.getContext().getSizeType(); in evalStrcpyCommon()
|
| H A D | MallocChecker.cpp | 1011 SB.getContext().getSizeType()); in evalMulForBufferSize() 1048 AC.getSizeType(); in isStandardRealloc()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | Sema.cpp | 317 addImplicitTypedef("size_t", Context.getSizeType()); in Initialize() 355 auto AtomicSizeT = Context.getAtomicType(Context.getSizeType()); in Initialize() 366 if (Context.getTypeSize(Context.getSizeType()) == 32) { in Initialize() 386 if (Context.getTypeSize(Context.getSizeType()) == 64) { in Initialize() 1255 llvm::APInt One(Context.getTypeSize(Context.getSizeType()), true); in ActOnEndOfTranslationUnit()
|
| H A D | SemaExprCXX.cpp | 1610 S.Context.getSizeType())) in isNonPlacementDeallocationFunction() 1641 S.Context.getSizeType())) { in UsualDeallocFnInfo() 1826 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in ActOnCXXNew() 2020 Context.getSizeType(), in BuildCXXNew() 2227 QualType SizeTy = Context.getSizeType(); in BuildCXXNew() 2322 llvm::APInt(Context.getTypeSize(Context.getSizeType()), in BuildCXXNew() 2598 Context.getSizeType(), in FindAllocationFunctions() 2961 AlignValT->setIntegerType(Context.getSizeType()); in DeclareGlobalNewDelete() 2962 AlignValT->setPromotionType(Context.getSizeType()); in DeclareGlobalNewDelete() 2970 QualType SizeT = Context.getSizeType(); in DeclareGlobalNewDelete() [all …]
|
| H A D | SemaTemplateDeduction.cpp | 1779 S.Context.getSizeType(), in DeduceTemplateArgumentsByTypeMatch() 2187 S.Context.getTypeSize(S.Context.getSizeType())); in DeduceTemplateArgumentsByTypeMatch() 2190 S, TemplateParams, NTTP, ArgConst, S.Context.getSizeType(), in DeduceTemplateArgumentsByTypeMatch() 4003 QualType T = S.Context.getSizeType(); in DeduceFromInitializerList()
|
| H A D | SemaDeclCXX.cpp | 1119 getTrivialIntegralTemplateArgument(S, Loc, S.Context.getSizeType(), I)); in getTupleLikeElementType() 1220 getTrivialIntegralTemplateArgument(S, Loc, S.Context.getSizeType(), I)); in checkTupleLikeDecomposition() 8168 QualType SizeType = S.Context.getSizeType(); in visitSubobjectArray() 13832 QualType SizeType = S.Context.getSizeType(); in buildMemcpyForAssignmentOp() 14031 QualType SizeType = S.Context.getSizeType(); in buildSingleCopyAssignRecursively() 15621 SemaRef.Context.getCanonicalType(SemaRef.Context.getSizeType()); in CheckOperatorNewDeclaration() 16007 if (!Context.hasSameType(SecondParamType, Context.getSizeType())) { in CheckLiteralOperatorDeclaration() 16010 << SecondParamType << Context.getSizeType() in CheckLiteralOperatorDeclaration()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 1464 CGF.getContext().getSizeType()); in Emit() 1473 CGF.getContext().getSizeType()); in Emit() 1604 allocatorArgs.add(RValue::get(allocSize), getContext().getSizeType()); in EmitCXXNewExpr() 1614 QualType sizeType = getContext().getSizeType(); in EmitCXXNewExpr()
|
| H A D | CGAtomic.cpp | 1034 getContext().getSizeType()); in EmitAtomicExpr() 1514 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicLoadLibcall() 1711 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicCompareExchangeLibcall() 2019 getContext().getSizeType()); in EmitAtomicStore()
|
| H A D | CGOpenMPRuntime.cpp | 3415 addFieldToRecordDecl(C, RD, C.getSizeType()); in getTgtOffloadEntryQTy() 4183 addFieldToRecordDecl(C, KmpAffinityInfoRD, C.getSizeType()); in getKmpAffinityType() 4463 CGF.CreateMemTemp(C.getSizeType(), "affs.counter.addr"), in emitTaskInit() 4464 C.getSizeType()); in emitTaskInit() 4624 addFieldToRecordDecl(C, KmpDependInfoRD, C.getSizeType()); in getDependTypes() 4938 CGF.CreateMemTemp(C.getSizeType(), "dep.counter.addr"), C.getSizeType()); in emitDependClause() 5031 C.getSizeType()); in emitDepobjDependClause() 5902 CGF, CGM.getContext().getSizeType(), in emitReduceInitFunction() 5973 CGF, CGM.getContext().getSizeType(), in emitReduceCombFunction() 6046 CGF, CGM.getContext().getSizeType(), in emitReduceFiniFunction() [all …]
|
| H A D | CodeGenFunction.cpp | 678 if (MD->parameters()[0]->getType().getCanonicalType() != Ctx.getSizeType()) in matchesStlAllocatorFn() 1278 /*Id=*/nullptr, getContext().getSizeType(), ImplicitParamDecl::Other); in BuildFunctionArgList()
|
| H A D | CGObjC.cpp | 145 llvm::APInt APNumElements(Context.getTypeSize(Context.getSizeType()), in EmitObjCCollectionLiteral() 834 args.add(RValue::get(CGF.CGM.getSize(size)), Context.getSizeType()); in emitStructGetterCall() 1315 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyTIL.h | 177 inline static SizeType getSizeType(unsigned nbytes); 190 inline ValueType::SizeType ValueType::getSizeType(unsigned nbytes) { in getSizeType() function 268 return ValueType(BT_String, getSizeType(sizeof(StringRef)), false, 0); 273 return ValueType(BT_Pointer, getSizeType(sizeof(void*)), false, 0);
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ScanfFormatString.cpp | 293 return ArgType::PtrTo(ArgType(Ctx.getSizeType(), "size_t")); in getArgType()
|
| H A D | PrintfFormatString.cpp | 562 return ArgType::makeSizeT(ArgType(Ctx.getSizeType(), "size_t")); in getScalarArgType()
|
| H A D | ASTContext.cpp | 5644 CanQualType ASTContext::getSizeType() const { in getSizeType() function in ASTContext 5645 return getFromTargetType(Target->getSizeType()); in getSizeType() 8123 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreatePowerABIBuiltinVaListDecl() 8178 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateX86_64ABIBuiltinVaListDecl() 8186 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 4); in CreatePNaClABIBuiltinVaListDecl() 8281 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateSystemZBuiltinVaListDecl() 8332 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateHexagonBuiltinVaListDecl() 10465 Type = Context.getSizeType(); in DecodeTypeFromStr()
|
| H A D | DeclTemplate.cpp | 1417 TypeSourceInfo *TInfo = C.getTrivialTypeSourceInfo(C.getSizeType()); in createTypePackElementParameterList()
|
| H A D | ItaniumMangle.cpp | 3718 unsigned BitWidth = ASTCtx.getTypeSize(ASTCtx.getSizeType()); in mangleType() 3721 mangleIntegerLiteral(ASTCtx.getSizeType(), Rows); in mangleType() 3724 mangleIntegerLiteral(ASTCtx.getSizeType(), Columns); in mangleType()
|
| H A D | Type.cpp | 166 unsigned SizeTypeBits = Context.getTypeSize(Context.getSizeType()); in getNumAddressingBits() 177 unsigned Bits = Context.getTypeSize(Context.getSizeType()); in getMaxSizeBits()
|
| H A D | ExprCXX.cpp | 1562 return new (Storage) SizeOfPackExpr(Context.getSizeType(), OperatorLoc, Pack, in Create()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SymbolManager.cpp | 322 return Ctx.getSizeType(); in getType()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 317 IntType getSizeType() const { return SizeType; } in getSizeType() function
|
| H A D | riscv_vector.td | 605 CGM.getNaturalTypeAlignment(getContext().getSizeType()); 624 CGM.getNaturalTypeAlignment(getContext().getSizeType());
|