Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Bitstream/
DBitstreamWriter.h104 void BackpatchWord(uint64_t BitNo, unsigned NewWord) { in BackpatchWord() argument
106 unsigned ByteNo = BitNo / 8; in BackpatchWord()
108 &Out[ByteNo], BitNo & 7)) && in BackpatchWord()
111 &Out[ByteNo], NewWord, BitNo & 7); in BackpatchWord()
114 void BackpatchWord64(uint64_t BitNo, uint64_t Val) { in BackpatchWord64() argument
115 BackpatchWord(BitNo, (uint32_t)Val); in BackpatchWord64()
116 BackpatchWord(BitNo + 32, (uint32_t)(Val >> 32)); in BackpatchWord64()
239 uint64_t BitNo = uint64_t(B.StartSizeWord) * 32; in ExitBlock() local
242 BackpatchWord(BitNo, SizeInWords); in ExitBlock()
DBitstreamReader.h130 Error JumpToBit(uint64_t BitNo) { in JumpToBit() argument
131 size_t ByteNo = size_t(BitNo/8) & ~(sizeof(word_t)-1); in JumpToBit()
132 unsigned WordBitNo = unsigned(BitNo & (sizeof(word_t)*8-1)); in JumpToBit()
158 const uint8_t *getPointerToBit(uint64_t BitNo, uint64_t NumBytes) { in getPointerToBit() argument
159 assert(!(BitNo % 8) && "Expected bit on byte boundary"); in getPointerToBit()
160 return getPointerToByte(BitNo / 8, NumBytes); in getPointerToBit()
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h619 uintptr_t getStartWordByteForBit(uint64_t BitNo) const { in getStartWordByteForBit() argument
620 return uintptr_t(BitNo / CHAR_BIT) & ~(sizeof(word_t) - 1); in getStartWordByteForBit()
624 unsigned getWordBitNo(uint64_t BitNo) const { in getWordBitNo() argument
625 return unsigned(BitNo & (sizeof(word_t) * CHAR_BIT - 1)); in getWordBitNo()
629 uintptr_t getEndWordByteForBit(uint64_t BitNo) const { in getEndWordByteForBit() argument
630 return getStartWordByteForBit(BitNo) + in getEndWordByteForBit()
631 (getWordBitNo(BitNo) ? sizeof(word_t) : 0); in getEndWordByteForBit()
642 void JumpToBit(uint64_t BitNo) { in JumpToBit() argument
643 const uintptr_t ByteNo = getStartWordByteForBit(BitNo); in JumpToBit()
644 const unsigned WordBitNo = getWordBitNo(BitNo); in JumpToBit()
[all …]
/external/llvm-project/llvm/include/llvm/Bitstream/
DBitstreamWriter.h139 void BackpatchWord(uint64_t BitNo, unsigned NewWord) { in BackpatchWord() argument
141 uint64_t ByteNo = BitNo / 8; in BackpatchWord()
142 uint64_t StartBit = BitNo & 7; in BackpatchWord()
197 void BackpatchWord64(uint64_t BitNo, uint64_t Val) { in BackpatchWord64() argument
198 BackpatchWord(BitNo, (uint32_t)Val); in BackpatchWord64()
199 BackpatchWord(BitNo + 32, (uint32_t)(Val >> 32)); in BackpatchWord64()
322 uint64_t BitNo = uint64_t(B.StartSizeWord) * 32; in ExitBlock() local
325 BackpatchWord(BitNo, SizeInWords); in ExitBlock()
DBitstreamReader.h131 Error JumpToBit(uint64_t BitNo) { in JumpToBit() argument
132 size_t ByteNo = size_t(BitNo/8) & ~(sizeof(word_t)-1); in JumpToBit()
133 unsigned WordBitNo = unsigned(BitNo & (sizeof(word_t)*8-1)); in JumpToBit()
159 const uint8_t *getPointerToBit(uint64_t BitNo, uint64_t NumBytes) { in getPointerToBit() argument
160 assert(!(BitNo % 8) && "Expected bit on byte boundary"); in getPointerToBit()
161 return getPointerToByte(BitNo / 8, NumBytes); in getPointerToBit()
/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/subzero/pnacl-llvm/
DNaClBitstreamReader.cpp61 void NaClBitstreamCursor::reportInvalidJumpToBit(uint64_t BitNo) const { in reportInvalidJumpToBit()
64 StrBuf << "Invalid jump to bit " << BitNo; in reportInvalidJumpToBit()
/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/llvm-project/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp1052 unsigned Num, BitNo; in getIslands() local
1053 Num = BitNo = 0; in getIslands()
1073 BitNo = 0; in getIslands()
1086 ++BitNo; in getIslands()
1087 FieldVal = FieldVal | Val << BitNo; in getIslands()
/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/llvm-project/llvm/include/llvm/ADT/
DAPInt.h593 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) {
595 Res.setBit(BitNo);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DAPInt.h592 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() argument
594 Res.setBit(BitNo); in getOneBitSet()
/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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp9807 unsigned BitNo; // Bit # of CR6. in LowerINTRINSIC_WO_CHAIN() local
9812 BitNo = 0; InvertBit = false; in LowerINTRINSIC_WO_CHAIN()
9815 BitNo = 0; InvertBit = true; in LowerINTRINSIC_WO_CHAIN()
9818 BitNo = 2; InvertBit = false; in LowerINTRINSIC_WO_CHAIN()
9821 BitNo = 2; InvertBit = true; in LowerINTRINSIC_WO_CHAIN()
9827 DAG.getConstant(8 - (3 - BitNo), dl, MVT::i32)); in LowerINTRINSIC_WO_CHAIN()
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelLowering.cpp10628 unsigned BitNo; // Bit # of CR6. in LowerINTRINSIC_WO_CHAIN() local
10633 BitNo = 0; InvertBit = false; in LowerINTRINSIC_WO_CHAIN()
10636 BitNo = 0; InvertBit = true; in LowerINTRINSIC_WO_CHAIN()
10639 BitNo = 2; InvertBit = false; in LowerINTRINSIC_WO_CHAIN()
10642 BitNo = 2; InvertBit = true; in LowerINTRINSIC_WO_CHAIN()
10648 DAG.getConstant(8 - (3 - BitNo), dl, MVT::i32)); in LowerINTRINSIC_WO_CHAIN()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp21083 SDValue Src, BitNo; in LowerAndToBT() local
21098 BitNo = Op0.getOperand(1); in LowerAndToBT()
21107 BitNo = AndLHS.getOperand(1); in LowerAndToBT()
21115 BitNo = DAG.getConstant(Log2_64_Ceil(AndRHSVal), dl, in LowerAndToBT()
21138 DAG.MaskedValueIsZero(BitNo, APInt(BitNo.getValueSizeInBits(), 32))) in LowerAndToBT()
21143 if (Src.getValueType() != BitNo.getValueType()) in LowerAndToBT()
21144 BitNo = DAG.getNode(ISD::ANY_EXTEND, dl, Src.getValueType(), BitNo); in LowerAndToBT()
21148 return DAG.getNode(X86ISD::BT, dl, MVT::i32, Src, BitNo); in LowerAndToBT()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp22313 SDValue Src, BitNo; in LowerAndToBT() local
22328 BitNo = Op0.getOperand(1); in LowerAndToBT()
22337 BitNo = AndLHS.getOperand(1); in LowerAndToBT()
22345 BitNo = DAG.getConstant(Log2_64_Ceil(AndRHSVal), dl, in LowerAndToBT()
22368 DAG.MaskedValueIsZero(BitNo, APInt(BitNo.getValueSizeInBits(), 32))) in LowerAndToBT()
22373 if (Src.getValueType() != BitNo.getValueType()) in LowerAndToBT()
22374 BitNo = DAG.getNode(ISD::ANY_EXTEND, dl, Src.getValueType(), BitNo); in LowerAndToBT()
22378 return DAG.getNode(X86ISD::BT, dl, MVT::i32, Src, BitNo); in LowerAndToBT()