Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h205 void BackpatchByte(uint64_t BitNo, uint8_t NewByte) { in BackpatchByte() argument
207 uint64_t ByteNo = BitNo / 8; in BackpatchByte()
208 uint64_t StartBit = BitNo & 7; in BackpatchByte()
267 void BackpatchHalfWord(uint64_t BitNo, uint16_t Val) { in BackpatchHalfWord() argument
268 BackpatchByte(BitNo, (uint8_t)Val); in BackpatchHalfWord()
269 BackpatchByte(BitNo + 8, (uint8_t)(Val >> 8)); in BackpatchHalfWord()
272 void BackpatchWord(uint64_t BitNo, unsigned Val) { in BackpatchWord() argument
273 BackpatchHalfWord(BitNo, (uint16_t)Val); in BackpatchWord()
274 BackpatchHalfWord(BitNo + 16, (uint16_t)(Val >> 16)); in BackpatchWord()
277 void BackpatchWord64(uint64_t BitNo, uint64_t Val) { in BackpatchWord64() argument
[all …]
H A DBitstreamReader.h128 Error JumpToBit(uint64_t BitNo) { in JumpToBit() argument
129 size_t ByteNo = size_t(BitNo/8) & ~(sizeof(word_t)-1); in JumpToBit()
130 unsigned WordBitNo = unsigned(BitNo & (sizeof(word_t)*8-1)); in JumpToBit()
156 const uint8_t *getPointerToBit(uint64_t BitNo, uint64_t NumBytes) { in getPointerToBit() argument
157 assert(!(BitNo % 8) && "Expected bit on byte boundary"); in getPointerToBit()
158 return getPointerToByte(BitNo / 8, NumBytes); in getPointerToBit()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPInt.h239 static APInt getOneBitSet(unsigned numBits, unsigned BitNo) { in getOneBitSet() argument
241 Res.setBit(BitNo); in getOneBitSet()
366 bool isOneBitSet(unsigned BitNo) const { in isOneBitSet() argument
367 return (*this)[BitNo] && popcount() == 1; in isOneBitSet()
/freebsd/contrib/llvm-project/llvm/lib/Target/M68k/
H A DM68kISelLowering.cpp1655 static SDValue getBitTestCondition(SDValue Src, SDValue BitNo, ISD::CondCode CC, in getBitTestCondition() argument
1665 if (Src.getValueType() != BitNo.getValueType()) in getBitTestCondition()
1666 BitNo = DAG.getNode(ISD::ANY_EXTEND, DL, Src.getValueType(), BitNo); in getBitTestCondition()
1668 SDValue BTST = DAG.getNode(M68kISD::BTST, DL, MVT::i32, Src, BitNo); in getBitTestCondition()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.cpp10302 unsigned BitNo = llvm::countr_zero((uint64_t)Mask); in optimizeCompareInstr() local
10303 if (IsSigned && BitNo == SrcSize - 1) in optimizeCompareInstr()
10306 ExpectedValue <<= BitNo; in optimizeCompareInstr()
10348 .addImm(BitNo); in optimizeCompareInstr()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp1279 const ASTFileSignature &S, uint64_t BitNo) { in BackpatchSignatureAt() argument
1281 Stream.BackpatchByte(BitNo, Byte); in BackpatchSignatureAt()
1282 BitNo += 8; in BackpatchSignatureAt()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp22716 static SDValue getBT(SDValue Src, SDValue BitNo, const SDLoc &DL, SelectionDAG &DAG) { in getBT() argument
22734 DAG.MaskedValueIsZero(BitNo, APInt(BitNo.getValueSizeInBits(), 32))) in getBT()
22739 if (Src.getValueType() != BitNo.getValueType()) { in getBT()
22743 if (BitNo.getOpcode() == ISD::AND && BitNo->hasOneUse()) in getBT()
22744 BitNo = DAG.getNode(ISD::AND, DL, Src.getValueType(), in getBT()
22746 BitNo.getOperand(0)), in getBT()
22748 BitNo.getOperand(1))); in getBT()
22750 BitNo = DAG.getNode(ISD::ANY_EXTEND, DL, Src.getValueType(), BitNo); in getBT()
22753 return DAG.getNode(X86ISD::BT, DL, MVT::i32, Src, BitNo); in getBT()
23724 SDValue Src, BitNo; in LowerAndToBT() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp11489 unsigned BitNo; // Bit # of CR6. in LowerINTRINSIC_WO_CHAIN() local
11496 BitNo = 0; in LowerINTRINSIC_WO_CHAIN()
11502 BitNo = 0; in LowerINTRINSIC_WO_CHAIN()
11508 BitNo = 2; in LowerINTRINSIC_WO_CHAIN()
11514 BitNo = 2; in LowerINTRINSIC_WO_CHAIN()
11539 DAG.getConstant(8 - (3 - BitNo), dl, MVT::i32)); in LowerINTRINSIC_WO_CHAIN()