| /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 | 419 QualType SizeTy = Ctx.getSizeType(); in getIndex() 922 QualType sizeTy = svalBuilder.getContext().getSizeType(); in checkAdditionOverflow() 1017 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLengthForRegion() 1077 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLength() 1089 QualType SizeTy = SvalBuilder.getContext().getSizeType(); in getCStringLength() 1414 svalBuilder.makeZeroVal(Ctx.getSizeType())); in memsetAux() 1417 CStringChecker::getTag(), MR, DstBuffer, Ctx.getSizeType(), in memsetAux() 1909 QualType sizeTy = svalBuilder.getContext().getSizeType(); in evalStrcpyCommon() 2243 C.getASTContext().getSizeType()); in evalStrcpyCommon() 2274 amountCopied, C.getASTContext().getSizeType()); in evalStrcpyCommon()
|
| H A D | VLASizeChecker.cpp | 95 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
|
| H A D | MallocChecker.cpp | 1284 SB.getContext().getSizeType()); in evalMulForBufferSize() 1318 AC.getSizeType(); in isStandardRealloc() 1937 QualType SizeTy = SVB.getContext().getSizeType(); in checkTaintedness() 2836 svalBuilder.getContext().getSizeType(), 0)); in ReallocMemAux()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | HLSLExternalSemaSource.cpp | 199 Context, llvm::APInt(Context.getTypeSize(Context.getSizeType()), 1, true), in constructStructuredBufferConstraintExpr() 200 Context.getSizeType(), NameLoc); in constructStructuredBufferConstraintExpr()
|
| H A D | SemaExprCXX.cpp | 1732 S.Context.getSizeType())) in isNonPlacementDeallocationFunction() 1804 S.Context.getSizeType())) { 2045 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in ActOnCXXNew() 2047 CheckConvertedConstantExpression(NumElts, Context.getSizeType(), in ActOnCXXNew() 2252 Context.getSizeType(), in BuildCXXNew() 2294 *ArraySize, Context.getSizeType(), AssignmentAction::Converting); in BuildCXXNew() 2476 QualType SizeTy = Context.getSizeType(); in BuildCXXNew() 2570 llvm::APInt(Context.getTypeSize(Context.getSizeType()), in BuildCXXNew() 2604 Context, CAT->getSize(), Context.getSizeType(), TypeRange.getEnd()); in BuildCXXNew() 2943 QualType TypeIdentity = Context.getSizeType(); in FindAllocationFunctions() [all …]
|
| H A D | Sema.cpp | 450 addImplicitTypedef("size_t", Context.getSizeType()); in Initialize() 491 auto AtomicSizeT = Context.getAtomicType(Context.getSizeType()); in Initialize() 502 if (Context.getTypeSize(Context.getSizeType()) == 32) { in Initialize() 527 if (Context.getTypeSize(Context.getSizeType()) == 64) { in Initialize() 1455 llvm::APInt One(Context.getTypeSize(Context.getSizeType()), true); in ActOnEndOfTranslationUnit()
|
| H A D | SemaOpenCL.cpp | 211 S.Context.getSizeType()); in checkOpenCLEnqueueLocalSizeArgs()
|
| H A D | SemaTemplateVariadic.cpp | 1226 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in BuildPackIndexingExpr() 1229 IndexExpr, Context.getSizeType(), Value, CCEKind::ArrayBound); in BuildPackIndexingExpr()
|
| H A D | SemaTypeTraits.cpp | 1293 S.getASTContext().MakeIntValue(*Size, S.getASTContext().getSizeType())); in EvaluateSizeTTypeTrait() 1559 return TypeTraitExpr::Create(Context, Context.getSizeType(), KWLoc, Kind, in BuildTypeTrait() 1921 RParen, Context.getSizeType()); in BuildArrayTypeTrait()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 507 TI.getTypeConstantSuffix(TI.getSizeType())); in InitializeStandardPredefinedMacros() 1144 DefineTypeSizeAndWidth("__SIZE", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros() 1165 TI.getTypeWidth(TI.getSizeType()), TI, Builder); in InitializePredefinedMacros() 1190 DefineType("__SIZE_TYPE__", TI.getSizeType(), Builder); in InitializePredefinedMacros() 1191 DefineFmt(LangOpts, "__SIZE", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | NVPTX.cpp | 132 SizeType = HostTarget->getSizeType(); in NVPTXTargetInfo()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseHLSL.cpp | 274 QualType SizeTy = Ctx.getSizeType(); in ParseHLSLAnnotations()
|
| H A D | ParseInit.cpp | 397 Context.MakeIntValue(Str.size(), Context.getSizeType()); in createEmbedExpr()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SymbolManager.cpp | 215 return Ctx.getSizeType(); in getType()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGCoroutine.cpp | 1009 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic() 1016 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
|
| H A D | CGExprCXX.cpp | 1517 CGF.getContext().getSizeType()); in Emit() 1526 CGF.getContext().getSizeType()); in Emit() 1657 allocatorArgs.add(RValue::get(allocSize), getContext().getSizeType()); in EmitCXXNewExpr() 1676 QualType sizeType = getContext().getSizeType(); in EmitCXXNewExpr()
|
| H A D | CGAtomic.cpp | 1082 getContext().getSizeType()); in EmitAtomicExpr() 1508 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicLoadLibcall() 1707 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicCompareExchangeLibcall() 2018 getContext().getSizeType()); in EmitAtomicStore()
|
| H A D | CGOpenMPRuntime.cpp | 3555 Sz, SE->getType(), CGF.getContext().getSizeType(), SE->getExprLoc()); in getPointerAndSize() 3582 addFieldToRecordDecl(C, KmpAffinityInfoRD, C.getSizeType()); in getKmpAffinityType() 3803 C.getIntTypeForBitwidth(C.getTypeSize(C.getSizeType()), /*Signed=*/0), in emitTaskInit() 3820 llvm::APInt(C.getTypeSize(C.getSizeType()), NumAffinities), nullptr, in emitTaskInit() 3860 CGF.CreateMemTemp(C.getSizeType(), "affs.counter.addr"), in emitTaskInit() 3861 C.getSizeType()); in emitTaskInit() 4015 addFieldToRecordDecl(C, KmpDependInfoRD, C.getSizeType()); in getDependTypes() 4298 CGF.CreateMemTemp(C.getSizeType(), "dep.counter.addr"), C.getSizeType()); in emitDependClause() 4390 CGF.CreateMemTemp(C.getSizeType(), "iterator.counter.addr"), in emitDepobjDependClause() 4391 C.getSizeType()); in emitDepobjDependClause() [all …]
|
| H A D | CGOpenMPRuntimeGPU.cpp | 1936 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper() 1946 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenCXXExpr.cpp | 303 QualType sizeType = getContext().getSizeType(); in emitCXXNewExpr()
|
| /freebsd/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/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/include/clang/Basic/ |
| H A D | TargetInfo.h | 388 IntType getSizeType() const { return SizeType; } in getSizeType() function
|