Home
last modified time | relevance | path

Searched refs:getSizeType (Results 1 – 25 of 57) 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.cpp418 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 DVLASizeChecker.cpp97 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
H A DMallocChecker.cpp1138 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 DInitPreprocessor.cpp501 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 DNVPTX.cpp127 SizeType = HostTarget->getSizeType(); in NVPTXTargetInfo()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSL.cpp269 QualType SizeTy = Ctx.getSizeType(); in ParseHLSLAnnotations()
H A DParseInit.cpp445 Context.MakeIntValue(Str.size(), Context.getSizeType()); in createEmbedExpr()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp382 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 DSemaExprCXX.cpp1746 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 DSemaTemplateVariadic.cpp1104 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in BuildPackIndexingExpr()
1107 IndexExpr, Context.getSizeType(), Value, CCEK_ArrayBound); in BuildPackIndexingExpr()
H A DSemaOpenCL.cpp211 S.Context.getSizeType()); in checkOpenCLEnqueueLocalSizeArgs()
H A DSemaTemplateDeduction.cpp1916 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 DCGCoroutine.cpp982 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
989 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
H A DCGExprCXX.cpp1486 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 DCGOpenMPRuntime.cpp3579 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 DCGAtomic.cpp1041 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 DCGOpenMPRuntimeGPU.cpp1937 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
1947 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
H A DCGObjC.cpp148 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 DCodeGenFunction.cpp718 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 DThreadSafetyTIL.h176 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 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/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp338 return Ctx.getSizeType(); in getType()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h371 IntType getSizeType() const { return SizeType; } in getSizeType() function

123