| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConv.h | 330 Ctx.getTypeSize(FromTy)); in getCastExpr() 416 Ctx.getTypeSize(Sym->getType())); in getSymExpr() 580 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doTypeConversion() 581 uint64_t RBitWidth = Ctx.getTypeSize(RTy); in doTypeConversion() 603 assert((Ctx.getTypeSize(LTy) == Ctx.getTypeSize(RTy)) && in doTypeConversion() 634 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doIntTypeConversion() 635 uint64_t RBitWidth = Ctx.getTypeSize(RTy); in doIntTypeConversion() 642 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy); in doIntTypeConversion() 649 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy); in doIntTypeConversion() 717 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doFloatTypeConversion() [all …]
|
| H A D | BasicValueFactory.h | 202 return getValue(0, Ctx.getTypeSize(T), true); in getZeroWithTypeSize() 206 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 210 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); in getIntWithPtrWidth()
|
| H A D | SMTConstraintManager.h | 112 llvm::APSInt Value(Ctx.getTypeSize(Ty), in getSymVal() 120 SMTConv::fromData(Solver, SD->getSymbolID(), Ty, Ctx.getTypeSize(Ty)); in getSymVal()
|
| H A D | SValBuilder.h | 90 ArrayIndexWidth(context.getTypeSize(ArrayIndexTy)) {} in SValBuilder()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | TargetInfo.cpp | 55 const uint64_t Size = Context.getTypeSize(Ty); in coerceToIntArray() 597 if (Found && Context.getTypeSize(Found) != Context.getTypeSize(T)) in isSingleElementStruct() 1233 uint64_t Size = Context.getTypeSize(Ty); in shouldReturnTypeInRegister() 1292 uint64_t Size = Context.getTypeSize(Ty); in is32Or64BitBasicType() 1616 if (getContext().getTypeSize(Ty) > 32) in shouldPrimitiveUseInReg() 4514 if (getContext().getTypeSize(Ty) > 128) in getParamTypeAlignment() 4626 getContext().getTypeSize(Ty)) in isHomogeneousAggregate() 4650 getContext().getTypeSize(VT) / getContext().getTypeSize(EltTy); in isHomogeneousAggregate() 4658 getContext().getTypeSize(Base) != getContext().getTypeSize(TyPtr)) in isHomogeneousAggregate() 5955 uint64_t Size = Context.getTypeSize(Ty); in isIntegerLikeType() [all …]
|
| H A D | CodeGenTypes.cpp | 96 (unsigned)Context.getTypeSize(T)); in ConvertTypeForMem() 468 static_cast<unsigned>(Context.getTypeSize(T))); in ConvertType() 662 uint64_t valueSize = Context.getTypeSize(valueType); in ConvertType() 663 uint64_t atomicSize = Context.getTypeSize(Ty); in ConvertType() 692 return Context.getTypeSize(type) != Context.getTypeSize(type->getValueType()); in isPaddedAtomicType()
|
| H A D | CGDebugInfo.cpp | 794 uint64_t Size = CGM.getContext().getTypeSize(BT); in CreateType() 804 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType() 1029 uint64_t FieldSize = CGM.getContext().getTypeSize(Ty); in collectDefaultElementTypesForBlockPointer() 1062 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType() 1854 unsigned Size = Context.getTypeSize(Context.VoidPtrTy); in getOrCreateVTablePtrType() 2329 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateTypeDefinition() 2499 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType() 2525 Size = CGM.getContext().getTypeSize(Ty); in CreateType() 2586 Size = CGM.getContext().getTypeSize(Ty); in CreateType() 3003 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateLimitedType() [all …]
|
| H A D | CGAtomic.cpp | 79 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo() 113 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo() 115 AtomicSizeInBits = C.getTypeSize(AtomicTy); in AtomicInfo() 121 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo() 125 AtomicSizeInBits = C.getTypeSize(AtomicTy); in AtomicInfo() 1465 if (getContext().getTypeSize(LV.getType()) > in LValueIsSuitableForInlineAtomic() 1466 getContext().getTypeSize(getContext().getIntPtrType())) in LValueIsSuitableForInlineAtomic()
|
| H A D | CGOpenMPRuntime.cpp | 962 CGF.getTypeSize( in emitAggregateType() 980 SizeInChars = CGF.getTypeSize( in emitAggregateType() 1560 CGF.getTypeSize(IdentQTy)); in emitUpdateLocation() 4908 CGF.getTypeSize(KmpTaskTWithPrivatesQTy); in emitTaskInit() 5101 Size = CGF.getTypeSize(Ty); in emitTaskCall() 6719 return CGF.getTypeSize(BaseTy); in getExprTypeSize() 6740 return CGF.getTypeSize(ExprTy); in getExprTypeSize() 7620 Sizes.push_back(CGF.getTypeSize( in generateInfoForLambdaCaptures() 7883 CurSizes.push_back(CGF.getTypeSize(RI.getType())); in generateDefaultMapInfo() 7897 CurSizes.push_back(CGF.getTypeSize(ElementType)); in generateDefaultMapInfo() [all …]
|
| H A D | CGStmt.cpp | 1976 uint64_t InputSize = getContext().getTypeSize(InputTy); in EmitAsmStmt() 1977 if (getContext().getTypeSize(OutputType) < InputSize) { in EmitAsmStmt() 2077 if (getContext().getTypeSize(OutputType) > in EmitAsmStmt() 2078 getContext().getTypeSize(InputTy)) { in EmitAsmStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 330 unsigned Size = Context.getTypeSize(OutputExpr->getType()); in ActOnGCCAsmStmt() 431 unsigned Size = Context.getTypeSize(Ty); in ActOnGCCAsmStmt() 496 unsigned Size = Context.getTypeSize(Ty); in ActOnGCCAsmStmt() 598 uint64_t OutSize = Context.getTypeSize(OutTy); in ActOnGCCAsmStmt() 599 uint64_t InSize = Context.getTypeSize(InTy); in ActOnGCCAsmStmt()
|
| H A D | SemaCast.cpp | 1815 if (Context.getTypeSize(DestTy) == Context.getTypeSize(SrcTy)) { in CheckCompatibleReinterpretCast() 1942 && Self.Context.getTypeSize(DestType) > in checkIntToPointerCast() 1943 Self.Context.getTypeSize(SrcType)) { in checkIntToPointerCast() 2072 if (Self.Context.getTypeSize(DestMemPtr) != in TryReinterpretCast() 2073 Self.Context.getTypeSize(SrcMemPtr)) { in TryReinterpretCast() 2099 if (Self.Context.getTypeSize(SrcType) > in TryReinterpretCast() 2100 Self.Context.getTypeSize(DestType)) { in TryReinterpretCast() 2175 if ((Self.Context.getTypeSize(SrcType) > in TryReinterpretCast() 2176 Self.Context.getTypeSize(DestType)) && in TryReinterpretCast()
|
| H A D | SemaPseudoObject.cpp | 519 llvm::APInt oneV(S.Context.getTypeSize(S.Context.IntTy), 1); in buildIncDecOperation() 544 ? S.Context.getTypeSize(resultType) >= in buildIncDecOperation() 545 S.Context.getTypeSize(S.Context.IntTy) in buildIncDecOperation()
|
| H A D | SemaExpr.cpp | 5555 if (Context.getTypeSize(DstTy) != Context.getTypeSize(SrcTy)) in ActOnAsTypeExpr() 6238 uint64_t srcEltSize = Context.getTypeSize(srcEltTy); in areLaxCompatibleVectorTypes() 6239 uint64_t destEltSize = Context.getTypeSize(destEltTy); in areLaxCompatibleVectorTypes() 6905 if (S.Context.getTypeSize(CV->getElementType()) in OpenCLConvertScalarsToVectors() 6906 != S.Context.getTypeSize(ResTy)) { in OpenCLConvertScalarsToVectors() 6961 if (S.Context.getTypeSize(CVE) != S.Context.getTypeSize(RVE)) { in checkVectorResult() 8580 Bits = S.Context.getTypeSize(IntTy); in canConvertIntTyToFloatTy() 9590 S.Context.getTypeSize(LHSBT) != S.Context.getTypeSize(RHSBT)) { in checkVectorShift() 10703 if (TypeSize == Context.getTypeSize(Context.CharTy)) in GetSignedVectorType() 10716 if (TypeSize == Context.getTypeSize(Context.LongLongTy)) in GetSignedVectorType() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Core/ |
| H A D | DumpDataExtractor.cpp | 569 if (item_bit_size == ast->getTypeSize(ast->FloatTy)) { in DumpDataExtractor() 575 } else if (item_bit_size == ast->getTypeSize(ast->DoubleTy)) { in DumpDataExtractor() 582 } else if (item_bit_size == ast->getTypeSize(ast->LongDoubleTy)) { in DumpDataExtractor() 595 } else if (item_bit_size == ast->getTypeSize(ast->HalfTy)) { in DumpDataExtractor()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.cpp | 123 if (width == ast->getTypeSize(ast->LongTy)) in GetBuiltinTypeForPDBEncodingAndBitSize() 125 if (width == ast->getTypeSize(ast->LongLongTy)) in GetBuiltinTypeForPDBEncodingAndBitSize() 129 if (width == ast->getTypeSize(ast->UnsignedLongTy)) in GetBuiltinTypeForPDBEncodingAndBitSize() 131 if (width == ast->getTypeSize(ast->UnsignedLongLongTy)) in GetBuiltinTypeForPDBEncodingAndBitSize() 135 if (width == ast->getTypeSize(ast->WCharTy)) in GetBuiltinTypeForPDBEncodingAndBitSize() 1149 uint32_t byte_size = m_ast.getASTContext()->getTypeSize( in AddEnumValue()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 493 if (getContext().getTypeSize(castTy) >= getContext().getTypeSize(originalTy)) in evalIntegralCast() 501 APSIntType ToType(getContext().getTypeSize(castTy), in evalIntegralCast()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ObjCContainersASTChecker.cpp | 41 return (ASTC.getTypeSize(T) == PtrWidth); in isPointerSize()
|
| H A D | CStringSyntaxChecker.cpp | 196 uint64_t BufferLen = C.getTypeSize(Buffer) / 8; in containsBadStrlcpyStrlcatPattern()
|
| H A D | CallAndMessageChecker.cpp | 574 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy); in HandleNilReceiver() 575 const uint64_t returnTypeSize = Ctx.getTypeSize(CanRetTy); in HandleNilReceiver()
|
| H A D | BasicObjCFoundationChecks.cpp | 400 return Ctx.getTypeSize(T); in GetCFNumberSize() 485 uint64_t PrimitiveTypeSize = Ctx.getTypeSize(T); in checkPreStmt()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | Mangle.cpp | 183 llvm::alignTo(ASTContext.getTypeSize(AT), TI.getPointerWidth(0)) / in mangleName()
|
| H A D | ASTContext.cpp | 2221 return std::max(ABIAlign, (unsigned)getTypeSize(T)); in getPreferredTypeAlign() 5671 uint64_t IntSize = getTypeSize(IntTy); in isPromotableBitField() 5724 uint64_t FromSize = getTypeSize(BT); in getPromotedIntegerType() 5728 uint64_t ToSize = getTypeSize(PromoteTypes[Idx]); in getPromotedIntegerType() 7087 CurOffs += getTypeSize(VoidPtrTy); in getObjCEncodingForStructureImpl() 7151 CurOffs += getTypeSize(field->getType()); in getObjCEncodingForStructureImpl() 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() 8691 Context.getTypeSize(underlyingType) == Context.getTypeSize(other)) in mergeEnumWithInteger() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/ |
| H A D | ClangASTContext.cpp | 996 uint64_t qual_type_bit_size = ast->getTypeSize(qual_type); in QualTypeMatchesBitSize() 2353 if (bit_size == ast->getTypeSize(ast->SignedCharTy)) in GetIntTypeFromBitSize() 2356 if (bit_size == ast->getTypeSize(ast->ShortTy)) in GetIntTypeFromBitSize() 2359 if (bit_size == ast->getTypeSize(ast->IntTy)) in GetIntTypeFromBitSize() 2362 if (bit_size == ast->getTypeSize(ast->LongTy)) in GetIntTypeFromBitSize() 2365 if (bit_size == ast->getTypeSize(ast->LongLongTy)) in GetIntTypeFromBitSize() 2368 if (bit_size == ast->getTypeSize(ast->Int128Ty)) in GetIntTypeFromBitSize() 5023 return getASTContext()->getTypeSize(qual_type); in GetBitSize() 5062 return getASTContext()->getTypeSize( in GetBitSize() 5068 getASTContext()->getTypeSize( in GetBitSize() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Edit/ |
| H A D | RewriteObjCFoundationAPI.cpp | 996 uint64_t FinalTySize = Ctx.getTypeSize(FinalTy); in rewriteToNumericBoxedExpression() 997 uint64_t OrigTySize = Ctx.getTypeSize(OrigTy); in rewriteToNumericBoxedExpression() 1020 OrigTySize >= Ctx.getTypeSize(Ctx.IntTy)) in rewriteToNumericBoxedExpression()
|