V8 Project
|
Functions | |
TEST (Bits, CountPopulation32) | |
TEST (Bits, CountLeadingZeros32) | |
TEST (Bits, CountTrailingZeros32) | |
TEST (Bits, IsPowerOfTwo32) | |
TEST (Bits, IsPowerOfTwo64) | |
TEST (Bits, RoundUpToPowerOfTwo32) | |
TEST (BitsDeathTest, DISABLE_IN_RELEASE(RoundUpToPowerOfTwo32)) | |
TEST (Bits, RoundDownToPowerOfTwo32) | |
TEST (Bits, RotateRight32) | |
TEST (Bits, RotateRight64) | |
TEST (Bits, SignedAddOverflow32) | |
TEST (Bits, SignedSubOverflow32) | |
uint32_t | RoundUpToPowerOfTwo32 (uint32_t value) |
uint32_t | CountPopulation32 (uint32_t value) |
uint32_t | CountLeadingZeros32 (uint32_t value) |
uint32_t | CountTrailingZeros32 (uint32_t value) |
bool | IsPowerOfTwo32 (uint32_t value) |
bool | IsPowerOfTwo64 (uint64_t value) |
uint32_t | RoundDownToPowerOfTwo32 (uint32_t value) |
uint32_t | RotateRight32 (uint32_t value, uint32_t shift) |
uint64_t | RotateRight64 (uint64_t value, uint64_t shift) |
bool | SignedAddOverflow32 (int32_t lhs, int32_t rhs, int32_t *val) |
bool | SignedSubOverflow32 (int32_t lhs, int32_t rhs, int32_t *val) |
Definition at line 38 of file bits.h.
References CountPopulation32().
Referenced by TEST().
Definition at line 22 of file bits.h.
Referenced by v8::internal::BitVector::Count(), CountLeadingZeros32(), v8::internal::NumRegs(), and TEST().
Definition at line 59 of file bits.h.
Referenced by v8::internal::MarkCompactCollector::DiscoverAndEvacuateBlackObjectsOnPage(), v8::internal::DiscoverGreyObjectsOnPage(), and TEST().
Definition at line 77 of file bits.h.
Referenced by v8::internal::MacroAssembler::AlignAndSetCSPForFrame(), v8::internal::AlignedAlloc(), v8::internal::InnerPointerToCodeCache::GetCacheEntry(), v8::internal::HashTable< Derived, Shape, Key >::GetProbe(), v8::internal::compiler::RepresentationChanger::GetRepresentationFor(), v8::internal::StubCache::Initialize(), v8::internal::TemplateHashMapImpl< AllocationPolicy >::Initialize(), v8::internal::InternalStringToInt(), v8::internal::MakeOrFindTwoCharacterString(), v8::internal::HashTable< Derived, Shape, Key >::New(), v8::internal::TemplateHashMapImpl< AllocationPolicy >::Probe(), v8::internal::compiler::RepresentationOf(), v8::internal::HBinaryOperation::RightIsPowerOf2(), v8::internal::MapSpace::RoundSizeDownToObjectAlignment(), v8::internal::CellSpace::RoundSizeDownToObjectAlignment(), v8::internal::PropertyCellSpace::RoundSizeDownToObjectAlignment(), v8::internal::compiler::RepresentationSelector::SetOutput(), v8::internal::NewSpace::SetUp(), TEST(), and v8::internal::WhichPowerOf2().
|
inline |
Definition at line 83 of file bits.h.
Referenced by v8::internal::MacroAssembler::Claim(), v8::internal::MacroAssembler::ClaimBySMI(), v8::internal::MacroAssembler::Drop(), v8::internal::MacroAssembler::DropBySMI(), and TEST().
Definition at line 107 of file bits.h.
References shift.
Referenced by TEST(), and v8::internal::compiler::TEST_F().
|
inline |
Definition at line 99 of file bits.h.
References RoundUpToPowerOfTwo32().
Referenced by v8::internal::MarkingDeque::Initialize(), and TEST().
Definition at line 12 of file bits.cc.
References DCHECK_LE.
Referenced by v8::internal::OrderedHashTable< Derived, Iterator, entrysize >::Allocate(), v8::internal::HashTable< Derived, Shape, Key >::ComputeCapacity(), v8::internal::Heap::ConfigureHeap(), v8::base::GetPageSize(), RoundDownToPowerOfTwo32(), and TEST().
|
inline |
Definition at line 122 of file bits.h.
Referenced by TEST(), and v8::internal::compiler::TEST_F().
|
inline |
Definition at line 136 of file bits.h.
Referenced by TEST(), and v8::internal::compiler::TEST_F().
v8::base::bits::TEST | ( | Bits | , |
CountLeadingZeros32 | |||
) |
Definition at line 31 of file bits-unittest.cc.
References CountLeadingZeros32(), and shift.
v8::base::bits::TEST | ( | Bits | , |
CountPopulation32 | |||
) |
Definition at line 21 of file bits-unittest.cc.
References CountPopulation32().
v8::base::bits::TEST | ( | Bits | , |
CountTrailingZeros32 | |||
) |
Definition at line 41 of file bits-unittest.cc.
References CountTrailingZeros32(), and shift.
v8::base::bits::TEST | ( | Bits | , |
IsPowerOfTwo32 | |||
) |
Definition at line 51 of file bits-unittest.cc.
References IsPowerOfTwo32(), shift, and U.
v8::base::bits::TEST | ( | Bits | , |
IsPowerOfTwo64 | |||
) |
Definition at line 65 of file bits-unittest.cc.
References IsPowerOfTwo64(), shift, U, and V8_UINT64_C.
v8::base::bits::TEST | ( | Bits | , |
RotateRight32 | |||
) |
Definition at line 105 of file bits-unittest.cc.
References RotateRight32(), and shift.
v8::base::bits::TEST | ( | Bits | , |
RotateRight64 | |||
) |
Definition at line 115 of file bits-unittest.cc.
References RotateRight64(), shift, and V8_UINT64_C.
v8::base::bits::TEST | ( | Bits | , |
RoundDownToPowerOfTwo32 | |||
) |
Definition at line 95 of file bits-unittest.cc.
References RoundDownToPowerOfTwo32(), and shift.
v8::base::bits::TEST | ( | Bits | , |
RoundUpToPowerOfTwo32 | |||
) |
Definition at line 79 of file bits-unittest.cc.
References RoundUpToPowerOfTwo32(), and shift.
v8::base::bits::TEST | ( | Bits | , |
SignedAddOverflow32 | |||
) |
Definition at line 125 of file bits-unittest.cc.
References v8::internal::min(), and SignedAddOverflow32().
v8::base::bits::TEST | ( | Bits | , |
SignedSubOverflow32 | |||
) |
Definition at line 147 of file bits-unittest.cc.
References v8::internal::min(), and SignedSubOverflow32().
v8::base::bits::TEST | ( | BitsDeathTest | , |
DISABLE_IN_RELEASE(RoundUpToPowerOfTwo32) | |||
) |
Definition at line 89 of file bits-unittest.cc.
References RoundUpToPowerOfTwo32().