/netbsd/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 413 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 D | NVPTX.cpp | 132 SizeType = HostTarget->getSizeType(); in NVPTXTargetInfo()
|
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | VLASizeChecker.cpp | 97 CanQualType SizeTy = Ctx.getSizeType(); in checkVLA()
|
H A D | CStringChecker.cpp | 657 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 D | MallocChecker.cpp | 1011 SB.getContext().getSizeType()); in evalMulForBufferSize() 1048 AC.getSizeType(); in isStandardRealloc()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | Sema.cpp | 294 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 D | SemaExprCXX.cpp | 1593 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 D | SemaTemplateDeduction.cpp | 1779 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 D | SemaDeclCXX.cpp | 1121 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 D | CGExprCXX.cpp | 1461 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 D | CGAtomic.cpp | 1034 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 D | CGOpenMPRuntime.cpp | 3410 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 D | CodeGenFunction.cpp | 678 if (MD->parameters()[0]->getType().getCanonicalType() != Ctx.getSizeType()) in matchesStlAllocatorFn() 1270 /*Id=*/nullptr, getContext().getSizeType(), ImplicitParamDecl::Other); in BuildFunctionArgList()
|
H A D | CGObjC.cpp | 145 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 D | CGOpenMPRuntimeGPU.cpp | 1844 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 D | ThreadSafetyTIL.h | 177 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 D | ScanfFormatString.cpp | 293 return ArgType::PtrTo(ArgType(Ctx.getSizeType(), "size_t")); in getArgType()
|
H A D | PrintfFormatString.cpp | 562 return ArgType::makeSizeT(ArgType(Ctx.getSizeType(), "size_t")); in getScalarArgType()
|
H A D | ASTContext.cpp | 5629 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 D | DeclTemplate.cpp | 1416 TypeSourceInfo *TInfo = C.getTrivialTypeSourceInfo(C.getSizeType()); in createTypePackElementParameterList()
|
H A D | ItaniumMangle.cpp | 3708 unsigned BitWidth = ASTCtx.getTypeSize(ASTCtx.getSizeType()); in mangleType() 3711 mangleIntegerLiteral(ASTCtx.getSizeType(), Rows); in mangleType() 3714 mangleIntegerLiteral(ASTCtx.getSizeType(), Columns); in mangleType()
|
H A D | Type.cpp | 166 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 D | SymbolManager.cpp | 322 return Ctx.getSizeType(); in getType()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Basic/ |
H A D | TargetInfo.h | 317 IntType getSizeType() const { return SizeType; } in getSizeType() function
|
H A D | riscv_vector.td | 599 CGM.getNaturalTypeAlignment(getContext().getSizeType()); 618 CGM.getNaturalTypeAlignment(getContext().getSizeType());
|