/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 | 286 constexpr bool IsUint(T value) { in IsUint() function 307 : IsUint<kBits>(value < 0 in IsAbsoluteUint()
|
/art/compiler/utils/riscv64/ |
D | assembler_riscv64.h | 1877 return IsUint<3>(uv); in IsShortReg() 2220 DCHECK(IsUint<3>(enum_cast<uint32_t>(nf))); in EncodeRVVMemF7() 2221 DCHECK(IsUint<1>(mew)); in EncodeRVVMemF7() 2222 DCHECK(IsUint<2>(enum_cast<uint32_t>(mop))); in EncodeRVVMemF7() 2223 DCHECK(IsUint<1>(enum_cast<uint32_t>(vm))); in EncodeRVVMemF7() 2230 DCHECK(IsUint<6>(funct6)); in EncodeRVVF7() 2252 DCHECK(IsUint<2>(u_offset)); in EncodeOffset0_1() 2262 DCHECK(IsUint<6 + 2>(u_offset)); in ExtractOffset52_76() 2275 DCHECK(IsUint<6 + 3>(u_offset)); in ExtractOffset53_86() 2288 DCHECK(IsUint<5 + 2>(u_offset)); in ExtractOffset52_6() [all …]
|
D | assembler_riscv64.cc | 48 DCHECK(IsUint<12>(uint12)); in ToInt12() 171 if (IsShortReg(rd) && IsShortReg(rs1) && IsUint<2>(offset) && IsAligned<2>(offset)) { in Lh() 184 if (rd != Zero && rs1 == SP && IsUint<8>(offset) && IsAligned<4>(offset)) { in Lw() 187 } else if (IsShortReg(rd) && IsShortReg(rs1) && IsUint<7>(offset) && IsAligned<4>(offset)) { in Lw() 200 if (rd != Zero && rs1 == SP && IsUint<9>(offset) && IsAligned<8>(offset)) { in Ld() 203 } else if (IsShortReg(rd) && IsShortReg(rs1) && IsUint<8>(offset) && IsAligned<8>(offset)) { in Ld() 216 if (IsShortReg(rd) && IsShortReg(rs1) && IsUint<2>(offset)) { in Lbu() 229 if (IsShortReg(rd) && IsShortReg(rs1) && IsUint<2>(offset) && IsAligned<2>(offset)) { in Lhu() 249 if (IsShortReg(rs2) && IsShortReg(rs1) && IsUint<2>(offset)) { in Sb() 262 if (IsShortReg(rs2) && IsShortReg(rs1) && IsUint<2>(offset) && IsAligned<2>(offset)) { in Sh() [all …]
|
/art/dex2oat/driver/ |
D | compiled_method.h | 85 DCHECK(IsUint<BitFieldType::size>(static_cast<uintptr_t>(value))); in SetPackedField()
|
/art/disassembler/ |
D | disassembler_riscv64.cc | 117 DCHECK(IsUint<16>(insn16)); in Decode16CMOffsetW() 125 DCHECK(IsUint<16>(insn16)); in Decode16CMOffsetD() 132 DCHECK(IsUint<6>(uimm6)); in Uimm6ToOffsetD16() 139 DCHECK(IsUint<6>(uimm6)); in Uimm6ToOffsetW16() 146 DCHECK(IsUint<2>(uimm2)); in Uimm2ToOffset10() 153 DCHECK(IsUint<2>(uimm2)); in Uimm2ToOffset1() 169 DCHECK(IsUint<16>(insn16)); in Decode16Imm6() 1155 if (IsUint<3>(rs1V)) { in Print32RVVOp() 1815 DCHECK(IsUint<3>(opc)); in Dump16()
|
/art/compiler/linker/ |
D | linker_patch.h | 313 DCHECK(IsUint<24>(literal_offset)); in LinkerPatch()
|
/art/runtime/ |
D | intern_table_test.cc | 91 ASSERT_TRUE(IsUint<32>(table.set_.hashfn_(GcRoot<mirror::String>(str)))); in TEST_F()
|
D | fault_handler.cc | 252 if (fault_pc == 0u || !IsUint<32>(fault_pc) || !IsAligned<4u>(fault_pc)) { in CheckForUnrecognizedImplicitSuspendCheckInBootImage()
|
D | class_linker.cc | 8664 if (UNLIKELY(!IsUint<16>(vtable_length))) { in AssignVTableIndexes() 8792 if (!IsUint<16>(num_virtual_methods)) { in LinkMethods() 8859 if (!IsUint<16>(final_num_virtual_methods)) { in LinkMethods() 8953 DCHECK(IsUint<16>(final_vtable_size)); in LinkMethods() 9026 static_assert(IsUint<16>(mirror::Object::kVTableLength)); in LinkJavaLangObjectMethods()
|
/art/compiler/utils/arm/ |
D | assembler_arm_vixl.cc | 117 if (IsUint<12>(immediate) && update_flags != vixl::aarch32::SetFlags) { in ShifterOperandCanHold()
|
/art/compiler/optimizing/ |
D | common_arm64.h | 267 return IsUint<8>(value); in Arm64CanEncodeConstantAsImmediate()
|
D | loop_optimization.cc | 168 if (IsUint<8>(value)) { in IsZeroExtensionAndGet() 175 if (IsUint<16>(value)) { in IsZeroExtensionAndGet()
|
D | code_generator_vector_arm64_neon.cc | 55 return IsUint<8>(value); in NEONCanEncodeConstantAsImmediate()
|
D | code_generator_arm_vixl.cc | 1431 if (!left_low.IsLow() || !IsUint<8>(value_low)) { in GenerateLongTestConstant() 1831 ret = IsUint<8>(Low32Bits(value)) && IsUint<8>(High32Bits(value)); in CanEncodeConstantAs8BitImmediate() 1833 ret = IsUint<8>(Int32ConstantFrom(constant)); in CanEncodeConstantAs8BitImmediate() 7899 } else if (IsUint<16>(path_to_root)) { in GenerateBitstringTypeCheckCompare()
|
D | nodes.cc | 763 DCHECK(IsUint<1>(value)); in GetConstant()
|
D | nodes.h | 2729 DCHECK(IsUint<BitFieldType::size>(static_cast<uintptr_t>(value))); in SetPackedField() 6059 DCHECK(IsUint<1>(x)) << x;
|
/art/libdexfile/dex/ |
D | dex_file_verifier.cc | 3011 DCHECK(IsUint<16>(data_definer) || data_definer == kDexNoIndex) << data_definer; in CheckInterClassDefItem() 3027 DCHECK(IsUint<16>(defining_class) || defining_class == kDexNoIndex) << defining_class; in CheckInterClassDefItem() 3148 DCHECK(IsUint<16>(defining_class) || defining_class == kDexNoIndex) << defining_class; in CheckInterClassDataItem() 3215 DCHECK(IsUint<16>(defining_class) || defining_class == kDexNoIndex) << defining_class; in CheckInterAnnotationsDirectoryItem()
|
D | dex_file.cc | 769 CHECK(IsUint<16>(jval_.i)); in MaybeNext()
|
/art/compiler/utils/x86/ |
D | assembler_x86.h | 45 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8() 47 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
|
D | assembler_x86.cc | 3985 CHECK(IsUint<8>(delta)); in EmitLabelLink()
|
/art/runtime/interpreter/mterp/ |
D | nterp.cc | 325 DCHECK(IsUint<8>(static_cast<std::underlying_type_t<Instruction::Code>>(opcode))); in NterpGetMethod()
|
/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()
|
D | assembler_x86_64.cc | 5476 CHECK(IsUint<8>(delta)); in EmitLabelLink()
|
/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()
|