Home
last modified time | relevance | path

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

/art/runtime/base/
Dbit_utils_test.cc225 static_assert(!IsUint<1, int32_t>(-1), "TestIsUint32#1");
226 static_assert(IsUint<1, int32_t>(0), "TestIsUint32#2");
227 static_assert(IsUint<1, int32_t>(1), "TestIsUint32#3");
228 static_assert(!IsUint<1, int32_t>(2), "TestIsUint32#4");
229 static_assert(!IsUint<4, int32_t>(-1), "TestIsUint32#5");
230 static_assert(IsUint<4, int32_t>(0), "TestIsUint32#6");
231 static_assert(IsUint<4, int32_t>(15), "TestIsUint32#7");
232 static_assert(!IsUint<4, int32_t>(16), "TestIsUint32#8");
233 static_assert(!IsUint<30, int32_t>(std::numeric_limits<int32_t>::max()), "TestIsUint32#9");
234 static_assert(IsUint<31, int32_t>(std::numeric_limits<int32_t>::max()), "TestIsUint32#10");
[all …]
Dbit_utils.h242 static constexpr bool IsUint(T value) { in IsUint() function
263 : IsUint<kBits>(value < 0 in IsAbsoluteUint()
/art/compiler/utils/mips/
Dassembler_mips.cc150 CHECK(IsUint<21>(imm21)) << imm21; in EmitI21()
158 CHECK(IsUint<26>(imm26)) << imm26; in EmitI26()
368 CHECK(IsUint<5>(shamt)) << shamt; in Sll()
373 CHECK(IsUint<5>(shamt)) << shamt; in Srl()
378 CHECK(IsUint<5>(shamt)) << shamt; in Rotr()
383 CHECK(IsUint<5>(shamt)) << shamt; in Sra()
404 CHECK(IsUint<5>(pos)) << pos; in Ext()
411 CHECK(IsUint<5>(pos)) << pos; in Ins()
568 CHECK(IsUint<3>(cc)) << cc; in Bc1f()
578 CHECK(IsUint<3>(cc)) << cc; in Bc1t()
[all …]
/art/compiler/utils/arm/
Dassembler_thumb2.cc364 DCHECK(IsUint<7>(offset)); in CbxzEncoding16()
373 DCHECK(IsUint<8>(value)); in CmpRnImm8Encoding16()
384 DCHECK(IsUint<16>(value)); in MovwEncoding32()
409 DCHECK(IsUint<10>(offset)); in LdrLitEncoding16()
420 CHECK(IsUint<10>(offset)); in LdrdEncoding32()
429 CHECK(IsUint<10>(offset)); in VldrsEncoding32()
440 CHECK(IsUint<10>(offset)); in VldrdEncoding32()
453 DCHECK(IsUint<7>(offset)); in LdrRtRnImm5Encoding16()
474 DCHECK(IsUint<12>(offset)); in LdrRtRnImm12Encoding()
479 DCHECK(IsUint<10>(offset)); in AdrEncoding16()
[all …]
Dassembler_arm32.cc1269 CHECK(IsUint<24>(imm24)) << imm24; in svc()
/art/compiler/dex/
Ddex_to_dex_compiler.cc259 if (fast_path && !is_volatile && IsUint<16>(field_offset.Int32Value())) { in CompileInstanceFieldAccess()
294 if (vtable_idx >= 0 && IsUint<16>(vtable_idx)) { in CompileInvokeVirtual()
/art/compiler/
Dcompiled_method.h240 DCHECK(IsUint<32>(element_offset)); in DexCacheArrayPatch()
320 DCHECK(IsUint<24>(literal_offset)); in LinkerPatch()
/art/compiler/utils/mips64/
Dassembler_mips64.cc143 CHECK(IsUint<21>(imm21)) << imm21; in EmitI21()
151 CHECK(IsUint<26>(imm26)) << imm26; in EmitI26()
304 CHECK(IsUint<5>(pos)) << pos; in Dext()
305 CHECK(IsUint<5>(size - 1)) << size; in Dext()
310 CHECK(IsUint<5>(pos - 32)) << pos; in Dinsu()
311 CHECK(IsUint<5>(size - 1)) << size; in Dinsu()
312 CHECK(IsUint<5>(pos + size - 33)) << pos << " + " << size; in Dinsu()
538 CHECK(IsUint<19>(imm19)) << imm19; in Addiupc()
1036 if (IsUint<16>(value)) { in LoadConst32()
1053 if (IsUint<16>(value)) { in LoadConst64()
[all …]
/art/compiler/utils/x86/
Dassembler_x86.h42 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8()
44 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
Dassembler_x86.cc1887 CHECK(IsUint<8>(delta)); in EmitLabelLink()
/art/compiler/utils/x86_64/
Dassembler_x86_64.h49 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8()
51 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
Dassembler_x86_64.cc2452 CHECK(IsUint<8>(delta)); in EmitLabelLink()
/art/runtime/
Dstack_map.h396 return IsUint<kValueBits>(value); in IsShortValue()
401 DCHECK(IsUint<kKindBits>(kind_integer_value)) << kind_integer_value; in MakeShortLocation()
Doat_file_manager.cc190 DCHECK(IsUint<16>(index)); in GetClassDescriptor()
Delf_file.cc1868 CHECK(IsUint<32>(base_address)) << std::hex << base_address; in Fixup()
Ddex_file.cc2413 CHECK(IsUint<16>(jval_.i)); in Next()
Dclass_linker.cc5623 if (!IsUint<16>(num_virtual_methods)) { in LinkVirtualMethods()
5806 if (!IsUint<16>(actual_count)) { in LinkVirtualMethods()
5822 if (!IsUint<16>(num_virtual_methods)) { in LinkVirtualMethods()
/art/compiler/optimizing/
Dcode_generator_mips.cc1148 can_use_imm = IsUint<16>(imm); in HandleBinaryOp()
1276 if (IsUint<16>(low)) { in HandleBinaryOp()
1284 if (IsUint<16>(high)) { in HandleBinaryOp()
1297 if (IsUint<16>(low)) { in HandleBinaryOp()
1305 if (IsUint<16>(high)) { in HandleBinaryOp()
1318 if (IsUint<16>(low)) { in HandleBinaryOp()
1326 if (IsUint<16>(high)) { in HandleBinaryOp()
2324 if (IsUint<16>(abs_imm - 1)) { in DivRemByPowerOfTwo()
2635 if (use_imm && IsUint<16>(rhs_imm)) { in GenerateIntCompare()
Dcode_generator_mips64.cc1031 can_use_imm = IsUint<16>(imm); in HandleBinaryOp()
1938 if (IsUint<16>(abs_imm - 1)) { in DivRemByPowerOfTwo()
1962 if (IsUint<16>(abs_imm - 1)) { in DivRemByPowerOfTwo()
2264 if (use_imm && IsUint<16>(rhs_imm)) { in GenerateIntLongCompare()
Dintrinsics_mips64.cc1484 if (!IsUint<16>(invoke->InputAt(1)->AsIntConstant()->GetValue())) { in GenerateStringIndexOf()
Dnodes.cc540 DCHECK(IsUint<1>(value)); in GetConstant()
Dintrinsics_mips.cc2074 if (!IsUint<16>(invoke->InputAt(1)->AsIntConstant()->GetValue())) { in GenerateStringIndexOf()
Dnodes.h2079 DCHECK(IsUint<BitFieldType::size>(static_cast<uintptr_t>(value))); in SetPackedField()
4859 DCHECK(IsUint<1>(x)) << x; in Compute()
Dcode_generator_x86_64.cc5458 if (IsUint<32>(load->GetAddress())) { in VisitLoadString()
6571 } else if (IsUint<32>(value)) { in Load64BitValue()
Dcode_generator_arm64.cc4068 DCHECK(load->GetAddress() != 0u && IsUint<32>(load->GetAddress())); in VisitLoadString()