Home
last modified time | relevance | path

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

/art/compiler/optimizing/
Dnodes.cc1009 void HBasicBlock::InsertInstructionBefore(HInstruction* instruction, HInstruction* cursor) { in InsertInstructionBefore() argument
1010 DCHECK(!cursor->IsPhi()); in InsertInstructionBefore()
1013 DCHECK_NE(cursor->GetId(), -1); in InsertInstructionBefore()
1014 DCHECK_EQ(cursor->GetBlock(), this); in InsertInstructionBefore()
1019 instructions_.InsertInstructionBefore(instruction, cursor); in InsertInstructionBefore()
1022 void HBasicBlock::InsertInstructionAfter(HInstruction* instruction, HInstruction* cursor) { in InsertInstructionAfter() argument
1023 DCHECK(!cursor->IsPhi()); in InsertInstructionAfter()
1026 DCHECK_NE(cursor->GetId(), -1); in InsertInstructionAfter()
1027 DCHECK_EQ(cursor->GetBlock(), this); in InsertInstructionAfter()
1029 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.cc663 static void MoveAfterInBlock(HInstruction* instruction, HInstruction* cursor) { in MoveAfterInBlock() argument
664 DCHECK_EQ(instruction->GetBlock(), cursor->GetBlock()); in MoveAfterInBlock()
665 DCHECK_NE(cursor, cursor->GetBlock()->GetLastInstruction()); in MoveAfterInBlock()
667 DCHECK(!cursor->IsControlFlow()); in MoveAfterInBlock()
668 instruction->MoveBefore(cursor->GetNext(), /* do_checks= */ false); in MoveAfterInBlock()
Dinliner.cc879 HInstruction* cursor = invoke_instruction->GetPrevious(); in TryInlineMonomorphicCall() local
891 cursor, in TryInlineMonomorphicCall()
912 HInstruction* cursor, in AddCHAGuard() argument
921 if (cursor != nullptr) { in AddCHAGuard()
922 bb_cursor->InsertInstructionAfter(deopt_flag, cursor); in AddCHAGuard()
937 HInstruction* cursor, in AddTypeGuard() argument
946 if (cursor != nullptr) { in AddTypeGuard()
947 bb_cursor->InsertInstructionAfter(receiver_class, cursor); in AddTypeGuard()
1042 HInstruction* cursor = invoke_instruction->GetPrevious(); in TryInlinePolymorphicCall() local
1068 cursor, in TryInlinePolymorphicCall()
[all …]
Dinliner.h240 HInstruction* cursor,
267 HInstruction* cursor,
Dinstruction_simplifier.cc849 HInstruction* cursor) { in NewIntegralAbs() argument
852 HAbs* abs = new (allocator) HAbs(type, x, cursor->GetDexPc()); in NewIntegralAbs()
853 cursor->GetBlock()->InsertInstructionBefore(abs, cursor); in NewIntegralAbs()
861 HInstruction* cursor, in NewIntegralMinMax() argument
867 minmax = new (allocator) HMin(type, x, y, cursor->GetDexPc()); in NewIntegralMinMax()
869 minmax = new (allocator) HMax(type, x, y, cursor->GetDexPc()); in NewIntegralMinMax()
871 cursor->GetBlock()->InsertInstructionBefore(minmax, cursor); in NewIntegralMinMax()
Dnodes.h153 void InsertInstructionBefore(HInstruction* instruction, HInstruction* cursor);
154 void InsertInstructionAfter(HInstruction* instruction, HInstruction* cursor);
171 void AddAfter(HInstruction* cursor, const HInstructionList& instruction_list);
172 void AddBefore(HInstruction* cursor, const HInstructionList& instruction_list);
686 HInstruction* InsertOppositeCondition(HInstruction* cond, HInstruction* cursor);
1249 HBasicBlock* SplitBefore(HInstruction* cursor);
1256 HBasicBlock* SplitBeforeForInlining(HInstruction* cursor);
1259 HBasicBlock* SplitAfterForInlining(HInstruction* cursor);
1292 void InsertInstructionBefore(HInstruction* instruction, HInstruction* cursor);
1293 void InsertInstructionAfter(HInstruction* instruction, HInstruction* cursor);
[all …]
/art/tools/checker/match/
Dfile.py179 self.cursor = 0
189 assert self.cursor <= match.scope.end
192 self.handleNotQueue(MatchScope(self.cursor, match.scope.start))
194 self.cursor = match.scope.end + 1
250 scope = MatchScope(self.cursor, self.c1Length)
265 scope = MatchScope(self.cursor, self.cursor + 1)
275 raise MatchFailedException(statement, self.cursor, self.variables)
296 self.handleDagQueue(MatchScope(self.cursor, self.c1Length))
/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