Home
last modified time | relevance | path

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

12

/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/utils/mips64/
Dassembler_mips64.cc151 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 …]
Dassembler_mips64.h67 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()
Dassembler_mips64_test.cc2602 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/
Dassembler_mips.cc287 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/
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()
Dintrinsics_mips.cc1662 if (!IsUint<16>(code_point->AsIntConstant()->GetValue())) { in GenerateStringIndexOf()
2638 if (IsUint<15>(info.length)) { in VisitIntegerValueOf()
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()
Dintrinsics_mips64.cc1510 if (!IsUint<16>(code_point->AsIntConstant()->GetValue())) { in GenerateStringIndexOf()
/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()
Dassembler_x86.cc3057 CHECK(IsUint<8>(delta)); in EmitLabelLink()
/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()

12