Home
last modified time | relevance | path

Searched refs:BitNo (Results 1 – 13 of 13) sorted by relevance

/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h620 uintptr_t getStartWordByteForBit(uint64_t BitNo) const { in getStartWordByteForBit() argument
621 return uintptr_t(BitNo/CHAR_BIT) & ~(sizeof(word_t)-1); in getStartWordByteForBit()
625 unsigned getWordBitNo(uint64_t BitNo) const { in getWordBitNo() argument
626 return unsigned(BitNo & (sizeof(word_t)*CHAR_BIT-1)); in getWordBitNo()
630 uintptr_t getEndWordByteForBit(uint64_t BitNo) const { in getEndWordByteForBit() argument
631 return getStartWordByteForBit(BitNo) + in getEndWordByteForBit()
632 (getWordBitNo(BitNo) in getEndWordByteForBit()
645 void JumpToBit(uint64_t BitNo) { in JumpToBit() argument
646 const uintptr_t ByteNo = getStartWordByteForBit(BitNo); in JumpToBit()
647 const unsigned WordBitNo = getWordBitNo(BitNo); in JumpToBit()
[all …]
/external/llvm/include/llvm/Bitcode/
DBitstreamReader.h192 void JumpToBit(uint64_t BitNo) { in JumpToBit() argument
193 size_t ByteNo = size_t(BitNo/8) & ~(sizeof(word_t)-1); in JumpToBit()
194 unsigned WordBitNo = unsigned(BitNo & (sizeof(word_t)*8-1)); in JumpToBit()
232 const uint8_t *getPointerToBit(uint64_t BitNo, uint64_t NumBytes) { in getPointerToBit() argument
233 assert(!(BitNo % 8) && "Expected bit on byte boundary"); in getPointerToBit()
234 return getPointerToByte(BitNo / 8, NumBytes); in getPointerToBit()
DBitstreamWriter.h105 void BackpatchWord(uint64_t BitNo, unsigned NewWord) { in BackpatchWord() argument
107 unsigned ByteNo = BitNo / 8; in BackpatchWord()
109 &Out[ByteNo], BitNo & 7)) && in BackpatchWord()
112 &Out[ByteNo], NewWord, BitNo & 7); in BackpatchWord()
244 uint64_t BitNo = uint64_t(B.StartSizeWord) * 32; in ExitBlock() local
247 BackpatchWord(BitNo, SizeInWords); in ExitBlock()
/external/swiftshader/third_party/LLVM/include/llvm/Bitcode/
DBitstreamReader.h246 void JumpToBit(uint64_t BitNo) { in JumpToBit() argument
247 uintptr_t ByteNo = uintptr_t(BitNo/8) & ~3; in JumpToBit()
248 uintptr_t WordBitNo = uintptr_t(BitNo) & 31; in JumpToBit()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitstreamReader.cpp64 void NaClBitstreamCursor::reportInvalidJumpToBit(uint64_t BitNo) const { in reportInvalidJumpToBit()
67 StrBuf << "Invalid jump to bit " << BitNo; in reportInvalidJumpToBit()
/external/swiftshader/third_party/LLVM/utils/TableGen/
DARMDecoderEmitter.cpp936 unsigned Num, BitNo; in getIslands() local
937 Num = BitNo = 0; in getIslands()
960 BitNo = 0; in getIslands()
973 ++BitNo; in getIslands()
974 FieldVal = FieldVal | Val << BitNo; in getIslands()
DFixedLenDecoderEmitter.cpp683 unsigned Num, BitNo; in getIslands() local
684 Num = BitNo = 0; in getIslands()
707 BitNo = 0; in getIslands()
720 ++BitNo; in getIslands()
721 FieldVal = FieldVal | Val << BitNo; in getIslands()
/external/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp984 unsigned Num, BitNo; in getIslands() local
985 Num = BitNo = 0; in getIslands()
1006 BitNo = 0; in getIslands()
1019 ++BitNo; in getIslands()
1020 FieldVal = FieldVal | Val << BitNo; in getIslands()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h447 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() argument
449 Res.setBit(BitNo); in getOneBitSet()
/external/llvm/include/llvm/ADT/
DAPInt.h480 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() argument
482 Res.setBit(BitNo); in getOneBitSet()
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h484 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() argument
486 Res.setBit(BitNo); in getOneBitSet()
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCISelLowering.cpp4397 unsigned BitNo; // Bit # of CR6. in LowerINTRINSIC_WO_CHAIN() local
4402 BitNo = 0; InvertBit = false; in LowerINTRINSIC_WO_CHAIN()
4405 BitNo = 0; InvertBit = true; in LowerINTRINSIC_WO_CHAIN()
4408 BitNo = 2; InvertBit = false; in LowerINTRINSIC_WO_CHAIN()
4411 BitNo = 2; InvertBit = true; in LowerINTRINSIC_WO_CHAIN()
4417 DAG.getConstant(8-(3-BitNo), MVT::i32)); in LowerINTRINSIC_WO_CHAIN()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp7813 unsigned BitNo; // Bit # of CR6. in LowerINTRINSIC_WO_CHAIN() local
7818 BitNo = 0; InvertBit = false; in LowerINTRINSIC_WO_CHAIN()
7821 BitNo = 0; InvertBit = true; in LowerINTRINSIC_WO_CHAIN()
7824 BitNo = 2; InvertBit = false; in LowerINTRINSIC_WO_CHAIN()
7827 BitNo = 2; InvertBit = true; in LowerINTRINSIC_WO_CHAIN()
7833 DAG.getConstant(8 - (3 - BitNo), dl, MVT::i32)); in LowerINTRINSIC_WO_CHAIN()