/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | APInt.h | 112 static unsigned whichWord(unsigned bitPosition) { in whichWord() argument 113 return bitPosition / APINT_BITS_PER_WORD; in whichWord() 120 static unsigned whichBit(unsigned bitPosition) { in whichBit() argument 121 return bitPosition % APINT_BITS_PER_WORD; in whichBit() 130 static uint64_t maskBit(unsigned bitPosition) { in maskBit() argument 131 return 1ULL << whichBit(bitPosition); in maskBit() 160 uint64_t getWord(unsigned bitPosition) const { in getWord() argument 161 return isSingleWord() ? VAL : pVal[whichWord(bitPosition)]; in getWord() 943 bool operator[](unsigned bitPosition) const { 944 assert(bitPosition < getBitWidth() && "Bit position out of bounds!"); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | APInt.h | 119 static unsigned whichWord(unsigned bitPosition) { in whichWord() argument 120 return bitPosition / APINT_BITS_PER_WORD; in whichWord() 127 static unsigned whichBit(unsigned bitPosition) { in whichBit() argument 128 return bitPosition % APINT_BITS_PER_WORD; in whichBit() 137 static uint64_t maskBit(unsigned bitPosition) { in maskBit() argument 138 return 1ULL << whichBit(bitPosition); in maskBit() 162 uint64_t getWord(unsigned bitPosition) const { in getWord() argument 163 return isSingleWord() ? U.VAL : U.pVal[whichWord(bitPosition)]; in getWord() 1137 bool operator[](unsigned bitPosition) const { 1138 assert(bitPosition < getBitWidth() && "Bit position out of bounds!"); [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | APInt.cpp | 339 void APInt::flipBit(unsigned bitPosition) { in flipBit() argument 340 assert(bitPosition < BitWidth && "Out of the bit-width range!"); in flipBit() 341 if ((*this)[bitPosition]) clearBit(bitPosition); in flipBit() 342 else setBit(bitPosition); in flipBit() 345 void APInt::insertBits(const APInt &subBits, unsigned bitPosition) { in insertBits() argument 347 assert(0 < subBitWidth && (subBitWidth + bitPosition) <= BitWidth && in insertBits() 359 U.VAL &= ~(mask << bitPosition); in insertBits() 360 U.VAL |= (subBits.U.VAL << bitPosition); in insertBits() 364 unsigned loBit = whichBit(bitPosition); in insertBits() 365 unsigned loWord = whichWord(bitPosition); in insertBits() [all …]
|
/third_party/mesa3d/src/amd/addrlib/inc/ |
D | addrinterface.h | 734 UINT_32 bitPosition; ///< Bit position within surfaceAddr, 0-7. member 767 UINT_32 bitPosition; ///< Bit position in addr. 0-7. for surface bpp < 8, member 982 UINT_32 bitPosition; ///< Bit position, 0 or 4. CMASK and HTILE shares some lib method. member 1014 UINT_32 bitPosition; ///< Bit position 0 or 4. CMASK and HTILE share some methods member 1195 UINT_32 bitPosition; ///< Bit position within addr, 0-7. CMASK is 4 bpp, member 1227 UINT_32 bitPosition; ///< Bit position within addr, 0-7. CMASK is 4 bpp, member 1416 UINT_32 bitPosition; ///< Bit position within fmaskAddr, 0-7. member 1447 UINT_32 bitPosition; ///< Bit position within addr, 0-7. member 2593 UINT_32 bitPosition; ///< Bit position within surfaceAddr, 0-7. member 2626 UINT_32 bitPosition; ///< Bit position in addr. 0-7. for surface bpp < 8, member [all …]
|
/third_party/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib1.h | 341 UINT_32* bitPosition) const; 344 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices, 397 UINT_64 addr, UINT_32 bitPosition, UINT_32 bpp, 402 UINT_64 addr, UINT_32 bitPosition,
|
D | addrlib1.cpp | 1531 &pOut->bitPosition); in ComputeHtileAddrFromCoord() 1590 pIn->bitPosition, in ComputeHtileCoordFromAddr() 1671 &pOut->bitPosition); in ComputeCmaskAddrFromCoord() 1727 pIn->bitPosition, in ComputeCmaskCoordFromAddr() 2177 UINT_32 bitPosition, ///< [in] bitPosition in a byte in HwlComputeXmaskCoordFromAddr() argument 2299 bitAddr = BYTES_TO_BITS(addr) + bitPosition; in HwlComputeXmaskCoordFromAddr() 2608 UINT_32 bitPosition, ///< [in] bitPosition in a byte in ComputeSurfaceCoordFromAddrLinear() argument 2620 const UINT_64 linearOffset = (BYTES_TO_BITS(addr) + bitPosition) / bpp; in ComputeSurfaceCoordFromAddrLinear() 2641 UINT_32 bitPosition, ///< [in] bitPosition in a byte in ComputeSurfaceCoordFromAddrMicroTiled() argument 2674 bitAddr = BYTES_TO_BITS(addr) + bitPosition; in ComputeSurfaceCoordFromAddrMicroTiled()
|
D | addrlib2.cpp | 425 (pIn->bitPosition >= 8)) in ComputeSurfaceCoordFromAddr() 1204 pOut->bitPosition = 0; in ComputeSurfaceAddrFromCoordLinear()
|
/third_party/mesa3d/src/amd/addrlib/src/r800/ |
D | egbaddrlib.h | 369 UINT_64 addr, UINT_32 bitPosition, 393 UINT_64 addr, UINT_32 bitPosition, 399 UINT_64 addr, UINT_32 bitPosition,
|
D | egbaddrlib.cpp | 1329 UINT_32* pBitPosition = &pOut->bitPosition; in DispatchComputeSurfaceAddrFromCoord() 2175 UINT_32 bitPosition = pIn->bitPosition; in DispatchComputeSurfaceCoordFromAddr() local 2224 bitPosition, in DispatchComputeSurfaceCoordFromAddr() 2237 bitPosition, in DispatchComputeSurfaceCoordFromAddr() 2279 bitPosition, in DispatchComputeSurfaceCoordFromAddr() 2316 UINT_32 bitPosition, ///< [in] bit position in ComputeSurfaceCoordFromAddrMacroTiled() argument 2357 UINT_64 addrBits = BYTES_TO_BITS(addr) + bitPosition; in ComputeSurfaceCoordFromAddrMacroTiled() 3937 if ((pIn->bitPosition >= 8) || in HwlComputeSurfaceCoordFromAddr()
|
D | siaddrlib.h | 128 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices,
|
D | ciaddrlib.cpp | 315 pOut->bitPosition = (metaNibbleAddress % 2) ? 4 : 0; in HwlComputeCmaskAddrFromCoord() 359 pOut->bitPosition = 0; in HwlComputeHtileAddrFromCoord()
|
D | siaddrlib.cpp | 1450 UINT_32 bitPosition, ///< [in] bitPosition in a byte in HwlComputeXmaskCoordFromAddr() argument 1533 tileIndex = (UINT_32)(localOffset * 2 + (bitPosition != 0)); in HwlComputeXmaskCoordFromAddr()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | APInt.cpp | 538 void APInt::setBit(unsigned bitPosition) { in setBit() argument 540 VAL |= maskBit(bitPosition); in setBit() 542 pVal[whichWord(bitPosition)] |= maskBit(bitPosition); in setBit() 547 void APInt::clearBit(unsigned bitPosition) { in clearBit() argument 549 VAL &= ~maskBit(bitPosition); in clearBit() 551 pVal[whichWord(bitPosition)] &= ~maskBit(bitPosition); in clearBit() 559 void APInt::flipBit(unsigned bitPosition) { in flipBit() argument 560 assert(bitPosition < BitWidth && "Out of the bit-width range!"); in flipBit() 561 if ((*this)[bitPosition]) clearBit(bitPosition); in flipBit() 562 else setBit(bitPosition); in flipBit()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_surface_meta_address_test.c | 622 if (out.addr != addr || out.bitPosition != bit_position) { in one_cmask_address_test() 626 out.bitPosition, bit_position); in one_cmask_address_test()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIARawSymbol.cpp | 238 RAW_METHOD_DUMP(OS, bitPosition); in dump()
|
/third_party/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.cpp | 632 pOut->bitPosition = (blkOffset & 1) << 2; in HwlComputeCmaskAddrFromCoord()
|
/third_party/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.cpp | 897 pOut->bitPosition = static_cast<UINT_32>((address & 1) << 2); in HwlComputeCmaskAddrFromCoord()
|