Home
last modified time | relevance | path

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

12345678

/art/compiler/dex/
Dlocal_value_numbering.h36 static constexpr uint16_t kNoValue = GlobalValueNumbering::kNoValue;
47 uint16_t GetSRegValueName(uint16_t s_reg) const { in GetSRegValueName()
51 void SetValueNameNullChecked(uint16_t value_name) { in SetValueNameNullChecked()
55 bool IsValueNullChecked(uint16_t value_name) const { in IsValueNullChecked()
59 bool IsSregValue(uint16_t s_reg, uint16_t value_name) const { in IsSregValue()
77 uint16_t GetValueNumber(MIR* mir);
103 typedef ScopedArenaSafeMap<uint16_t, uint16_t> SregValueMap;
105 void SetOperandValueImpl(uint16_t s_reg, uint16_t value, SregValueMap* map) { in SetOperandValueImpl()
111 uint16_t GetOperandValueImpl(int s_reg, const SregValueMap* map) const { in GetOperandValueImpl()
112 uint16_t res = kNoValue; in GetOperandValueImpl()
[all …]
Dglobal_value_numbering.h66 static constexpr uint16_t kNoValue = 0xffffu;
69 uint16_t NewValueName() { in NewValueName()
77 typedef ScopedArenaSafeMap<uint64_t, uint16_t> ValueMap;
79 static uint64_t BuildKey(uint16_t op, uint16_t operand1, uint16_t operand2, uint16_t modifier) { in BuildKey()
85 uint16_t LookupValue(uint16_t op, uint16_t operand1, uint16_t operand2, uint16_t modifier) { in LookupValue()
86 uint16_t res; in LookupValue()
99 bool HasValue(uint16_t op, uint16_t operand1, uint16_t operand2, uint16_t modifier, in HasValue()
100 uint16_t value) const { in HasValue()
113 uint16_t field_idx;
114 uint16_t type; // See comments for LocalValueNumbering::kFieldTypeCount.
[all …]
Dmir_method_info.h34 uint16_t MethodIndex() const { in MethodIndex()
50 uint16_t DeclaringClassIndex() const { in DeclaringClassIndex()
54 uint16_t DeclaringMethodIndex() const { in DeclaringMethodIndex()
64 static constexpr uint16_t kFlagIsStatic = 1u << kBitIsStatic;
66 MirMethodInfo(uint16_t method_idx, uint16_t flags) in MirMethodInfo()
80 uint16_t method_idx_;
82 uint16_t flags_;
84 uint16_t declaring_method_idx_;
86 uint16_t declaring_class_idx_;
101 MirMethodLoweringInfo(uint16_t method_idx, InvokeType type) in MirMethodLoweringInfo()
[all …]
Dmir_field_info.h38 uint16_t FieldIndex() const { in FieldIndex()
54 uint16_t DeclaringClassIndex() const { in DeclaringClassIndex()
58 uint16_t DeclaringFieldIndex() const { in DeclaringFieldIndex()
72 static constexpr uint16_t kFlagIsVolatile = 1u << kBitIsVolatile;
73 static constexpr uint16_t kFlagIsStatic = 1u << kBitIsStatic;
75 MirFieldInfo(uint16_t field_idx, uint16_t flags) in MirFieldInfo()
89 uint16_t field_idx_;
91 uint16_t flags_;
93 uint16_t declaring_field_idx_;
95 uint16_t declaring_class_idx_;
[all …]
Dlocal_value_numbering.cc28 static constexpr uint16_t kInvokeMemoryVersionBumpOp = Instruction::INVOKE_VIRTUAL;
29 static constexpr uint16_t kUnresolvedSFieldOp = Instruction::SGET;
30 static constexpr uint16_t kResolvedSFieldOp = Instruction::SGET_WIDE;
31 static constexpr uint16_t kUnresolvedIFieldOp = Instruction::IGET;
32 static constexpr uint16_t kNonAliasingIFieldLocOp = Instruction::IGET_WIDE;
33 static constexpr uint16_t kNonAliasingIFieldInitialOp = Instruction::IGET_OBJECT;
34 static constexpr uint16_t kAliasingIFieldOp = Instruction::IGET_BOOLEAN;
35 static constexpr uint16_t kAliasingIFieldStartVersionOp = Instruction::IGET_BYTE;
36 static constexpr uint16_t kAliasingIFieldBumpVersionOp = Instruction::IGET_CHAR;
37 static constexpr uint16_t kNonAliasingArrayOp = Instruction::AGET;
[all …]
Dreg_storage.h96 static const uint16_t kRegValMask = 0x03ff; // Num, type and shape.
97 static const uint16_t kRegTypeMask = 0x007f; // Num and type.
98 static const uint16_t kRegNumMask = 0x003f; // Num only.
99 static const uint16_t kHighRegNumMask = 0x001f; // 0..31 for high reg
100 static const uint16_t kMaxRegs = kRegValMask + 1;
102 static const uint16_t kInvalidRegVal = 0x03ff;
103 static const uint16_t kHighRegShift = 10;
104 static const uint16_t kHighRegMask = (kHighRegNumMask << kHighRegShift);
123 constexpr explicit RegStorage(uint16_t val) : reg_(val) {} in RegStorage()
183 static constexpr bool IsFloat(uint16_t reg) { in IsFloat()
[all …]
Dcompiler_ir.h56 uint16_t class_def_idx; // compiling method's defining class definition index.
73 uint16_t num_dalvik_registers; // method->registers_size.
74 const uint16_t* insns;
75 uint16_t num_ins;
76 uint16_t num_outs;
77 uint16_t num_regs; // Unlike num_dalvik_registers, does not include ins.
/art/runtime/
Ddex_instruction.h45 const uint16_t ident;
46 const uint16_t case_count;
55 const uint16_t ident;
56 const uint16_t case_count;
73 const uint16_t ident;
74 const uint16_t element_width;
187 static const Instruction* At(const uint16_t* code) { in At()
194 return At(reinterpret_cast<const uint16_t*>(this) + offset); in RelativeAt()
296 uint16_t VRegA_32x() const;
309 int8_t VRegA_10t(uint16_t inst_data) const;
[all …]
Ddex_instruction-inl.h89 inline int8_t Instruction::VRegA_10t(uint16_t inst_data) const { in VRegA_10t()
94 inline uint8_t Instruction::VRegA_10x(uint16_t inst_data) const { in VRegA_10x()
99 inline uint4_t Instruction::VRegA_11n(uint16_t inst_data) const { in VRegA_11n()
104 inline uint8_t Instruction::VRegA_11x(uint16_t inst_data) const { in VRegA_11x()
109 inline uint4_t Instruction::VRegA_12x(uint16_t inst_data) const { in VRegA_12x()
119 inline uint8_t Instruction::VRegA_21c(uint16_t inst_data) const { in VRegA_21c()
124 inline uint8_t Instruction::VRegA_21h(uint16_t inst_data) const { in VRegA_21h()
129 inline uint8_t Instruction::VRegA_21s(uint16_t inst_data) const { in VRegA_21s()
134 inline uint8_t Instruction::VRegA_21t(uint16_t inst_data) const { in VRegA_21t()
139 inline uint8_t Instruction::VRegA_22b(uint16_t inst_data) const { in VRegA_22b()
[all …]
Dutf.h36 typedef PrimitiveArray<uint16_t> CharArray;
48 size_t CountUtf8Bytes(const uint16_t* chars, size_t char_count);
53 void ConvertModifiedUtf8ToUtf16(uint16_t* utf16_out, const char* utf8_in);
65 int CompareModifiedUtf8ToUtf16AsCodePointValues(const char* utf8_1, const uint16_t* utf8_2);
73 void ConvertUtf16ToModifiedUtf8(char* utf8_out, const uint16_t* utf16_in, size_t char_count);
80 int32_t ComputeUtf16Hash(const uint16_t* chars, size_t char_count);
100 uint16_t GetUtf16FromUtf8(const char** utf8_data_in);
Dutf.cc47 void ConvertModifiedUtf8ToUtf16(uint16_t* utf16_data_out, const char* utf8_data_in) { in ConvertModifiedUtf8ToUtf16()
53 void ConvertUtf16ToModifiedUtf8(char* utf8_out, const uint16_t* utf16_in, size_t char_count) { in ConvertUtf16ToModifiedUtf8()
55 uint16_t ch = *utf16_in++; in ConvertUtf16ToModifiedUtf8()
80 int32_t ComputeUtf16Hash(const uint16_t* chars, size_t char_count) { in ComputeUtf16Hash()
96 int CompareModifiedUtf8ToUtf16AsCodePointValues(const char* utf8_1, const uint16_t* utf8_2) { in CompareModifiedUtf8ToUtf16AsCodePointValues()
113 size_t CountUtf8Bytes(const uint16_t* chars, size_t char_count) { in CountUtf8Bytes()
116 uint16_t ch = *chars++; in CountUtf8Bytes()
Ddex_instruction_visitor_test.cc45 const uint16_t c0[] = {}; in TEST()
50 const uint16_t c1[] = { 0 }; in TEST()
55 const uint16_t c2[] = { 0, 0 }; in TEST()
60 const uint16_t c3[] = { 0, 0, 0, }; in TEST()
65 const uint16_t c4[] = { 0, 0, 0, 0 }; in TEST()
Ddex_file_verifier.h75 bool CheckIntraSectionIterate(size_t offset, uint32_t count, uint16_t type);
76 bool CheckIntraIdSection(size_t offset, uint32_t count, uint16_t type);
77 bool CheckIntraDataSection(size_t offset, uint32_t count, uint16_t type);
80 bool CheckOffsetToTypeMap(size_t offset, uint16_t type);
84 uint16_t FindFirstClassDataDefiner(const byte* ptr, bool* success);
85 uint16_t FindFirstAnnotationsDirectoryDefiner(const byte* ptr, bool* success);
98 bool CheckInterSectionIterate(size_t offset, uint32_t count, uint16_t type);
120 AllocationTrackingSafeMap<uint32_t, uint16_t, kAllocatorTagDexFileVerifier> offset_to_type_map_;
/art/runtime/quick/
Dinline_method_analyser.h37 enum InlineMethodOpcode : uint16_t {
77 enum InlineMethodFlags : uint16_t {
112 uint16_t op_variant : 3;
113 uint16_t method_is_static : 1;
114 uint16_t object_arg : 4;
115 uint16_t src_arg : 4; // iput only
116 uint16_t return_arg_plus1 : 4; // iput only, method argument to return + 1, 0 = return void.
117 uint16_t field_idx;
124 uint16_t arg;
125 uint16_t is_wide : 1;
[all …]
/art/runtime/arch/
Dmemcmp16.h35 extern "C" uint32_t __memcmp16(const uint16_t* s0, const uint16_t* s1, size_t count);
41 static inline int32_t MemCmp16(const uint16_t* s0, const uint16_t* s1, size_t count) { in MemCmp16()
50 extern "C" int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count);
60 int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count);
Dmemcmp16_test.cc37 int32_t memcmp16_compare(const uint16_t* s0, const uint16_t* s1, size_t count) { in memcmp16_compare()
55 uint16_t *s1, *s2; // Use raw pointers to simplify using clobbered addresses in CheckSeparate()
88 s1 = new uint16_t[count1]; in CheckSeparate()
91 s1 = reinterpret_cast<uint16_t*>(0xebad1001); in CheckSeparate()
95 s2 = new uint16_t[count2]; in CheckSeparate()
98 s2 = reinterpret_cast<uint16_t*>(0xebad2002); in CheckSeparate()
106 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
110 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
113 s2[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
117 s1[i] = static_cast<uint16_t>(r.next() & 0xFFFF); in CheckSeparate()
[all …]
Dmemcmp16.cc22 int32_t memcmp16_generic_static(const uint16_t* s0, const uint16_t* s1, size_t count) { in memcmp16_generic_static()
35 int32_t MemCmp16Testing(const uint16_t* s0, const uint16_t* s1, size_t count) { in MemCmp16Testing()
/art/compiler/optimizing/
Dpretty_printer_test.cc30 static void TestCode(const uint16_t* data, const char* expected) { in TestCode()
43 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST()
68 const uint16_t data[] = in TEST()
89 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST()
110 const uint16_t data1[] = ZERO_REGISTER_CODE_ITEM( in TEST()
117 const uint16_t data2[] = ZERO_REGISTER_CODE_ITEM( in TEST()
124 const uint16_t data3[] = ZERO_REGISTER_CODE_ITEM( in TEST()
141 const uint16_t data1[] = ZERO_REGISTER_CODE_ITEM( in TEST()
147 const uint16_t data2[] = ZERO_REGISTER_CODE_ITEM( in TEST()
164 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST()
[all …]
Dcodegen_test.cc69 static void TestCode(const uint16_t* data, bool has_result = false, int32_t expected = 0) { in TestCode()
100 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM(Instruction::RETURN_VOID); in TEST()
105 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST()
113 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST()
122 const uint16_t data1[] = ZERO_REGISTER_CODE_ITEM( in TEST()
129 const uint16_t data2[] = ZERO_REGISTER_CODE_ITEM( in TEST()
136 const uint16_t data3[] = ZERO_REGISTER_CODE_ITEM( in TEST()
145 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST()
154 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
164 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
[all …]
Ddominator_test.cc27 static void TestCode(const uint16_t* data, const int* blocks, size_t blocks_length) { in TestCode()
47 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST()
60 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST()
75 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST()
92 const uint16_t data1[] = ZERO_REGISTER_CODE_ITEM( in TEST()
107 const uint16_t data2[] = ZERO_REGISTER_CODE_ITEM( in TEST()
114 const uint16_t data3[] = ZERO_REGISTER_CODE_ITEM( in TEST()
123 const uint16_t data1[] = ZERO_REGISTER_CODE_ITEM( in TEST()
135 const uint16_t data2[] = ZERO_REGISTER_CODE_ITEM( in TEST()
142 const uint16_t data[] = ZERO_REGISTER_CODE_ITEM( in TEST()
[all …]
Dssa_test.cc78 static void TestCode(const uint16_t* data, const char* expected) { in TestCode()
122 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
153 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
184 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
217 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
246 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
277 const uint16_t data[] = TWO_REGISTERS_CODE_ITEM( in TEST()
311 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
353 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
396 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
[all …]
Dliveness_test.cc42 static void TestCode(const uint16_t* data, const char* expected) { in TestCode()
87 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
109 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
135 const uint16_t data[] = TWO_REGISTERS_CODE_ITEM( in TEST()
182 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
229 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
274 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
319 const uint16_t data[] = TWO_REGISTERS_CODE_ITEM( in TEST()
371 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
426 const uint16_t data[] = ONE_REGISTER_CODE_ITEM( in TEST()
[all …]
/art/runtime/verifier/
Dreg_type.h219 uint16_t GetId() const { in GetId()
276 RegType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in RegType()
289 const uint16_t cache_id_;
311 uint16_t cache_id)
318 ConflictType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in ConflictType()
341 uint16_t cache_id)
348 UndefinedType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id) in UndefinedType()
361 PrimitiveType(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id)
367 Cat1Type(mirror::Class* klass, const std::string& descriptor, uint16_t cache_id)
378 uint16_t cache_id)
[all …]
/art/runtime/mirror/
Dstring.cc43 const uint16_t* chars = GetCharArray()->GetData() + GetOffset(); in FastIndexOf()
44 const uint16_t* p = chars + start; in FastIndexOf()
45 const uint16_t* end = chars + count; in FastIndexOf()
77 const uint16_t* utf16_data_in, in AllocFromUtf16()
88 memcpy(array->GetData(), utf16_data_in, utf16_length * sizeof(uint16_t)); in AllocFromUtf16()
110 uint16_t* utf16_data_out = in AllocFromModifiedUtf8()
111 const_cast<uint16_t*>(string->GetCharArray()->GetData()); in AllocFromModifiedUtf8()
158 bool String::Equals(const uint16_t* that_chars, int32_t that_offset, int32_t that_length) { in Equals()
173 uint16_t ch = GetUtf16FromUtf8(&modified_utf8); in Equals()
184 uint16_t ch = GetUtf16FromUtf8(&p); in Equals()
[all …]
/art/compiler/utils/mips/
Dassembler_mips.h61 void Addi(Register rt, Register rs, uint16_t imm16);
62 void Addiu(Register rt, Register rs, uint16_t imm16);
71 void Andi(Register rt, Register rs, uint16_t imm16);
73 void Ori(Register rt, Register rs, uint16_t imm16);
75 void Xori(Register rt, Register rs, uint16_t imm16);
85 void Lb(Register rt, Register rs, uint16_t imm16);
86 void Lh(Register rt, Register rs, uint16_t imm16);
87 void Lw(Register rt, Register rs, uint16_t imm16);
88 void Lbu(Register rt, Register rs, uint16_t imm16);
89 void Lhu(Register rt, Register rs, uint16_t imm16);
[all …]

12345678