/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 | ABIInfoImpl.cpp | 36 Context.getTypeSize(Context.getTargetInfo().hasInt128Type() in classifyArgumentType() 58 getContext().getTypeSize(getContext().getTargetInfo().hasInt128Type() in classifyReturnType() 85 const uint64_t Size = Context.getTypeSize(Ty); in coerceToIntArray() 409 if (Found && Context.getTypeSize(Found) != Context.getTypeSize(T)) in isSingleElementStruct() 465 return Ty->getAs<VectorType>() && Context.getTypeSize(Ty) == 128; in isSIMDVectorType()
|
H A D | CodeGenTypes.cpp | 136 (unsigned)Context.getTypeSize(T)); in ConvertTypeForMem() 141 (unsigned)Context.getTypeSize(T)); in ConvertTypeForMem() 169 (unsigned)Context.getTypeSize(T)); in convertTypeForLoadStore() 450 static_cast<unsigned>(Context.getTypeSize(T))); in ConvertType() 751 uint64_t valueSize = Context.getTypeSize(valueType); in ConvertType() 752 uint64_t atomicSize = Context.getTypeSize(Ty); in ConvertType() 788 return Context.getTypeSize(type) != Context.getTypeSize(type->getValueType()); in isPaddedAtomicType()
|
H A D | CGDebugInfo.cpp | 706 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in CreateType() 811 unsigned SEW = CGM.getContext().getTypeSize(Info.ElementType); in CreateType() 958 uint64_t Size = CGM.getContext().getTypeSize(BT); in CreateType() 969 return DBuilder.createBasicType(Name, CGM.getContext().getTypeSize(Ty), in CreateType() 979 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType() 1177 Size = CGM.getContext().getTypeSize(Ty); in getOrCreateRecordFwdDecl() 1213 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreatePointerLikeType() 1253 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); in getOrCreateStructPtrType() 1283 uint64_t FieldSize = CGM.getContext().getTypeSize(Ty); in collectDefaultElementTypesForBlockPointer() 1316 uint64_t Size = CGM.getContext().getTypeSize(Ty); in CreateType() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SMTConv.h | 326 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 …]
|
/freebsd/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() 438 int TySize = getContext().getTypeSize(Ty); in extendType()
|
H A D | ARM.cpp | 290 uint64_t Size = getContext().getTypeSize(Ty); in coerceIllegalVector() 312 uint64_t Size = getContext().getTypeSize(VT); in classifyHomogeneousAggregate() 435 SizeRegs = (getContext().getTypeSize(Ty) + 31) / 32; in classifyArgumentType() 438 SizeRegs = (getContext().getTypeSize(Ty) + 63) / 64; in classifyArgumentType() 450 uint64_t Size = Context.getTypeSize(Ty); in isIntegerLikeType() 541 if (getContext().getTypeSize(RetTy) > 128) in classifyReturnType() 577 getVMContext(), getContext().getTypeSize(RetTy))); in classifyReturnType() 582 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 609 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 664 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() 364 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType() 382 if (getContext().getTypeSize(EltTy) <= FLen) { in classifyArgumentType() 518 int TySize = getContext().getTypeSize(Ty); in extendType()
|
H A D | SystemZ.cpp | 179 getContext().getTypeSize(Ty) <= 128); in isVectorArgumentType() 408 if (isCompoundType(RetTy) || getContext().getTypeSize(RetTy) > 64) in classifyReturnType() 429 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType() 432 getContext().getTypeSize(SingleElementTy) == Size) in classifyArgumentType() 499 Ctx.getTypeSize(SingleEltTy) == Ctx.getTypeSize(Ty); in isVectorTypeBased() 501 return Ctx.getTypeSize(Ty) / 8 <= 16; in isVectorTypeBased() 509 if (Ty->isVectorType() && Ctx.getTypeSize(Ty) / 8 >= 16) in isVectorTypeBased()
|
H A D | PPC.cpp | 378 return CharUnits::fromQuantity(getContext().getTypeSize(Ty) == 128 ? 16 in getParamTypeAlignment() 386 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment() 401 (Size = getContext().getTypeSize(RetTy)) <= 64) { in classifyReturnType() 453 bool isI64 = Ty->isIntegerType() && getContext().getTypeSize(Ty) == 64; in EmitVAArg() 455 bool isF64 = Ty->isFloatingType() && getContext().getTypeSize(Ty) == 64; in EmitVAArg() 647 if ((T->isVectorType() && getContext().getTypeSize(T) == 128) || in computeInfo() 745 return CharUnits::fromQuantity(getContext().getTypeSize(Ty) == 128 ? 16 : 8); in getParamTypeAlignment() 759 if ((EltType->isVectorType() && getContext().getTypeSize(EltType) == 128) || in getParamTypeAlignment() 803 if (getContext().getTypeSize(VT) == 128) in isHomogeneousAggregateBaseType() 817 : (getContext().getTypeSize(Base) + 63) / 64; in isHomogeneousAggregateSmallEnough() [all …]
|
H A D | X86.cpp | 67 unsigned VecSize = Context.getTypeSize(VT); in isX86VectorTypeForVectorCall() 310 uint64_t RetWidth = CGF.getContext().getTypeSize(ReturnSlot.getType()); in addReturnRegisterOutputs() 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() 498 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 546 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 651 unsigned Size = getContext().getTypeSize(Ty); in updateFreeRegs() 696 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() 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 | 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 | 97 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType() 109 if (getContext().getTypeSize(EltTy) <= FLen) { in classifyArgumentType()
|
H A D | NVPTX.cpp | 112 (T->isRealFloatingType() && Context.getTypeSize(T) == 128))) in isUnsupportedType() 118 Context.getTypeSize(T) > 64U) in isUnsupportedType() 143 const uint64_t Size = getContext().getTypeSize(Ty); in coerceToIntArrayWithLimit()
|
H A D | AArch64.cpp | 265 uint64_t Size = getContext().getTypeSize(Ty); in coerceIllegalVector() 320 uint64_t Size = getContext().getTypeSize(Ty); in classifyArgumentType() 397 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 128) in classifyReturnType() 414 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 472 uint64_t Size = getContext().getTypeSize(VT); in isIllegalVectorType() 514 unsigned VecSize = getContext().getTypeSize(VT); in isHomogeneousAggregateBaseType() 822 if (isAggregateTypeForABI(Ty) && getContext().getTypeSize(Ty) > 128) in EmitMSVAArg()
|
H A D | AMDGPU.cpp | 62 uint32_t NumRegs = (getContext().getTypeSize(Base) + 31) / 32; in isHomogeneousAggregateSmallEnough() 76 unsigned EltSize = getContext().getTypeSize(EltTy); in numRegsForType() 98 return (getContext().getTypeSize(Ty) + 31) / 32; in numRegsForType() 150 uint64_t Size = getContext().getTypeSize(RetTy); in classifyReturnType() 246 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() 398 int TySize = getContext().getTypeSize(Ty); in extendType()
|
/freebsd/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()
|
H A D | SemaCast.cpp | 2085 if (Context.getTypeSize(DestTy) == Context.getTypeSize(SrcTy)) { in CheckCompatibleReinterpretCast() 2212 && Self.Context.getTypeSize(DestType) > in checkIntToPointerCast() 2213 Self.Context.getTypeSize(SrcType)) { in checkIntToPointerCast() 2346 if (Self.Context.getTypeSize(DestMemPtr) != in TryReinterpretCast() 2347 Self.Context.getTypeSize(SrcMemPtr)) { in TryReinterpretCast() 2373 if (Self.Context.getTypeSize(SrcType) > in TryReinterpretCast() 2374 Self.Context.getTypeSize(DestType)) { in TryReinterpretCast() 2469 if ((Self.Context.getTypeSize(SrcType) > in TryReinterpretCast() 2470 Self.Context.getTypeSize(DestType))) { in TryReinterpretCast() 3170 if ((Self.Context.getTypeSize(SrcType) > in CheckCStyleCast() [all …]
|
/freebsd/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()
|