Home
last modified time | relevance | path

Searched refs:BitMask (Results 1 – 25 of 25) sorted by relevance

/external/llvm/lib/Target/Hexagon/
DBitTracker.h33 struct BitMask;
238 struct BitTracker::BitMask { struct
239 BitMask() : B(0), E(0) {} in BitMask() argument
240 BitMask(uint16_t b, uint16_t e) : B(b), E(e) {} in BitMask() argument
265 RegisterCell &insert(const RegisterCell &RC, const BitMask &M); argument
266 RegisterCell extract(const BitMask &M) const; // Returns a new cell.
414 virtual BitMask mask(unsigned Reg, unsigned Sub) const;
DBitTracker.cpp201 const BitMask &M) { in insert()
222 BT::RegisterCell BT::RegisterCell::extract(const BitMask &M) const { in extract()
360 BitMask M = mask(RR.Reg, RR.Sub); in getCell()
710 RegisterCell Res = RegisterCell::ref(A1).extract(BT::BitMask(B, Last)); in eXTR()
724 Res.insert(RegisterCell::ref(A2), BT::BitMask(AtN, AtN+W2-1)); in eINS()
729 BT::BitMask BT::MachineEvaluator::mask(unsigned Reg, unsigned Sub) const { in mask()
733 return BitMask(0, W-1); in mask()
769 Res.insert(Src, BitMask(0, WS-1)); in evaluate()
1009 BitMask OM = ME.mask(OldRR.Reg, OldRR.Sub); in subst()
1010 BitMask NM = ME.mask(NewRR.Reg, NewRR.Sub); in subst()
DHexagonBitTracker.h34 BitTracker::BitMask mask(unsigned Reg, unsigned Sub) const override;
DHexagonBitTracker.cpp78 BT::BitMask HexagonEvaluator::mask(unsigned Reg, unsigned Sub) const { in mask()
89 return (Sub == subreg_loreg) ? BT::BitMask(0, RW-1) in mask()
90 : BT::BitMask(RW, 2*RW-1); in mask()
279 RegisterCell RC = RegisterCell(RW).insert(PC, BT::BitMask(0, PW-1)); in evaluate()
299 RegisterCell CW = RegisterCell(W0).insert(rc(1), BT::BitMask(0, W1-1)); in evaluate()
649 RegisterCell RC = RegisterCell(W0).insert(Ext, BT::BitMask(0, Wd-1)); in evaluate()
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DBitSet.cs135 _bits[n] |= BitMask(el); in Add()
167 private static ulong BitMask(int bitNumber) { in BitMask() method in Antlr.Runtime.BitSet
237 return (_bits[n] & BitMask(el)) != 0; in Member()
244 _bits[n] &= ~BitMask(el); in Remove()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DBitSet.cs150 _bits[n] |= BitMask( el ); in Add()
188 private static ulong BitMask( int bitNumber ) in BitMask() method in Antlr.Runtime.BitSet
279 return ( _bits[n] & BitMask( el ) ) != 0; in Member()
288 _bits[n] &= ~BitMask( el ); in Remove()
/external/brotli/c/dec/
Dbit_reader.h34 static BROTLI_INLINE uint32_t BitMask(uint32_t n) { in BitMask() function
251 return (uint32_t)BrotliGetBitsUnmasked(br) & BitMask(n_bits); in BrotliGetBits()
263 *val = (uint32_t)BrotliGetBitsUnmasked(br) & BitMask(n_bits); in BrotliSafeGetBits()
290 *val = (uint32_t)BrotliGetBitsUnmasked(br) & BitMask(n_bits); in BrotliTakeBits()
Ddecode.c321 table += (bits >> HUFFMAN_TABLE_BITS) & BitMask(nbits); in DecodeSymbol()
363 val = (val & BitMask(table->bits)) >> HUFFMAN_TABLE_BITS; in SafeDecodeSymbol()
409 uint32_t mask = BitMask((*bits - HUFFMAN_TABLE_BITS)); in ReadPreloadedSymbol()
578 BitMask(BROTLI_HUFFMAN_MAX_CODE_LENGTH_CODE_LENGTH); in ReadSymbolCodeLengths()
588 (uint32_t)BrotliGetBitsUnmasked(br) & BitMask(extra_bits); in ReadSymbolCodeLengths()
614 p += bits & BitMask(BROTLI_HUFFMAN_MAX_CODE_LENGTH_CODE_LENGTH); in SafeReadSymbolCodeLengths()
627 uint32_t repeat_delta = (bits >> p->bits) & BitMask(extra_bits); in SafeReadSymbolCodeLengths()
1753 int mask = (int)BitMask(shift); in ProcessCommandsInternal()
2142 s->distance_postfix_bits = bits & BitMask(2); in BrotliDecoderDecompressStream()
2148 s->distance_postfix_mask = (int)BitMask(s->distance_postfix_bits); in BrotliDecoderDecompressStream()
/external/aac/libFDK/include/
DFDK_bitstream.h225 BitMask[numberOfBits]; in FDKreadBits()
276 const UINT validMask = BitMask[numberOfBits]; in FDKreadBitsBwd()
344 const UINT validMask = BitMask[numberOfBits]; in FDKwriteBits()
389 const UINT validMask = BitMask[numberOfBits]; in FDKwriteBitsBwd()
DFDK_bitbuffer.h129 extern const UINT BitMask[32 + 1];
/external/aac/libFDK/src/
DFDK_bitbuffer.cpp109 const UINT BitMask[32 + 1] = { variable
266 UINT mask = ~((BitMask[numberOfBits] << (32 - numberOfBits)) >> bitOffset); in FDK_put()
286 (UINT)hBitBuf->Buffer[byteOffset4] & (~(BitMask[bits] << (8 - bits))); in FDK_put()
299 UINT mask = ~(BitMask[numberOfBits] << bitOffset); in FDK_putBwd()
333 ~(BitMask[bitOffset] >> (32 - numberOfBits))); in FDK_putBwd()
/external/llvm/lib/Transforms/Utils/
DBypassSlowDivision.cpp158 uint64_t BitMask = ~BypassType->getBitMask(); in insertFastDiv() local
159 Value *AndV = MainBuilder.CreateAnd(OrV, BitMask); in insertFastDiv()
/external/llvm/lib/CodeGen/
DMIRPrinter.cpp715 unsigned BitMask = Flags.second; in printTargetFlags() local
719 if ((BitMask & Mask.first) == Mask.first) { in printTargetFlags()
725 BitMask &= ~(Mask.first); in printTargetFlags()
728 if (BitMask) { in printTargetFlags()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtcp_utility.h141 uint16_t BitMask; member
Drtcp_utility.cc1369 _packet.NACKItem.BitMask = *_ptrRTCPData++ << 8; in ParseNACKItem()
1370 _packet.NACKItem.BitMask += *_ptrRTCPData++; in ParseNACKItem()
Drtcp_receiver.cc836 uint16_t bitMask = rtcpPacket.NACKItem.BitMask; in HandleNACKItem()
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp303 Value *BitMask = B.CreateShl(ConstantInt::get(BitsType, 1), BitIndex); in createMaskedBitTest() local
304 Value *MaskedBits = B.CreateAnd(Bits, BitMask); in createMaskedBitTest()
/external/swiftshader/third_party/LLVM/lib/Target/CBackend/
DCBackend.cpp3471 Constant *BitMask = 0; in visitStoreInst() local
3476 BitMask = ConstantInt::get(ITy, ITy->getBitMask()); in visitStoreInst()
3477 if (BitMask) in visitStoreInst()
3480 if (BitMask) { in visitStoreInst()
3482 printConstant(BitMask, false); in visitStoreInst()
/external/webrtc/webrtc/test/
Drtcp_packet_parser.h370 if (nack_item.BitMask & (1 << i)) { in Set()
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.pas1737 class function BitMask(const BitNumber: Integer): UInt64; static;
3433 FBits[N] := FBits[N] or BitMask(El);
3436 class function TBitSet.BitMask(const BitNumber: Integer): UInt64;
3567 Result := ((FBits[N] and BitMask(El)) <> 0);
3604 FBits[N] := (FBits[N] and not BitMask(El));
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMISelLowering.cpp3668 uint64_t BitMask = 0xff; in isNEONModifiedImm() local
3673 if (((SplatBits | SplatUndef) & BitMask) == BitMask) { in isNEONModifiedImm()
3674 Val |= BitMask; in isNEONModifiedImm()
3676 } else if ((SplatBits & BitMask) != 0) { in isNEONModifiedImm()
3679 BitMask <<= 8; in isNEONModifiedImm()
/external/llvm/lib/Target/Mips/AsmParser/
DMipsAsmParser.cpp6238 const MCExpr *BitMask; in ParseDirective() local
6241 if (Parser.parseExpression(BitMask)) { in ParseDirective()
6246 if (!BitMask->evaluateAsAbsolute(BitMaskVal)) { in ParseDirective()
/external/llvm/lib/Target/Mips/
DMipsSEISelLowering.cpp1512 SDValue BitMask = DAG.getConstant(~BitImm, DL, ResTy); in lowerMSABitClearImm() local
1514 return DAG.getNode(ISD::AND, DL, ResTy, Op->getOperand(1), BitMask); in lowerMSABitClearImm()
/external/llvm/lib/Target/ARM/
DARMISelLowering.cpp5140 uint64_t BitMask = 0xff; in isNEONModifiedImm() local
5145 if (((SplatBits | SplatUndef) & BitMask) == BitMask) { in isNEONModifiedImm()
5146 Val |= BitMask; in isNEONModifiedImm()
5148 } else if ((SplatBits & BitMask) != 0) { in isNEONModifiedImm()
5151 BitMask <<= 8; in isNEONModifiedImm()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp7903 uint64_t BitMask = Bits == 64 ? -1ULL : ((1ULL << Bits) - 1); in tryCombineToBSL() local
7916 CN0->getZExtValue() != (BitMask & ~CN1->getZExtValue())) { in tryCombineToBSL()