| /freebsd-14.2/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 | ABIInfoImpl.cpp | 36 Context.getTypeSize(Context.getTargetInfo().hasInt128Type() in classifyArgumentType() 58 getContext().getTypeSize(getContext().getTargetInfo().hasInt128Type() in classifyReturnType() 82 const uint64_t Size = Context.getTypeSize(Ty); in coerceToIntArray() 371 if (Found && Context.getTypeSize(Found) != Context.getTypeSize(T)) in isSingleElementStruct() 427 return Ty->getAs<VectorType>() && Context.getTypeSize(Ty) == 128; in isSIMDVectorType()
|
| H A D | CodeGenTypes.cpp | 115 (unsigned)Context.getTypeSize(T)); in ConvertTypeForMem() 394 static_cast<unsigned>(Context.getTypeSize(T))); in ConvertType() 690 uint64_t valueSize = Context.getTypeSize(valueType); in ConvertType() 691 uint64_t atomicSize = Context.getTypeSize(Ty); in ConvertType() 727 return Context.getTypeSize(type) != Context.getTypeSize(type->getValueType()); in isPaddedAtomicType()
|
| H A D | CGDebugInfo.cpp | 939 uint64_t Size = CGM.getContext().getTypeSize(BT); in CreateType() 960 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType() 1158 Size = CGM.getContext().getTypeSize(Ty); in getOrCreateRecordFwdDecl() 1194 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreatePointerLikeType() 1297 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType() 2960 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateTypeDefinition() 3168 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType() 3180 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType() 3221 Size = CGM.getContext().getTypeSize(Ty); in CreateType() 3294 Size = CGM.getContext().getTypeSize(Ty); in CreateType() [all …]
|
| /freebsd-14.2/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() 465 if (Ctx.getTypeSize(OperandTy) != Ctx.getTypeSize(Sym->getType())) { in getSymExpr() 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() 676 uint64_t RBitWidth = Ctx.getTypeSize(RTy); in doIntTypeConversion() 683 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy); in doIntTypeConversion() 757 uint64_t LBitWidth = Ctx.getTypeSize(LTy); in doFloatTypeConversion() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| 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 | BPF.cpp | 29 uint64_t Bits = getContext().getTypeSize(Ty); in classifyArgumentType() 54 if (EIT->getNumBits() > Context.getTypeSize(Context.Int128Ty)) in classifyArgumentType() 74 if (EIT->getNumBits() > Context.getTypeSize(Context.Int128Ty)) in classifyReturnType()
|
| H A D | Hexagon.cpp | 103 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType() 121 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType() 142 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 220 uint64_t Offset = llvm::alignTo(CGF.getContext().getTypeSize(Ty) / 8, 4); in EmitVAArgFromMemory() 251 uint64_t Offset = llvm::alignTo(CGF.getContext().getTypeSize(Ty) / 8, 4); in EmitVAArgForHexagon() 262 int ArgSize = CGF.getContext().getTypeSize(Ty) / 8; in EmitVAArgForHexagonLinux() 282 ArgSize = (CGF.getContext().getTypeSize(Ty) <= 32) ? 4 : 8; in EmitVAArgForHexagonLinux() 283 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() 139 if (getContext().getTypeSize(EltTy) > FRLen) in detectFARsEligibleStructHelper() 201 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() 439 int TySize = getContext().getTypeSize(Ty); in extendType()
|
| H A D | PPC.cpp | 322 return CharUnits::fromQuantity(getContext().getTypeSize(Ty) == 128 ? 16 in getParamTypeAlignment() 345 (Size = getContext().getTypeSize(RetTy)) <= 64) { in classifyReturnType() 397 bool isI64 = Ty->isIntegerType() && getContext().getTypeSize(Ty) == 64; in EmitVAArg() 399 bool isF64 = Ty->isFloatingType() && getContext().getTypeSize(Ty) == 64; in EmitVAArg() 590 if ((T->isVectorType() && getContext().getTypeSize(T) == 128) || in computeInfo() 746 if (getContext().getTypeSize(VT) == 128) in isHomogeneousAggregateBaseType() 760 : (getContext().getTypeSize(Base) + 63) / 64; in isHomogeneousAggregateSmallEnough() 776 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType() 810 uint64_t Bits = getContext().getTypeSize(Ty); in classifyArgumentType() 852 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() [all …]
|
| H A D | ARM.cpp | 292 uint64_t Size = getContext().getTypeSize(Ty); in coerceIllegalVector() 314 uint64_t Size = getContext().getTypeSize(VT); in classifyHomogeneousAggregate() 437 SizeRegs = (getContext().getTypeSize(Ty) + 31) / 32; in classifyArgumentType() 440 SizeRegs = (getContext().getTypeSize(Ty) + 63) / 64; in classifyArgumentType() 452 uint64_t Size = Context.getTypeSize(Ty); in isIntegerLikeType() 543 if (getContext().getTypeSize(RetTy) > 128) in classifyReturnType() 579 getVMContext(), getContext().getTypeSize(RetTy))); in classifyReturnType() 584 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 611 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 666 uint64_t Size = getContext().getTypeSize(VT); in isIllegalVectorType() [all …]
|
| H A D | RISCV.cpp | 81 getContext().getTypeSize(RetTy) > (2 * XLen)) { in computeInfo() 84 IsRetIndirect = getContext().getTypeSize(EltTy) > FLen; in computeInfo() 117 uint64_t Size = getContext().getTypeSize(Ty); in detectFPCCEligibleStructHelper() 145 if (getContext().getTypeSize(EltTy) > FLen) in detectFPCCEligibleStructHelper() 208 if (getContext().getTypeSize(QTy) > XLen && BitWidth <= XLen) in detectFPCCEligibleStructHelper() 368 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType() 381 if (getContext().getTypeSize(EltTy) <= FLen) { in classifyArgumentType() 513 int TySize = getContext().getTypeSize(Ty); in extendType()
|
| H A D | SystemZ.cpp | 179 getContext().getTypeSize(Ty) <= 128); in isVectorArgumentType() 409 if (isCompoundType(RetTy) || getContext().getTypeSize(RetTy) > 64) in classifyReturnType() 427 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType() 430 getContext().getTypeSize(SingleElementTy) == Size) in classifyArgumentType() 497 Ctx.getTypeSize(SingleEltTy) == Ctx.getTypeSize(Ty); in isVectorTypeBased() 499 return Ctx.getTypeSize(Ty) / 8 <= 16; in isVectorTypeBased() 507 if (Ty->isVectorType() && Ctx.getTypeSize(Ty) / 8 >= 16) in isVectorTypeBased()
|
| H A D | ARC.cpp | 36 unsigned sz = (getContext().getTypeSize(Ty) + 31) / 32; in updateState() 108 auto SizeInRegs = llvm::alignTo(getContext().getTypeSize(Ty), 32) / 32; in classifyArgumentType() 146 auto RetSize = llvm::alignTo(getContext().getTypeSize(RetTy), 32) / 32; in classifyReturnType()
|
| 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 | X86.cpp | 67 unsigned VecSize = Context.getTypeSize(VT); in isX86VectorTypeForVectorCall() 340 uint64_t Size = Context.getTypeSize(Ty); in shouldReturnTypeInRegister() 399 uint64_t Size = Context.getTypeSize(Ty); in is32Or64BitBasicType() 418 Size += Context.getTypeSize(FD->getType()); in addFieldSizes() 466 return Size == getContext().getTypeSize(Ty); in canExpandIndirectArgument() 650 unsigned Size = getContext().getTypeSize(Ty); in updateFreeRegs() 1543 uint64_t Size = Ctx.getTypeSize(Ty); in checkAVXParam() 1861 uint64_t Size = getContext().getTypeSize(VT); in classify() 2271 uint64_t Size = getContext().getTypeSize(Ty); in GetByteVectorType() 3195 uint64_t Width = getContext().getTypeSize(Ty); in EmitMSVAArg() [all …]
|
| H A D | Lanai.cpp | 52 unsigned Size = getContext().getTypeSize(Ty); in shouldUseInReg() 109 unsigned SizeInRegs = (getContext().getTypeSize(Ty) + 31) / 32; in classifyArgumentType()
|
| H A D | CSKY.cpp | 99 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType() 111 if (getContext().getTypeSize(EltTy) <= FLen) { in classifyArgumentType()
|
| H A D | AArch64.cpp | 249 uint64_t Size = getContext().getTypeSize(Ty); in coerceIllegalVector() 304 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType() 381 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 128) in classifyReturnType() 398 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 456 uint64_t Size = getContext().getTypeSize(VT); in isIllegalVectorType() 493 unsigned VecSize = getContext().getTypeSize(VT); in isHomogeneousAggregateBaseType() 808 if (isAggregateTypeForABI(Ty) && getContext().getTypeSize(Ty) > 128) in EmitMSVAArg()
|
| H A D | NVPTX.cpp | 108 (T->isRealFloatingType() && Context.getTypeSize(T) == 128))) in isUnsupportedType() 114 Context.getTypeSize(T) > 64U) in isUnsupportedType() 139 const uint64_t Size = getContext().getTypeSize(Ty); in coerceToIntArrayWithLimit()
|
| H A D | AMDGPU.cpp | 61 uint32_t NumRegs = (getContext().getTypeSize(Base) + 31) / 32; in isHomogeneousAggregateSmallEnough() 75 unsigned EltSize = getContext().getTypeSize(EltTy); in numRegsForType() 97 return (getContext().getTypeSize(Ty) + 31) / 32; in numRegsForType() 141 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 229 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType()
|
| H A D | Mips.cpp | 197 uint64_t TySize = getContext().getTypeSize(Ty); in classifyArgumentType() 287 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 401 int TySize = getContext().getTypeSize(Ty); in extendType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 343 unsigned Size = Context.getTypeSize(OutputExpr->getType()); in ActOnGCCAsmStmt() 457 unsigned Size = Context.getTypeSize(Ty); in ActOnGCCAsmStmt() 544 unsigned Size = Context.getTypeSize(Ty); in ActOnGCCAsmStmt() 649 uint64_t OutSize = Context.getTypeSize(OutTy); in ActOnGCCAsmStmt() 650 uint64_t InSize = Context.getTypeSize(InTy); in ActOnGCCAsmStmt()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
| H A D | PDBASTParser.cpp | 123 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() 1188 uint32_t byte_size = m_ast.getASTContext().getTypeSize( in AddEnumValue()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ObjCContainersASTChecker.cpp | 40 return (ASTC.getTypeSize(T) == PtrWidth); in isPointerSize()
|