Home
last modified time | relevance | path

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

12

/netbsd/external/apache2/llvm/dist/clang/lib/Frontend/
H A DInitPreprocessor.cpp413 TI.getTypeConstantSuffix(TI.getSizeType())); in InitializeStandardPredefinedMacros()
876 DefineTypeSize("__SIZE_MAX__", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
894 TI.getTypeWidth(TI.getSizeType()), TI, Builder); in InitializePredefinedMacros()
917 DefineType("__SIZE_TYPE__", TI.getSizeType(), Builder); in InitializePredefinedMacros()
918 DefineFmt("__SIZE", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
919 DefineTypeWidth("__SIZE_WIDTH__", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
/netbsd/external/apache2/llvm/dist/clang/lib/Basic/Targets/
H A DNVPTX.cpp132 SizeType = HostTarget->getSizeType(); in NVPTXTargetInfo()
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSema.cpp294 addImplicitTypedef("size_t", Context.getSizeType()); in Initialize()
331 auto AtomicSizeT = Context.getAtomicType(Context.getSizeType()); in Initialize()
342 if (Context.getTypeSize(Context.getSizeType()) == 32) { in Initialize()
362 if (Context.getTypeSize(Context.getSizeType()) == 64) { in Initialize()
1197 llvm::APInt One(Context.getTypeSize(Context.getSizeType()), true); in ActOnEndOfTranslationUnit()
H A DSemaExprCXX.cpp1593 S.Context.getSizeType())) in isNonPlacementDeallocationFunction()
1624 S.Context.getSizeType())) { in UsualDeallocFnInfo()
1809 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in ActOnCXXNew()
2003 Context.getSizeType(), in BuildCXXNew()
2210 QualType SizeTy = Context.getSizeType(); in BuildCXXNew()
2305 llvm::APInt(Context.getTypeSize(Context.getSizeType()), in BuildCXXNew()
2581 Context.getSizeType(), in FindAllocationFunctions()
2944 AlignValT->setIntegerType(Context.getSizeType()); in DeclareGlobalNewDelete()
2945 AlignValT->setPromotionType(Context.getSizeType()); in DeclareGlobalNewDelete()
2953 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.cpp1121 getTrivialIntegralTemplateArgument(S, Loc, S.Context.getSizeType(), I)); in getTupleLikeElementType()
1222 getTrivialIntegralTemplateArgument(S, Loc, S.Context.getSizeType(), I)); in checkTupleLikeDecomposition()
8161 QualType SizeType = S.Context.getSizeType(); in visitSubobjectArray()
13640 QualType SizeType = S.Context.getSizeType(); in buildMemcpyForAssignmentOp()
13839 QualType SizeType = S.Context.getSizeType(); in buildSingleCopyAssignRecursively()
15416 SemaRef.Context.getCanonicalType(SemaRef.Context.getSizeType()); in CheckOperatorNewDeclaration()
15802 if (!Context.hasSameType(SecondParamType, Context.getSizeType())) { in CheckLiteralOperatorDeclaration()
15805 << SecondParamType << Context.getSizeType() in CheckLiteralOperatorDeclaration()
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGExprCXX.cpp1461 CGF.getContext().getSizeType()); in Emit()
1470 CGF.getContext().getSizeType()); in Emit()
1601 allocatorArgs.add(RValue::get(allocSize), getContext().getSizeType()); in EmitCXXNewExpr()
1611 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()
2024 getContext().getSizeType()); in EmitAtomicStore()
H A DCGOpenMPRuntime.cpp3410 addFieldToRecordDecl(C, RD, C.getSizeType()); in getTgtOffloadEntryQTy()
4177 addFieldToRecordDecl(C, KmpAffinityInfoRD, C.getSizeType()); in getKmpAffinityType()
4457 CGF.CreateMemTemp(C.getSizeType(), "affs.counter.addr"), in emitTaskInit()
4458 C.getSizeType()); in emitTaskInit()
4617 addFieldToRecordDecl(C, KmpDependInfoRD, C.getSizeType()); in getDependTypes()
4929 CGF.CreateMemTemp(C.getSizeType(), "dep.counter.addr"), C.getSizeType()); in emitDependClause()
5022 C.getSizeType()); in emitDepobjDependClause()
5889 CGF, CGM.getContext().getSizeType(), in emitReduceInitFunction()
5960 CGF, CGM.getContext().getSizeType(), in emitReduceCombFunction()
6033 CGF, CGM.getContext().getSizeType(), in emitReduceFiniFunction()
[all …]
H A DCodeGenFunction.cpp678 if (MD->parameters()[0]->getType().getCanonicalType() != Ctx.getSizeType()) in matchesStlAllocatorFn()
1270 /*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()
1314 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
H A DCGOpenMPRuntimeGPU.cpp1844 CGM.getContext().getSizeType(), Loc); in emitGenericVarsProlog()
4108 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
4118 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
/netbsd/external/apache2/llvm/dist/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);
/netbsd/external/apache2/llvm/dist/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.cpp5629 CanQualType ASTContext::getSizeType() const { in getSizeType() function in ASTContext
5630 return getFromTargetType(Target->getSizeType()); in getSizeType()
8104 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreatePowerABIBuiltinVaListDecl()
8159 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateX86_64ABIBuiltinVaListDecl()
8167 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 4); in CreatePNaClABIBuiltinVaListDecl()
8262 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateSystemZBuiltinVaListDecl()
8313 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateHexagonBuiltinVaListDecl()
10418 Type = Context.getSizeType(); in DecodeTypeFromStr()
H A DDeclTemplate.cpp1416 TypeSourceInfo *TInfo = C.getTrivialTypeSourceInfo(C.getSizeType()); in createTypePackElementParameterList()
H A DItaniumMangle.cpp3708 unsigned BitWidth = ASTCtx.getTypeSize(ASTCtx.getSizeType()); in mangleType()
3711 mangleIntegerLiteral(ASTCtx.getSizeType(), Rows); in mangleType()
3714 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()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp322 return Ctx.getSizeType(); in getType()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTargetInfo.h317 IntType getSizeType() const { return SizeType; } in getSizeType() function
H A Driscv_vector.td599 CGM.getNaturalTypeAlignment(getContext().getSizeType());
618 CGM.getNaturalTypeAlignment(getContext().getSizeType());

12