Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp413 TI.getTypeConstantSuffix(TI.getSizeType())); in InitializeStandardPredefinedMacros()
878 DefineTypeSize("__SIZE_MAX__", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
896 TI.getTypeWidth(TI.getSizeType()), TI, Builder); in InitializePredefinedMacros()
919 DefineType("__SIZE_TYPE__", TI.getSizeType(), Builder); in InitializePredefinedMacros()
920 DefineFmt("__SIZE", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
921 DefineTypeWidth("__SIZE_WIDTH__", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/Targets/
H A DNVPTX.cpp132 SizeType = HostTarget->getSizeType(); in NVPTXTargetInfo()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp97 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
H A DCStringChecker.cpp657 QualType sizeTy = svalBuilder.getContext().getSizeType(); in checkAdditionOverflow()
752 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLengthForRegion()
812 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLength()
1098 svalBuilder.makeZeroVal(Ctx.getSizeType())); in memsetAux()
1101 CStringChecker::getTag(), MR, DstBuffer, Ctx.getSizeType(), in memsetAux()
1577 QualType sizeTy = svalBuilder.getContext().getSizeType(); in evalStrcpyCommon()
H A DMallocChecker.cpp1011 SB.getContext().getSizeType()); in evalMulForBufferSize()
1048 AC.getSizeType(); in isStandardRealloc()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSema.cpp317 addImplicitTypedef("size_t", Context.getSizeType()); in Initialize()
355 auto AtomicSizeT = Context.getAtomicType(Context.getSizeType()); in Initialize()
366 if (Context.getTypeSize(Context.getSizeType()) == 32) { in Initialize()
386 if (Context.getTypeSize(Context.getSizeType()) == 64) { in Initialize()
1255 llvm::APInt One(Context.getTypeSize(Context.getSizeType()), true); in ActOnEndOfTranslationUnit()
H A DSemaExprCXX.cpp1610 S.Context.getSizeType())) in isNonPlacementDeallocationFunction()
1641 S.Context.getSizeType())) { in UsualDeallocFnInfo()
1826 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in ActOnCXXNew()
2020 Context.getSizeType(), in BuildCXXNew()
2227 QualType SizeTy = Context.getSizeType(); in BuildCXXNew()
2322 llvm::APInt(Context.getTypeSize(Context.getSizeType()), in BuildCXXNew()
2598 Context.getSizeType(), in FindAllocationFunctions()
2961 AlignValT->setIntegerType(Context.getSizeType()); in DeclareGlobalNewDelete()
2962 AlignValT->setPromotionType(Context.getSizeType()); in DeclareGlobalNewDelete()
2970 QualType SizeT = Context.getSizeType(); in DeclareGlobalNewDelete()
[all …]
H A DSemaTemplateDeduction.cpp1779 S.Context.getSizeType(), in DeduceTemplateArgumentsByTypeMatch()
2187 S.Context.getTypeSize(S.Context.getSizeType())); in DeduceTemplateArgumentsByTypeMatch()
2190 S, TemplateParams, NTTP, ArgConst, S.Context.getSizeType(), in DeduceTemplateArgumentsByTypeMatch()
4003 QualType T = S.Context.getSizeType(); in DeduceFromInitializerList()
H A DSemaDeclCXX.cpp1119 getTrivialIntegralTemplateArgument(S, Loc, S.Context.getSizeType(), I)); in getTupleLikeElementType()
1220 getTrivialIntegralTemplateArgument(S, Loc, S.Context.getSizeType(), I)); in checkTupleLikeDecomposition()
8168 QualType SizeType = S.Context.getSizeType(); in visitSubobjectArray()
13832 QualType SizeType = S.Context.getSizeType(); in buildMemcpyForAssignmentOp()
14031 QualType SizeType = S.Context.getSizeType(); in buildSingleCopyAssignRecursively()
15621 SemaRef.Context.getCanonicalType(SemaRef.Context.getSizeType()); in CheckOperatorNewDeclaration()
16007 if (!Context.hasSameType(SecondParamType, Context.getSizeType())) { in CheckLiteralOperatorDeclaration()
16010 << SecondParamType << Context.getSizeType() in CheckLiteralOperatorDeclaration()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp1464 CGF.getContext().getSizeType()); in Emit()
1473 CGF.getContext().getSizeType()); in Emit()
1604 allocatorArgs.add(RValue::get(allocSize), getContext().getSizeType()); in EmitCXXNewExpr()
1614 QualType sizeType = getContext().getSizeType(); in EmitCXXNewExpr()
H A DCGAtomic.cpp1034 getContext().getSizeType()); in EmitAtomicExpr()
1514 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicLoadLibcall()
1711 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicCompareExchangeLibcall()
2019 getContext().getSizeType()); in EmitAtomicStore()
H A DCGOpenMPRuntime.cpp3415 addFieldToRecordDecl(C, RD, C.getSizeType()); in getTgtOffloadEntryQTy()
4183 addFieldToRecordDecl(C, KmpAffinityInfoRD, C.getSizeType()); in getKmpAffinityType()
4463 CGF.CreateMemTemp(C.getSizeType(), "affs.counter.addr"), in emitTaskInit()
4464 C.getSizeType()); in emitTaskInit()
4624 addFieldToRecordDecl(C, KmpDependInfoRD, C.getSizeType()); in getDependTypes()
4938 CGF.CreateMemTemp(C.getSizeType(), "dep.counter.addr"), C.getSizeType()); in emitDependClause()
5031 C.getSizeType()); in emitDepobjDependClause()
5902 CGF, CGM.getContext().getSizeType(), in emitReduceInitFunction()
5973 CGF, CGM.getContext().getSizeType(), in emitReduceCombFunction()
6046 CGF, CGM.getContext().getSizeType(), in emitReduceFiniFunction()
[all …]
H A DCodeGenFunction.cpp678 if (MD->parameters()[0]->getType().getCanonicalType() != Ctx.getSizeType()) in matchesStlAllocatorFn()
1278 /*Id=*/nullptr, getContext().getSizeType(), ImplicitParamDecl::Other); in BuildFunctionArgList()
H A DCGObjC.cpp145 llvm::APInt APNumElements(Context.getTypeSize(Context.getSizeType()), in EmitObjCCollectionLiteral()
834 args.add(RValue::get(CGF.CGM.getSize(size)), Context.getSizeType()); in emitStructGetterCall()
1315 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/AST/
H A DScanfFormatString.cpp293 return ArgType::PtrTo(ArgType(Ctx.getSizeType(), "size_t")); in getArgType()
H A DPrintfFormatString.cpp562 return ArgType::makeSizeT(ArgType(Ctx.getSizeType(), "size_t")); in getScalarArgType()
H A DASTContext.cpp5644 CanQualType ASTContext::getSizeType() const { in getSizeType() function in ASTContext
5645 return getFromTargetType(Target->getSizeType()); in getSizeType()
8123 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreatePowerABIBuiltinVaListDecl()
8178 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateX86_64ABIBuiltinVaListDecl()
8186 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 4); in CreatePNaClABIBuiltinVaListDecl()
8281 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateSystemZBuiltinVaListDecl()
8332 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateHexagonBuiltinVaListDecl()
10465 Type = Context.getSizeType(); in DecodeTypeFromStr()
H A DDeclTemplate.cpp1417 TypeSourceInfo *TInfo = C.getTrivialTypeSourceInfo(C.getSizeType()); in createTypePackElementParameterList()
H A DItaniumMangle.cpp3718 unsigned BitWidth = ASTCtx.getTypeSize(ASTCtx.getSizeType()); in mangleType()
3721 mangleIntegerLiteral(ASTCtx.getSizeType(), Rows); in mangleType()
3724 mangleIntegerLiteral(ASTCtx.getSizeType(), Columns); in mangleType()
H A DType.cpp166 unsigned SizeTypeBits = Context.getTypeSize(Context.getSizeType()); in getNumAddressingBits()
177 unsigned Bits = Context.getTypeSize(Context.getSizeType()); in getMaxSizeBits()
H A DExprCXX.cpp1562 return new (Storage) SizeOfPackExpr(Context.getSizeType(), OperatorLoc, Pack, in Create()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp322 return Ctx.getSizeType(); in getType()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h317 IntType getSizeType() const { return SizeType; } in getSizeType() function
H A Driscv_vector.td605 CGM.getNaturalTypeAlignment(getContext().getSizeType());
624 CGM.getNaturalTypeAlignment(getContext().getSizeType());

12