| /freebsd-src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | APSIntType.h | 20 uint32_t BitWidth; variable 25 : BitWidth(Width), IsUnsigned(Unsigned) {} in APSIntType() 28 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} in APSIntType() 30 uint32_t getBitWidth() const { return BitWidth; } in getBitWidth() 40 Value = Value.extOrTrunc(BitWidth); in apply() 56 return llvm::APSInt(BitWidth, IsUnsigned); in getZeroValue() 61 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); in getMinValue() 66 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); in getMaxValue() 70 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); in getValue() 92 return BitWidth == Other.BitWidth && IsUnsigned == Other.IsUnsigned; [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | DemandedBits.cpp | 58 unsigned BitWidth = AB.getBitWidth(); in determineLiveOperandBits() local 67 [&](unsigned BitWidth, const Value *V1, const Value *V2) { in determineLiveOperandBits() argument 73 Known = KnownBits(BitWidth); in determineLiveOperandBits() 77 Known2 = KnownBits(BitWidth); in determineLiveOperandBits() 104 ComputeKnownBits(BitWidth, Val, nullptr); in determineLiveOperandBits() 105 AB = APInt::getHighBitsSet(BitWidth, in determineLiveOperandBits() 106 std::min(BitWidth, Known.countMaxLeadingZeros()+1)); in determineLiveOperandBits() 114 ComputeKnownBits(BitWidth, Val, nullptr); in determineLiveOperandBits() 115 AB = APInt::getLowBitsSet(BitWidth, in determineLiveOperandBits() 116 std::min(BitWidth, Know in determineLiveOperandBits() 366 unsigned BitWidth = T->getScalarSizeInBits(); performAnalysis() local 415 unsigned BitWidth = DL.getTypeSizeInBits(T->getScalarType()); getDemandedBits() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | KnownBits.h | 36 /// Create a known bits object of BitWidth bits initialized to unknown. 37 KnownBits(unsigned BitWidth) : Zero(BitWidth, 0), One(BitWidth, 0) {} in KnownBits() 150 KnownBits trunc(unsigned BitWidth) const { 151 return KnownBits(Zero.trunc(BitWidth), One.trunc(BitWidth)); 156 KnownBits anyext(unsigned BitWidth) const { 157 return KnownBits(Zero.zext(BitWidth), One.zext(BitWidth)); [all...] |
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | APInt.h | 112 : BitWidth(numBits) { in BitWidth() 156 APInt(const APInt &that) : BitWidth(that.BitWidth) { in APInt() 164 APInt(APInt &&that) : BitWidth(that.BitWidth) { in APInt() 166 that.BitWidth = 0; 209 static APInt getSignMask(unsigned BitWidth) { in getSignMask() 210 return getSignedMinValue(BitWidth); 302 bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; } 309 bool isNegative() const { return (*this)[BitWidth 110 : BitWidth(numBits) { BitWidth() function 207 getSignMask(unsigned BitWidth) getSignMask() argument 1448 getNumWords(unsigned BitWidth) getNumWords() argument 1871 unsigned BitWidth = 1; ///< The number of bits in this APInt. global() variable [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Support/ |
| H A D | KnownBits.cpp | 54 unsigned BitWidth = LHS.getBitWidth(); in computeForAddCarry() 55 KnownBits KnownOut(BitWidth); in computeForAddCarry() 83 unsigned NumBits = MinVal.trunc(BitWidth - 1).countl_one(); in computeForAddSub() 86 KnownOut.One.setBits(BitWidth - 1 - NumBits, BitWidth - 1); in computeForAddSub() 97 unsigned NumBits = MaxVal.trunc(BitWidth - 1).countl_zero(); in computeForSubBorrow() 98 KnownOut.Zero.setBits(BitWidth - 1 - NumBits, BitWidth - 1); in computeForSubBorrow() 119 unsigned NumBits = MinVal.trunc(BitWidth - 1).countl_one(); in makeGE() 120 KnownOut.One.setBits(BitWidth in makeGE() 101 unsigned BitWidth = getBitWidth(); sextInReg() local 179 getMaxShiftAmount(const APInt & MaxValue,unsigned BitWidth) getMaxShiftAmount() argument 188 unsigned BitWidth = LHS.getBitWidth(); shl() local 273 unsigned BitWidth = LHS.getBitWidth(); lshr() local 319 unsigned BitWidth = LHS.getBitWidth(); ashr() local 493 unsigned BitWidth = Res.getBitWidth(); computeForSatAddSub() local 649 unsigned BitWidth = LHS.getBitWidth(); mul() local 746 unsigned BitWidth = LHS.getBitWidth(); mulhs() local 755 unsigned BitWidth = LHS.getBitWidth(); mulhu() local 805 unsigned BitWidth = LHS.getBitWidth(); sdiv() local 860 unsigned BitWidth = LHS.getBitWidth(); udiv() local 888 unsigned BitWidth = LHS.getBitWidth(); remGetLowBits() local 972 unsigned BitWidth = getBitWidth(); blsi() local 983 unsigned BitWidth = getBitWidth(); blsmsk() local 993 unsigned BitWidth = getBitWidth(); print() local [all...] |
| H A D | APInt.cpp | 106 APInt::APInt(unsigned numBits, ArrayRef<uint64_t> bigVal) : BitWidth(numBits) { in APInt() 111 : BitWidth(numBits) { in APInt() 116 : BitWidth(numbits) { in APInt() 123 BitWidth = NewBitWidth; in reallocate() 131 // Update BitWidth. in reallocate() 132 BitWidth = NewBitWidth; in reallocate() 156 ID.AddInteger(BitWidth); in Profile() 198 assert(BitWidth == RHS.BitWidth && "Bit widths must be the same"); in operator +=() 218 assert(BitWidth in operator -=() 1093 rotateModulo(unsigned BitWidth,const APInt & rotateAmt) rotateModulo() argument 1767 unsigned BitWidth = LHS.BitWidth; udivrem() local 1838 unsigned BitWidth = LHS.BitWidth; udivrem() local [all...] |
| /freebsd-src/sys/contrib/dev/acpica/components/executer/ |
| H A D | exregion.c | 167 * BitWidth - Field width in bits (8, 16, or 32) 183 UINT32 BitWidth, in AcpiExSystemMemorySpaceHandler() argument 204 switch (BitWidth) in AcpiExSystemMemorySpaceHandler() 229 BitWidth)); in AcpiExSystemMemorySpaceHandler() 342 BitWidth, Function, ACPI_FORMAT_UINT64 (Address))); in AcpiExSystemMemorySpaceHandler() 357 switch (BitWidth) in AcpiExSystemMemorySpaceHandler() 381 /* BitWidth was already validated */ in AcpiExSystemMemorySpaceHandler() 389 switch (BitWidth) in AcpiExSystemMemorySpaceHandler() 413 /* BitWidth was already validated */ in AcpiExSystemMemorySpaceHandler() 435 * BitWidth in AcpiExSystemMemorySpaceHandler() 470 AcpiExSystemIoSpaceHandler(UINT32 Function,ACPI_PHYSICAL_ADDRESS Address,UINT32 BitWidth,UINT64 * Value,void * HandlerContext,void * RegionContext) AcpiExSystemIoSpaceHandler() argument 535 AcpiExPciConfigSpaceHandler(UINT32 Function,ACPI_PHYSICAL_ADDRESS Address,UINT32 BitWidth,UINT64 * Value,void * HandlerContext,void * RegionContext) AcpiExPciConfigSpaceHandler() argument 616 AcpiExCmosSpaceHandler(UINT32 Function,ACPI_PHYSICAL_ADDRESS Address,UINT32 BitWidth,UINT64 * Value,void * HandlerContext,void * RegionContext) AcpiExCmosSpaceHandler() argument 653 AcpiExPciBarSpaceHandler(UINT32 Function,ACPI_PHYSICAL_ADDRESS Address,UINT32 BitWidth,UINT64 * Value,void * HandlerContext,void * RegionContext) AcpiExPciBarSpaceHandler() argument 690 AcpiExDataTableSpaceHandler(UINT32 Function,ACPI_PHYSICAL_ADDRESS Address,UINT32 BitWidth,UINT64 * Value,void * HandlerContext,void * RegionContext) AcpiExDataTableSpaceHandler() argument [all...] |
| /freebsd-src/sys/contrib/dev/acpica/components/hardware/ |
| H A D | hwregs.c | 192 * MaxBitWidth - Max BitWidth supported (32 or 64) 211 * 1. Detected if BitOffset is 0 and BitWidth is 8/16/32/64; in AcpiHwGetAccessBitWidth() 212 * 2. AccessSize field is ignored and BitWidth field is used for in AcpiHwGetAccessBitWidth() 215 * 1. Detected if BitOffset is not 0 or BitWidth is not 8/16/32/64; in AcpiHwGetAccessBitWidth() 218 * 3. BitOffset/BitWidth fields are used to describe the "region". in AcpiHwGetAccessBitWidth() 223 if (!Reg->BitOffset && Reg->BitWidth && in AcpiHwGetAccessBitWidth() 224 ACPI_IS_POWER_OF_TWO (Reg->BitWidth) && in AcpiHwGetAccessBitWidth() 225 ACPI_IS_ALIGNED (Reg->BitWidth, 8)) in AcpiHwGetAccessBitWidth() 227 AccessBitWidth = Reg->BitWidth; in AcpiHwGetAccessBitWidth() 236 Reg->BitOffset + Reg->BitWidth); in AcpiHwGetAccessBitWidth() 292 UINT8 BitWidth; AcpiHwValidateRegister() local 373 UINT32 BitWidth; AcpiHwRead() local 471 UINT32 BitWidth; AcpiHwWrite() local [all...] |
| H A D | hwvalid.c | 163 UINT32 BitWidth); 226 * BitWidth Number of bits (8,16,32) 240 UINT32 BitWidth) in AcpiHwValidateIoRequest() argument 253 if ((BitWidth != 8) && in AcpiHwValidateIoRequest() 254 (BitWidth != 16) && in AcpiHwValidateIoRequest() 255 (BitWidth != 32)) in AcpiHwValidateIoRequest() 258 "Bad BitWidth parameter: %8.8X", BitWidth)); in AcpiHwValidateIoRequest() 263 ByteWidth = ACPI_DIV_8 (BitWidth); in AcpiHwValidateIoRequest()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ExpandLargeFpConvert.cpp | 96 unsigned BitWidth = FPToI->getType()->getIntegerBitWidth(); in expandFPToI() local 124 Builder.getIntN(BitWidth, 1), Builder.getIntN(BitWidth, FPMantissaWidth)); in expandFPToI() 126 Builder.CreateSub(ImplicitBit, Builder.getIntN(BitWidth, 1)); in expandFPToI() 131 ConstantInt::getSigned(IntTy, BitWidth - 1)); in expandFPToI() 167 Builder.CreateLShr(ARep, Builder.getIntN(BitWidth, FPMantissaWidth)); in expandFPToI() 169 And, Builder.getIntN(BitWidth, (1 << ExponentWidth) - 1)); in expandFPToI() 173 Builder.CreateICmpULT(And2, Builder.getIntN(BitWidth, ExponentBias)); in expandFPToI() 180 IntTy, -static_cast<int64_t>(ExponentBias + BitWidth))); in expandFPToI() 182 Add1, ConstantInt::getSigned(IntTy, -static_cast<int64_t>(BitWidth))); in expandFPToI() 313 unsigned BitWidth = IntVal->getType()->getIntegerBitWidth(); expandIToFP() local [all...] |
| /freebsd-src/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | APNumericStorage.h | 31 unsigned BitWidth; variable 33 bool hasAllocation() const { return llvm::APInt::getNumWords(BitWidth) > 1; } in hasAllocation() 39 APNumericStorage() : VAL(0), BitWidth(0) {} in APNumericStorage() 42 unsigned NumWords = llvm::APInt::getNumWords(BitWidth); in getIntValue() 44 return llvm::APInt(BitWidth, NumWords, pVal); in getIntValue() 46 return llvm::APInt(BitWidth, VAL); in getIntValue()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | SIRegisterInfo.cpp | 2612 getAnyVGPRClassForBitWidth(unsigned BitWidth) { in getAnyVGPRClassForBitWidth() 2613 if (BitWidth == 64) in getAnyVGPRClassForBitWidth() 2615 if (BitWidth == 96) in getAnyVGPRClassForBitWidth() 2617 if (BitWidth == 128) in getAnyVGPRClassForBitWidth() 2619 if (BitWidth == 160) in getAnyVGPRClassForBitWidth() 2621 if (BitWidth == 192) in getAnyVGPRClassForBitWidth() 2623 if (BitWidth == 224) in getAnyVGPRClassForBitWidth() 2625 if (BitWidth == 256) in getAnyVGPRClassForBitWidth() 2627 if (BitWidth == 288) in getAnyVGPRClassForBitWidth() 2629 if (BitWidth in getAnyVGPRClassForBitWidth() 2603 getAnyVGPRClassForBitWidth(unsigned BitWidth) getAnyVGPRClassForBitWidth() argument 2635 getAlignedVGPRClassForBitWidth(unsigned BitWidth) getAlignedVGPRClassForBitWidth() argument 2679 getAnyAGPRClassForBitWidth(unsigned BitWidth) getAnyAGPRClassForBitWidth() argument 2711 getAlignedAGPRClassForBitWidth(unsigned BitWidth) getAlignedAGPRClassForBitWidth() argument 2753 getAnyVectorSuperClassForBitWidth(unsigned BitWidth) getAnyVectorSuperClassForBitWidth() argument 2785 getAlignedVectorSuperClassForBitWidth(unsigned BitWidth) getAlignedVectorSuperClassForBitWidth() argument 2826 getSGPRClassForBitWidth(unsigned BitWidth) getSGPRClassForBitWidth() argument [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelKnownBits.cpp | 90 unsigned BitWidth = Ty.getScalarSizeInBits(); in getKnownZeroes() 91 return maskedValueIsZero(R, APInt::getSignMask(BitWidth)); in getKnownZeroes() 133 static KnownBits extractBits(unsigned BitWidth, const KnownBits &SrcOpKnown, in extractBits() 136 KnownBits Mask(BitWidth); in extractBits() 138 BitWidth, WidthKnown.getMaxValue().getLimitedValue(BitWidth)); 140 BitWidth, WidthKnown.getMinValue().getLimitedValue(BitWidth)); in computeKnownBitsImpl() 160 unsigned BitWidth = DstTy.getScalarSizeInBits(); in computeKnownBitsImpl() 166 assert(Known.getBitWidth() == BitWidth in computeKnownBitsImpl() 85 unsigned BitWidth = Ty.getScalarSizeInBits(); signBitIsZero() local 128 extractBits(unsigned BitWidth,const KnownBits & SrcOpKnown,const KnownBits & OffsetKnown,const KnownBits & WidthKnown) extractBits() argument 155 unsigned BitWidth = DstTy.getScalarSizeInBits(); computeKnownBitsImpl() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ConstantRange.h | 62 explicit ConstantRange(uint32_t BitWidth, bool isFullSet); 73 static ConstantRange getEmpty(uint32_t BitWidth) { in getEmpty() argument 74 return ConstantRange(BitWidth, false); in getEmpty() 78 static ConstantRange getFull(uint32_t BitWidth) { in getFull() argument 79 return ConstantRange(BitWidth, true); in getFull() 354 /// BitWidth is the target bitwidth of the cast. For casts which don't 359 uint32_t BitWidth) const; 364 /// zero extended to BitWidth. 365 ConstantRange zeroExtend(uint32_t BitWidth) const; 370 /// sign extended to BitWidth [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 455 unsigned BitWidth = Ty->getScalarSizeInBits(); in commonShiftTransforms() 464 AddC->isNegative() && (-*AddC).ult(BitWidth)) { in commonShiftTransforms() 511 if (match(Op1, m_Or(m_Value(), m_SpecificInt(BitWidth - 1)))) in canEvaluateShiftedShift() 512 return replaceOperand(I, 1, ConstantInt::get(Ty, BitWidth - 1)); in canEvaluateShiftedShift() 985 unsigned BitWidth = KnownCnt.getBitWidth(); in setShiftFlags() 988 uint64_t MaxCnt = KnownCnt.getMaxValue().getLimitedValue(BitWidth - 1); in setShiftFlags() 1037 unsigned BitWidth = Ty->getScalarSizeInBits(); in visitShl() 1055 APInt Mask(APInt::getHighBitsSet(BitWidth, BitWidth - ShAmtC)); in visitShl() 1061 C1->ult(BitWidth)) { in visitShl() 445 unsigned BitWidth = Ty->getScalarSizeInBits(); commonShiftTransforms() local 966 unsigned BitWidth = KnownCnt.getBitWidth(); setShiftFlags() local 1018 unsigned BitWidth = Ty->getScalarSizeInBits(); visitShl() local 1250 unsigned BitWidth = Ty->getScalarSizeInBits(); visitLShr() local 1577 unsigned BitWidth = Ty->getScalarSizeInBits(); visitAShr() local [all...] |
| H A D | InstCombineSimplifyDemanded.cpp | 60 if (unsigned BitWidth = Ty->getScalarSizeInBits()) in getBitWidth() local 61 return BitWidth; in getBitWidth() 164 uint32_t BitWidth = DemandedMask.getBitWidth(); in SimplifyDemandedUseBits() 167 (!VTy->isIntOrIntVectorTy() || VTy->getScalarSizeInBits() == BitWidth) && in SimplifyDemandedUseBits() 168 Known.getBitWidth() == BitWidth && in SimplifyDemandedUseBits() 169 "Value *V, DemandedMask and Known must have same BitWidth"); in SimplifyDemandedUseBits() 171 KnownBits LHSKnown(BitWidth), RHSKnown(BitWidth); in SimplifyDemandedUseBits() 193 DemandedFromOps = APInt::getLowBitsSet(BitWidth, BitWidth in SimplifyDemandedUseBits() 132 uint32_t BitWidth = DemandedMask.getBitWidth(); SimplifyDemandedUseBits() local 1091 unsigned BitWidth = DemandedMask.getBitWidth(); SimplifyMultipleUseDemandedBits() local 1219 unsigned BitWidth = DemandedMask.getBitWidth(); SimplifyMultipleUseDemandedBits() local 1270 unsigned BitWidth = Ty->getScalarSizeInBits(); simplifyShrShlDemandedBits() local [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | PatternInit.cpp | 37 unsigned BitWidth = in initializationPatternFor() local 39 if (BitWidth <= 64) in initializationPatternFor() 42 Ty, llvm::APInt::getSplat(BitWidth, llvm::APInt(64, IntValue))); in initializationPatternFor() 55 unsigned BitWidth = llvm::APFloat::semanticsSizeInBits( in initializationPatternFor() local 58 if (BitWidth >= 64) in initializationPatternFor() 59 Payload = llvm::APInt::getSplat(BitWidth, Payload); in initializationPatternFor()
|
| /freebsd-src/sys/contrib/dev/acpica/components/tables/ |
| H A D | tbfadt.c | 326 UINT8 BitWidth; in AcpiTbInitGenericAddress() local 331 * Check for BitWidth overflow in GAS. in AcpiTbInitGenericAddress() 333 BitWidth = (UINT8) (ByteWidth * 8); in AcpiTbInitGenericAddress() 337 * No error for GPE blocks, because we do not use the BitWidth in AcpiTbInitGenericAddress() 349 BitWidth = 255; in AcpiTbInitGenericAddress() 361 GenericAddress->BitWidth = BitWidth; in AcpiTbInitGenericAddress() 741 (Address64->BitWidth != ACPI_MUL_8 (Length))) in AcpiTbConvertFadt() 745 Name, ACPI_MUL_8 (Length), Address64->BitWidth)); in AcpiTbConvertFadt() 755 * AccessSize/BitWidth/BitOffse in AcpiTbConvertFadt() [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | AVR.h | 159 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getIntTypeByWidth() argument 161 return BitWidth == 16 ? (IsSigned ? SignedInt : UnsignedInt) in getIntTypeByWidth() 162 : TargetInfo::getIntTypeByWidth(BitWidth, IsSigned); in getIntTypeByWidth() 165 IntType getLeastIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { in getLeastIntTypeByWidth() argument 167 return BitWidth == 16 in getLeastIntTypeByWidth() 169 : TargetInfo::getLeastIntTypeByWidth(BitWidth, IsSigned); in getLeastIntTypeByWidth()
|
| /freebsd-src/contrib/llvm-project/llvm/lib/InterfaceStub/ |
| H A D | IFSHandler.cpp | 108 IO.mapOptional("BitWidth", Target.BitWidth); in mapping() 224 !CopyStub->Target.BitWidth)) in writeIFSToOutputStream() 253 if (Stub.Target.BitWidth && *Stub.Target.BitWidth != *OverrideBitWidth) { in overrideIFSTarget() 257 Stub.Target.BitWidth = *OverrideBitWidth; in overrideIFSTarget() 272 if (Stub.Target.Arch || Stub.Target.BitWidth || Stub.Target.Endianness || in validateIFSTarget() 281 Stub.Target.BitWidth = TargetFromTriple.BitWidth; in validateIFSTarget() 286 if (!Stub.Target.Arch || !Stub.Target.BitWidth || !Stub.Target.Endianness) { in validateIFSTarget() 292 if (!Stub.Target.BitWidth) { in validateIFSTarget() 323 RetTarget.BitWidth = in parseTriple() 338 Stub.Target.BitWidth.reset(); in stripIFSTarget() [all …]
|
| /freebsd-src/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | IntegralAP.h | 59 IntegralAP(T Value, unsigned BitWidth) in IntegralAP() argument 60 : V(APInt(BitWidth, static_cast<uint64_t>(Value), Signed)) {} in IntegralAP() 114 static IntegralAP from(Integral<Bits, InputSigned> I, unsigned BitWidth) { in from() argument 115 APInt Copy = APInt(BitWidth, static_cast<uint64_t>(I), InputSigned); in from() 120 static IntegralAP zero(int32_t BitWidth) { in zero() argument 121 APInt V = APInt(BitWidth, 0LL, Signed); in zero() 156 IntegralAP truncate(unsigned BitWidth) const { in truncate() argument 158 return IntegralAP(V.trunc(BitWidth).sextOrTrunc(this->bitWidth())); in truncate() 160 return IntegralAP(V.trunc(BitWidth).zextOrTrunc(this->bitWidth())); in toUnsigned() 271 // 4 bytes for the BitWidth followe in CheckAddSubMulUB() 269 CheckAddSubMulUB(const IntegralAP & A,const IntegralAP & B,unsigned BitWidth,IntegralAP * R) CheckAddSubMulUB() argument [all...] |
| /freebsd-src/contrib/llvm-project/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 287 unsigned BitWidth, bool IsSigned) const { in getIntTypeByWidth() 288 if (getCharWidth() == BitWidth) in getIntTypeByWidth() 290 if (getShortWidth() == BitWidth) in getIntTypeByWidth() 292 if (getIntWidth() == BitWidth) in getIntTypeByWidth() 294 if (getLongWidth() == BitWidth) in getIntTypeByWidth() 296 if (getLongLongWidth() == BitWidth) in getIntTypeByWidth() 301 TargetInfo::IntType TargetInfo::getLeastIntTypeByWidth(unsigned BitWidth, in getLeastIntTypeByWidth() 303 if (getCharWidth() >= BitWidth) in getLeastIntTypeByWidth() 305 if (getShortWidth() >= BitWidth) in getLeastIntTypeByWidth() 307 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth() 286 getIntTypeByWidth(unsigned BitWidth,bool IsSigned) const getIntTypeByWidth() argument 300 getLeastIntTypeByWidth(unsigned BitWidth,bool IsSigned) const getLeastIntTypeByWidth() argument 315 getRealTypeByWidth(unsigned BitWidth,FloatModeKind ExplicitType) const getRealTypeByWidth() argument [all...] |
| /freebsd-src/contrib/llvm-project/llvm/lib/IR/ |
| H A D | ConstantRange.cpp | 44 ConstantRange::ConstantRange(uint32_t BitWidth, bool Full) in ConstantRange() argument 45 : Lower(Full ? APInt::getMaxValue(BitWidth) : APInt::getMinValue(BitWidth)), in ConstantRange() 278 unsigned BitWidth = V.getBitWidth(); in makeExactMulNSWRegion() 283 APIntOps::RoundingUDiv(APInt::getMinValue(BitWidth), V, 285 APIntOps::RoundingUDiv(APInt::getMaxValue(BitWidth), V, in makeGuaranteedNoWrapRegion() 292 unsigned BitWidth = V.getBitWidth(); in makeGuaranteedNoWrapRegion() 294 return ConstantRange::getFull(BitWidth); in makeGuaranteedNoWrapRegion() 296 APInt MinValue = APInt::getSignedMinValue(BitWidth); in makeGuaranteedNoWrapRegion() 297 APInt MaxValue = APInt::getSignedMaxValue(BitWidth); in makeGuaranteedNoWrapRegion() local 249 unsigned BitWidth = V.getBitWidth(); makeExactMulNUWRegion() local 263 unsigned BitWidth = V.getBitWidth(); makeExactMulNSWRegion() local 1754 unsigned BitWidth = Lower.getBitWidth(); getUnsignedCountTrailingZerosRange() local 1775 unsigned BitWidth = getBitWidth(); cttz() local 1822 unsigned BitWidth = Lower.getBitWidth(); getUnsignedPopCountRange() local 1847 unsigned BitWidth = getBitWidth(); ctpop() local [all...] |
| H A D | DataLayout.cpp | 126 uint32_t BitWidth) { in get() argument 131 retval.TypeBitWidth = BitWidth; in get() 580 uint32_t BitWidth) { in findAlignmentLowerBound() argument 581 return partition_point(Alignments, [BitWidth](const LayoutAlignElem &E) { in findAlignmentLowerBound() 582 return E.TypeBitWidth < BitWidth; in findAlignmentLowerBound() 587 Align PrefAlign, uint32_t BitWidth) { in setAlignment() argument 593 if (!isUInt<24>(BitWidth)) in setAlignment() 616 auto I = partition_point(*Alignments, [BitWidth](const LayoutAlignElem &E) { in setAlignment() 617 return E.TypeBitWidth < BitWidth; in setAlignment() 619 if (I != Alignments->end() && I->TypeBitWidth == BitWidth) { in setAlignment() 672 getIntegerAlignment(uint32_t BitWidth,bool abi_or_pref) const getIntegerAlignment() argument 825 unsigned BitWidth = getTypeSizeInBits(Ty).getFixedValue(); getAlignment() local 841 unsigned BitWidth = getTypeSizeInBits(Ty).getKnownMinValue(); getAlignment() local 951 unsigned BitWidth = Offset.getBitWidth(); getElementIndex() local [all...] |
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/InterfaceStub/ |
| H A D | IFSStub.h | 70 std::optional<IFSBitWidthType> BitWidth; member 76 if (Lhs.Arch != Rhs.Arch || Lhs.BitWidth != Rhs.BitWidth || 119 uint8_t convertIFSBitWidthToELF(IFSBitWidthType BitWidth); 138 IFSBitWidthType convertELFBitWidthToIFS(uint8_t BitWidth);
|