Home
last modified time | relevance | path

Searched refs:getTypeSize (Results 1 – 25 of 73) sorted by relevance

123

/openbsd/src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSMTConv.h326 const uint64_t BitWidth = Ctx.getTypeSize(Ty); in fromData()
339 return fromCast(Solver, Exp, ToTy, Ctx.getTypeSize(ToTy), FromTy, in getCastExpr()
340 Ctx.getTypeSize(FromTy)); in getCastExpr()
465 if (Ctx.getTypeSize(OperandTy) != Ctx.getTypeSize(Sym->getType())) { in getSymExpr()
522 Solver->mkBitvector(llvm::APSInt("0"), Ctx.getTypeSize(Ty)), in getZeroExpr()
585 NewInt = Int.extend(Ctx.getTypeSize(Ctx.BoolTy)); in fixAPSInt()
622 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doTypeConversion()
623 uint64_t RBitWidth = Ctx.getTypeSize(RTy); in doTypeConversion()
645 assert((Ctx.getTypeSize(LTy) == Ctx.getTypeSize(RTy)) && in doTypeConversion()
675 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doIntTypeConversion()
[all …]
DBasicValueFactory.h232 return getValue(0, Ctx.getTypeSize(T), true); in getZeroWithTypeSize()
DSMTConstraintManager.h119 llvm::APSInt Value(Ctx.getTypeSize(Ty), in REGISTER_TRAIT_WITH_PROGRAMSTATE()
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DTargetInfo.cpp60 const uint64_t Size = Context.getTypeSize(Ty); in coerceToIntArray()
113 if (EIT->getNumBits() < getContext().getTypeSize(getContext().IntTy)) in isPromotableIntegerTypeForABI()
688 if (Found && Context.getTypeSize(Found) != Context.getTypeSize(T)) in isSingleElementStruct()
793 Context.getTypeSize(Context.getTargetInfo().hasInt128Type() in classifyArgumentType()
815 getContext().getTypeSize(getContext().getTargetInfo().hasInt128Type() in classifyReturnType()
1109 unsigned VecSize = Context.getTypeSize(VT); in isX86VectorTypeForVectorCall()
1357 uint64_t RetWidth = CGF.getContext().getTypeSize(ReturnSlot.getType()); in addReturnRegisterOutputs()
1388 uint64_t Size = Context.getTypeSize(Ty); in shouldReturnTypeInRegister()
1447 uint64_t Size = Context.getTypeSize(Ty); in is32Or64BitBasicType()
1466 Size += Context.getTypeSize(FD->getType()); in addFieldSizes()
[all …]
DCodeGenTypes.cpp114 (unsigned)Context.getTypeSize(T)); in ConvertTypeForMem()
516 static_cast<unsigned>(Context.getTypeSize(T))); in ConvertType()
802 uint64_t valueSize = Context.getTypeSize(valueType); in ConvertType()
803 uint64_t atomicSize = Context.getTypeSize(Ty); in ConvertType()
840 return Context.getTypeSize(type) != Context.getTypeSize(type->getValueType()); in isPaddedAtomicType()
DCGDebugInfo.cpp684 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CreateType()
772 unsigned SEW = CGM.getContext().getTypeSize(Info.ElementType); in CreateType()
899 uint64_t Size = CGM.getContext().getTypeSize(BT); in CreateType()
910 return DBuilder.createBasicType(Name, CGM.getContext().getTypeSize(Ty), in CreateType()
920 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType()
1118 Size = CGM.getContext().getTypeSize(Ty); in getOrCreateRecordFwdDecl()
1154 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreatePointerLikeType()
1194 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in getOrCreateStructPtrType()
1224 uint64_t FieldSize = CGM.getContext().getTypeSize(Ty); in collectDefaultElementTypesForBlockPointer()
1257 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType()
[all …]
DCGAtomic.cpp77 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
111 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
113 AtomicSizeInBits = C.getTypeSize(AtomicTy); in AtomicInfo()
119 ValueSizeInBits = C.getTypeSize(ValueTy); in AtomicInfo()
124 AtomicSizeInBits = C.getTypeSize(AtomicTy); in AtomicInfo()
1603 if (getContext().getTypeSize(LV.getType()) > in LValueIsSuitableForInlineAtomic()
1604 getContext().getTypeSize(getContext().getIntPtrType())) in LValueIsSuitableForInlineAtomic()
DCGCoroutine.cpp682 llvm::IntegerType *T = Builder.getIntNTy(Context.getTypeSize(SizeTy)); in EmitCoroutineIntrinsic()
689 llvm::IntegerType *T = Builder.getIntNTy(Context.getTypeSize(SizeTy)); in EmitCoroutineIntrinsic()
DCGOpenMPRuntime.cpp832 CGF.getTypeSize(OrigAddresses[N].first.getType().getNonReferenceType()), in emitAggregateType()
849 CGF.getTypeSize(OrigAddresses[N].first.getType().getNonReferenceType()); in emitAggregateType()
1982 CGF.Builder.CreateIntCast(CGF.getTypeSize(VarType), CGM.SizeTy, in getAddrOfArtificialThreadPrivate()
2438 llvm::Value *BufSize = CGF.getTypeSize(CopyprivateArrayTy); in emitSingleRegion()
3763 SizeVal = CGF.getTypeSize(OASE->getBase()->getType()->getPointeeType()); in getPointerAndSize()
3781 SizeVal = CGF.getTypeSize(Ty); in getPointerAndSize()
3881 CGF.getTypeSize(KmpTaskTWithPrivatesQTy); in emitTaskInit()
4017 C.getIntTypeForBitwidth(C.getTypeSize(C.getSizeType()), /*Signed=*/0), in emitTaskInit()
4034 llvm::APInt(C.getTypeSize(C.getSizeType()), NumAffinities), nullptr, in emitTaskInit()
4223 FlagsTy = C.getIntTypeForBitwidth(C.getTypeSize(C.BoolTy), /*Signed=*/false); in getDependTypes()
[all …]
DCGOpenMPRuntimeGPU.cpp1060 llvm::Value *AllocArgs[] = {CGF.getTypeSize(VD->getType())}; in emitGenericVarsProlog()
1089 llvm::Value *Size = CGF.getTypeSize(VD->getType()); in emitGenericVarsProlog()
1100 llvm::Value *AllocArgs[] = {CGF.getTypeSize(VD->getType())}; in emitGenericVarsProlog()
1111 {VoidPtr, CGF.getTypeSize(VD->getType())})); in emitGenericVarsProlog()
1142 CGF.getTypeSize(VD->getType())}; in emitGenericVarsEpilog()
1599 llvm::Value *ElementSizeInChars = CGF.getTypeSize(Private->getType());
1614 llvm::Value *ElementSizeInChars = CGF.getTypeSize(Private->getType());
1698 llvm::Value *ElementSizeInChars = CGF.getTypeSize(Private->getType());
2929 llvm::Value *ReductionArrayTySize = CGF.getTypeSize(ReductionArrayTy); in emitReduction()
DCGStmt.cpp2442 unsigned Size = getContext().getTypeSize(QTy); in EmitAsmStmt()
2461 uint64_t InputSize = getContext().getTypeSize(InputTy); in EmitAsmStmt()
2462 if (getContext().getTypeSize(OutputType) < InputSize) { in EmitAsmStmt()
2582 if (getContext().getTypeSize(OutputType) > in EmitAsmStmt()
2583 getContext().getTypeSize(InputTy)) { in EmitAsmStmt()
2794 unsigned Size = getContext().getTypeSize(ResultRegQualTys[i]); in EmitAsmStmt()
/openbsd/src/gnu/llvm/clang/lib/Sema/
DSemaStmtAsm.cpp341 unsigned Size = Context.getTypeSize(OutputExpr->getType()); in ActOnGCCAsmStmt()
455 unsigned Size = Context.getTypeSize(Ty); in ActOnGCCAsmStmt()
542 unsigned Size = Context.getTypeSize(Ty); in ActOnGCCAsmStmt()
647 uint64_t OutSize = Context.getTypeSize(OutTy); in ActOnGCCAsmStmt()
648 uint64_t InSize = Context.getTypeSize(InTy); in ActOnGCCAsmStmt()
DSemaCast.cpp2045 if (Context.getTypeSize(DestTy) == Context.getTypeSize(SrcTy)) { in CheckCompatibleReinterpretCast()
2172 && Self.Context.getTypeSize(DestType) > in checkIntToPointerCast()
2173 Self.Context.getTypeSize(SrcType)) { in checkIntToPointerCast()
2306 if (Self.Context.getTypeSize(DestMemPtr) != in TryReinterpretCast()
2307 Self.Context.getTypeSize(SrcMemPtr)) { in TryReinterpretCast()
2333 if (Self.Context.getTypeSize(SrcType) > in TryReinterpretCast()
2334 Self.Context.getTypeSize(DestType)) { in TryReinterpretCast()
2423 if ((Self.Context.getTypeSize(SrcType) > in TryReinterpretCast()
2424 Self.Context.getTypeSize(DestType))) { in TryReinterpretCast()
3114 if ((Self.Context.getTypeSize(SrcType) > in CheckCStyleCast()
[all …]
DSema.cpp388 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()
1964 if (Ty->isRealFloatingType() && Context.getTypeSize(Ty) == 128) { in checkTypeSupport()
1976 (Ty->isIntegerType() && Context.getTypeSize(Ty) == 128 && in checkTypeSupport()
1987 << static_cast<unsigned>(Context.getTypeSize(Ty)) << Ty in checkTypeSupport()
/openbsd/src/gnu/llvm/llvm/lib/DebugInfo/DWARF/
DDWARFDie.cpp490 std::optional<uint64_t> DWARFDie::getTypeSize(uint64_t PointerSize) { in getTypeSize() function in DWARFDie
512 return BaseType.getTypeSize(PointerSize); in getTypeSize()
519 std::optional<uint64_t> BaseSize = BaseType.getTypeSize(PointerSize); in getTypeSize()
544 return BaseType.getTypeSize(PointerSize); in getTypeSize()
/openbsd/src/gnu/llvm/lldb/source/Plugins/SymbolFile/PDB/
DPDBASTParser.cpp123 if (width == ast.getTypeSize(ast.LongTy)) in GetBuiltinTypeForPDBEncodingAndBitSize()
126 if (width == ast.getTypeSize(ast.LongLongTy)) in GetBuiltinTypeForPDBEncodingAndBitSize()
131 if (width == ast.getTypeSize(ast.UnsignedLongTy)) in GetBuiltinTypeForPDBEncodingAndBitSize()
134 if (width == ast.getTypeSize(ast.UnsignedLongLongTy)) in GetBuiltinTypeForPDBEncodingAndBitSize()
139 if (width == ast.getTypeSize(ast.WCharTy)) in GetBuiltinTypeForPDBEncodingAndBitSize()
1190 uint32_t byte_size = m_ast.getASTContext().getTypeSize( in AddEnumValue()
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
DObjCContainersASTChecker.cpp40 return (ASTC.getTypeSize(T) == PtrWidth); in isPointerSize()
DCStringSyntaxChecker.cpp202 uint64_t BufferLen = C.getTypeSize(Buffer) / 8; in containsBadStrlcpyStrlcatPattern()
DCallAndMessageChecker.cpp696 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy); in HandleNilReceiver()
697 const uint64_t returnTypeSize = Ctx.getTypeSize(CanRetTy); in HandleNilReceiver()
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
DSValBuilder.cpp60 ArrayIndexWidth(context.getTypeSize(ArrayIndexTy)) {} in SValBuilder()
591 if (getContext().getTypeSize(castTy) >= getContext().getTypeSize(originalTy)) in evalIntegralCast()
599 APSIntType ToType(getContext().getTypeSize(castTy), in evalIntegralCast()
DSimpleSValBuilder.cpp190 uint64_t TypeWidth = Ctx.getTypeSize(SymbolType); in MakeSymIntVal()
752 RhsLoc.getType(Ctx).isNull() ? 0 : Ctx.getTypeSize(RhsLoc.getType(Ctx)); in assertEqualBitWidths()
754 LhsLoc.getType(Ctx).isNull() ? 0 : Ctx.getTypeSize(LhsLoc.getType(Ctx)); in assertEqualBitWidths()
/openbsd/src/gnu/llvm/lldb/source/Plugins/TypeSystem/Clang/
DTypeSystemClang.cpp793 uint64_t qual_type_bit_size = ast.getTypeSize(qual_type); in QualTypeMatchesBitSize()
2376 if (bit_size == ast.getTypeSize(ast.SignedCharTy)) in GetIntTypeFromBitSize()
2379 if (bit_size == ast.getTypeSize(ast.ShortTy)) in GetIntTypeFromBitSize()
2382 if (bit_size == ast.getTypeSize(ast.IntTy)) in GetIntTypeFromBitSize()
2385 if (bit_size == ast.getTypeSize(ast.LongTy)) in GetIntTypeFromBitSize()
2388 if (bit_size == ast.getTypeSize(ast.LongLongTy)) in GetIntTypeFromBitSize()
2391 if (bit_size == ast.getTypeSize(ast.Int128Ty)) in GetIntTypeFromBitSize()
2394 if (bit_size == ast.getTypeSize(ast.UnsignedCharTy)) in GetIntTypeFromBitSize()
2397 if (bit_size == ast.getTypeSize(ast.UnsignedShortTy)) in GetIntTypeFromBitSize()
2400 if (bit_size == ast.getTypeSize(ast.UnsignedIntTy)) in GetIntTypeFromBitSize()
[all …]
/openbsd/src/gnu/llvm/clang/lib/Edit/
DRewriteObjCFoundationAPI.cpp996 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()
/openbsd/src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDie.h287 std::optional<uint64_t> getTypeSize(uint64_t PointerSize);
/openbsd/src/gnu/llvm/clang/lib/AST/
DASTContext.cpp1758 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType))) in getDeclAlign()
1767 uint64_t TypeSize = getTypeSize(T.getTypePtr()); in getDeclAlign()
2559 return std::max(ABIAlign, (unsigned)getTypeSize(T)); in getPreferredTypeAlign()
2574 uint64_t TypeSize = getTypeSize(T.getTypePtr()); in getAlignOfGlobalVar()
2830 return getTypeSize(BIT) == BIT->getNumBits(); in hasUniqueObjectRepresentations()
2856 return StructSize && *StructSize == static_cast<int64_t>(getTypeSize(Ty)); in hasUniqueObjectRepresentations()
4003 uint64_t EltTySize = getTypeSize(EltTy); in getScalableVectorType()
4021 uint64_t EltTySize = getTypeSize(EltTy); in getScalableVectorType()
7114 uint64_t IntSize = getTypeSize(IntTy); in isPromotableBitField()
7167 uint64_t FromSize = getTypeSize(BT); in getPromotedIntegerType()
[all …]

123