| /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| APSIntType.h | 20 uint32_t BitWidth; 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 == Other.BitWidth && IsUnsigned == Other.IsUnsigned [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| KnownBits.h | 36 /// Create a known bits object of BitWidth bits initialized to unknown. 37 KnownBits(unsigned BitWidth) : Zero(BitWidth, 0), One(BitWidth, 0) {} 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...] |
| /src/external/apache2/llvm/dist/llvm/lib/Support/ |
| KnownBits.cpp | 89 unsigned BitWidth = getBitWidth(); 90 assert(0 < SrcBitWidth && SrcBitWidth <= BitWidth && 93 if (SrcBitWidth == BitWidth) 96 unsigned ExtBits = BitWidth - SrcBitWidth; 168 unsigned BitWidth = LHS.getBitWidth(); 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) && !LHS.isUnknown()) [all...] |
| 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 [all...] |
| /src/sys/external/bsd/acpica/dist/executer/ |
| exregion.c | 59 * BitWidth - Field width in bits (8, 16, or 32) 75 UINT32 BitWidth, 96 switch (BitWidth) 121 BitWidth)); 234 BitWidth, Function, ACPI_FORMAT_UINT64 (Address))); 249 switch (BitWidth) 273 /* BitWidth was already validated */ 281 switch (BitWidth) 305 /* BitWidth was already validated */ 327 * BitWidth - Field width in bits (8, 16, or 32 [all...] |
| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| 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);
|
| /src/sys/external/bsd/acpica/dist/hardware/ |
| 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); [all...] |
| 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);
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/ |
| APInt.h | 98 unsigned BitWidth; ///< The number of bits in this APInt. 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) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| DemandedBits.cpp | 90 unsigned BitWidth = AB.getBitWidth(); 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, Known.countMaxTrailingZeros()+1)) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Basic/Targets/ |
| 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);
|
| 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);
|
| /src/sys/external/bsd/acpica/dist/tools/acpiexec/ |
| 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 %X BufLen %X\n" [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
| ConstantRange.h | 50 /// Create empty constant range with same bitwidth. 55 /// Create full constant range with same bitwidth. 62 explicit ConstantRange(uint32_t BitWidth, bool isFullSet); 73 static ConstantRange getEmpty(uint32_t BitWidth) { 74 return ConstantRange(BitWidth, false); 78 static ConstantRange getFull(uint32_t BitWidth) { 79 return ConstantRange(BitWidth, true); 310 /// BitWidth is the target bitwidth of the cast. For casts which don't 311 /// change bitwidth, it must be the same as the source bitwidth. For cast [all...] |
| /src/sys/external/bsd/acpica/dist/tables/ |
| tbfadt.c | 218 UINT8 BitWidth; 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; 636 * Also skip if BitWidth is 0, indicating the 64-bit field 640 (Address64->BitWidth != 0) && 641 (Address64->BitWidth != ACPI_MUL_8 (Length)) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
| APSIntType.cpp | 41 if (MinBits <= BitWidth)
|
| /src/external/apache2/llvm/dist/llvm/lib/IR/ |
| 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()));
|
| /src/sys/dev/acpi/ |
| 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,
|
| 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;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| ValueTypes.h | 59 static EVT getFloatingPointVT(unsigned BitWidth) { 60 return MVT::getFloatingPointVT(BitWidth); 65 static EVT getIntegerVT(LLVMContext &Context, unsigned BitWidth) { 66 MVT M = MVT::getIntegerVT(BitWidth); 69 return getExtendedIntegerVT(Context, BitWidth); 93 /// bitwidth. 375 unsigned BitWidth = getSizeInBits(); 376 if (BitWidth <= 8) 378 return getIntegerVT(Context, 1 << Log2_32_Ceil(BitWidth)); 481 static EVT getExtendedIntegerVT(LLVMContext &C, unsigned BitWidth); [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| InstCombineSimplifyDemanded.cpp | 56 unsigned BitWidth = Inst.getType()->getScalarSizeInBits(); 57 KnownBits Known(BitWidth); 58 APInt DemandedMask(APInt::getAllOnesValue(BitWidth)); 100 /// also that the bitwidth of V, DemandedMask, Known.Zero and Known.One must all 114 uint32_t BitWidth = DemandedMask.getBitWidth(); 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); [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Basic/ |
| 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, 266 if (getCharWidth() >= BitWidth) 268 if (getShortWidth() >= BitWidth) 270 if (getIntWidth() >= BitWidth) [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/ |
| GISelKnownBits.cpp | 76 unsigned BitWidth = Ty.getScalarSizeInBits(); 77 return maskedValueIsZero(R, APInt::getSignMask(BitWidth)); 132 unsigned BitWidth = DstTy.getScalarSizeInBits(); 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 > 1 [all...] |
| /src/external/apache2/llvm/dist/llvm/utils/TableGen/ |
| CodeEmitterGen.cpp | 60 unsigned BitWidth; 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 > 64 [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| SIRegisterInfo.cpp | 1866 getAnyVGPRClassForBitWidth(unsigned BitWidth) { 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) { [all...] |