/art/runtime/base/ |
H A D | bit_field.h | 29 template<typename T, int position, int size> 45 return ((kUintPtrTOne << size) - 1) << position; 51 return position; 62 return static_cast<uintptr_t>(value) << position; 67 return static_cast<T>((value >> position) & ((kUintPtrTOne << size) - 1)); 75 return (static_cast<uintptr_t>(value) << position) |
|
/art/compiler/optimizing/ |
H A D | ssa_liveness_analysis.h | 102 * A use position represents a live interval use at a given position. 109 size_t position, 114 position_(position), 238 size_t position = instruction->GetLifetimePosition(); local 240 instruction, /* environment */ nullptr, temp_index, position, first_use_); 241 AddRange(position, position + 1); 250 size_t position = instruction->GetLifetimePosition() + 1; local 258 position 106 UsePosition(HInstruction* user, HEnvironment* environment, size_t input_index, size_t position, UsePosition* next) argument 428 Covers(size_t position) argument 561 SplitAt(size_t position) argument 893 FindRangeAtOrAfter(size_t position, LiveRange* search_start) const argument [all...] |
H A D | register_allocator.cc | 152 // is the one with the lowest start position. 172 // It's also the only type of inactive interval whose start position 192 // It's also the only type of inactive interval whose start position 203 size_t position = instruction->GetLifetimePosition(); local 211 BlockRegister(temp, position, position + 1); 260 // We add a synthesized range at this position to record the live registers 261 // at this position. Ideally, we could just update the safepoints when locations 269 interval->AddRange(position, position 280 position, local 281 position + 1); local 287 position, local 288 position + 1); local 586 size_t position = current->GetStart(); local 669 FreeIfNotCoverAt(LiveInterval* interval, size_t position, size_t* free_until) argument 729 size_t position = defined_by->GetLifetimePosition() + 1; local 861 TrySplitNonPairOrUnalignedPairIntervalAt(size_t position, size_t first_register_use, size_t* next_use) argument 1144 size_t position = dominated.Get(i)->GetLifetimeStart(); local 1169 Split(LiveInterval* interval, size_t position) argument 1334 IsInstructionStart(size_t position) argument 1338 IsInstructionEnd(size_t position) argument 1342 InsertParallelMoveAt(size_t position, HInstruction* instruction, Location source, Location destination) const argument 1432 size_t position = last->GetLifetimePosition(); local 1453 size_t position = block->GetLifetimeStart(); local 1475 size_t position = instruction->GetLifetimePosition() + 1; local [all...] |
H A D | register_allocator.h | 90 // Split `interval` at the position `position`. The new interval starts at `position`. 91 LiveInterval* Split(LiveInterval* interval, size_t position); 93 // Split `interval` at a position between `from` and `to`. The method will try 94 // to find an optimal split position. 126 void InsertParallelMoveAt(size_t position, 146 // Try splitting an active non-pair or unaligned pair interval at the given `position`. 148 bool TrySplitNonPairOrUnalignedPairIntervalAt(size_t position, 164 // position [all...] |
H A D | ssa_liveness_analysis.cc | 107 // Each instruction gets a lifetime position, and a block gets a lifetime 108 // start and end position. Non-phi instructions have a distinct lifetime position than 110 // lifetime position. 114 // the lifetime position for each instruction ensures the start of an 197 // and not at the phi's lifetime position. 220 // or at the same liveness position of inputs. 345 size_t position = block->GetPredecessors().Get(i)->GetLifetimeEnd() - 1; local 347 if (position < GetStart()) { 348 LiveInterval* existing = GetParent()->GetSiblingAt(position); 401 size_t position = user->GetLifetimePosition() - 1; local 508 GetLocationAt(size_t position) argument 514 GetSiblingAt(size_t position) argument [all...] |
H A D | nodes.h | 432 // Returns the lifetime position of the back edge that has the 433 // greatest lifetime position. 1510 void SetLifetimePosition(size_t position) { lifetime_position_ = position; } argument 1564 // Set by the liveness analysis, this is the position in a linear
|
/art/test/070-nio-buffer/src/ |
H A D | Main.java | 53 shortBuf.position(0); 55 shortBuf.position(0); 67 shortBuf.position(0); 75 shortBuf.position(16); 98 int1.position (0); 102 int1.position (0); 122 directBuf.position(0); 160 directBuf.position(0);
|
/art/compiler/utils/ |
H A D | assembler.h | 87 // Returns the position for bound and linked labels. Cannot be used 110 void BindTo(int position) { argument 112 position_ = -position - sizeof(void*); 116 void LinkTo(int position) { argument 118 position_ = position + sizeof(void*); 140 virtual void Process(const MemoryRegion& region, int position) = 0; 150 int position() const { return position_; } function in class:art::AssemblerFixup 192 template<typename T> T Load(size_t position) { argument 193 CHECK_LE(position, Size() - static_cast<int>(sizeof(T))); 194 return *reinterpret_cast<T*>(contents_ + position); 197 Store(size_t position, T value) argument [all...] |
H A D | assembler.cc | 65 fixup->Process(region, fixup->position());
|
/art/runtime/gc/space/ |
H A D | bump_pointer_space.cc | 92 const uintptr_t position = reinterpret_cast<uintptr_t>(obj) + obj->SizeOf(); local 93 return reinterpret_cast<mirror::Object*>(RoundUp(position, kAlignment));
|
H A D | region_space-inl.h | 261 const uintptr_t position = reinterpret_cast<uintptr_t>(obj) + obj->SizeOf(); local 262 return reinterpret_cast<mirror::Object*>(RoundUp(position, kAlignment));
|
/art/compiler/utils/mips64/ |
H A D | assembler_mips64.cc | 799 int32_t position = label->Position(); local 801 uint32_t auipc = buffer_.Load<uint32_t>(position); 802 uint32_t jic = buffer_.Load<uint32_t>(position + 4); // actually, jic or daddiu 809 uint32_t offset = bound_pc - position; 817 buffer_.Store<uint32_t>(position, auipc); 818 buffer_.Store<uint32_t>(position + 4, jic); 839 int32_t position = buffer_.Size(); local 841 // position). It will be the terminator of the list of forward-reaching branches. 847 label->LinkTo(position); 862 int32_t position local [all...] |
/art/compiler/utils/mips/ |
H A D | assembler_mips.cc | 153 int32_t position = label->Position(); local 154 int32_t next = buffer_.Load<int32_t>(position); 155 int32_t offset = is_jump ? bound_pc - position : bound_pc - position - 4; 157 buffer_.Store<int32_t>(position, encoded);
|
/art/tools/ |
H A D | cpplint.py | 42 # - Check for ctor initializer-list colon position and spacing 1039 """Find the position just after the matching endchar. 1043 startpos: start searching at this position. 1062 """If input points to ( or { or [, finds the position that closes it. 1070 pos: A position on the line. 3124 # Find the position to start extracting text. 3134 # Stack of closing punctuations we expect to have in text after position. 3136 position = start_position 3137 while punctuation_stack and position < len(text): 3138 if text[position] [all...] |
/art/compiler/utils/arm/ |
H A D | assembler_arm32.cc | 723 int position = buffer_.Size(); local 726 label->LinkTo(position); 1321 int32_t position = label->Position(); local 1322 int32_t next = buffer_.Load<int32_t>(position); 1323 int32_t encoded = Arm32Assembler::EncodeBranchOffset(bound_pc - position, next); 1324 buffer_.Store<int32_t>(position, encoded);
|
H A D | assembler_thumb2.cc | 2114 // condition and a shift position. 2125 // Set the IT condition in the given position for the given state. This is used 2255 uint16_t position = label->Position(); // Branch id for linked branch. local 2256 Branch* branch = GetBranch(position); // Get the branch at this id.
|
/art/compiler/utils/x86/ |
H A D | assembler_x86.cc | 1599 // Emit nop instruction until the real position is aligned. 1610 int position = label->LinkPosition(); local 1611 int next = buffer_.Load<int32_t>(position); 1612 buffer_.Store<int32_t>(position, bound - (position + 4)); 1674 int position = buffer_.Size(); local 1676 label->LinkTo(position);
|
/art/compiler/utils/x86_64/ |
H A D | assembler_x86_64.cc | 2088 // Emit nop instruction until the real position is aligned. 2099 int position = label->LinkPosition(); local 2100 int next = buffer_.Load<int32_t>(position); 2101 buffer_.Store<int32_t>(position, bound - (position + 4)); 2171 int position = buffer_.Size(); local 2173 label->LinkTo(position);
|
/art/runtime/gc/ |
H A D | heap.cc | 2119 void AddBin(size_t size, uintptr_t position) { argument 2121 bins_.insert(std::make_pair(size, position));
|