Home
last modified time | relevance | path

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

123

/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DStringChecker.cpp60 if (Arg2Ty.getCanonicalType() == ACtx.getSizeType()) in isCharToStringCtor()
H A DCStringChecker.cpp394 QualType SizeTy = Ctx.getSizeType(); in CheckLocation()
747 QualType sizeTy = svalBuilder.getContext().getSizeType(); in checkAdditionOverflow()
842 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLengthForRegion()
902 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLength()
1185 svalBuilder.makeZeroVal(Ctx.getSizeType())); in memsetAux()
1188 CStringChecker::getTag(), MR, DstBuffer, Ctx.getSizeType(), in memsetAux()
1671 QualType sizeTy = svalBuilder.getContext().getSizeType(); in evalStrcpyCommon()
H A DVLASizeChecker.cpp98 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
H A DMallocChecker.cpp1208 SB.getContext().getSizeType()); in evalMulForBufferSize()
1245 AC.getSizeType(); in isStandardRealloc()
2599 svalBuilder.getContext().getSizeType(), 0)); in ReallocMemAux()
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DInitPreprocessor.cpp483 TI.getTypeConstantSuffix(TI.getSizeType())); in InitializeStandardPredefinedMacros()
988 DefineTypeSizeAndWidth("__SIZE", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
1009 TI.getTypeWidth(TI.getSizeType()), TI, Builder); in InitializePredefinedMacros()
1029 DefineType("__SIZE_TYPE__", TI.getSizeType(), Builder); in InitializePredefinedMacros()
1030 DefineFmt("__SIZE", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
/openbsd/gnu/llvm/clang/lib/Basic/Targets/
H A DNVPTX.cpp120 SizeType = HostTarget->getSizeType(); in NVPTXTargetInfo()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DCGCoroutine.cpp681 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
688 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
H A DCGExprCXX.cpp1462 CGF.getContext().getSizeType()); in Emit()
1471 CGF.getContext().getSizeType()); in Emit()
1602 allocatorArgs.add(RValue::get(allocSize), getContext().getSizeType()); in EmitCXXNewExpr()
1612 QualType sizeType = getContext().getSizeType(); in EmitCXXNewExpr()
H A DCGAtomic.cpp1079 getContext().getSizeType()); in EmitAtomicExpr()
1568 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicLoadLibcall()
1765 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicCompareExchangeLibcall()
2073 getContext().getSizeType()); in EmitAtomicStore()
H A DCGOpenMPRuntime.cpp3794 addFieldToRecordDecl(C, KmpAffinityInfoRD, C.getSizeType()); in getKmpAffinityType()
4074 CGF.CreateMemTemp(C.getSizeType(), "affs.counter.addr"), in emitTaskInit()
4075 C.getSizeType()); in emitTaskInit()
4228 addFieldToRecordDecl(C, KmpDependInfoRD, C.getSizeType()); in getDependTypes()
4511 CGF.CreateMemTemp(C.getSizeType(), "dep.counter.addr"), C.getSizeType()); in emitDependClause()
4606 CGF.CreateMemTemp(C.getSizeType(), "iterator.counter.addr"), in emitDepobjDependClause()
4607 C.getSizeType()); in emitDepobjDependClause()
5481 CGF, CGM.getContext().getSizeType(), in emitReduceInitFunction()
5547 CGF, CGM.getContext().getSizeType(), in emitReduceCombFunction()
5619 CGF, CGM.getContext().getSizeType(), in emitReduceFiniFunction()
[all …]
H A DCGObjC.cpp149 llvm::APInt APNumElements(Context.getTypeSize(Context.getSizeType()), in EmitObjCCollectionLiteral()
838 args.add(RValue::get(CGF.CGM.getSize(size)), Context.getSizeType()); in emitStructGetterCall()
1350 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
H A DCodeGenFunction.cpp673 if (MD->parameters()[0]->getType().getCanonicalType() != Ctx.getSizeType()) in matchesStlAllocatorFn()
1327 /*Id=*/nullptr, getContext().getSizeType(), ImplicitParamDecl::Other); in BuildFunctionArgList()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSema.cpp336 addImplicitTypedef("size_t", Context.getSizeType()); in Initialize()
377 auto AtomicSizeT = Context.getAtomicType(Context.getSizeType()); in Initialize()
388 if (Context.getTypeSize(Context.getSizeType()) == 32) { in Initialize()
413 if (Context.getTypeSize(Context.getSizeType()) == 64) { in Initialize()
1311 llvm::APInt One(Context.getTypeSize(Context.getSizeType()), true); in ActOnEndOfTranslationUnit()
H A DSemaRISCVVectorLookup.cpp80 QT = Context.getSizeType(); in RVVType2Qual()
H A DSemaExprCXX.cpp1668 S.Context.getSizeType())) in isNonPlacementDeallocationFunction()
1699 S.Context.getSizeType())) { in UsualDeallocFnInfo()
1884 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in ActOnCXXNew()
2081 Context.getSizeType(), in BuildCXXNew()
2290 QualType SizeTy = Context.getSizeType(); in BuildCXXNew()
2383 llvm::APInt(Context.getTypeSize(Context.getSizeType()), in BuildCXXNew()
2659 Context.getSizeType(), SourceLocation()); in FindAllocationFunctions()
3047 AlignValT->setIntegerType(Context.getSizeType()); in DeclareGlobalNewDelete()
3048 AlignValT->setPromotionType(Context.getSizeType()); in DeclareGlobalNewDelete()
3057 QualType SizeT = Context.getSizeType(); in DeclareGlobalNewDelete()
[all …]
H A DSemaTemplateDeduction.cpp1749 S, TemplateParams, NTTP, Size, S.Context.getSizeType(), in DeduceTemplateArgumentsByTypeMatch()
2107 S.Context.getTypeSize(S.Context.getSizeType())); in DeduceTemplateArgumentsByTypeMatch()
2110 S, TemplateParams, NTTP, ArgConst, S.Context.getSizeType(), in DeduceTemplateArgumentsByTypeMatch()
3991 QualType T = S.Context.getSizeType(); in DeduceFromInitializerList()
/openbsd/gnu/llvm/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);
/openbsd/gnu/llvm/clang/lib/AST/
H A DScanfFormatString.cpp295 return ArgType::PtrTo(ArgType(Ctx.getSizeType(), "size_t")); in getArgType()
H A DPrintfFormatString.cpp565 return ArgType::makeSizeT(ArgType(Ctx.getSizeType(), "size_t")); in getScalarArgType()
H A DASTContext.cpp5899 CanQualType ASTContext::getSizeType() const { in getSizeType() function in ASTContext
5900 return getFromTargetType(Target->getSizeType()); in getSizeType()
8860 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreatePowerABIBuiltinVaListDecl()
8915 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateX86_64ABIBuiltinVaListDecl()
8923 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 4); in CreatePNaClABIBuiltinVaListDecl()
9018 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateSystemZBuiltinVaListDecl()
9069 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateHexagonBuiltinVaListDecl()
11247 Type = Context.getSizeType(); in DecodeTypeFromStr()
H A DItaniumMangle.cpp3792 unsigned BitWidth = ASTCtx.getTypeSize(ASTCtx.getSizeType()); in mangleType()
3795 mangleIntegerLiteral(ASTCtx.getSizeType(), Rows); in mangleType()
3798 mangleIntegerLiteral(ASTCtx.getSizeType(), Columns); in mangleType()
H A DDeclTemplate.cpp1502 TypeSourceInfo *TInfo = C.getTrivialTypeSourceInfo(C.getSizeType()); in createTypePackElementParameterList()
H A DType.cpp166 unsigned SizeTypeBits = Context.getTypeSize(Context.getSizeType()); in getNumAddressingBits()
177 unsigned Bits = Context.getTypeSize(Context.getSizeType()); in getMaxSizeBits()
/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp348 return Ctx.getSizeType(); in getType()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DTargetInfo.h340 IntType getSizeType() const { return SizeType; } in getSizeType() function

123