/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 | 733 UINT_32 bitPosition; ///< Bit position within surfaceAddr, 0-7. member 766 UINT_32 bitPosition; ///< Bit position in addr. 0-7. for surface bpp < 8, member 981 UINT_32 bitPosition; ///< Bit position, 0 or 4. CMASK and HTILE shares some lib method. member 1013 UINT_32 bitPosition; ///< Bit position 0 or 4. CMASK and HTILE share some methods member 1194 UINT_32 bitPosition; ///< Bit position within addr, 0-7. CMASK is 4 bpp, member 1226 UINT_32 bitPosition; ///< Bit position within addr, 0-7. CMASK is 4 bpp, member 1415 UINT_32 bitPosition; ///< Bit position within fmaskAddr, 0-7. member 1446 UINT_32 bitPosition; ///< Bit position within addr, 0-7. member 2592 UINT_32 bitPosition; ///< Bit position within surfaceAddr, 0-7. member 2625 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 | 1530 &pOut->bitPosition); in ComputeHtileAddrFromCoord() 1589 pIn->bitPosition, in ComputeHtileCoordFromAddr() 1670 &pOut->bitPosition); in ComputeCmaskAddrFromCoord() 1726 pIn->bitPosition, in ComputeCmaskCoordFromAddr() 2176 UINT_32 bitPosition, ///< [in] bitPosition in a byte in HwlComputeXmaskCoordFromAddr() argument 2298 bitAddr = BYTES_TO_BITS(addr) + bitPosition; in HwlComputeXmaskCoordFromAddr() 2607 UINT_32 bitPosition, ///< [in] bitPosition in a byte in ComputeSurfaceCoordFromAddrLinear() argument 2619 const UINT_64 linearOffset = (BYTES_TO_BITS(addr) + bitPosition) / bpp; in ComputeSurfaceCoordFromAddrLinear() 2640 UINT_32 bitPosition, ///< [in] bitPosition in a byte in ComputeSurfaceCoordFromAddrMicroTiled() argument 2673 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/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/addrlib/src/r800/ |
D | egbaddrlib.h | 368 UINT_64 addr, UINT_32 bitPosition, 392 UINT_64 addr, UINT_32 bitPosition, 398 UINT_64 addr, UINT_32 bitPosition,
|
D | egbaddrlib.cpp | 1328 UINT_32* pBitPosition = &pOut->bitPosition; in DispatchComputeSurfaceAddrFromCoord() 2174 UINT_32 bitPosition = pIn->bitPosition; in DispatchComputeSurfaceCoordFromAddr() local 2223 bitPosition, in DispatchComputeSurfaceCoordFromAddr() 2236 bitPosition, in DispatchComputeSurfaceCoordFromAddr() 2278 bitPosition, in DispatchComputeSurfaceCoordFromAddr() 2315 UINT_32 bitPosition, ///< [in] bit position in ComputeSurfaceCoordFromAddrMacroTiled() argument 2356 UINT_64 addrBits = BYTES_TO_BITS(addr) + bitPosition; in ComputeSurfaceCoordFromAddrMacroTiled() 3936 if ((pIn->bitPosition >= 8) || in HwlComputeSurfaceCoordFromAddr()
|
D | siaddrlib.h | 127 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices,
|
D | ciaddrlib.cpp | 314 pOut->bitPosition = (metaNibbleAddress % 2) ? 4 : 0; in HwlComputeCmaskAddrFromCoord() 358 pOut->bitPosition = 0; in HwlComputeHtileAddrFromCoord()
|
D | siaddrlib.cpp | 1449 UINT_32 bitPosition, ///< [in] bitPosition in a byte in HwlComputeXmaskCoordFromAddr() argument 1532 tileIndex = (UINT_32)(localOffset * 2 + (bitPosition != 0)); in HwlComputeXmaskCoordFromAddr()
|
/third_party/mesa3d/src/amd/common/ |
D | ac_surface_meta_address_test.c | 657 if (out.addr != addr || out.bitPosition != bit_position) { in one_cmask_address_test() 661 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 | 630 pOut->bitPosition = (blkOffset & 1) << 2; in HwlComputeCmaskAddrFromCoord()
|
/third_party/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.cpp | 896 pOut->bitPosition = static_cast<UINT_32>((address & 1) << 2); in HwlComputeCmaskAddrFromCoord()
|