Home
last modified time | relevance | path

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

/external/v8/src/ia32/
Ddeoptimizer-ia32.cc74 RelocInfoWriter reloc_info_writer( in EnsureRelocSpaceForLazyDeoptimization() local
81 byte* pos_before = reloc_info_writer.pos(); in EnsureRelocSpaceForLazyDeoptimization()
83 reloc_info_writer.Write(&rinfo); in EnsureRelocSpaceForLazyDeoptimization()
85 pos_before - reloc_info_writer.pos()); in EnsureRelocSpaceForLazyDeoptimization()
122 RelocInfoWriter reloc_info_writer(reloc_end_address, code_start_address); in PatchCodeForDeoptimization() local
148 reloc_info_writer.Write(&rinfo); in PatchCodeForDeoptimization()
149 DCHECK_GE(reloc_info_writer.pos(), in PatchCodeForDeoptimization()
160 int new_reloc_size = reloc_end_address - reloc_info_writer.pos(); in PatchCodeForDeoptimization()
161 MemMove(code->relocation_start(), reloc_info_writer.pos(), new_reloc_size); in PatchCodeForDeoptimization()
Dassembler-ia32.cc253 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
264 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
269 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
425 DCHECK(reloc_info_writer.last_pc() != NULL); in pop()
673 DCHECK(reloc_info_writer.last_pc() != NULL); in add()
2522 desc.reloc_size = (buffer_ + buffer_size_) - (reloc_info_writer.pos()); in GrowBuffer()
2534 MemMove(rc_delta + reloc_info_writer.pos(), reloc_info_writer.pos(), in GrowBuffer()
2542 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2543 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
2636 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-ia32.h1070 return pc_ >= reloc_info_writer.pos() - kGap; in buffer_overflow()
1074 inline int available_space() const { return reloc_info_writer.pos() - pc_; } in available_space()
1081 return (buffer_ + buffer_size_) - reloc_info_writer.pos(); in relocation_writer_size()
1159 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-ia32.cc3045 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
3055 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()
/external/v8/src/x87/
Ddeoptimizer-x87.cc74 RelocInfoWriter reloc_info_writer( in EnsureRelocSpaceForLazyDeoptimization() local
81 byte* pos_before = reloc_info_writer.pos(); in EnsureRelocSpaceForLazyDeoptimization()
83 reloc_info_writer.Write(&rinfo); in EnsureRelocSpaceForLazyDeoptimization()
85 pos_before - reloc_info_writer.pos()); in EnsureRelocSpaceForLazyDeoptimization()
122 RelocInfoWriter reloc_info_writer(reloc_end_address, code_start_address); in PatchCodeForDeoptimization() local
148 reloc_info_writer.Write(&rinfo); in PatchCodeForDeoptimization()
149 DCHECK_GE(reloc_info_writer.pos(), in PatchCodeForDeoptimization()
160 int new_reloc_size = reloc_end_address - reloc_info_writer.pos(); in PatchCodeForDeoptimization()
161 MemMove(code->relocation_start(), reloc_info_writer.pos(), new_reloc_size); in PatchCodeForDeoptimization()
Dassembler-x87.cc248 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
259 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
264 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
367 DCHECK(reloc_info_writer.last_pc() != NULL); in pop()
606 DCHECK(reloc_info_writer.last_pc() != NULL); in add()
1945 desc.reloc_size = (buffer_ + buffer_size_) - (reloc_info_writer.pos()); in GrowBuffer()
1957 MemMove(rc_delta + reloc_info_writer.pos(), reloc_info_writer.pos(), in GrowBuffer()
1964 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
1965 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
2058 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-x87.h940 return pc_ >= reloc_info_writer.pos() - kGap; in buffer_overflow()
944 inline int available_space() const { return reloc_info_writer.pos() - pc_; } in available_space()
951 return (buffer_ + buffer_size_) - reloc_info_writer.pos(); in relocation_writer_size()
1024 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-x87.cc3005 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
3015 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()
/external/v8/src/arm64/
Dassembler-arm64.cc577 reloc_info_writer.Reposition(reinterpret_cast<byte*>(buffer_ + buffer_size_), in Reset()
598 reloc_info_writer.pos(); in GetCode()
2805 desc.reloc_size = (buffer + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer()
2812 memmove(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2813 reloc_info_writer.pos(), desc.reloc_size); in GrowBuffer()
2820 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2821 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
2864 reloc_info_writer.Write(&reloc_info_with_ast_id); in RecordRelocInfo()
2866 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
2954 reloc_info_writer.Write(&rinfo); in RecordVeneerPool()
[all …]
Dassembler-arm64.h2148 RelocInfoWriter reloc_info_writer; variable
/external/v8/src/x64/
Dassembler-x64.cc244 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
256 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
263 static_cast<int>((buffer_ + buffer_size_) - reloc_info_writer.pos()); in GetCode()
348 static_cast<int>((buffer_ + buffer_size_) - (reloc_info_writer.pos())); in GrowBuffer()
361 MemMove(rc_delta + reloc_info_writer.pos(), reloc_info_writer.pos(), in GrowBuffer()
369 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
370 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
2959 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-x64.h1132 return pc_ >= reloc_info_writer.pos() - kGap; in buffer_overflow()
1137 return static_cast<int>(reloc_info_writer.pos() - pc_); in available_space()
1563 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-x64.cc5019 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
5029 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()
/external/v8/src/mips/
Dassembler-mips.cc311 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
332 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
337 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
2407 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer()
2413 MemMove(reloc_info_writer.pos() + rc_delta, reloc_info_writer.pos(), in GrowBuffer()
2421 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2422 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
2483 reloc_info_writer.Write(&reloc_info_with_ast_id); in RecordRelocInfo()
2485 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-mips.h1034 inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } in overflow()
1037 inline int available_space() const { return reloc_info_writer.pos() - pc_; } in available_space()
1116 int32_t buffer_space() const { return reloc_info_writer.pos() - pc_; } in buffer_space()
1207 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-mips.cc6032 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
6044 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()
/external/v8/src/mips64/
Dassembler-mips64.cc289 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
310 DCHECK(pc_ <= reloc_info_writer.pos()); // No overlap. in GetCode()
315 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
2645 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer()
2652 MemMove(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2653 reloc_info_writer.pos(), desc.reloc_size); in GrowBuffer()
2660 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
2661 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
2722 reloc_info_writer.Write(&reloc_info_with_ast_id); in RecordRelocInfo()
2724 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-mips64.h1070 inline bool overflow() const { return pc_ >= reloc_info_writer.pos() - kGap; } in overflow()
1073 inline int available_space() const { return reloc_info_writer.pos() - pc_; } in available_space()
1152 int64_t buffer_space() const { return reloc_info_writer.pos() - pc_; } in buffer_space()
1243 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-mips64.cc6017 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
6028 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()
/external/v8/src/arm/
Dassembler-arm.cc466 reloc_info_writer.Reposition(buffer_ + buffer_size_, pc_); in Assembler()
496 desc->reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GetCode()
3261 desc.reloc_size = (buffer_ + buffer_size_) - reloc_info_writer.pos(); in GrowBuffer()
3267 MemMove(reloc_info_writer.pos() + rc_delta, reloc_info_writer.pos(), in GrowBuffer()
3275 reloc_info_writer.Reposition(reloc_info_writer.pos() + rc_delta, in GrowBuffer()
3276 reloc_info_writer.last_pc() + pc_delta); in GrowBuffer()
3352 reloc_info_writer.Write(&reloc_info_with_ast_id); in RecordRelocInfo()
3354 reloc_info_writer.Write(&rinfo); in RecordRelocInfo()
Dassembler-arm.h1500 int buffer_space() const { return reloc_info_writer.pos() - pc_; } in buffer_space()
1591 RelocInfoWriter reloc_info_writer; variable
Dmacro-assembler-arm.cc4034 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in CodePatcher()
4046 DCHECK(masm_.reloc_info_writer.pos() == address_ + size_ + Assembler::kGap); in ~CodePatcher()