Searched refs:IsPowerOfTwo (Results 1 - 12 of 12) sorted by relevance

/art/runtime/base/
H A Dbounded_fifo.h29 CHECK(IsPowerOfTwo(MaxSize));
/art/compiler/dex/quick/
H A Dresource_mask.cc155 if (low_regs_without_lowest == 0u && IsPowerOfTwo(mask.masks_[1])) {
161 } else if (IsPowerOfTwo(low_regs_without_lowest) && mask.masks_[1] == 0u) {
H A Dgen_common.cc1543 if ((lit < 2) || ((cu_->instruction_set != kThumb2) && !IsPowerOfTwo(lit))) {
1547 if ((cu_->instruction_set == kThumb2) && !IsPowerOfTwo(lit)) {
1617 if (IsPowerOfTwo(lit)) {
1621 } else if (IsPowerOfTwo(lit + 1)) {
H A Dcodegen_util.cc1159 bool Mir2Lir::IsPowerOfTwo(uint64_t x) { function in class:art::Mir2Lir
H A Dmir_to_lir.h1474 bool IsPowerOfTwo(uint64_t x);
/art/runtime/
H A Dutils.h85 static constexpr bool IsPowerOfTwo(T x) { function in namespace:art
177 DCHECK_CONSTEXPR(IsPowerOfTwo(n), , T(0))
H A Ddebugger.cc4369 if (!IsPowerOfTwo(value)) {
/art/compiler/dex/quick/arm/
H A Dint_arm.cc553 if (IsPowerOfTwo(lit)) {
559 if (IsPowerOfTwo(lit - 1)) {
565 if (IsPowerOfTwo(lit + 1)) {
/art/compiler/dex/quick/x86/
H A Dint_x86.cc631 } else if (is_div && IsPowerOfTwo(std::abs(imm))) {
1389 } else if (IsPowerOfTwo(val)) {
1805 } else if (is_div && IsPowerOfTwo(std::abs(imm))) {
/art/compiler/dex/quick/arm64/
H A Dint_arm64.cc529 if (!IsPowerOfTwo(lit)) {
/art/compiler/utils/x86/
H A Dassembler_x86.cc1303 CHECK(IsPowerOfTwo(alignment));
/art/compiler/utils/x86_64/
H A Dassembler_x86_64.cc1499 CHECK(IsPowerOfTwo(alignment));

Completed in 165 milliseconds