Searched refs:numBits (Results 1 - 19 of 19) sorted by relevance

/freebsd-9.3-release/contrib/llvm/include/llvm/ADT/
H A DAPInt.h172 void fromString(unsigned numBits, StringRef str, uint8_t radix);
184 void initSlowCase(unsigned numBits, uint64_t val, bool isSigned);
226 /// \brief Create a new APInt of numBits width, initialized as val.
233 /// \param numBits the bit width of the constructed APInt
236 APInt(unsigned numBits, uint64_t val, bool isSigned = false) argument
237 : BitWidth(numBits), VAL(0) {
242 initSlowCase(numBits, val, isSigned);
246 /// \brief Construct an APInt of numBits width, initialized as bigVal[].
251 /// \param numBits the bit width of the constructed APInt
253 APInt(unsigned numBits, ArrayRe
418 getMaxValue(unsigned numBits) argument
423 getSignedMaxValue(unsigned numBits) argument
430 getMinValue(unsigned numBits) argument
433 getSignedMinValue(unsigned numBits) argument
450 getAllOnesValue(unsigned numBits) argument
457 getNullValue(unsigned numBits) argument
476 getOneBitSet(unsigned numBits, unsigned BitNo) argument
495 getBitsSet(unsigned numBits, unsigned loBit, unsigned hiBit) argument
[all...]
H A DAPSInt.h254 static APSInt getMaxValue(uint32_t numBits, bool Unsigned) { argument
255 return APSInt(Unsigned ? APInt::getMaxValue(numBits)
256 : APInt::getSignedMaxValue(numBits), Unsigned);
261 static APSInt getMinValue(uint32_t numBits, bool Unsigned) { argument
262 return APSInt(Unsigned ? APInt::getMinValue(numBits)
263 : APInt::getSignedMinValue(numBits), Unsigned);
/freebsd-9.3-release/sys/net80211/
H A Dieee80211_phy.c402 uint32_t bitsPerSymbol, numBits, numSymbols, phyTime, txTime; local
415 numBits = frameLen << 3;
417 + ((numBits * 1000)/kbps);
423 numBits = OFDM_PLCP_BITS + (frameLen << 3);
424 numSymbols = howmany(numBits, bitsPerSymbol);
433 numBits = OFDM_PLCP_BITS + (frameLen << 3);
434 numSymbols = howmany(numBits, bitsPerSymbol);
443 numBits = OFDM_PLCP_BITS + (frameLen << 3);
444 numSymbols = howmany(numBits, bitsPerSymbol);
454 numBits
[all...]
/freebsd-9.3-release/tools/tools/net80211/wlantxtime/
H A Dwlantxtime.c338 uint32_t bitsPerSymbol, numBits, numSymbols, phyTime, txTime; local
351 numBits = frameLen << 3;
353 + ((numBits * 1000)/kbps);
359 numBits = OFDM_PLCP_BITS + (frameLen << 3);
360 numSymbols = howmany(numBits, bitsPerSymbol);
369 numBits = OFDM_PLCP_BITS + (frameLen << 3);
370 numSymbols = howmany(numBits, bitsPerSymbol);
379 numBits = OFDM_PLCP_BITS + (frameLen << 3);
380 numSymbols = howmany(numBits, bitsPerSymbol);
390 numBits
416 uint32_t bitsPerSymbol, numBits, numSymbols, txTime; local
[all...]
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_rfgain.c92 ar5212GetRfField(uint32_t *rfBuf, uint32_t numBits, uint32_t firstBit, uint32_t column) argument
99 HALASSERT(numBits <= 32);
100 HALASSERT(firstBit + numBits <= MAX_ANALOG_START);
104 bitsLeft = numBits;
118 reg32 = ath_hal_reverseBits(reg32, numBits);
H A Dar5212_reset.c69 uint32_t numBits, uint32_t firstBit, uint32_t column);
2519 ar5212ModifyRfBuffer(uint32_t *rfBuf, uint32_t reg32, uint32_t numBits, argument
2527 HALASSERT(numBits <= 32);
2528 HALASSERT(firstBit + numBits <= MAX_ANALOG_START);
2530 tmp32 = ath_hal_reverseBits(reg32, numBits);
2533 bitsLeft = numBits;
H A Dar5111.c60 uint32_t numBits, uint32_t firstBit, uint32_t column);
H A Dar2316.c65 uint32_t numBits, uint32_t firstBit, uint32_t column);
H A Dar2317.c65 uint32_t numBits, uint32_t firstBit, uint32_t column);
H A Dar2413.c61 uint32_t numBits, uint32_t firstBit, uint32_t column);
H A Dar2425.c49 uint32_t numBits, uint32_t firstBit, uint32_t column);
H A Dar5112.c61 uint32_t numBits, uint32_t firstBit, uint32_t column);
H A Dar5413.c61 uint32_t numBits, uint32_t firstBit, uint32_t column);
/freebsd-9.3-release/contrib/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp66 unsigned numBits = BI->getNumBits(); local
68 SmallVector<Init *, 16> NewBits(numBits);
70 for (unsigned bit = 0, end = numBits / 2; bit != end; ++bit) {
71 unsigned bitSwapIdx = numBits - bit - 1;
77 if (numBits % 2) {
78 unsigned middle = (numBits + 1) / 2;
H A DFixedLenDecoderEmitter.cpp257 Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, bool mixed);
502 Filter::Filter(FilterChooser &owner, unsigned startBit, unsigned numBits, argument
504 : Owner(&owner), StartBit(startBit), NumBits(numBits), Mixed(mixed) {
1867 << " unsigned numBits) {\n"
1868 << " assert(startBit + numBits <= (sizeof(InsnType)*8) &&\n"
1871 << " if (numBits == sizeof(InsnType)*8)\n"
1874 << " fieldMask = (((InsnType)1 << numBits) - 1) << startBit;\n"
/freebsd-9.3-release/sys/dev/ath/ath_hal/
H A Dah.c295 uint32_t bitsPerSymbol, numBits, numSymbols, txTime; local
304 numBits = OFDM_PLCP_BITS + (frameLen << 3);
305 numSymbols = howmany(numBits, bitsPerSymbol);
323 uint32_t bitsPerSymbol, numBits, numSymbols, phyTime, txTime; local
343 numBits = frameLen << 3;
345 + ((numBits * 1000)/kbps);
351 numBits = OFDM_PLCP_BITS + (frameLen << 3);
352 numSymbols = howmany(numBits, bitsPerSymbol);
361 numBits = OFDM_HALF_PLCP_BITS + (frameLen << 3);
362 numSymbols = howmany(numBits, bitsPerSymbo
[all...]
/freebsd-9.3-release/contrib/llvm/lib/AsmParser/
H A DLLLexer.cpp825 uint32_t numBits = ((Len * 64) / 19) + 2; local
826 APInt Tmp(numBits, StringRef(TokStart, Len), 10);
829 if (minBits > 0 && minBits < numBits)
834 if (activeBits > 0 && activeBits < numBits)
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DAPInt.cpp76 void APInt::initSlowCase(unsigned numBits, uint64_t val, bool isSigned) { argument
106 APInt::APInt(unsigned numBits, ArrayRef<uint64_t> bigVal) argument
107 : BitWidth(numBits), VAL(0) {
111 APInt::APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]) argument
112 : BitWidth(numBits), VAL(0) {
670 /// HiBits - This function returns the high "numBits" bits of this APInt.
671 APInt APInt::getHiBits(unsigned numBits) const {
672 return APIntOps::lshr(*this, BitWidth - numBits);
675 /// LoBits - This function returns the low "numBits" bits of this APInt.
676 APInt APInt::getLoBits(unsigned numBits) cons
[all...]
/freebsd-9.3-release/sys/dev/ath/ath_hal/ar5416/
H A Dar2133.c50 uint32_t numBits, uint32_t firstBit, uint32_t column);

Completed in 359 milliseconds