/freebsd/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 | 418 QualType SizeTy = Ctx.getSizeType(); in getIndex() 916 QualType sizeTy = svalBuilder.getContext().getSizeType(); in checkAdditionOverflow() 1011 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLengthForRegion() 1071 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLength() 1083 QualType SizeTy = SvalBuilder.getContext().getSizeType(); in getCStringLength() 1408 svalBuilder.makeZeroVal(Ctx.getSizeType())); in memsetAux() 1411 CStringChecker::getTag(), MR, DstBuffer, Ctx.getSizeType(), in memsetAux() 1907 QualType sizeTy = svalBuilder.getContext().getSizeType(); in evalStrcpyCommon() 2233 C.getASTContext().getSizeType()); in evalStrcpyCommon()
|
H A D | VLASizeChecker.cpp | 97 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
|
H A D | MallocChecker.cpp | 1138 SB.getContext().getSizeType()); in evalMulForBufferSize() 1172 AC.getSizeType(); in isStandardRealloc() 1724 QualType SizeTy = SVB.getContext().getSizeType(); in checkTaintedness() 2652 svalBuilder.getContext().getSizeType(), 0)); in ReallocMemAux()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 501 TI.getTypeConstantSuffix(TI.getSizeType())); in InitializeStandardPredefinedMacros() 1127 DefineTypeSizeAndWidth("__SIZE", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros() 1148 TI.getTypeWidth(TI.getSizeType()), TI, Builder); in InitializePredefinedMacros() 1169 DefineType("__SIZE_TYPE__", TI.getSizeType(), Builder); in InitializePredefinedMacros() 1170 DefineFmt(LangOpts, "__SIZE", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
|
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | NVPTX.cpp | 127 SizeType = HostTarget->getSizeType(); in NVPTXTargetInfo()
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParseHLSL.cpp | 269 QualType SizeTy = Ctx.getSizeType(); in ParseHLSLAnnotations()
|
H A D | ParseInit.cpp | 445 Context.MakeIntValue(Str.size(), Context.getSizeType()); in createEmbedExpr()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | Sema.cpp | 382 addImplicitTypedef("size_t", Context.getSizeType()); in Initialize() 423 auto AtomicSizeT = Context.getAtomicType(Context.getSizeType()); in Initialize() 434 if (Context.getTypeSize(Context.getSizeType()) == 32) { in Initialize() 459 if (Context.getTypeSize(Context.getSizeType()) == 64) { in Initialize() 1375 llvm::APInt One(Context.getTypeSize(Context.getSizeType()), true); in ActOnEndOfTranslationUnit()
|
H A D | SemaExprCXX.cpp | 1746 S.Context.getSizeType())) in isNonPlacementDeallocationFunction() 1777 S.Context.getSizeType())) { in UsualDeallocFnInfo() 1946 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in ActOnCXXNew() 1948 = CheckConvertedConstantExpression(NumElts, Context.getSizeType(), Value, in ActOnCXXNew() 2149 Context.getSizeType(), in BuildCXXNew() 2190 ConvertedSize = PerformImplicitConversion(*ArraySize, Context.getSizeType(), in BuildCXXNew() 2361 QualType SizeTy = Context.getSizeType(); in BuildCXXNew() 2455 llvm::APInt(Context.getTypeSize(Context.getSizeType()), in BuildCXXNew() 2489 Context, CAT->getSize(), Context.getSizeType(), TypeRange.getEnd()); in BuildCXXNew() 2721 QualType SizeTy = Context.getSizeType(); in FindAllocationFunctions() [all …]
|
H A D | SemaTemplateVariadic.cpp | 1104 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in BuildPackIndexingExpr() 1107 IndexExpr, Context.getSizeType(), Value, CCEK_ArrayBound); in BuildPackIndexingExpr()
|
H A D | SemaOpenCL.cpp | 211 S.Context.getSizeType()); in checkOpenCLEnqueueLocalSizeArgs()
|
H A D | SemaTemplateDeduction.cpp | 1916 S, TemplateParams, NTTP, Size, S.Context.getSizeType(), in DeduceTemplateArgumentsByTypeMatch() 2286 S.Context.getTypeSize(S.Context.getSizeType())); in DeduceTemplateArgumentsByTypeMatch() 2289 S, TemplateParams, NTTP, ArgConst, S.Context.getSizeType(), in DeduceTemplateArgumentsByTypeMatch() 4311 QualType T = S.Context.getSizeType(); in DeduceFromInitializerList()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCoroutine.cpp | 982 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic() 989 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
|
H A D | CGExprCXX.cpp | 1486 CGF.getContext().getSizeType()); in Emit() 1495 CGF.getContext().getSizeType()); in Emit() 1627 allocatorArgs.add(RValue::get(allocSize), getContext().getSizeType()); in EmitCXXNewExpr() 1637 QualType sizeType = getContext().getSizeType(); in EmitCXXNewExpr()
|
H A D | CGOpenMPRuntime.cpp | 3579 Sz, SE->getType(), CGF.getContext().getSizeType(), SE->getExprLoc()); in getPointerAndSize() 3606 addFieldToRecordDecl(C, KmpAffinityInfoRD, C.getSizeType()); in getKmpAffinityType() 3829 C.getIntTypeForBitwidth(C.getTypeSize(C.getSizeType()), /*Signed=*/0), in emitTaskInit() 3846 llvm::APInt(C.getTypeSize(C.getSizeType()), NumAffinities), nullptr, in emitTaskInit() 3886 CGF.CreateMemTemp(C.getSizeType(), "affs.counter.addr"), in emitTaskInit() 3887 C.getSizeType()); in emitTaskInit() 4041 addFieldToRecordDecl(C, KmpDependInfoRD, C.getSizeType()); in getDependTypes() 4327 CGF.CreateMemTemp(C.getSizeType(), "dep.counter.addr"), C.getSizeType()); in emitDependClause() 4422 CGF.CreateMemTemp(C.getSizeType(), "iterator.counter.addr"), in emitDepobjDependClause() 4423 C.getSizeType()); in emitDepobjDependClause() [all …]
|
H A D | CGAtomic.cpp | 1041 getContext().getSizeType()); in EmitAtomicExpr() 1464 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicLoadLibcall() 1663 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicCompareExchangeLibcall() 1974 getContext().getSizeType()); in EmitAtomicStore()
|
H A D | CGOpenMPRuntimeGPU.cpp | 1937 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper() 1947 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
|
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() 1348 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
|
H A D | CodeGenFunction.cpp | 718 if (MD->parameters()[0]->getType().getCanonicalType() != Ctx.getSizeType()) in matchesStlAllocatorFn() 1410 /*Id=*/nullptr, getContext().getSizeType(), ImplicitParamKind::Other); in BuildFunctionArgList()
|
/freebsd/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/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 | 581 return ArgType::makeSizeT(ArgType(Ctx.getSizeType(), "size_t")); in getScalarArgType()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | SymbolManager.cpp | 338 return Ctx.getSizeType(); in getType()
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | TargetInfo.h | 371 IntType getSizeType() const { return SizeType; } in getSizeType() function
|