/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/ |
D | BitstreamWriter.h | 105 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() 115 void BackpatchWord64(uint64_t BitNo, uint64_t Val) { in BackpatchWord64() argument 116 BackpatchWord(BitNo, (uint32_t)Val); in BackpatchWord64() 117 BackpatchWord(BitNo + 32, (uint32_t)(Val >> 32)); in BackpatchWord64() 240 uint64_t BitNo = uint64_t(B.StartSizeWord) * 32; in ExitBlock() local 243 BackpatchWord(BitNo, SizeInWords); in ExitBlock()
|
D | BitstreamReader.h | 132 void JumpToBit(uint64_t BitNo) { in JumpToBit() argument 133 size_t ByteNo = size_t(BitNo/8) & ~(sizeof(word_t)-1); in JumpToBit() 134 unsigned WordBitNo = unsigned(BitNo & (sizeof(word_t)*8-1)); in JumpToBit() 154 const uint8_t *getPointerToBit(uint64_t BitNo, uint64_t NumBytes) { in getPointerToBit() argument 155 assert(!(BitNo % 8) && "Expected bit on byte boundary"); in getPointerToBit() 156 return getPointerToByte(BitNo / 8, NumBytes); in getPointerToBit()
|
/external/swiftshader/third_party/subzero/pnacl-llvm/include/llvm/Bitcode/NaCl/ |
D | NaClBitstreamReader.h | 620 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/ |
D | BitstreamReader.h | 192 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()
|
D | BitstreamWriter.h | 105 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/ |
D | BitstreamReader.h | 246 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/LLVM/utils/TableGen/ |
D | ARMDecoderEmitter.cpp | 936 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()
|
D | FixedLenDecoderEmitter.cpp | 683 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/swiftshader/third_party/subzero/pnacl-llvm/ |
D | NaClBitstreamReader.cpp | 64 void NaClBitstreamCursor::reportInvalidJumpToBit(uint64_t BitNo) const { in reportInvalidJumpToBit() 67 StrBuf << "Invalid jump to bit " << BitNo; in reportInvalidJumpToBit()
|
/external/llvm/utils/TableGen/ |
D | FixedLenDecoderEmitter.cpp | 984 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-7.0/llvm/utils/TableGen/ |
D | FixedLenDecoderEmitter.cpp | 1013 unsigned Num, BitNo; in getIslands() local 1014 Num = BitNo = 0; in getIslands() 1035 BitNo = 0; in getIslands() 1048 ++BitNo; in getIslands() 1049 FieldVal = FieldVal | Val << BitNo; in getIslands()
|
/external/llvm/include/llvm/ADT/ |
D | APInt.h | 480 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() argument 482 Res.setBit(BitNo); in getOneBitSet()
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | APInt.h | 447 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() argument 449 Res.setBit(BitNo); in getOneBitSet()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 484 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() argument 486 Res.setBit(BitNo); in getOneBitSet()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | APInt.h | 587 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() argument 589 Res.setBit(BitNo); in getOneBitSet()
|
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 4397 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/ |
D | PPCISelLowering.cpp | 7813 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-7.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.cpp | 8965 unsigned BitNo; // Bit # of CR6. in LowerINTRINSIC_WO_CHAIN() local 8970 BitNo = 0; InvertBit = false; in LowerINTRINSIC_WO_CHAIN() 8973 BitNo = 0; InvertBit = true; in LowerINTRINSIC_WO_CHAIN() 8976 BitNo = 2; InvertBit = false; in LowerINTRINSIC_WO_CHAIN() 8979 BitNo = 2; InvertBit = true; in LowerINTRINSIC_WO_CHAIN() 8985 DAG.getConstant(8 - (3 - BitNo), dl, MVT::i32)); in LowerINTRINSIC_WO_CHAIN()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 18108 static SDValue getBitTestCondition(SDValue Src, SDValue BitNo, ISD::CondCode CC, in getBitTestCondition() argument 18123 DAG.MaskedValueIsZero(BitNo, APInt(BitNo.getValueSizeInBits(), 32))) in getBitTestCondition() 18128 if (Src.getValueType() != BitNo.getValueType()) in getBitTestCondition() 18129 BitNo = DAG.getNode(ISD::ANY_EXTEND, dl, Src.getValueType(), BitNo); in getBitTestCondition() 18131 SDValue BT = DAG.getNode(X86ISD::BT, dl, MVT::i32, Src, BitNo); in getBitTestCondition()
|