Home
last modified time | relevance | path

Searched refs:IsUint (Results 1 – 18 of 18) sorted by relevance

/art/libartbase/base/
Dbit_utils_test.cc252 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 …]
Dbit_utils.h277 constexpr bool IsUint(T value) { in IsUint() function
298 : IsUint<kBits>(value < 0 in IsAbsoluteUint()
/art/compiler/
Dcompiled_method.h91 DCHECK(IsUint<BitFieldType::size>(static_cast<uintptr_t>(value))); in SetPackedField()
/art/dex2oat/dex/
Ddex_to_dex_compiler.cc438 if (fast_path && !is_volatile && IsUint<16>(field_offset.Int32Value())) { in CompileInstanceFieldAccess()
486 DCHECK(IsUint<16>(vtable_idx)); in CompileInvokeVirtual()
/art/compiler/linker/
Dlinker_patch.h238 DCHECK(IsUint<24>(literal_offset)); in LinkerPatch()
/art/runtime/
Dintern_table_test.cc83 ASSERT_TRUE(IsUint<32>(table.set_.hashfn_(str))); in TEST_F()
Delf_file.cc1906 CHECK(IsUint<32>(base_address)) << std::hex << base_address; in Fixup()
/art/compiler/optimizing/
Dcommon_arm64.h248 return IsUint<8>(value); in Arm64CanEncodeConstantAsImmediate()
Dcode_generator_mips.cc2051 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 …]
Dloop_optimization.cc169 if (IsUint<8>(value)) { in IsZeroExtensionAndGet()
176 if (IsUint<16>(value)) { in IsZeroExtensionAndGet()
Dcode_generator_mips64.cc1897 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()
Dcode_generator_arm_vixl.cc1371 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()
/art/compiler/utils/arm/
Dassembler_arm_vixl.cc119 if (IsUint<12>(immediate) && update_flags != vixl::aarch32::SetFlags) { in ShifterOperandCanHold()
/art/compiler/utils/x86/
Dassembler_x86.h44 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8()
46 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
/art/libdexfile/dex/
Ddex_file.cc631 CHECK(IsUint<16>(jval_.i)); in Next()
/art/compiler/utils/x86_64/
Dassembler_x86_64.h51 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/
Dverifier_deps.cc669 DCHECK(IsUint<16>(vector.size())); in EncodeUint16SparseBitVector()
682 DCHECK(IsUint<16>(vector->size())); in DecodeUint16SparseBitVector()
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc78 if (IsUint<16>(insn)) { in InsertInsn()
113 std::count_if(insns.begin(), insns.end(), [](uint32_t x) { return IsUint<16>(x); }); in RawCode()