Home
last modified time | relevance | path

Searched refs:cursor (Results 1 – 11 of 11) sorted by relevance

/art/compiler/optimizing/
Dnodes.cc1010 void HBasicBlock::InsertInstructionBefore(HInstruction* instruction, HInstruction* cursor) { in InsertInstructionBefore() argument
1011 DCHECK(!cursor->IsPhi()); in InsertInstructionBefore()
1014 DCHECK_NE(cursor->GetId(), -1); in InsertInstructionBefore()
1015 DCHECK_EQ(cursor->GetBlock(), this); in InsertInstructionBefore()
1020 instructions_.InsertInstructionBefore(instruction, cursor); in InsertInstructionBefore()
1023 void HBasicBlock::InsertInstructionAfter(HInstruction* instruction, HInstruction* cursor) { in InsertInstructionAfter() argument
1024 DCHECK(!cursor->IsPhi()); in InsertInstructionAfter()
1027 DCHECK_NE(cursor->GetId(), -1); in InsertInstructionAfter()
1028 DCHECK_EQ(cursor->GetBlock(), this); in InsertInstructionAfter()
1030 DCHECK(!cursor->IsControlFlow()); in InsertInstructionAfter()
[all …]
Dpc_relative_fixups_x86.cc162 HX86ComputeBaseMethodAddress* GetPCRelativeBasePointer(HInstruction* cursor) { in GetPCRelativeBasePointer() argument
175 cursor->GetBlock()->InsertInstructionBefore(method_address, cursor); in GetPCRelativeBasePointer()
Dscheduler.cc678 static void MoveAfterInBlock(HInstruction* instruction, HInstruction* cursor) { in MoveAfterInBlock() argument
679 DCHECK_EQ(instruction->GetBlock(), cursor->GetBlock()); in MoveAfterInBlock()
680 DCHECK_NE(cursor, cursor->GetBlock()->GetLastInstruction()); in MoveAfterInBlock()
682 DCHECK(!cursor->IsControlFlow()); in MoveAfterInBlock()
683 instruction->MoveBefore(cursor->GetNext(), /* do_checks= */ false); in MoveAfterInBlock()
Dinliner.h194 HInstruction* cursor,
226 HInstruction* cursor,
Dinliner.cc864 HInstruction* cursor = invoke_instruction->GetPrevious(); in TryInlineMonomorphicCall() local
876 cursor, in TryInlineMonomorphicCall()
898 HInstruction* cursor, in AddCHAGuard() argument
907 if (cursor != nullptr) { in AddCHAGuard()
908 bb_cursor->InsertInstructionAfter(deopt_flag, cursor); in AddCHAGuard()
923 HInstruction* cursor, in AddTypeGuard() argument
932 if (cursor != nullptr) { in AddTypeGuard()
933 bb_cursor->InsertInstructionAfter(receiver_class, cursor); in AddTypeGuard()
1028 HInstruction* cursor = invoke_instruction->GetPrevious(); in TryInlinePolymorphicCall() local
1054 cursor, in TryInlinePolymorphicCall()
[all …]
Dinstruction_simplifier.cc853 HInstruction* cursor) { in NewIntegralAbs() argument
856 HAbs* abs = new (allocator) HAbs(type, x, cursor->GetDexPc()); in NewIntegralAbs()
857 cursor->GetBlock()->InsertInstructionBefore(abs, cursor); in NewIntegralAbs()
865 HInstruction* cursor, in NewIntegralMinMax() argument
871 minmax = new (allocator) HMin(type, x, y, cursor->GetDexPc()); in NewIntegralMinMax()
873 minmax = new (allocator) HMax(type, x, y, cursor->GetDexPc()); in NewIntegralMinMax()
875 cursor->GetBlock()->InsertInstructionBefore(minmax, cursor); in NewIntegralMinMax()
Dnodes.h150 void InsertInstructionBefore(HInstruction* instruction, HInstruction* cursor);
151 void InsertInstructionAfter(HInstruction* instruction, HInstruction* cursor);
168 void AddAfter(HInstruction* cursor, const HInstructionList& instruction_list);
169 void AddBefore(HInstruction* cursor, const HInstructionList& instruction_list);
618 HInstruction* InsertOppositeCondition(HInstruction* cond, HInstruction* cursor);
1176 HBasicBlock* SplitBefore(HInstruction* cursor);
1183 HBasicBlock* SplitBeforeForInlining(HInstruction* cursor);
1186 HBasicBlock* SplitAfterForInlining(HInstruction* cursor);
1219 void InsertInstructionBefore(HInstruction* instruction, HInstruction* cursor);
1220 void InsertInstructionAfter(HInstruction* instruction, HInstruction* cursor);
[all …]
/art/runtime/
Dvdex_file.cc194 const uint8_t* VdexFile::GetNextDexFileData(const uint8_t* cursor) const { in GetNextDexFileData()
195 DCHECK(cursor == nullptr || (cursor > Begin() && cursor <= End())); in GetNextDexFileData()
196 if (cursor == nullptr) { in GetNextDexFileData()
201 const uint8_t* data = cursor + reinterpret_cast<const DexFile::Header*>(cursor)->file_size_; in GetNextDexFileData()
Dclass_loader_context.cc239 size_t cursor = 0; in ParseClassLoaderSpec() local
240 while (cursor != shared_libraries_spec.length()) { in ParseClassLoaderSpec()
242 shared_libraries_spec.find_first_of(kClassLoaderSharedLibrarySeparator, cursor); in ParseClassLoaderSpec()
244 shared_libraries_spec.find_first_of(kClassLoaderSharedLibraryOpeningMark, cursor); in ParseClassLoaderSpec()
250 shared_libraries_spec.substr(cursor, shared_libraries_spec.length() - cursor); in ParseClassLoaderSpec()
251 cursor = shared_libraries_spec.length(); in ParseClassLoaderSpec()
257 shared_libraries_spec.substr(cursor, shared_library_separator - cursor); in ParseClassLoaderSpec()
258 cursor = shared_library_separator + 1; in ParseClassLoaderSpec()
268 shared_library_spec = shared_libraries_spec.substr(cursor, closing_marker + 1 - cursor); in ParseClassLoaderSpec()
269 cursor = closing_marker + 1; in ParseClassLoaderSpec()
[all …]
Dvdex_file.h302 const uint8_t* GetNextDexFileData(const uint8_t* cursor) const;
/art/compiler/utils/
Dassembler.h184 if (buffer->cursor() > buffer->limit()) { in EnsureCapacity()
225 if (buffer->cursor() > buffer->limit()) { in EnsureCapacity()
268 uint8_t* cursor() const { return cursor_; } in cursor() function