/openbsd/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
H A D | StringChecker.cpp | 60 if (Arg2Ty.getCanonicalType() == ACtx.getSizeType()) in isCharToStringCtor()
|
H A D | CStringChecker.cpp | 394 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 D | VLASizeChecker.cpp | 98 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
|
H A D | MallocChecker.cpp | 1208 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 D | InitPreprocessor.cpp | 483 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 D | NVPTX.cpp | 120 SizeType = HostTarget->getSizeType(); in NVPTXTargetInfo()
|
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CGCoroutine.cpp | 681 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic() 688 CanQualType SizeTy = Context.getSizeType(); in EmitCoroutineIntrinsic()
|
H A D | CGExprCXX.cpp | 1462 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 D | CGAtomic.cpp | 1079 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 D | CGOpenMPRuntime.cpp | 3794 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 D | CGObjC.cpp | 149 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 D | CodeGenFunction.cpp | 673 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 D | Sema.cpp | 336 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 D | SemaRISCVVectorLookup.cpp | 80 QT = Context.getSizeType(); in RVVType2Qual()
|
H A D | SemaExprCXX.cpp | 1668 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 D | SemaTemplateDeduction.cpp | 1749 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 D | ThreadSafetyTIL.h | 176 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 D | ScanfFormatString.cpp | 295 return ArgType::PtrTo(ArgType(Ctx.getSizeType(), "size_t")); in getArgType()
|
H A D | PrintfFormatString.cpp | 565 return ArgType::makeSizeT(ArgType(Ctx.getSizeType(), "size_t")); in getScalarArgType()
|
H A D | ASTContext.cpp | 5899 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 D | ItaniumMangle.cpp | 3792 unsigned BitWidth = ASTCtx.getTypeSize(ASTCtx.getSizeType()); in mangleType() 3795 mangleIntegerLiteral(ASTCtx.getSizeType(), Rows); in mangleType() 3798 mangleIntegerLiteral(ASTCtx.getSizeType(), Columns); in mangleType()
|
H A D | DeclTemplate.cpp | 1502 TypeSourceInfo *TInfo = C.getTrivialTypeSourceInfo(C.getSizeType()); in createTypePackElementParameterList()
|
H A D | Type.cpp | 166 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 D | SymbolManager.cpp | 348 return Ctx.getSizeType(); in getType()
|
/openbsd/gnu/llvm/clang/include/clang/Basic/ |
H A D | TargetInfo.h | 340 IntType getSizeType() const { return SizeType; } in getSizeType() function
|