/art/runtime/base/ |
D | bit_utils_test.cc | 225 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 …]
|
D | bit_utils.h | 242 static constexpr bool IsUint(T value) { in IsUint() function 263 : IsUint<kBits>(value < 0 in IsAbsoluteUint()
|
/art/compiler/utils/mips/ |
D | assembler_mips.cc | 150 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/ |
D | assembler_thumb2.cc | 364 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 …]
|
D | assembler_arm32.cc | 1269 CHECK(IsUint<24>(imm24)) << imm24; in svc()
|
/art/compiler/dex/ |
D | dex_to_dex_compiler.cc | 259 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/ |
D | compiled_method.h | 240 DCHECK(IsUint<32>(element_offset)); in DexCacheArrayPatch() 320 DCHECK(IsUint<24>(literal_offset)); in LinkerPatch()
|
/art/compiler/utils/mips64/ |
D | assembler_mips64.cc | 143 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/ |
D | assembler_x86.h | 42 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8() 44 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
|
D | assembler_x86.cc | 1887 CHECK(IsUint<8>(delta)); in EmitLabelLink()
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64.h | 49 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8() 51 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
|
D | assembler_x86_64.cc | 2452 CHECK(IsUint<8>(delta)); in EmitLabelLink()
|
/art/runtime/ |
D | stack_map.h | 396 return IsUint<kValueBits>(value); in IsShortValue() 401 DCHECK(IsUint<kKindBits>(kind_integer_value)) << kind_integer_value; in MakeShortLocation()
|
D | oat_file_manager.cc | 190 DCHECK(IsUint<16>(index)); in GetClassDescriptor()
|
D | elf_file.cc | 1868 CHECK(IsUint<32>(base_address)) << std::hex << base_address; in Fixup()
|
D | dex_file.cc | 2413 CHECK(IsUint<16>(jval_.i)); in Next()
|
D | class_linker.cc | 5623 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/ |
D | code_generator_mips.cc | 1148 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()
|
D | code_generator_mips64.cc | 1031 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()
|
D | intrinsics_mips64.cc | 1484 if (!IsUint<16>(invoke->InputAt(1)->AsIntConstant()->GetValue())) { in GenerateStringIndexOf()
|
D | nodes.cc | 540 DCHECK(IsUint<1>(value)); in GetConstant()
|
D | intrinsics_mips.cc | 2074 if (!IsUint<16>(invoke->InputAt(1)->AsIntConstant()->GetValue())) { in GenerateStringIndexOf()
|
D | nodes.h | 2079 DCHECK(IsUint<BitFieldType::size>(static_cast<uintptr_t>(value))); in SetPackedField() 4859 DCHECK(IsUint<1>(x)) << x; in Compute()
|
D | code_generator_x86_64.cc | 5458 if (IsUint<32>(load->GetAddress())) { in VisitLoadString() 6571 } else if (IsUint<32>(value)) { in Load64BitValue()
|
D | code_generator_arm64.cc | 4068 DCHECK(load->GetAddress() != 0u && IsUint<32>(load->GetAddress())); in VisitLoadString()
|