Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/
DNaClBitstreamReader.h613 uintptr_t getStartWordByteForBit(uint64_t BitNo) const { in getStartWordByteForBit() argument
614 return uintptr_t(BitNo / CHAR_BIT) & ~(sizeof(word_t) - 1); in getStartWordByteForBit()
618 unsigned getWordBitNo(uint64_t BitNo) const { in getWordBitNo() argument
619 return unsigned(BitNo & (sizeof(word_t) * CHAR_BIT - 1)); in getWordBitNo()
623 uintptr_t getEndWordByteForBit(uint64_t BitNo) const { in getEndWordByteForBit() argument
624 return getStartWordByteForBit(BitNo) + in getEndWordByteForBit()
625 (getWordBitNo(BitNo) ? sizeof(word_t) : 0); in getEndWordByteForBit()
636 void JumpToBit(uint64_t BitNo) { in JumpToBit() argument
637 const uintptr_t ByteNo = getStartWordByteForBit(BitNo); in JumpToBit()
638 const unsigned WordBitNo = getWordBitNo(BitNo); in JumpToBit()
[all …]
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()
/third_party/skia/third_party/externals/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()