Home
last modified time | relevance | path

Searched refs:getSizeType (Results 1 – 25 of 62) sorted by relevance

123

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DStringChecker.cpp60 if (Arg2Ty.getCanonicalType() == ACtx.getSizeType()) in isCharToStringCtor()
H A DCStringChecker.cpp419 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 DVLASizeChecker.cpp95 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
H A DMallocChecker.cpp1284 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 DHLSLExternalSemaSource.cpp199 Context, llvm::APInt(Context.getTypeSize(Context.getSizeType()), 1, true), in constructStructuredBufferConstraintExpr()
200 Context.getSizeType(), NameLoc); in constructStructuredBufferConstraintExpr()
H A DSemaExprCXX.cpp1732 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 DSema.cpp450 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 DSemaOpenCL.cpp211 S.Context.getSizeType()); in checkOpenCLEnqueueLocalSizeArgs()
H A DSemaTemplateVariadic.cpp1226 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in BuildPackIndexingExpr()
1229 IndexExpr, Context.getSizeType(), Value, CCEKind::ArrayBound); in BuildPackIndexingExpr()
H A DSemaTypeTraits.cpp1293 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 DInitPreprocessor.cpp507 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 DNVPTX.cpp132 SizeType = HostTarget->getSizeType(); in NVPTXTargetInfo()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSL.cpp274 QualType SizeTy = Ctx.getSizeType(); in ParseHLSLAnnotations()
H A DParseInit.cpp397 Context.MakeIntValue(Str.size(), Context.getSizeType()); in createEmbedExpr()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp215 return Ctx.getSizeType(); in getType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCoroutine.cpp1009 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
1016 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
H A DCGExprCXX.cpp1517 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 DCGAtomic.cpp1082 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 DCGOpenMPRuntime.cpp3555 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 DCGOpenMPRuntimeGPU.cpp1936 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 DCIRGenCXXExpr.cpp303 QualType sizeType = getContext().getSizeType(); in emitCXXNewExpr()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h177 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 DScanfFormatString.cpp295 return ArgType::PtrTo(ArgType(Ctx.getSizeType(), "size_t")); in getArgType()
H A DPrintfFormatString.cpp581 return ArgType::makeSizeT(ArgType(Ctx.getSizeType(), "size_t")); in getScalarArgType()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h388 IntType getSizeType() const { return SizeType; } in getSizeType() function

123