| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | SMTConv.h | 328 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 D | ABIInfo.cpp | 124 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 D | CodeGenTypes.cpp | 145 (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 D | ABIInfoImpl.cpp | 37 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 D | ARM.cpp | 296 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 D | AVR.cpp | 42 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 D | Hexagon.cpp | 103 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 D | LoongArch.cpp | 75 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 D | BPF.cpp | 29 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 D | PPC.cpp | 382 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 D | SystemZ.cpp | 180 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 D | X86.cpp | 54 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 D | VE.cpp | 33 uint64_t Size = getContext().getTypeSize(Ty); in classifyReturnType() 42 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType()
|
| H A D | ARC.cpp | 36 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 D | RISCV.cpp | 152 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 D | Lanai.cpp | 52 unsigned Size = getContext().getTypeSize(Ty); in shouldUseInReg() 113 unsigned SizeInRegs = (getContext().getTypeSize(Ty) + 31) / 32; in classifyArgumentType()
|
| H A D | CSKY.cpp | 98 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType() 110 if (getContext().getTypeSize(EltTy) <= FLen) { in classifyArgumentType()
|
| H A D | NVPTX.cpp | 123 (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 D | AArch64.cpp | 309 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 D | AMDGPU.cpp | 74 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 D | Mips.cpp | 214 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 D | CIRTypes.cpp | 282 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 D | InterpBuiltinBitCast.cpp | 88 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 D | SemaStmtAsm.cpp | 376 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 D | SemaAMDGPU.cpp | 160 getASTContext().getTypeSize(ArgTys[0]) == in checkMovDPPFunctionCall() 161 getASTContext().getTypeSize(ArgTys[1])) in checkMovDPPFunctionCall()
|