Lines Matching refs:uint16_t
36 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()
123 void SetOperandValue(uint16_t s_reg, uint16_t value) { in SetOperandValue()
127 uint16_t GetOperandValue(int s_reg) const { in GetOperandValue()
131 void SetOperandValueWide(uint16_t s_reg, uint16_t value) { in SetOperandValueWide()
135 uint16_t GetOperandValueWide(int s_reg) const { in GetOperandValueWide()
140 uint16_t array;
141 uint16_t index;
161 typedef ScopedArenaSafeMap<uint16_t, uint16_t> IFieldLocToValueMap;
164 typedef ScopedArenaSafeMap<uint16_t, uint16_t> SFieldToValueMap;
167 uint16_t base; // Or array.
168 uint16_t type;
169 uint16_t field_id; // None (kNoValue) for arrays and unresolved instance field stores.
197 uint16_t base;
198 uint16_t type;
233 store_loc_set(std::less<uint16_t>(), lvn->null_checked_.get_allocator()), in AliasingValues()
235 load_value_map(std::less<uint16_t>(), lvn->null_checked_.get_allocator()) { in AliasingValues()
238 uint16_t memory_version_before_stores; // kNoValue if start version for the field.
239 uint16_t last_stored_value; // Last stored value name, kNoValue if none.
244 uint16_t last_load_memory_version; // kNoValue if not known.
245 ScopedArenaSafeMap<uint16_t, uint16_t> load_value_map;
258 typedef ScopedArenaSafeMap<uint16_t, AliasingValues> AliasingIFieldValuesMap;
261 typedef ScopedArenaSafeMap<uint16_t, AliasingValues> NonAliasingArrayValuesMap;
264 typedef ScopedArenaSafeMap<uint16_t, AliasingValues> AliasingArrayValuesMap;
278 static uint16_t AliasingValuesMergeGet(GlobalValueNumbering* gvn,
281 uint16_t location);
284 uint16_t HandleAliasingValuesGet(Map* map, const typename Map::key_type& key,
285 uint16_t location);
289 uint16_t location, uint16_t value);
295 uint16_t MarkNonAliasingNonNull(MIR* mir);
296 bool IsNonAliasing(uint16_t reg) const;
297 bool IsNonAliasingIField(uint16_t reg, uint16_t field_id, uint16_t type) const;
298 bool IsNonAliasingArray(uint16_t reg, uint16_t type) const;
299 void HandleNullCheck(MIR* mir, uint16_t reg);
300 void HandleRangeCheck(MIR* mir, uint16_t array, uint16_t index);
302 void HandleEscapingRef(uint16_t base);
303 uint16_t HandlePhi(MIR* mir);
304 uint16_t HandleAGet(MIR* mir, uint16_t opcode);
305 void HandleAPut(MIR* mir, uint16_t opcode);
306 uint16_t HandleIGet(MIR* mir, uint16_t opcode);
307 void HandleIPut(MIR* mir, uint16_t opcode);
308 uint16_t HandleSGet(MIR* mir, uint16_t opcode);
309 void HandleSPut(MIR* mir, uint16_t opcode);
310 void RemoveSFieldsForType(uint16_t type);
315 uint16_t NewMemoryVersion(uint16_t* new_version);
358 COMPILE_ASSERT(sizeof(BasicBlockId) == sizeof(uint16_t), BasicBlockId_must_be_16_bit);
371 uint16_t global_memory_version_;
372 uint16_t unresolved_sfield_version_[kFieldTypeCount];
373 uint16_t unresolved_ifield_version_[kFieldTypeCount];
389 ScopedArenaSafeMap<ScopedArenaVector<BasicBlockId>, uint16_t> merge_map_;
391 uint16_t merge_new_memory_version_;