Home
last modified time | relevance | path

Searched refs:reloc_info_writer (Results 1 – 25 of 28) sorted by relevance

12

/external/v8/src/ia32/
Ddeoptimizer-ia32.cc75 RelocInfoWriter reloc_info_writer( in EnsureRelocSpaceForLazyDeoptimization() local
82 byte* pos_before = reloc_info_writer.pos(); in EnsureRelocSpaceForLazyDeoptimization()
84 reloc_info_writer.Write(&rinfo); in EnsureRelocSpaceForLazyDeoptimization()
86 pos_before - reloc_info_writer.pos()); in EnsureRelocSpaceForLazyDeoptimization()
124 RelocInfoWriter reloc_info_writer(reloc_end_address, code_start_address); in PatchCodeForDeoptimization() local
149 reloc_info_writer.Write(&rinfo); in PatchCodeForDeoptimization()
150 DCHECK_GE(reloc_info_writer.pos(), in PatchCodeForDeoptimization()
161 const int new_reloc_length = reloc_end_address - reloc_info_writer.pos(); in PatchCodeForDeoptimization()
162 MemMove(code->relocation_start(), reloc_info_writer.pos(), new_reloc_length); in PatchCodeForDeoptimization()
Dassembler-ia32.cc309 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
316 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
321 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
480 DCHECK(reloc_info_writer.last_pc() != NULL); in pop()
767 DCHECK(reloc_info_writer.last_pc() != NULL); in add()
2925 desc.reloc_size = (buffer_ + buffer_size_) - (reloc_info_writer.pos()); in GrowBuffer()
2937 MemMove(rc_delta + reloc_info_writer.pos(), reloc_info_writer.pos(), in GrowBuffer()
2945 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2946 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
3061 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-ia32.h1464 return pc_ >= reloc_info_writer.pos() - kGap; in buffer_overflow()
1468 inline int available_space() const { return reloc_info_writer.pos() - pc_; } in available_space()
1473 return (buffer_ + buffer_size_) - reloc_info_writer.pos(); in relocation_writer_size()
1576 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-ia32.cc2933 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
2943 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()
/external/v8/src/x87/
Ddeoptimizer-x87.cc75 RelocInfoWriter reloc_info_writer( in EnsureRelocSpaceForLazyDeoptimization() local
82 byte* pos_before = reloc_info_writer.pos(); in EnsureRelocSpaceForLazyDeoptimization()
84 reloc_info_writer.Write(&rinfo); in EnsureRelocSpaceForLazyDeoptimization()
86 pos_before - reloc_info_writer.pos()); in EnsureRelocSpaceForLazyDeoptimization()
124 RelocInfoWriter reloc_info_writer(reloc_end_address, code_start_address); in PatchCodeForDeoptimization() local
149 reloc_info_writer.Write(&rinfo); in PatchCodeForDeoptimization()
150 DCHECK_GE(reloc_info_writer.pos(), in PatchCodeForDeoptimization()
161 const int new_reloc_length = reloc_end_address - reloc_info_writer.pos(); in PatchCodeForDeoptimization()
162 MemMove(code->relocation_start(), reloc_info_writer.pos(), new_reloc_length); in PatchCodeForDeoptimization()
Dassembler-x87.cc224 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
231 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
236 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
342 DCHECK(reloc_info_writer.last_pc() != NULL); in pop()
638 DCHECK(reloc_info_writer.last_pc() != NULL); in add()
2065 desc.reloc_size = (buffer_ + buffer_size_) - (reloc_info_writer.pos()); in GrowBuffer()
2077 MemMove(rc_delta + reloc_info_writer.pos(), reloc_info_writer.pos(), in GrowBuffer()
2084 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2085 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
2200 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-x87.h987 return pc_ >= reloc_info_writer.pos() - kGap; in buffer_overflow()
991 inline int available_space() const { return reloc_info_writer.pos() - pc_; } in available_space()
996 return (buffer_ + buffer_size_) - reloc_info_writer.pos(); in relocation_writer_size()
1079 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-x87.cc2780 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
2790 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()
/external/v8/src/arm64/
Dassembler-arm64.cc578 reloc_info_writer.Reposition(reinterpret_cast<byte*>(buffer_ + buffer_size_), in Reset()
600 reloc_info_writer.pos()); in GetCode()
2912 static_cast<int>((buffer + buffer_size_) - reloc_info_writer.pos()); in GrowBuffer()
2919 memmove(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2920 reloc_info_writer.pos(), desc.reloc_size); in GrowBuffer()
2927 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2928 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
2981 reloc_info_writer.Write(&reloc_info_with_ast_id); in RecordRelocInfo()
2983 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
3070 reloc_info_writer.Write(&rinfo); in RecordVeneerPool()
[all …]
Dassembler-arm64.h2088 RelocInfoWriter reloc_info_writer; variable
/external/v8/src/ppc/
Dassembler-ppc.cc227 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
253 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
2389 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer()
2396 memmove(reloc_info_writer.pos() + rc_delta, reloc_info_writer.pos(), in GrowBuffer()
2404 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2405 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
2479 reloc_info_writer.Write(&rinfo); in EmitRelocations()
Dassembler-ppc.h1311 int buffer_space() const { return reloc_info_writer.pos() - pc_; } in buffer_space()
1385 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-ppc.cc4569 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
4581 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()
/external/v8/src/mips/
Dassembler-mips.cc289 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
311 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
316 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
3011 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer()
3017 MemMove(reloc_info_writer.pos() + rc_delta, reloc_info_writer.pos(), in GrowBuffer()
3025 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
3026 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
3094 reloc_info_writer.Write(&reloc_info_with_ast_id); in RecordRelocInfo()
3096 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-mips.h1079 inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } in overflow()
1082 inline int available_space() const { return reloc_info_writer.pos() - pc_; } in available_space()
1189 int32_t buffer_space() const { return reloc_info_writer.pos() - pc_; } in buffer_space()
1293 RelocInfoWriter reloc_info_writer; variable
/external/v8/src/mips64/
Dassembler-mips64.cc269 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
291 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
297 static_cast<int>((buffer_ + buffer_size_) - reloc_info_writer.pos()); in GetCode()
3248 static_cast<int>((buffer_ + buffer_size_) - reloc_info_writer.pos()); in GrowBuffer()
3255 MemMove(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
3256 reloc_info_writer.pos(), desc.reloc_size); in GrowBuffer()
3263 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
3264 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
3331 reloc_info_writer.Write(&reloc_info_with_ast_id); in RecordRelocInfo()
3333 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-mips64.h1141 inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } in overflow()
1145 return reloc_info_writer.pos() - pc_; in available_space()
1248 int64_t buffer_space() const { return reloc_info_writer.pos() - pc_; } in buffer_space()
1347 RelocInfoWriter reloc_info_writer; variable
/external/v8/src/s390/
Dassembler-s390.cc285 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
299 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
3038 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer()
3045 memmove(reloc_info_writer.pos() + rc_delta, reloc_info_writer.pos(), in GrowBuffer()
3053 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
3054 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
3131 reloc_info_writer.Write(&rinfo); in EmitRelocations()
Dassembler-s390.h1324 int buffer_space() const { return reloc_info_writer.pos() - pc_; } in buffer_space()
1347 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-s390.cc5264 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
5275 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()
/external/v8/src/x64/
Dassembler-x64.cc297 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
304 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
311 static_cast<int>((buffer_ + buffer_size_) - reloc_info_writer.pos()); in GetCode()
416 static_cast<int>((buffer_ + buffer_size_) - (reloc_info_writer.pos())); in GrowBuffer()
429 MemMove(rc_delta + reloc_info_writer.pos(), reloc_info_writer.pos(), in GrowBuffer()
437 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
438 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
4739 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-x64.h2018 return pc_ >= reloc_info_writer.pos() - kGap; in buffer_overflow()
2023 return static_cast<int>(reloc_info_writer.pos() - pc_); in available_space()
2499 RelocInfoWriter reloc_info_writer; variable
/external/v8/src/arm/
Dassembler-arm.cc579 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
615 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
4047 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer()
4054 MemMove(reloc_info_writer.pos() + rc_delta, reloc_info_writer.pos(), in GrowBuffer()
4062 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
4063 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
4125 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-arm.h1560 int buffer_space() const { return reloc_info_writer.pos() - pc_; } in buffer_space()
1654 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-arm.cc3941 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
3957 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()

12