Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DInitPreprocessor.cpp395 TI.getTypeConstantSuffix(TI.getSizeType())); in InitializeStandardPredefinedMacros()
776 DefineTypeSize("__SIZE_MAX__", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
794 TI.getTypeWidth(TI.getSizeType()), TI, Builder); in InitializePredefinedMacros()
817 DefineType("__SIZE_TYPE__", TI.getSizeType(), Builder); in InitializePredefinedMacros()
818 DefineFmt("__SIZE", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
819 DefineTypeWidth("__SIZE_WIDTH__", TI.getSizeType(), TI, Builder); in InitializePredefinedMacros()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DVLASizeChecker.cpp155 QualType SizeTy = Ctx.getSizeType(); in checkPreStmt()
H A DCStringChecker.cpp636 QualType sizeTy = svalBuilder.getContext().getSizeType(); in checkAdditionOverflow()
730 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLengthForRegion()
790 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLength()
1073 svalBuilder.makeZeroVal(Ctx.getSizeType())); in memsetAux()
1076 CStringChecker::getTag(), MR, DstBuffer, Ctx.getSizeType(), in memsetAux()
1571 QualType sizeTy = svalBuilder.getContext().getSizeType(); in evalStrcpyCommon()
H A DStdLibraryFunctionsChecker.cpp485 QualType SizeTy = ACtx.getSizeType(); in initFunctionSummaries()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/Targets/
H A DNVPTX.cpp125 SizeType = HostTarget->getSizeType(); in NVPTXTargetInfo()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprCXX.cpp1455 CGF.getContext().getSizeType()); in Emit()
1464 CGF.getContext().getSizeType()); in Emit()
1595 allocatorArgs.add(RValue::get(allocSize), getContext().getSizeType()); in EmitCXXNewExpr()
1605 QualType sizeType = getContext().getSizeType(); in EmitCXXNewExpr()
H A DCGAtomic.cpp964 getContext().getSizeType()); in EmitAtomicExpr()
1430 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicLoadLibcall()
1627 Args.add(RValue::get(getAtomicSizeValue()), CGF.getContext().getSizeType()); in EmitAtomicCompareExchangeLibcall()
1940 getContext().getSizeType()); in EmitAtomicStore()
H A DCGOpenMPRuntime.cpp4191 addFieldToRecordDecl(C, RD, C.getSizeType()); in getTgtOffloadEntryQTy()
5070 addFieldToRecordDecl(C, KmpDependInfoRD, C.getSizeType()); in emitTaskCall()
5885 CGF, CGM.getContext().getSizeType(), in emitReduceInitFunction()
5888 CGM.getContext().getSizeType(), Loc); in emitReduceInitFunction()
5959 CGF, CGM.getContext().getSizeType(), in emitReduceCombFunction()
5962 CGM.getContext().getSizeType(), Loc); in emitReduceCombFunction()
6032 CGF, CGM.getContext().getSizeType(), in emitReduceFiniFunction()
6035 CGM.getContext().getSizeType(), Loc); in emitReduceFiniFunction()
6161 CGF, CGM.getContext().getSizeType(), in emitTaskReductionFixups()
7960 Ctx.getSizeType(), PointerNumAP, ArrayType::Normal, in emitOffloadingArrays()
[all …]
H A DCGObjC.cpp138 llvm::APInt APNumElements(Context.getTypeSize(Context.getSizeType()), in EmitObjCCollectionLiteral()
684 args.add(RValue::get(CGF.CGM.getSize(size)), Context.getSizeType()); in emitStructGetterCall()
1164 args.add(RValue::get(size), CGF.getContext().getSizeType()); in emitStructSetterCall()
H A DCodeGenFunction.cpp804 if (MD->parameters()[0]->getType().getCanonicalType() != Ctx.getSizeType()) in matchesStlAllocatorFn()
1282 /*Id=*/nullptr, getContext().getSizeType(), ImplicitParamDecl::Other); in BuildFunctionArgList()
H A DCGOpenMPRuntimeNVPTX.cpp2215 CGM.getContext().getSizeType(), Loc); in emitGenericVarsProlog()
4147 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
4158 CGF.getContext().getPointerType(CGF.getContext().getSizeType()), in createParallelDataSharingWrapper()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h178 inline static SizeType getSizeType(unsigned nbytes);
191 inline ValueType::SizeType ValueType::getSizeType(unsigned nbytes) { in getSizeType() function
269 return ValueType(BT_String, getSizeType(sizeof(StringRef)), false, 0);
274 return ValueType(BT_Pointer, getSizeType(sizeof(void*)), false, 0);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprCXX.cpp1487 S.Context.getSizeType())) in isNonPlacementDeallocationFunction()
1518 S.Context.getSizeType())) { in UsualDeallocFnInfo()
1705 = CheckConvertedConstantExpression(NumElts, Context.getSizeType(), Value, in ActOnCXXNew()
1892 Context.getSizeType(), in BuildCXXNew()
1929 ConvertedSize = PerformImplicitConversion(ArraySize, Context.getSizeType(), in BuildCXXNew()
2131 AllocType, llvm::APInt(Context.getTypeSize(Context.getSizeType()), in BuildCXXNew()
2381 Context.getSizeType(), in FindAllocationFunctions()
2725 AlignValT->setIntegerType(Context.getSizeType()); in DeclareGlobalNewDelete()
2726 AlignValT->setPromotionType(Context.getSizeType()); in DeclareGlobalNewDelete()
2734 QualType SizeT = Context.getSizeType(); in DeclareGlobalNewDelete()
[all …]
H A DSema.cpp253 addImplicitTypedef("size_t", Context.getSizeType()); in Initialize()
286 auto AtomicSizeT = Context.getAtomicType(Context.getSizeType()); in Initialize()
1054 llvm::APInt One(Context.getTypeSize(Context.getSizeType()), true); in ActOnEndOfTranslationUnit()
H A DSemaDeclCXX.cpp1054 getTrivialIntegralTemplateArgument(S, Loc, S.Context.getSizeType(), I)); in getTupleLikeElementType()
1152 getTrivialIntegralTemplateArgument(S, Loc, S.Context.getSizeType(), I)); in checkTupleLikeDecomposition()
11512 QualType SizeType = S.Context.getSizeType(); in buildMemcpyForAssignmentOp()
11710 QualType SizeType = S.Context.getSizeType(); in buildSingleCopyAssignRecursively()
13228 SemaRef.Context.getCanonicalType(SemaRef.Context.getSizeType()); in CheckOperatorNewDeclaration()
13600 if (!Context.hasSameType(SecondParamType, Context.getSizeType())) { in CheckLiteralOperatorDeclaration()
13603 << SecondParamType << Context.getSizeType() in CheckLiteralOperatorDeclaration()
H A DSemaInit.cpp1176 SemaRef.Context.getTypeSize(SemaRef.Context.getSizeType()), in CheckListElementTypes()
3665 E.withConst(), llvm::APInt(S.Context.getTypeSize(S.Context.getSizeType()), in TryInitializerListConstruction()
7933 new (S.Context) ArrayInitIndexExpr(S.Context.getSizeType()); in Perform()
8207 llvm::APInt(S.Context.getTypeSize(S.Context.getSizeType()), in diagnoseListInit()
H A DSemaOpenMP.cpp2680 std::make_pair(".previous.lb.", Context.getSizeType().withConst()), in ActOnOpenMPRegionStart()
2681 std::make_pair(".previous.ub.", Context.getSizeType().withConst()), in ActOnOpenMPRegionStart()
2735 std::make_pair(".previous.lb.", Context.getSizeType().withConst()), in ActOnOpenMPRegionStart()
2736 std::make_pair(".previous.ub.", Context.getSizeType().withConst()), in ActOnOpenMPRegionStart()
2764 std::make_pair(".previous.lb.", Context.getSizeType().withConst()), in ActOnOpenMPRegionStart()
2765 std::make_pair(".previous.ub.", Context.getSizeType().withConst()), in ActOnOpenMPRegionStart()
11161 new (Context) OpaqueValueExpr(ELoc, Context.getSizeType(), VK_RValue), in actOnOMPReductionKindClause()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DScanfFormatString.cpp293 return ArgType::PtrTo(ArgType(Ctx.getSizeType(), "size_t")); in getArgType()
H A DPrintfFormatString.cpp538 return ArgType::makeSizeT(ArgType(Ctx.getSizeType(), "size_t")); in getScalarArgType()
H A DASTContext.cpp4958 CanQualType ASTContext::getSizeType() const { in getSizeType() function in ASTContext
4959 return getFromTargetType(Target->getSizeType()); in getSizeType()
7359 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreatePowerABIBuiltinVaListDecl()
7414 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateX86_64ABIBuiltinVaListDecl()
7422 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 4); in CreatePNaClABIBuiltinVaListDecl()
7517 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1); in CreateSystemZBuiltinVaListDecl()
9365 Type = Context.getSizeType(); in DecodeTypeFromStr()
H A DDeclTemplate.cpp1205 TypeSourceInfo *TInfo = C.getTrivialTypeSourceInfo(C.getSizeType()); in createTypePackElementParameterList()
H A DType.cpp136 unsigned SizeTypeBits = Context.getTypeSize(Context.getSizeType()); in getNumAddressingBits()
147 unsigned Bits = Context.getTypeSize(Context.getSizeType()); in getMaxSizeBits()
H A DExprCXX.cpp1511 return new (Storage) SizeOfPackExpr(Context.getSizeType(), OperatorLoc, Pack, in Create()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp334 return Ctx.getSizeType(); in getType()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DTargetInfo.h259 IntType getSizeType() const { return SizeType; } in getSizeType() function

12