Searched defs:position (Results 1 - 16 of 16) sorted by relevance

/art/runtime/base/
H A Dbit_field.h33 static constexpr size_t position = kPosition; member in class:art::BitField
36 static_assert(position < sizeof(uintptr_t) * kBitsPerByte, "Invalid position.");
39 static_assert(size + position <= sizeof(uintptr_t) * kBitsPerByte, "Invalid position + size.");
54 return ((kUintPtrTOne << size) - 1) << position;
60 return position;
71 return static_cast<uintptr_t>(value) << position;
76 return static_cast<T>((value >> position) & ((kUintPtrTOne << size) - 1));
84 return (static_cast<uintptr_t>(value) << position) |
[all...]
H A Ddchecked_vector.h151 // Modifiers: insert(). Check position.
152 iterator insert(const_iterator position, const value_type& value) { argument
153 DCHECK(cbegin() <= position && position <= cend());
154 return Base::insert(position, value);
156 iterator insert(const_iterator position, size_type n, const value_type& value) { argument
157 DCHECK(cbegin() <= position && position <= cend());
158 return Base::insert(position, n, value);
161 iterator insert(const_iterator position, InputIterato argument
165 insert(const_iterator position, value_type&& value) argument
169 insert(const_iterator position, std::initializer_list<value_type> il) argument
175 erase(const_iterator position) argument
[all...]
/art/compiler/utils/
H A Dlabel.h85 // Returns the position for bound and linked labels. Cannot be used
108 void BindTo(int position) { argument
110 position_ = -position - sizeof(void*);
114 void LinkTo(int position) { argument
116 position_ = position + sizeof(void*);
H A Dintrusive_forward_list.h184 iterator insert_after(const_iterator position, value_type& value) { argument
186 new_hook->next_hook = position.hook_->next_hook;
187 position.hook_->next_hook = new_hook;
191 iterator insert_after(const_iterator position, InputIterator first, InputIterator last) { argument
193 position = insert_after(position, *first++);
195 return iterator(position.hook_);
197 iterator erase_after(const_iterator position) { argument
198 const_iterator last = position;
200 return erase_after(position, las
202 erase_after(const_iterator position, const_iterator last) argument
215 splice_after(const_iterator position, IntrusiveForwardList& src) argument
219 splice_after(const_iterator position, IntrusiveForwardList&& src) argument
223 splice_after(const_iterator position, IntrusiveForwardList& src, const_iterator i) argument
236 splice_after(const_iterator position, IntrusiveForwardList&& src, const_iterator i) argument
240 splice_after(const_iterator position, IntrusiveForwardList& src, const_iterator first, const_iterator last) argument
269 splice_after(const_iterator position, IntrusiveForwardList&& src, const_iterator first, const_iterator last) argument
[all...]
H A Dassembler.h48 virtual void Process(const MemoryRegion& region, int position) = 0;
58 int position() const { return position_; } function in class:art::AssemblerFixup
104 template<typename T> T Load(size_t position) { argument
105 CHECK_LE(position, Size() - static_cast<int>(sizeof(T)));
106 return *reinterpret_cast<T*>(contents_ + position);
109 template<typename T> void Store(size_t position, T value) { argument
110 CHECK_LE(position, Size() - static_cast<int>(sizeof(T)));
111 *reinterpret_cast<T*>(contents_ + position) = value;
235 // Returns the position in the instruction stream.
/art/runtime/gc/space/
H A Dregion_space-inl.h260 const uintptr_t position = reinterpret_cast<uintptr_t>(obj) + obj->SizeOf(); local
261 return reinterpret_cast<mirror::Object*>(RoundUp(position, kAlignment));
H A Dbump_pointer_space.cc92 const uintptr_t position = reinterpret_cast<uintptr_t>(obj) + obj->SizeOf(); local
93 return reinterpret_cast<mirror::Object*>(RoundUp(position, kAlignment));
/art/compiler/optimizing/
H A Dssa_liveness_analysis.cc48 auto insert_pos = worklist->rbegin(); // insert_pos.base() will be the actual position.
108 // Each instruction gets a lifetime position, and a block gets a lifetime
109 // start and end position. Non-phi instructions have a distinct lifetime position than
111 // lifetime position.
115 // the lifetime position for each instruction ensures the start of an
238 // and not at the phi's lifetime position.
262 // or at the same liveness position of inputs.
397 size_t position = predecessor->GetLifetimeEnd() - 1; local
399 if (position < GetStar
454 size_t position = user->GetLifetimePosition() - 1; local
561 GetLocationAt(size_t position) argument
567 GetSiblingAt(size_t position) argument
[all...]
H A Dload_store_elimination.cc107 const size_t position_; // position in HeapLocationCollector's ref_info_array_.
319 // Returns the position in the bit vector that tracks whether the two heap
328 // An additional position is passed in to make sure the calculated position is correct.
329 size_t CheckedAliasingMatrixPosition(size_t index1, size_t index2, size_t position) { argument
331 DCHECK_EQ(calculated_position, position);
H A Dregister_allocator.cc170 // is the one with the lowest start position.
186 size_t position = block->GetLifetimeStart(); local
187 BlockRegisters(position, position + 1);
199 // It's also the only type of inactive interval whose start position
219 // It's also the only type of inactive interval whose start position
230 size_t position = instruction->GetLifetimePosition(); local
238 BlockRegister(temp, position, position + 1);
289 // We add a synthesized range at this position t
621 size_t position = current->GetStart(); local
709 FreeIfNotCoverAt(LiveInterval* interval, size_t position, size_t* free_until) argument
770 size_t position = defined_by->GetLifetimePosition() + 1; local
957 TrySplitNonPairOrUnalignedPairIntervalAt(size_t position, size_t first_register_use, size_t* next_use) argument
1235 size_t position = dominated->GetLifetimeStart(); local
1260 Split(LiveInterval* interval, size_t position) argument
1446 IsInstructionStart(size_t position) argument
1450 IsInstructionEnd(size_t position) argument
1454 InsertParallelMoveAt(size_t position, HInstruction* instruction, Location source, Location destination) const argument
1544 size_t position = last->GetLifetimePosition(); local
1565 size_t position = block->GetLifetimeStart(); local
1587 size_t position = instruction->GetLifetimePosition() + 1; local
[all...]
H A Dssa_liveness_analysis.h102 * A use position represents a live interval use at a given position.
109 size_t position,
114 position_(position),
236 size_t position = instruction->GetLifetimePosition(); local
238 instruction, /* environment */ nullptr, temp_index, position, first_use_);
239 AddRange(position, position + 1);
244 // is specified, the use will be recorded at `actual_user`'s lifetime position.
257 size_t position local
106 UsePosition(HInstruction* user, HEnvironment* environment, size_t input_index, size_t position, UsePosition* next) argument
432 Covers(size_t position) argument
574 SplitAt(size_t position) argument
906 FindRangeAtOrAfter(size_t position, LiveRange* search_start) const argument
[all...]
H A Dnodes.h699 // Returns the lifetime position of the back edge that has the
700 // greatest lifetime position.
1420 * The two numbered lines below indicate the bit position in the bitfield (read
2015 void SetLifetimePosition(size_t position) { lifetime_position_ = position; } argument
2156 // Set by the liveness analysis, this is the position in a linear
/art/compiler/utils/arm/
H A Dassembler_arm32.cc713 int position = buffer_.Size(); local
716 label->LinkTo(position);
1333 int32_t position = label->Position(); local
1334 int32_t next = buffer_.Load<int32_t>(position);
1335 int32_t encoded = Arm32Assembler::EncodeBranchOffset(bound_pc - position, next);
1336 buffer_.Store<int32_t>(position, encoded);
/art/compiler/utils/x86/
H A Dassembler_x86.cc1781 // Emit nop instruction until the real position is aligned.
1792 int position = label->LinkPosition(); local
1793 int next = buffer_.Load<int32_t>(position);
1794 buffer_.Store<int32_t>(position, bound - (position + 4));
1805 int position = label->LinkPosition(); local
1806 uint8_t delta = buffer_.Load<uint8_t>(position);
1807 int offset = bound - (position + 1);
1809 buffer_.Store<int8_t>(position, offset);
1875 int position local
1883 int position = buffer_.Size(); local
[all...]
/art/compiler/utils/x86_64/
H A Dassembler_x86_64.cc2342 // Emit nop instruction until the real position is aligned.
2353 int position = label->LinkPosition(); local
2354 int next = buffer_.Load<int32_t>(position);
2355 buffer_.Store<int32_t>(position, bound - (position + 4));
2366 int position = label->LinkPosition(); local
2367 uint8_t delta = buffer_.Load<uint8_t>(position);
2368 int offset = bound - (position + 1);
2370 buffer_.Store<int8_t>(position, offset);
2440 int position local
2448 int position = buffer_.Size(); local
[all...]
/art/runtime/gc/
H A Dheap.cc2353 void AddBin(size_t size, uintptr_t position) { argument
2355 MEMORY_TOOL_MAKE_DEFINED(reinterpret_cast<void*>(position), size);
2358 bins_.insert(std::make_pair(size, position));

Completed in 435 milliseconds