| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | StringChecker.cpp | 60 if (Arg2Ty.getCanonicalType() == ACtx.getSizeType()) in isCharToStringCtor()
|
| H A D | CStringChecker.cpp | 409 QualType SizeTy = Ctx.getSizeType(); in CheckLocation() 771 QualType sizeTy = svalBuilder.getContext().getSizeType(); in checkAdditionOverflow() 866 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLengthForRegion() 926 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLength() 938 QualType SizeTy = SvalBuilder.getContext().getSizeType(); in getCStringLength() 1263 svalBuilder.makeZeroVal(Ctx.getSizeType())); in memsetAux() 1266 CStringChecker::getTag(), MR, DstBuffer, Ctx.getSizeType(), in memsetAux() 1759 QualType sizeTy = svalBuilder.getContext().getSizeType(); in evalStrcpyCommon() 2085 C.getASTContext().getSizeType()); in evalStrcpyCommon()
|
| H A D | VLASizeChecker.cpp | 97 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
|
| H A D | MallocChecker.cpp | 1214 SB.getContext().getSizeType()); in evalMulForBufferSize() 1251 AC.getSizeType(); in isStandardRealloc() 2604 svalBuilder.getContext().getSizeType(), 0)); in ReallocMemAux()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 484 TI.getTypeConstantSuffix(TI.getSizeType())); in InitializeStandardPredefinedMacros() 1037 DefineTypeSizeAndWidth("__SIZE", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros() 1058 TI.getTypeWidth(TI.getSizeType()), TI, Builder); in InitializePredefinedMacros() 1078 DefineType("__SIZE_TYPE__", TI.getSizeType(), Builder); in InitializePredefinedMacros() 1079 DefineFmt("__SIZE", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | NVPTX.cpp | 122 SizeType = HostTarget->getSizeType(); in NVPTXTargetInfo()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCoroutine.cpp | 844 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic() 851 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
|
| H A D | CGExprCXX.cpp | 1481 CGF.getContext().getSizeType()); in Emit() 1490 CGF.getContext().getSizeType()); in Emit() 1628 allocatorArgs.add(RValue::get(allocSize), getContext().getSizeType()); in EmitCXXNewExpr() 1638 QualType sizeType = getContext().getSizeType(); in EmitCXXNewExpr()
|
| H A D | CGOpenMPRuntime.cpp | 3592 addFieldToRecordDecl(C, KmpAffinityInfoRD, C.getSizeType()); in getKmpAffinityType() 3872 CGF.CreateMemTemp(C.getSizeType(), "affs.counter.addr"), in emitTaskInit() 3873 C.getSizeType()); in emitTaskInit() 4026 addFieldToRecordDecl(C, KmpDependInfoRD, C.getSizeType()); in getDependTypes() 4308 CGF.CreateMemTemp(C.getSizeType(), "dep.counter.addr"), C.getSizeType()); in emitDependClause() 4403 CGF.CreateMemTemp(C.getSizeType(), "iterator.counter.addr"), in emitDepobjDependClause() 4404 C.getSizeType()); in emitDepobjDependClause() 5277 CGF, CGM.getContext().getSizeType(), in emitReduceInitFunction() 5343 CGF, CGM.getContext().getSizeType(), in emitReduceCombFunction() 5414 CGF, CGM.getContext().getSizeType(), in emitReduceFiniFunction() [all …]
|
| H A D | CGAtomic.cpp | 1163 getContext().getSizeType()); in EmitAtomicExpr() 1675 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicLoadLibcall() 1869 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicCompareExchangeLibcall() 2174 getContext().getSizeType()); in EmitAtomicStore()
|
| H A D | CGObjC.cpp | 148 llvm::APInt APNumElements(Context.getTypeSize(Context.getSizeType()), in EmitObjCCollectionLiteral() 835 args.add(RValue::get(CGF.CGM.getSize(size)), Context.getSizeType()); in emitStructGetterCall() 1344 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
|
| H A D | CodeGenFunction.cpp | 673 if (MD->parameters()[0]->getType().getCanonicalType() != Ctx.getSizeType()) in matchesStlAllocatorFn() 1335 /*Id=*/nullptr, getContext().getSizeType(), ImplicitParamKind::Other); in BuildFunctionArgList()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | Sema.cpp | 337 addImplicitTypedef("size_t", Context.getSizeType()); in Initialize() 378 auto AtomicSizeT = Context.getAtomicType(Context.getSizeType()); in Initialize() 389 if (Context.getTypeSize(Context.getSizeType()) == 32) { in Initialize() 414 if (Context.getTypeSize(Context.getSizeType()) == 64) { in Initialize() 1334 llvm::APInt One(Context.getTypeSize(Context.getSizeType()), true); in ActOnEndOfTranslationUnit()
|
| H A D | SemaExprCXX.cpp | 1700 S.Context.getSizeType())) in isNonPlacementDeallocationFunction() 1731 S.Context.getSizeType())) { in UsualDeallocFnInfo() 1916 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in ActOnCXXNew() 2118 Context.getSizeType(), in BuildCXXNew() 2330 QualType SizeTy = Context.getSizeType(); in BuildCXXNew() 2424 llvm::APInt(Context.getTypeSize(Context.getSizeType()), in BuildCXXNew() 2696 QualType SizeTy = Context.getSizeType(); in FindAllocationFunctions() 3086 AlignValT->setIntegerType(Context.getSizeType()); in DeclareGlobalNewDelete() 3087 AlignValT->setPromotionType(Context.getSizeType()); in DeclareGlobalNewDelete() 3096 QualType SizeT = Context.getSizeType(); in DeclareGlobalNewDelete() [all …]
|
| H A D | SemaRISCVVectorLookup.cpp | 94 QT = Context.getSizeType(); in RVVType2Qual()
|
| H A D | SemaTemplateDeduction.cpp | 1779 S, TemplateParams, NTTP, Size, S.Context.getSizeType(), in DeduceTemplateArgumentsByTypeMatch() 2137 S.Context.getTypeSize(S.Context.getSizeType())); in DeduceTemplateArgumentsByTypeMatch() 2140 S, TemplateParams, NTTP, ArgConst, S.Context.getSizeType(), in DeduceTemplateArgumentsByTypeMatch() 4133 QualType T = S.Context.getSizeType(); in DeduceFromInitializerList()
|
| H A D | SemaDeclCXX.cpp | 1184 getTrivialIntegralTemplateArgument(S, Loc, S.Context.getSizeType(), I)); in getTupleLikeElementType() 1285 getTrivialIntegralTemplateArgument(S, Loc, S.Context.getSizeType(), I)); in checkTupleLikeDecomposition() 8596 QualType SizeType = S.Context.getSizeType(); in visitSubobjectArray() 14583 QualType SizeType = S.Context.getSizeType(); in buildMemcpyForAssignmentOp() 14782 QualType SizeType = S.Context.getSizeType(); in buildSingleCopyAssignRecursively() 16335 SemaRef.Context.getCanonicalType(SemaRef.Context.getSizeType()); in CheckOperatorNewDeclaration() 16756 if (!Context.hasSameType(SecondParamType, Context.getSizeType())) { in CheckLiteralOperatorDeclaration() 16759 << SecondParamType << Context.getSizeType() in CheckLiteralOperatorDeclaration() 17379 QualType SizeT = Context.getSizeType(); in EvaluateStaticAssertMessageAsString()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyTIL.h | 176 inline static SizeType getSizeType(unsigned nbytes); 189 inline ValueType::SizeType ValueType::getSizeType(unsigned nbytes) { in getSizeType() function 267 return ValueType(BT_String, getSizeType(sizeof(StringRef)), false, 0); 272 return ValueType(BT_Pointer, getSizeType(sizeof(void*)), false, 0);
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ScanfFormatString.cpp | 295 return ArgType::PtrTo(ArgType(Ctx.getSizeType(), "size_t")); in getArgType()
|
| H A D | PrintfFormatString.cpp | 565 return ArgType::makeSizeT(ArgType(Ctx.getSizeType(), "size_t")); in getScalarArgType()
|
| H A D | ASTContext.cpp | 5911 CanQualType ASTContext::getSizeType() const { in getSizeType() function in ASTContext 5912 return getFromTargetType(Target->getSizeType()); in getSizeType() 8871 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreatePowerABIBuiltinVaListDecl() 8925 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateX86_64ABIBuiltinVaListDecl() 8933 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 4); in CreatePNaClABIBuiltinVaListDecl() 9028 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateSystemZBuiltinVaListDecl() 9079 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateHexagonBuiltinVaListDecl() 11354 Type = Context.getSizeType(); in DecodeTypeFromStr()
|
| H A D | DeclTemplate.cpp | 1502 TypeSourceInfo *TInfo = C.getTrivialTypeSourceInfo(C.getSizeType()); in createTypePackElementParameterList()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SymbolManager.cpp | 338 return Ctx.getSizeType(); in getType()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 362 IntType getSizeType() const { return SizeType; } in getSizeType() function
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | InterpBuiltin.cpp | 141 unsigned SizeTWidth = TI.getTypeWidth(TI.getSizeType()); in pushSizeT()
|