/art/libartbase/base/ |
D | bit_utils_test.cc | 252 static_assert(!IsUint<1, int32_t>(-1), "TestIsUint32#1"); 253 static_assert(IsUint<1, int32_t>(0), "TestIsUint32#2"); 254 static_assert(IsUint<1, int32_t>(1), "TestIsUint32#3"); 255 static_assert(!IsUint<1, int32_t>(2), "TestIsUint32#4"); 256 static_assert(!IsUint<4, int32_t>(-1), "TestIsUint32#5"); 257 static_assert(IsUint<4, int32_t>(0), "TestIsUint32#6"); 258 static_assert(IsUint<4, int32_t>(15), "TestIsUint32#7"); 259 static_assert(!IsUint<4, int32_t>(16), "TestIsUint32#8"); 260 static_assert(!IsUint<30, int32_t>(std::numeric_limits<int32_t>::max()), "TestIsUint32#9"); 261 static_assert(IsUint<31, int32_t>(std::numeric_limits<int32_t>::max()), "TestIsUint32#10"); [all …]
|
D | bit_utils.h | 277 constexpr bool IsUint(T value) { in IsUint() function 298 : IsUint<kBits>(value < 0 in IsAbsoluteUint()
|
/art/compiler/utils/mips64/ |
D | assembler_mips64.cc | 151 CHECK(IsUint<21>(imm21)) << imm21; in EmitI21() 159 CHECK(IsUint<26>(imm26)) << imm26; in EmitI26() 245 CHECK(IsUint<10>(s10)) << s10; in EmitMsaMI10() 261 CHECK(IsUint<10>(i10)) << i10; in EmitMsaI10() 428 CHECK(IsUint<5>(pos)) << pos; in Dext() 429 CHECK(IsUint<5>(size - 1)) << size; in Dext() 434 CHECK(IsUint<5>(pos)) << pos; in Ins() 435 CHECK(IsUint<5>(size - 1)) << size; in Ins() 436 CHECK(IsUint<5>(pos + size - 1)) << pos << " + " << size; in Ins() 441 CHECK(IsUint<5>(pos)) << pos; in Dinsm() [all …]
|
D | assembler_mips64.h | 67 if (IsUint<16>(value)) { in TemplateLoadConst32() 90 return (IsUint<16>(x) || IsInt<16>(x) || ((x & 0xFFFF) == 0)) ? 2 : 3; in InstrCountForLoadReplicatedConst32() 102 if (IsUint<16>(value)) { in TemplateLoadConst64() 179 if (IsUint<16>(tmp)) { in TemplateLoadConst64() 220 if (IsUint<16>(tmp)) { in TemplateLoadConst64()
|
D | assembler_mips64_test.cc | 2602 CHECK(IsUint<5>(pos - 32)) << pos; in Dinsu() 2603 CHECK(IsUint<5>(size - 1)) << size; in Dinsu() 2604 CHECK(IsUint<5>(pos + size - 33)) << pos << " + " << size; in Dinsu()
|
/art/compiler/utils/mips/ |
D | assembler_mips.cc | 287 CHECK(IsUint<21>(imm21)) << imm21; in EmitI21() 296 CHECK(IsUint<26>(imm26)) << imm26; in EmitI26() 392 CHECK(IsUint<10>(s10)) << s10; in EmitMsaMI10() 409 CHECK(IsUint<10>(i10)) << i10; in EmitMsaI10() 643 CHECK(IsUint<5>(shamt)) << shamt; in Sll() 648 CHECK(IsUint<5>(shamt)) << shamt; in Srl() 653 CHECK(IsUint<5>(shamt)) << shamt; in Rotr() 658 CHECK(IsUint<5>(shamt)) << shamt; in Sra() 679 CHECK(IsUint<5>(pos)) << pos; in Ext() 687 CHECK(IsUint<5>(pos)) << pos; in Ins() [all …]
|
/art/compiler/ |
D | compiled_method.h | 91 DCHECK(IsUint<BitFieldType::size>(static_cast<uintptr_t>(value))); in SetPackedField()
|
/art/dex2oat/dex/ |
D | dex_to_dex_compiler.cc | 438 if (fast_path && !is_volatile && IsUint<16>(field_offset.Int32Value())) { in CompileInstanceFieldAccess() 486 DCHECK(IsUint<16>(vtable_idx)); in CompileInvokeVirtual()
|
/art/compiler/linker/ |
D | linker_patch.h | 238 DCHECK(IsUint<24>(literal_offset)); in LinkerPatch()
|
/art/runtime/ |
D | intern_table_test.cc | 83 ASSERT_TRUE(IsUint<32>(table.set_.hashfn_(str))); in TEST_F()
|
D | elf_file.cc | 1906 CHECK(IsUint<32>(base_address)) << std::hex << base_address; in Fixup()
|
/art/compiler/optimizing/ |
D | common_arm64.h | 248 return IsUint<8>(value); in Arm64CanEncodeConstantAsImmediate()
|
D | code_generator_mips.cc | 2051 if (IsUint<16>(path_to_root)) { in GenerateBitstringTypeCheckCompare() 2116 can_use_imm = IsUint<16>(imm); in HandleBinaryOp() 2271 if (IsUint<16>(low)) { in HandleBinaryOp() 2279 if (IsUint<16>(high)) { in HandleBinaryOp() 2292 if (IsUint<16>(low)) { in HandleBinaryOp() 2300 if (IsUint<16>(high)) { in HandleBinaryOp() 2313 if (IsUint<16>(low)) { in HandleBinaryOp() 2321 if (IsUint<16>(high)) { in HandleBinaryOp() 3320 if (IsUint<15>(length_value)) { in VisitBoundsCheck() 3362 DCHECK(IsUint<15>(length)) << length; in VisitBoundsCheck() [all …]
|
D | loop_optimization.cc | 169 if (IsUint<8>(value)) { in IsZeroExtensionAndGet() 176 if (IsUint<16>(value)) { in IsZeroExtensionAndGet()
|
D | code_generator_mips64.cc | 1897 if (IsUint<16>(path_to_root)) { in GenerateBitstringTypeCheckCompare() 1962 can_use_imm = IsUint<16>(imm); in HandleBinaryOp() 2875 if (IsUint<15>(length_value)) { in VisitBoundsCheck() 2917 DCHECK(IsUint<15>(length)) << length; in VisitBoundsCheck() 3778 if (use_imm && IsUint<16>(rhs_imm)) { in GenerateIntLongCompare() 3920 } else if (use_imm && IsUint<16>(rhs_imm)) { in MaterializeIntLongCompare()
|
D | intrinsics_mips.cc | 1662 if (!IsUint<16>(code_point->AsIntConstant()->GetValue())) { in GenerateStringIndexOf() 2638 if (IsUint<15>(info.length)) { in VisitIntegerValueOf()
|
D | code_generator_arm_vixl.cc | 1371 if (!left_low.IsLow() || !IsUint<8>(value_low)) { in GenerateLongTestConstant() 1771 ret = IsUint<8>(Low32Bits(value)) && IsUint<8>(High32Bits(value)); in CanEncodeConstantAs8BitImmediate() 1773 ret = IsUint<8>(Int32ConstantFrom(constant)); in CanEncodeConstantAs8BitImmediate() 7157 } else if (IsUint<16>(path_to_root)) { in GenerateBitstringTypeCheckCompare()
|
D | intrinsics_mips64.cc | 1510 if (!IsUint<16>(code_point->AsIntConstant()->GetValue())) { in GenerateStringIndexOf()
|
/art/compiler/utils/arm/ |
D | assembler_arm_vixl.cc | 119 if (IsUint<12>(immediate) && update_flags != vixl::aarch32::SetFlags) { in ShifterOperandCanHold()
|
/art/compiler/utils/x86/ |
D | assembler_x86.h | 44 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8() 46 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
|
D | assembler_x86.cc | 3057 CHECK(IsUint<8>(delta)); in EmitLabelLink()
|
/art/libdexfile/dex/ |
D | dex_file.cc | 631 CHECK(IsUint<16>(jval_.i)); in Next()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64.h | 51 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8() 53 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 669 DCHECK(IsUint<16>(vector.size())); in EncodeUint16SparseBitVector() 682 DCHECK(IsUint<16>(vector->size())); in DecodeUint16SparseBitVector()
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 78 if (IsUint<16>(insn)) { in InsertInsn() 113 std::count_if(insns.begin(), insns.end(), [](uint32_t x) { return IsUint<16>(x); }); in RawCode()
|