| /freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConv.h | 326 const uint64_t BitWidth = Ctx.getTypeSize(Ty); in fromData() 340 Ctx.getTypeSize(FromTy)); in getCastExpr() 598 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doTypeConversion() 599 uint64_t RBitWidth = Ctx.getTypeSize(RTy); in doTypeConversion() 621 assert((Ctx.getTypeSize(LTy) == Ctx.getTypeSize(RTy)) && in doTypeConversion() 651 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doIntTypeConversion() 652 uint64_t RBitWidth = Ctx.getTypeSize(RTy); in doIntTypeConversion() 659 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy); in doIntTypeConversion() 666 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy); in doIntTypeConversion() 733 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doFloatTypeConversion() [all …]
|
| H A D | BasicValueFactory.h | 221 return getValue(0, Ctx.getTypeSize(T), true); in getZeroWithTypeSize() 225 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 229 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); in getIntWithPtrWidth()
|
| H A D | SMTConstraintManager.h | 118 llvm::APSInt Value(Ctx.getTypeSize(Ty), in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
| H A D | SValBuilder.h | 103 ArrayIndexWidth(context.getTypeSize(ArrayIndexTy)) {} in SValBuilder()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 60 const uint64_t Size = Context.getTypeSize(Ty); in coerceToIntArray() 633 if (Found && Context.getTypeSize(Found) != Context.getTypeSize(T)) in isSingleElementStruct() 1333 uint64_t Size = Context.getTypeSize(Ty); in shouldReturnTypeInRegister() 1392 uint64_t Size = Context.getTypeSize(Ty); in is32Or64BitBasicType() 1728 if (getContext().getTypeSize(Ty) > 32) in shouldPrimitiveUseInReg() 2550 uint64_t Size = Ctx.getTypeSize(Ty); in checkAVXParam() 5126 getContext().getTypeSize(Ty)) in isHomogeneousAggregate() 5150 getContext().getTypeSize(VT) / getContext().getTypeSize(EltTy); in isHomogeneousAggregate() 5158 getContext().getTypeSize(Base) != getContext().getTypeSize(TyPtr)) in isHomogeneousAggregate() 6591 uint64_t Size = Context.getTypeSize(Ty); in isIntegerLikeType() [all …]
|
| H A D | CodeGenTypes.cpp | 105 (unsigned)Context.getTypeSize(T)); in ConvertTypeForMem() 494 static_cast<unsigned>(Context.getTypeSize(T))); in ConvertType() 771 uint64_t valueSize = Context.getTypeSize(valueType); in ConvertType() 772 uint64_t atomicSize = Context.getTypeSize(Ty); in ConvertType() 806 return Context.getTypeSize(type) != Context.getTypeSize(type->getValueType()); in isPaddedAtomicType()
|
| H A D | CGDebugInfo.cpp | 888 uint64_t Size = CGM.getContext().getTypeSize(BT); in CreateType() 913 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType() 1075 Size = CGM.getContext().getTypeSize(Ty); in getOrCreateRecordFwdDecl() 1196 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType() 2674 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateTypeDefinition() 2862 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType() 2874 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType() 2915 Size = CGM.getContext().getTypeSize(Ty); in CreateType() 2988 Size = CGM.getContext().getTypeSize(Ty); in CreateType() 3415 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateLimitedType() [all …]
|
| H A D | CGAtomic.cpp | 77 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo() 112 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo() 114 AtomicSizeInBits = C.getTypeSize(AtomicTy); in AtomicInfo() 120 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo() 125 AtomicSizeInBits = C.getTypeSize(AtomicTy); in AtomicInfo() 1549 if (getContext().getTypeSize(LV.getType()) > in LValueIsSuitableForInlineAtomic() 1550 getContext().getTypeSize(getContext().getIntPtrType())) in LValueIsSuitableForInlineAtomic()
|
| H A D | CGStmt.cpp | 2342 unsigned Size = getContext().getTypeSize(QTy); in EmitAsmStmt() 2361 uint64_t InputSize = getContext().getTypeSize(InputTy); in EmitAsmStmt() 2362 if (getContext().getTypeSize(OutputType) < InputSize) { in EmitAsmStmt() 2479 if (getContext().getTypeSize(OutputType) > in EmitAsmStmt() 2480 getContext().getTypeSize(InputTy)) { in EmitAsmStmt() 2678 unsigned Size = getContext().getTypeSize(ResultRegQualTys[i]); in EmitAsmStmt()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 1398 llvm::Value *AllocArgs[] = {CGF.getTypeSize(VD->getType())}; in emitGenericVarsProlog() 1423 llvm::Value *Size = CGF.getTypeSize(VD->getType()); in emitGenericVarsProlog() 1434 llvm::Value *AllocArgs[] = {CGF.getTypeSize(VD->getType())}; in emitGenericVarsProlog() 1442 {VoidPtr, CGF.getTypeSize(VD->getType())})); in emitGenericVarsProlog() 1473 CGF.getTypeSize(VD->getType())}; in emitGenericVarsEpilog() 1912 llvm::Value *ElementSizeInChars = CGF.getTypeSize(Private->getType()); 1927 llvm::Value *ElementSizeInChars = CGF.getTypeSize(Private->getType()); 2009 llvm::Value *ElementSizeInChars = CGF.getTypeSize(Private->getType()); 3226 llvm::Value *ReductionArrayTySize = CGF.getTypeSize(ReductionArrayTy); in emitReduction()
|
| H A D | CGOpenMPRuntime.cpp | 4170 SizeVal = CGF.getTypeSize(Ty); in getPointerAndSize() 4270 CGF.getTypeSize(KmpTaskTWithPrivatesQTy); in emitTaskInit() 7484 return CGF.getTypeSize(BaseTy); in getExprTypeSize() 7522 return CGF.getTypeSize(ExprTy); in getExprTypeSize() 9010 CGF.getTypeSize( in generateInfoForLambdaCaptures() 11459 return C.getTypeSize(CDT); in evaluateCDTSize() 11570 unsigned Size = C.getTypeSize(QT); in getAArch64PBV() 11597 return C.getTypeSize(PTy); in getAArch64LS() 11600 return C.getTypeSize(QT); in getAArch64LS() 11602 return C.getTypeSize(C.getUIntPtrType()); in getAArch64LS() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 340 unsigned Size = Context.getTypeSize(OutputExpr->getType()); in ActOnGCCAsmStmt() 448 unsigned Size = Context.getTypeSize(Ty); in ActOnGCCAsmStmt() 535 unsigned Size = Context.getTypeSize(Ty); in ActOnGCCAsmStmt() 640 uint64_t OutSize = Context.getTypeSize(OutTy); in ActOnGCCAsmStmt() 641 uint64_t InSize = Context.getTypeSize(InTy); in ActOnGCCAsmStmt()
|
| H A D | SemaCast.cpp | 2027 if (Context.getTypeSize(DestTy) == Context.getTypeSize(SrcTy)) { in CheckCompatibleReinterpretCast() 2154 && Self.Context.getTypeSize(DestType) > in checkIntToPointerCast() 2155 Self.Context.getTypeSize(SrcType)) { in checkIntToPointerCast() 2288 if (Self.Context.getTypeSize(DestMemPtr) != in TryReinterpretCast() 2289 Self.Context.getTypeSize(SrcMemPtr)) { in TryReinterpretCast() 2315 if (Self.Context.getTypeSize(SrcType) > in TryReinterpretCast() 2316 Self.Context.getTypeSize(DestType)) { in TryReinterpretCast() 2405 if ((Self.Context.getTypeSize(SrcType) > in TryReinterpretCast() 2406 Self.Context.getTypeSize(DestType))) { in TryReinterpretCast() 3042 if ((Self.Context.getTypeSize(SrcType) > in CheckCStyleCast() [all …]
|
| H A D | Sema.cpp | 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() 1892 (Ty->isRealFloatingType() && Context.getTypeSize(Ty) == 128)) && in checkDeviceDecl() 1894 (Ty->isIntegerType() && Context.getTypeSize(Ty) == 128 && in checkDeviceDecl() 1898 << static_cast<unsigned>(Context.getTypeSize(Ty)) << Ty in checkDeviceDecl()
|
| H A D | SemaPseudoObject.cpp | 507 llvm::APInt oneV(S.Context.getTypeSize(S.Context.IntTy), 1); in buildIncDecOperation() 533 ? S.Context.getTypeSize(resultType) >= in buildIncDecOperation() 534 S.Context.getTypeSize(S.Context.IntTy) in buildIncDecOperation()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.cpp | 120 if (width == ast.getTypeSize(ast.LongTy)) in GetBuiltinTypeForPDBEncodingAndBitSize() 122 if (width == ast.getTypeSize(ast.LongLongTy)) in GetBuiltinTypeForPDBEncodingAndBitSize() 126 if (width == ast.getTypeSize(ast.UnsignedLongTy)) in GetBuiltinTypeForPDBEncodingAndBitSize() 128 if (width == ast.getTypeSize(ast.UnsignedLongLongTy)) in GetBuiltinTypeForPDBEncodingAndBitSize() 132 if (width == ast.getTypeSize(ast.WCharTy)) in GetBuiltinTypeForPDBEncodingAndBitSize() 1179 uint32_t byte_size = m_ast.getASTContext().getTypeSize( in AddEnumValue()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ObjCContainersASTChecker.cpp | 40 return (ASTC.getTypeSize(T) == PtrWidth); in isPointerSize()
|
| H A D | CStringSyntaxChecker.cpp | 202 uint64_t BufferLen = C.getTypeSize(Buffer) / 8; in containsBadStrlcpyStrlcatPattern()
|
| H A D | CallAndMessageChecker.cpp | 696 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy); in HandleNilReceiver() 697 const uint64_t returnTypeSize = Ctx.getTypeSize(CanRetTy); in HandleNilReceiver()
|
| H A D | BasicObjCFoundationChecks.cpp | 399 return Ctx.getTypeSize(T); in GetCFNumberSize() 484 uint64_t PrimitiveTypeSize = Ctx.getTypeSize(T); in checkPreStmt()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 523 if (getContext().getTypeSize(castTy) >= getContext().getTypeSize(originalTy)) in evalIntegralCast() 531 APSIntType ToType(getContext().getTypeSize(castTy), in evalIntegralCast()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 2341 if (bit_size == ast.getTypeSize(ast.SignedCharTy)) in GetIntTypeFromBitSize() 2344 if (bit_size == ast.getTypeSize(ast.ShortTy)) in GetIntTypeFromBitSize() 2347 if (bit_size == ast.getTypeSize(ast.IntTy)) in GetIntTypeFromBitSize() 2350 if (bit_size == ast.getTypeSize(ast.LongTy)) in GetIntTypeFromBitSize() 2353 if (bit_size == ast.getTypeSize(ast.LongLongTy)) in GetIntTypeFromBitSize() 2356 if (bit_size == ast.getTypeSize(ast.Int128Ty)) in GetIntTypeFromBitSize() 4637 if (bit_size == ast.getTypeSize(ast.FloatTy)) in GetFloatTypeSemantics() 4639 else if (bit_size == ast.getTypeSize(ast.DoubleTy)) in GetFloatTypeSemantics() 4643 else if (bit_size == ast.getTypeSize(ast.HalfTy)) in GetFloatTypeSemantics() 4695 return getASTContext().getTypeSize( in GetBitSize() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 995 uint64_t FinalTySize = Ctx.getTypeSize(FinalTy); in rewriteToNumericBoxedExpression() 996 uint64_t OrigTySize = Ctx.getTypeSize(OrigTy); in rewriteToNumericBoxedExpression() 1019 OrigTySize >= Ctx.getTypeSize(Ctx.IntTy)) in rewriteToNumericBoxedExpression()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTContext.cpp | 1776 uint64_t TypeSize = getTypeSize(T.getTypePtr()); in getDeclAlign() 2506 return std::max(ABIAlign, (unsigned)getTypeSize(T)); in getPreferredTypeAlign() 2521 uint64_t TypeSize = getTypeSize(T.getTypePtr()); in getAlignOfGlobalVar() 3887 uint64_t EltTySize = getTypeSize(EltTy); in getScalableVectorType() 3905 uint64_t EltTySize = getTypeSize(EltTy); in getScalableVectorType() 6380 uint64_t IntSize = getTypeSize(IntTy); in isPromotableBitField() 6433 uint64_t FromSize = getTypeSize(BT); in getPromotedIntegerType() 7853 CurOffs += getTypeSize(VoidPtrTy); in getObjCEncodingForStructureImpl() 7915 CurOffs += getTypeSize(field->getType()); in getObjCEncodingForStructureImpl() 9645 Context.getTypeSize(underlyingType) == Context.getTypeSize(other)) in mergeEnumWithInteger() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFContext.cpp | 1072 static Optional<uint64_t> getTypeSize(DWARFDie Type, uint64_t PointerSize) { in getTypeSize() function 1093 return getTypeSize(BaseType, PointerSize); in getTypeSize() 1100 Optional<uint64_t> BaseSize = getTypeSize(BaseType, PointerSize); in getTypeSize() 1189 Local.Size = getTypeSize(Type, getCUAddrSize()); in addLocalsForDie()
|