Home
last modified time | relevance | path

Searched refs:cursor (Results 1 – 10 of 10) 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.cc662 static void MoveAfterInBlock(HInstruction* instruction, HInstruction* cursor) { in MoveAfterInBlock() argument
663 DCHECK_EQ(instruction->GetBlock(), cursor->GetBlock()); in MoveAfterInBlock()
664 DCHECK_NE(cursor, cursor->GetBlock()->GetLastInstruction()); in MoveAfterInBlock()
666 DCHECK(!cursor->IsControlFlow()); in MoveAfterInBlock()
667 instruction->MoveBefore(cursor->GetNext(), /* do_checks= */ false); in MoveAfterInBlock()
Dinliner.cc871 HInstruction* cursor = invoke_instruction->GetPrevious(); in TryInlineMonomorphicCall() local
883 cursor, in TryInlineMonomorphicCall()
905 HInstruction* cursor, in AddCHAGuard() argument
914 if (cursor != nullptr) { in AddCHAGuard()
915 bb_cursor->InsertInstructionAfter(deopt_flag, cursor); in AddCHAGuard()
930 HInstruction* cursor, in AddTypeGuard() argument
939 if (cursor != nullptr) { in AddTypeGuard()
940 bb_cursor->InsertInstructionAfter(receiver_class, cursor); in AddTypeGuard()
1035 HInstruction* cursor = invoke_instruction->GetPrevious(); in TryInlinePolymorphicCall() local
1061 cursor, in TryInlinePolymorphicCall()
[all …]
Dinliner.h242 HInstruction* cursor,
274 HInstruction* cursor,
Dinstruction_simplifier.cc843 HInstruction* cursor) { in NewIntegralAbs() argument
846 HAbs* abs = new (allocator) HAbs(type, x, cursor->GetDexPc()); in NewIntegralAbs()
847 cursor->GetBlock()->InsertInstructionBefore(abs, cursor); in NewIntegralAbs()
855 HInstruction* cursor, in NewIntegralMinMax() argument
861 minmax = new (allocator) HMin(type, x, y, cursor->GetDexPc()); in NewIntegralMinMax()
863 minmax = new (allocator) HMax(type, x, y, cursor->GetDexPc()); in NewIntegralMinMax()
865 cursor->GetBlock()->InsertInstructionBefore(minmax, cursor); in NewIntegralMinMax()
/art/runtime/
Dvdex_file.cc204 const uint8_t* VdexFile::GetNextDexFileData(const uint8_t* cursor) const { in GetNextDexFileData()
205 DCHECK(cursor == nullptr || (cursor > Begin() && cursor <= End())); in GetNextDexFileData()
206 if (cursor == nullptr) { in GetNextDexFileData()
211 const uint8_t* data = cursor + reinterpret_cast<const DexFile::Header*>(cursor)->file_size_; in GetNextDexFileData()
Dclass_loader_context.cc243 size_t cursor = 0; in ParseClassLoaderSpec() local
244 while (cursor != shared_libraries_spec.length()) { in ParseClassLoaderSpec()
246 shared_libraries_spec.find_first_of(kClassLoaderSharedLibrarySeparator, cursor); in ParseClassLoaderSpec()
248 shared_libraries_spec.find_first_of(kClassLoaderSharedLibraryOpeningMark, cursor); in ParseClassLoaderSpec()
254 shared_libraries_spec.substr(cursor, shared_libraries_spec.length() - cursor); in ParseClassLoaderSpec()
255 cursor = shared_libraries_spec.length(); in ParseClassLoaderSpec()
261 shared_libraries_spec.substr(cursor, shared_library_separator - cursor); in ParseClassLoaderSpec()
262 cursor = shared_library_separator + 1; in ParseClassLoaderSpec()
272 shared_library_spec = shared_libraries_spec.substr(cursor, closing_marker + 1 - cursor); in ParseClassLoaderSpec()
273 cursor = closing_marker + 1; in ParseClassLoaderSpec()
[all …]
Dvdex_file.h302 const uint8_t* GetNextDexFileData(const uint8_t* cursor) const;
/art/compiler/utils/
Dassembler.h183 if (buffer->cursor() > buffer->limit()) { in EnsureCapacity()
224 if (buffer->cursor() > buffer->limit()) { in EnsureCapacity()
267 uint8_t* cursor() const { return cursor_; } in cursor() function