Searched defs:bitPosition (Results 1 - 3 of 3) sorted by relevance

/external/llvm/include/llvm/ADT/
H A DAPInt.h107 static unsigned whichWord(unsigned bitPosition) { argument
108 return bitPosition / APINT_BITS_PER_WORD;
114 static unsigned whichBit(unsigned bitPosition) { argument
115 return bitPosition % APINT_BITS_PER_WORD;
121 /// @returns a uint64_t with only bit at "whichBit(bitPosition)" set
123 static uint64_t maskBit(unsigned bitPosition) { argument
124 return 1ULL << whichBit(bitPosition);
152 uint64_t getWord(unsigned bitPosition) const {
153 return isSingleWord() ? VAL : pVal[whichWord(bitPosition)];
873 /// @returns the bit value at bitPosition
[all...]
/external/llvm/lib/Support/
H A DAPInt.cpp583 void APInt::setBit(unsigned bitPosition) { argument
585 VAL |= maskBit(bitPosition);
587 pVal[whichWord(bitPosition)] |= maskBit(bitPosition);
590 /// Set the given bit to 0 whose position is given as "bitPosition".
592 void APInt::clearBit(unsigned bitPosition) { argument
594 VAL &= ~maskBit(bitPosition);
596 pVal[whichWord(bitPosition)] &= ~maskBit(bitPosition);
602 /// as "bitPosition"
604 flipBit(unsigned bitPosition) argument
[all...]
/external/antlr/antlr-3.4/lib/
H A Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ...

Completed in 77 milliseconds