Home
last modified time | relevance | path

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

12345

/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConv.h328 const uint64_t BitWidth = Ctx.getTypeSize(Ty); in fromData()
341 return fromCast(Solver, Exp, ToTy, Ctx.getTypeSize(ToTy), FromTy, in getCastExpr()
342 Ctx.getTypeSize(FromTy)); in getCastExpr()
467 if (Ctx.getTypeSize(OperandTy) != Ctx.getTypeSize(Sym->getType())) { in getSymExpr()
524 Solver->mkBitvector(llvm::APSInt("0"), Ctx.getTypeSize(Ty)), in getZeroExpr()
582 unsigned CharTypeSize = Ctx.getTypeSize(Ctx.CharTy); in getAPSIntType()
599 return {Int.extend(Ctx.getTypeSize(Ctx.BoolTy)), in fixAPSInt()
602 return {Int.extend(Ctx.getTypeSize(getAPSIntType(Ctx, Int))), in fixAPSInt()
606 return {Int.extend(Ctx.getTypeSize(Ty)), Ty}; in fixAPSInt()
639 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doTypeConversion()
[all …]
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfo.cpp124 if (getContext().getTypeSize(Base) * Members != in isHomogeneousAggregate()
125 getContext().getTypeSize(Ty)) in isHomogeneousAggregate()
149 getContext().getTypeSize(VT) / getContext().getTypeSize(EltTy); in isHomogeneousAggregate()
157 getContext().getTypeSize(Base) != getContext().getTypeSize(TyPtr)) in isHomogeneousAggregate()
168 if (EIT->getNumBits() < getContext().getTypeSize(getContext().IntTy)) in isPromotableIntegerTypeForABI()
H A DCodeGenTypes.cpp145 (unsigned)Context.getTypeSize(T)); in ConvertTypeForMem()
150 (unsigned)Context.getTypeSize(T)); in ConvertTypeForMem()
178 (unsigned)Context.getTypeSize(T)); in convertTypeForLoadStore()
459 static_cast<unsigned>(Context.getTypeSize(T))); in ConvertType()
744 uint64_t valueSize = Context.getTypeSize(valueType); in ConvertType()
745 uint64_t atomicSize = Context.getTypeSize(Ty); in ConvertType()
785 return Context.getTypeSize(type) != Context.getTypeSize(type->getValueType()); in isPaddedAtomicType()
H A DABIInfoImpl.cpp37 Context.getTypeSize(Context.getTargetInfo().hasInt128Type() in classifyArgumentType()
60 getContext().getTypeSize(getContext().getTargetInfo().hasInt128Type() in classifyReturnType()
403 if (Found && Context.getTypeSize(Found) != Context.getTypeSize(T)) in isSingleElementStruct()
459 return Ty->getAs<VectorType>() && Context.getTypeSize(Ty) == 128; in isSIMDVectorType()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DARM.cpp296 uint64_t Size = getContext().getTypeSize(Ty); in coerceIllegalVector()
320 uint64_t Size = getContext().getTypeSize(VT); in classifyHomogeneousAggregate()
340 uint64_t Size = getContext().getTypeSize(Ty); in shouldIgnoreEmptyArg()
408 getContext().getTypeSize(Ty) == 0) { in classifyArgumentType()
474 SizeRegs = (getContext().getTypeSize(Ty) + 31) / 32; in classifyArgumentType()
477 SizeRegs = (getContext().getTypeSize(Ty) + 63) / 64; in classifyArgumentType()
489 uint64_t Size = Context.getTypeSize(Ty); in isIntegerLikeType()
580 if (getContext().getTypeSize(RetTy) > 128) in classifyReturnType()
619 getVMContext(), getContext().getTypeSize(RetTy))); in classifyReturnType()
624 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
[all …]
H A DAVR.cpp42 getContext().getTypeSize(Ty) <= RetRegs * 8) in classifyReturnType()
46 if (getContext().getTypeSize(Ty) > RetRegs * 8) { in classifyReturnType()
52 if (Ty->isIntegralOrEnumerationType() && getContext().getTypeSize(Ty) <= 8) in classifyReturnType()
59 unsigned TySize = getContext().getTypeSize(Ty); in classifyArgumentType()
H A DHexagon.cpp103 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType()
123 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType()
145 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
226 uint64_t Offset = llvm::alignTo(CGF.getContext().getTypeSize(Ty) / 8, 4); in EmitVAArgFromMemory()
257 uint64_t Offset = llvm::alignTo(CGF.getContext().getTypeSize(Ty) / 8, 4); in EmitVAArgForHexagon()
268 int ArgSize = CGF.getContext().getTypeSize(Ty) / 8; in EmitVAArgForHexagonLinux()
288 ArgSize = (CGF.getContext().getTypeSize(Ty) <= 32) ? 4 : 8; in EmitVAArgForHexagonLinux()
289 int ArgAlign = (CGF.getContext().getTypeSize(Ty) <= 32) ? 4 : 8; in EmitVAArgForHexagonLinux()
H A DLoongArch.cpp75 getContext().getTypeSize(RetTy) > (2 * GRLen)) { in computeInfo()
78 IsRetIndirect = getContext().getTypeSize(EltTy) > FRLen; in computeInfo()
110 uint64_t Size = getContext().getTypeSize(Ty); in detectFARsEligibleStructHelper()
138 if (getContext().getTypeSize(EltTy) > FRLen) in detectFARsEligibleStructHelper()
200 if (getContext().getTypeSize(QTy) > GRLen && BitWidth <= GRLen) { in detectFARsEligibleStructHelper()
312 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType()
331 if (getContext().getTypeSize(EltTy) <= FRLen) { in classifyArgumentType()
442 int TySize = getContext().getTypeSize(Ty); in extendType()
H A DBPF.cpp29 uint64_t Bits = getContext().getTypeSize(Ty); in classifyArgumentType()
55 if (EIT->getNumBits() > Context.getTypeSize(Context.Int128Ty)) in classifyArgumentType()
77 if (EIT->getNumBits() > Context.getTypeSize(Context.Int128Ty)) in classifyReturnType()
H A DPPC.cpp382 return CharUnits::fromQuantity(getContext().getTypeSize(Ty) == 128 ? 16 in getParamTypeAlignment()
390 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment()
405 (Size = getContext().getTypeSize(RetTy)) <= 64) { in classifyReturnType()
457 bool isI64 = Ty->isIntegerType() && getContext().getTypeSize(Ty) == 64; in EmitVAArg()
459 bool isF64 = Ty->isFloatingType() && getContext().getTypeSize(Ty) == 64; in EmitVAArg()
651 if ((T->isVectorType() && getContext().getTypeSize(T) == 128) || in computeInfo()
749 return CharUnits::fromQuantity(getContext().getTypeSize(Ty) == 128 ? 16 : 8); in getParamTypeAlignment()
763 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment()
807 if (getContext().getTypeSize(VT) == 128) in isHomogeneousAggregateBaseType()
821 : (getContext().getTypeSize(Base) + 63) / 64; in isHomogeneousAggregateSmallEnough()
[all …]
H A DSystemZ.cpp180 getContext().getTypeSize(Ty) <= 128); in isVectorArgumentType()
421 if (isCompoundType(RetTy) || getContext().getTypeSize(RetTy) > 64) in classifyReturnType()
443 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType()
446 getContext().getTypeSize(SingleElementTy) == Size) in classifyArgumentType()
515 Ctx.getTypeSize(SingleEltTy) == Ctx.getTypeSize(Ty); in isVectorTypeBased()
517 return Ctx.getTypeSize(Ty) / 8 <= 16; in isVectorTypeBased()
525 if (Ty->isVectorType() && Ctx.getTypeSize(Ty) / 8 >= 16) in isVectorTypeBased()
H A DX86.cpp54 unsigned VecSize = Context.getTypeSize(VT); in isX86VectorTypeForVectorCall()
297 uint64_t RetWidth = CGF.getContext().getTypeSize(ReturnSlot.getType()); in addReturnRegisterOutputs()
327 uint64_t Size = Context.getTypeSize(Ty); in shouldReturnTypeInRegister()
386 uint64_t Size = Context.getTypeSize(Ty); in is32Or64BitBasicType()
405 Size += Context.getTypeSize(FD->getType()); in addFieldSizes()
453 return Size == getContext().getTypeSize(Ty); in canExpandIndirectArgument()
487 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
535 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
646 unsigned Size = getContext().getTypeSize(Ty); in updateFreeRegs()
691 if (getContext().getTypeSize(Ty) <= 32 && State.FreeRegs) in shouldAggregateUseDirect()
[all …]
H A DVE.cpp33 uint64_t Size = getContext().getTypeSize(Ty); in classifyReturnType()
42 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType()
H A DARC.cpp36 unsigned sz = (getContext().getTypeSize(Ty) + 31) / 32; in updateState()
111 auto SizeInRegs = llvm::alignTo(getContext().getTypeSize(Ty), 32) / 32; in classifyArgumentType()
149 auto RetSize = llvm::alignTo(getContext().getTypeSize(RetTy), 32) / 32; in classifyReturnType()
H A DRISCV.cpp152 getContext().getTypeSize(RetTy) > (2 * XLen)) { in computeInfo()
155 IsRetIndirect = getContext().getTypeSize(EltTy) > FLen; in computeInfo()
188 uint64_t Size = getContext().getTypeSize(Ty); in detectFPCCEligibleStructHelper()
216 if (getContext().getTypeSize(EltTy) > FLen) in detectFPCCEligibleStructHelper()
279 if (getContext().getTypeSize(QTy) > XLen && BitWidth <= XLen) in detectFPCCEligibleStructHelper()
605 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType()
623 if (getContext().getTypeSize(EltTy) <= FLen) { in classifyArgumentType()
776 int TySize = getContext().getTypeSize(Ty); in extendType()
H A DLanai.cpp52 unsigned Size = getContext().getTypeSize(Ty); in shouldUseInReg()
113 unsigned SizeInRegs = (getContext().getTypeSize(Ty) + 31) / 32; in classifyArgumentType()
H A DCSKY.cpp98 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType()
110 if (getContext().getTypeSize(EltTy) <= FLen) { in classifyArgumentType()
H A DNVPTX.cpp123 (T->isRealFloatingType() && Context.getTypeSize(T) == 128))) in isUnsupportedType()
129 Context.getTypeSize(T) > 64U) in isUnsupportedType()
154 const uint64_t Size = getContext().getTypeSize(Ty); in coerceToIntArrayWithLimit()
H A DAArch64.cpp309 uint64_t Size = getContext().getTypeSize(Ty); in coerceIllegalVector()
425 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType()
510 getContext().getTypeSize(FDTy) == 64 && in classifyArgumentType()
545 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 128) in classifyReturnType()
563 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
630 uint64_t Size = getContext().getTypeSize(VT); in isIllegalVectorType()
677 unsigned VecSize = getContext().getTypeSize(VT); in isHomogeneousAggregateBaseType()
1155 if (isAggregateTypeForABI(Ty) && getContext().getTypeSize(Ty) > 128) in EmitMSVAArg()
H A DAMDGPU.cpp74 uint32_t NumRegs = (getContext().getTypeSize(Base) + 31) / 32; in isHomogeneousAggregateSmallEnough()
88 unsigned EltSize = getContext().getTypeSize(EltTy); in numRegsForType()
110 return (getContext().getTypeSize(Ty) + 31) / 32; in numRegsForType()
162 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
255 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType()
H A DMips.cpp214 uint64_t TySize = getContext().getTypeSize(Ty); in classifyArgumentType()
305 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType()
417 int TySize = getContext().getTypeSize(Ty); in extendType()
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRTypes.cpp282 dataLayout.getTypeSize(lhs) < dataLayout.getTypeSize(rhs)); in getLargestMember()
294 return dataLayout.getTypeSize(getLargestMember(dataLayout)); in getTypeSizeInBits()
329 recordSize += dataLayout.getTypeSize(ty); in computeStructSize()
383 offset += dataLayout.getTypeSize(ty); in getElementOffset()
/freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/
H A DInterpBuiltinBitCast.cpp88 Bits(Ctx.getASTContext().getTypeSize(FieldDesc->getType())); in enumerateData()
96 Bits ElemSize = Bits(Ctx.getASTContext().getTypeSize(ElemType)); in enumerateData()
115 Bits ElemSize = Bits(Ctx.getASTContext().getTypeSize(ElemType)); in enumerateData()
233 VT->isPackedVectorBoolType(ASTCtx) ? 1 : ASTCtx.getTypeSize(EltTy); in CheckBitcastType()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp376 unsigned Size = Context.getTypeSize(OutputExpr->getType()); in ActOnGCCAsmStmt()
489 unsigned Size = Context.getTypeSize(Ty); in ActOnGCCAsmStmt()
577 unsigned Size = Context.getTypeSize(Ty); in ActOnGCCAsmStmt()
685 uint64_t OutSize = Context.getTypeSize(OutTy); in ActOnGCCAsmStmt()
686 uint64_t InSize = Context.getTypeSize(InTy); in ActOnGCCAsmStmt()
H A DSemaAMDGPU.cpp160 getASTContext().getTypeSize(ArgTys[0]) == in checkMovDPPFunctionCall()
161 getASTContext().getTypeSize(ArgTys[1])) in checkMovDPPFunctionCall()

12345