Home
last modified time | relevance | path

Searched refs:IsUint (Results 1 – 25 of 26) 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.h286 constexpr bool IsUint(T value) { in IsUint() function
307 : IsUint<kBits>(value < 0 in IsAbsoluteUint()
/art/compiler/utils/riscv64/
Dassembler_riscv64.h1877 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 …]
Dassembler_riscv64.cc48 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/
Dcompiled_method.h85 DCHECK(IsUint<BitFieldType::size>(static_cast<uintptr_t>(value))); in SetPackedField()
/art/disassembler/
Ddisassembler_riscv64.cc117 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/
Dlinker_patch.h313 DCHECK(IsUint<24>(literal_offset)); in LinkerPatch()
/art/runtime/
Dintern_table_test.cc91 ASSERT_TRUE(IsUint<32>(table.set_.hashfn_(GcRoot<mirror::String>(str)))); in TEST_F()
Dfault_handler.cc252 if (fault_pc == 0u || !IsUint<32>(fault_pc) || !IsAligned<4u>(fault_pc)) { in CheckForUnrecognizedImplicitSuspendCheckInBootImage()
Dclass_linker.cc8664 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/
Dassembler_arm_vixl.cc117 if (IsUint<12>(immediate) && update_flags != vixl::aarch32::SetFlags) { in ShifterOperandCanHold()
/art/compiler/optimizing/
Dcommon_arm64.h267 return IsUint<8>(value); in Arm64CanEncodeConstantAsImmediate()
Dloop_optimization.cc168 if (IsUint<8>(value)) { in IsZeroExtensionAndGet()
175 if (IsUint<16>(value)) { in IsZeroExtensionAndGet()
Dcode_generator_vector_arm64_neon.cc55 return IsUint<8>(value); in NEONCanEncodeConstantAsImmediate()
Dcode_generator_arm_vixl.cc1431 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()
Dnodes.cc763 DCHECK(IsUint<1>(value)); in GetConstant()
Dnodes.h2729 DCHECK(IsUint<BitFieldType::size>(static_cast<uintptr_t>(value))); in SetPackedField()
6059 DCHECK(IsUint<1>(x)) << x;
/art/libdexfile/dex/
Ddex_file_verifier.cc3011 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()
Ddex_file.cc769 CHECK(IsUint<16>(jval_.i)); in MaybeNext()
/art/compiler/utils/x86/
Dassembler_x86.h45 bool is_uint8() const { return IsUint<8>(value_); } in is_uint8()
47 bool is_uint16() const { return IsUint<16>(value_); } in is_uint16()
Dassembler_x86.cc3985 CHECK(IsUint<8>(delta)); in EmitLabelLink()
/art/runtime/interpreter/mterp/
Dnterp.cc325 DCHECK(IsUint<8>(static_cast<std::underlying_type_t<Instruction::Code>>(opcode))); in NterpGetMethod()
/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()
Dassembler_x86_64.cc5476 CHECK(IsUint<8>(delta)); in EmitLabelLink()
/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