/netbsd-current/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | APSIntType.h | 20 uint32_t BitWidth; member in class:clang::ento::APSIntType 25 : BitWidth(Width), IsUnsigned(Unsigned) {} 28 : BitWidth(Value.getBitWidth()), IsUnsigned(Value.isUnsigned()) {} 30 uint32_t getBitWidth() const { return BitWidth; } 40 Value = Value.extOrTrunc(BitWidth); 56 return llvm::APSInt(BitWidth, IsUnsigned); 61 return llvm::APSInt::getMinValue(BitWidth, IsUnsigned); 66 return llvm::APSInt::getMaxValue(BitWidth, IsUnsigned); 70 return (llvm::APSInt(BitWidth, IsUnsigned) = RawValue); 92 return BitWidth [all...] |
/netbsd-current/external/apache2/llvm/dist/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) {} argument 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...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | KnownBits.cpp | 89 unsigned BitWidth = getBitWidth(); local 90 assert(0 < SrcBitWidth && SrcBitWidth <= BitWidth && 93 if (SrcBitWidth == BitWidth) 96 unsigned ExtBits = BitWidth - SrcBitWidth; 168 unsigned BitWidth = LHS.getBitWidth(); local 169 KnownBits Known(BitWidth); 172 if (RHS.isConstant() && RHS.getConstant().ult(BitWidth)) { 187 if (MinShiftAmount.ult(BitWidth)) { 189 MinTrailingZeros = std::min(MinTrailingZeros, BitWidth); 195 if (MaxShiftAmount.ult(BitWidth) 222 unsigned BitWidth = LHS.getBitWidth(); local 275 unsigned BitWidth = LHS.getBitWidth(); local 416 unsigned BitWidth = LHS.getBitWidth(); local 496 unsigned BitWidth = LHS.getBitWidth(); local 505 unsigned BitWidth = LHS.getBitWidth(); local 514 unsigned BitWidth = LHS.getBitWidth(); local 532 unsigned BitWidth = LHS.getBitWidth(); local 553 unsigned BitWidth = LHS.getBitWidth(); local [all...] |
H A D | APInt.cpp | 92 assert(BitWidth && "Bitwidth too small"); 109 : BitWidth(numBits) { 114 : BitWidth(numBits) { 119 : BitWidth(numbits) { 120 assert(BitWidth && "Bitwidth too small"); 127 BitWidth = NewBitWidth; 135 // Update BitWidth. 136 BitWidth = NewBitWidth; 160 ID.AddInteger(BitWidth); 194 assert(BitWidth [all...] |
/netbsd-current/sys/external/bsd/acpica/dist/executer/ |
H A D | exregion.c | 59 * BitWidth - Field width in bits (8, 16, or 32) 75 UINT32 BitWidth, 97 switch (BitWidth) 122 BitWidth)); 253 BitWidth, Function, ACPI_FORMAT_UINT64 (Address))); 268 switch (BitWidth) 292 /* BitWidth was already validated */ 300 switch (BitWidth) 324 /* BitWidth was already validated */ 346 * BitWidth 72 AcpiExSystemMemorySpaceHandler( UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext) argument 359 AcpiExSystemIoSpaceHandler( UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext) argument 424 AcpiExPciConfigSpaceHandler( UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext) argument 505 AcpiExCmosSpaceHandler( UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext) argument 542 AcpiExPciBarSpaceHandler( UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext) argument 579 AcpiExDataTableSpaceHandler( UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext) argument [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | PatternInit.cpp | 37 unsigned BitWidth = 39 if (BitWidth <= 64) 42 Ty, llvm::APInt::getSplat(BitWidth, llvm::APInt(64, IntValue))); 55 unsigned BitWidth = llvm::APFloat::semanticsSizeInBits( 58 if (BitWidth >= 64) 59 Payload = llvm::APInt::getSplat(BitWidth, Payload);
|
/netbsd-current/sys/external/bsd/acpica/dist/hardware/ |
H A D | hwregs.c | 84 * MaxBitWidth - Max BitWidth supported (32 or 64) 103 * 1. Detected if BitOffset is 0 and BitWidth is 8/16/32/64; 104 * 2. AccessSize field is ignored and BitWidth field is used for 107 * 1. Detected if BitOffset is not 0 or BitWidth is not 8/16/32/64; 110 * 3. BitOffset/BitWidth fields are used to describe the "region". 115 if (!Reg->BitOffset && Reg->BitWidth && 116 ACPI_IS_POWER_OF_TWO (Reg->BitWidth) && 117 ACPI_IS_ALIGNED (Reg->BitWidth, 8)) 119 AccessBitWidth = Reg->BitWidth; 128 Reg->BitOffset + Reg->BitWidth); 184 UINT8 BitWidth; local 265 UINT32 BitWidth; local 363 UINT32 BitWidth; local [all...] |
H A D | hwvalid.c | 55 UINT32 BitWidth); 118 * BitWidth Number of bits (8,16,32) 132 UINT32 BitWidth) 145 if ((BitWidth != 8) && 146 (BitWidth != 16) && 147 (BitWidth != 32)) 150 "Bad BitWidth parameter: %8.8X", BitWidth)); 155 ByteWidth = ACPI_DIV_8 (BitWidth); 130 AcpiHwValidateIoRequest( ACPI_IO_ADDRESS Address, UINT32 BitWidth) argument
|
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
H A D | APInt.h | 98 unsigned BitWidth; ///< The number of bits in this APInt. variable 108 APInt(uint64_t *val, unsigned bits) : BitWidth(bits) { 115 bool isSingleWord() const { return BitWidth <= APINT_BITS_PER_WORD; } 150 unsigned WordBits = ((BitWidth-1) % APINT_BITS_PER_WORD) + 1; 279 : BitWidth(numBits) { 280 assert(BitWidth && "bitwidth too small"); 322 APInt(const APInt &that) : BitWidth(that.BitWidth) { 330 APInt(APInt &&that) : BitWidth(that.BitWidth) { 560 getSignMask(unsigned BitWidth) argument [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | DemandedBits.cpp | 90 unsigned BitWidth = AB.getBitWidth(); local 99 [&](unsigned BitWidth, const Value *V1, const Value *V2) { 105 Known = KnownBits(BitWidth); 109 Known2 = KnownBits(BitWidth); 136 ComputeKnownBits(BitWidth, Val, nullptr); 137 AB = APInt::getHighBitsSet(BitWidth, 138 std::min(BitWidth, Known.countMaxLeadingZeros()+1)); 146 ComputeKnownBits(BitWidth, Val, nullptr); 147 AB = APInt::getLowBitsSet(BitWidth, 148 std::min(BitWidth, Know 409 unsigned BitWidth = T->getScalarSizeInBits(); local [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/Basic/Targets/ |
H A D | AVR.h | 156 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { 158 return BitWidth == 16 ? (IsSigned ? SignedInt : UnsignedInt) 159 : TargetInfo::getIntTypeByWidth(BitWidth, IsSigned); 162 IntType getLeastIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { 164 return BitWidth == 16 166 : TargetInfo::getLeastIntTypeByWidth(BitWidth, IsSigned);
|
H A D | WebAssembly.h | 114 IntType getIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { 116 return BitWidth == 64 ? (IsSigned ? SignedLongLong : UnsignedLongLong) 117 : TargetInfo::getIntTypeByWidth(BitWidth, IsSigned); 120 IntType getLeastIntTypeByWidth(unsigned BitWidth, bool IsSigned) const final { 122 return BitWidth == 64 124 : TargetInfo::getLeastIntTypeByWidth(BitWidth, IsSigned);
|
/netbsd-current/sys/external/bsd/acpica/dist/tools/acpiexec/ |
H A D | aeregion.c | 70 UINT32 BitWidth, 133 "Operation Region request on %s at 0x%X, BitWidth 0x%X, RegionLength 0x%X\n", 135 (UINT32) Address, BitWidth, (UINT32) Length)); 145 ByteWidth = (BitWidth / 8); 147 if (BitWidth % 8) 165 if (BitWidth == 64) 178 Status = AcpiHwReadPort (Address, &Value1, BitWidth); 186 if (BitWidth == 64) 197 Status = AcpiHwWritePort (Address, (UINT32) *Value, BitWidth); 242 "%s: Attr %X Addr %.4X BaseAddr %.4X Length %.2X BitWidth 67 AeRegionHandler( UINT32 Function, ACPI_PHYSICAL_ADDRESS Address, UINT32 BitWidth, UINT64 *Value, void *HandlerContext, void *RegionContext) argument [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | ConstantRange.h | 62 explicit ConstantRange(uint32_t BitWidth, bool isFullSet); 73 static ConstantRange getEmpty(uint32_t BitWidth) { argument 74 return ConstantRange(BitWidth, false); 78 static ConstantRange getFull(uint32_t BitWidth) { argument 79 return ConstantRange(BitWidth, true); 310 /// BitWidth is the target bitwidth of the cast. For casts which don't 315 uint32_t BitWidth) const; 320 /// zero extended to BitWidth. 321 ConstantRange zeroExtend(uint32_t BitWidth) const; 326 /// sign extended to BitWidth [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
H A D | APSIntType.cpp | 41 if (MinBits <= BitWidth)
|
/netbsd-current/sys/external/bsd/acpica/dist/tables/ |
H A D | tbfadt.c | 218 UINT8 BitWidth; local 223 * Check for BitWidth overflow in GAS. 225 BitWidth = (UINT8) (ByteWidth * 8); 229 * No error for GPE blocks, because we do not use the BitWidth 241 BitWidth = 255; 253 GenericAddress->BitWidth = BitWidth; 638 (Address64->BitWidth != ACPI_MUL_8 (Length))) 642 Name, ACPI_MUL_8 (Length), Address64->BitWidth)); 652 * AccessSize/BitWidth/BitOffse [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Operator.cpp | 147 const DataLayout &DL, unsigned BitWidth, 150 assert(BitWidth == DL.getIndexSizeInBits(getPointerAddressSpace()) && 154 Index = Index.sextOrTrunc(BitWidth); 155 APInt IndexedSize = APInt(BitWidth, Size); 182 CollectConstantOffset(APInt(BitWidth, SL->getElementOffset(ElementIdx)), 195 VariableOffsets.try_emplace(V, BitWidth, 0); 197 APInt(BitWidth, DL.getTypeAllocSize(GTI.getIndexedType())); 146 collectOffset( const DataLayout &DL, unsigned BitWidth, SmallDenseMap<Value *, APInt, 8> &VariableOffsets, APInt &ConstantOffset) const argument
|
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | ValueTypes.h | 59 static EVT getFloatingPointVT(unsigned BitWidth) { argument 60 return MVT::getFloatingPointVT(BitWidth); 65 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) { argument 66 MVT M = MVT::getIntegerVT(BitWidth); 69 return getExtendedIntegerVT(Context, BitWidth); 375 unsigned BitWidth = getSizeInBits(); local 376 if (BitWidth <= 8) 378 return getIntegerVT(Context, 1 << Log2_32_Ceil(BitWidth)); 481 static EVT getExtendedIntegerVT(LLVMContext &C, unsigned BitWidth);
|
/netbsd-current/sys/dev/acpi/ |
H A D | acpi_wdrt.c | 147 wdrt->ControlRegister.BitWidth); 345 val, sc->sc_control_reg.BitWidth); 349 __func__, sc->sc_control_reg.Address, sc->sc_control_reg.BitWidth, 363 val, sc->sc_control_reg.BitWidth); 367 __func__, sc->sc_control_reg.Address, sc->sc_control_reg.BitWidth, 382 val, sc->sc_count_reg.BitWidth); 386 __func__, sc->sc_count_reg.Address, sc->sc_count_reg.BitWidth, 401 val, sc->sc_count_reg.BitWidth); 405 __func__, sc->sc_count_reg.Address, sc->sc_count_reg.BitWidth,
|
H A D | apei_mapreg.c | 59 switch (reg->BitWidth) { 101 if (reg->BitWidth % (8*(1 << (reg->AccessWidth - 1)))) 154 unsigned i, n = reg->BitWidth / chunkbits; 225 unsigned i, n = reg->BitWidth / chunkbits;
|
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineSimplifyDemanded.cpp | 56 unsigned BitWidth = Inst.getType()->getScalarSizeInBits(); local 57 KnownBits Known(BitWidth); 58 APInt DemandedMask(APInt::getAllOnesValue(BitWidth)); 114 uint32_t BitWidth = DemandedMask.getBitWidth(); local 117 (!VTy->isIntOrIntVectorTy() || VTy->getScalarSizeInBits() == BitWidth) && 118 Known.getBitWidth() == BitWidth && 119 "Value *V, DemandedMask and Known must have same BitWidth"); 148 KnownBits LHSKnown(BitWidth), RHSKnown(BitWidth); 397 Known = InputKnown.zextOrTrunc(BitWidth); 862 unsigned BitWidth = DemandedMask.getBitWidth(); local 962 unsigned BitWidth = DemandedMask.getBitWidth(); local 1013 unsigned BitWidth = Ty->getScalarSizeInBits(); local [all...] |
/netbsd-current/external/apache2/llvm/dist/clang/lib/Basic/ |
H A D | TargetInfo.cpp | 250 unsigned BitWidth, bool IsSigned) const { 251 if (getCharWidth() == BitWidth) 253 if (getShortWidth() == BitWidth) 255 if (getIntWidth() == BitWidth) 257 if (getLongWidth() == BitWidth) 259 if (getLongLongWidth() == BitWidth) 264 TargetInfo::IntType TargetInfo::getLeastIntTypeByWidth(unsigned BitWidth, argument 266 if (getCharWidth() >= BitWidth) 268 if (getShortWidth() >= BitWidth) 270 if (getIntWidth() >= BitWidth) 249 getIntTypeByWidth( unsigned BitWidth, bool IsSigned) const argument 279 getRealTypeByWidth(unsigned BitWidth, bool ExplicitIEEE) const argument [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
H A D | GISelKnownBits.cpp | 76 unsigned BitWidth = Ty.getScalarSizeInBits(); local 77 return maskedValueIsZero(R, APInt::getSignMask(BitWidth)); 132 unsigned BitWidth = DstTy.getScalarSizeInBits(); local 138 assert(Known.getBitWidth() == BitWidth && "Cache entry size doesn't match"); 141 Known = KnownBits(BitWidth); // Don't know anything 186 Known.One = APInt::getAllOnesValue(BitWidth); 187 Known.Zero = APInt::getAllOnesValue(BitWidth); 201 ComputeKnownBitsCache[R] = KnownBits(BitWidth); 226 Known = KnownBits(BitWidth); 358 BitWidth > [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/utils/TableGen/ |
H A D | CodeEmitterGen.cpp | 60 unsigned BitWidth; member in class:__anon3265::CodeEmitterGen 362 o << " "; emitInstBits(o, APInt(BitWidth, 0)); o << ",\n"; 377 APInt Value(BitWidth, 0); 380 Value |= APInt(BitWidth, (uint64_t)B->getValue()) << (e - i - 1); 402 BitWidth = 0; 414 BitWidth = std::max(BitWidth, BI->getNumBits()); 421 BitWidth = std::max(BitWidth, BI->getNumBits()); 423 UseAPInt = BitWidth > 6 [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | SIRegisterInfo.cpp | 1866 getAnyVGPRClassForBitWidth(unsigned BitWidth) { argument 1867 if (BitWidth <= 64) 1869 if (BitWidth <= 96) 1871 if (BitWidth <= 128) 1873 if (BitWidth <= 160) 1875 if (BitWidth <= 192) 1877 if (BitWidth <= 256) 1879 if (BitWidth <= 512) 1881 if (BitWidth <= 1024) 1888 getAlignedVGPRClassForBitWidth(unsigned BitWidth) { argument 1922 getAnyAGPRClassForBitWidth(unsigned BitWidth) argument 1944 getAlignedAGPRClassForBitWidth(unsigned BitWidth) argument 1976 getSGPRClassForBitWidth(unsigned BitWidth) argument [all...] |