Home
last modified time | relevance | path

Searched refs:write_pos (Results 1 – 6 of 6) sorted by relevance

/art/compiler/dex/quick/arm/
Dassemble_arm.cc1085 uint8_t* ArmMir2Lir::EncodeLIRs(uint8_t* write_pos, LIR* lir) { in EncodeLIRs() argument
1086 uint8_t* const write_buffer = write_pos; in EncodeLIRs()
1088 lir->offset = (write_pos - write_buffer); in EncodeLIRs()
1095 write_pos[0] = (PADDING_MOV_R5_R5 & 0xff); in EncodeLIRs()
1096 write_pos[1] = ((PADDING_MOV_R5_R5 >> 8) & 0xff); in EncodeLIRs()
1097 write_pos += 2; in EncodeLIRs()
1222 write_pos[0] = ((bits >> 16) & 0xff); in EncodeLIRs()
1223 write_pos[1] = ((bits >> 24) & 0xff); in EncodeLIRs()
1224 write_pos[2] = (bits & 0xff); in EncodeLIRs()
1225 write_pos[3] = ((bits >> 8) & 0xff); in EncodeLIRs()
[all …]
Dcodegen_arm.h127 static uint8_t* EncodeLIRs(uint8_t* write_pos, LIR* lir);
/art/compiler/optimizing/
Dcode_generator.cc554 uint8_t* write_pos = data_ptr; in BuildMappingTable() local
556 write_pos = EncodeUnsignedLeb128(write_pos, total_entries); in BuildMappingTable()
557 write_pos = EncodeUnsignedLeb128(write_pos, pc2dex_entries); in BuildMappingTable()
558 DCHECK_EQ(static_cast<size_t>(write_pos - data_ptr), hdr_data_size); in BuildMappingTable()
559 uint8_t* write_pos2 = write_pos + pc2dex_data_size; in BuildMappingTable()
569 write_pos = EncodeUnsignedLeb128(write_pos, pc_info.native_pc - pc2dex_offset); in BuildMappingTable()
570 write_pos = EncodeSignedLeb128(write_pos, pc_info.dex_pc - pc2dex_dalvik_offset); in BuildMappingTable()
587 DCHECK_EQ(static_cast<size_t>(write_pos - data_ptr), hdr_data_size + pc2dex_data_size); in BuildMappingTable()
/art/compiler/dex/quick/arm64/
Dassemble_arm64.cc688 uint8_t* Arm64Mir2Lir::EncodeLIRs(uint8_t* write_pos, LIR* lir) { in EncodeLIRs() argument
689 uint8_t* const write_buffer = write_pos; in EncodeLIRs()
691 lir->offset = (write_pos - write_buffer); in EncodeLIRs()
841 write_pos[0] = (bits & 0xff); in EncodeLIRs()
842 write_pos[1] = ((bits >> 8) & 0xff); in EncodeLIRs()
843 write_pos[2] = ((bits >> 16) & 0xff); in EncodeLIRs()
844 write_pos[3] = ((bits >> 24) & 0xff); in EncodeLIRs()
845 write_pos += 4; in EncodeLIRs()
849 return write_pos; in EncodeLIRs()
1078 uint8_t* write_pos = &code_buffer_[0]; in AssembleLIR() local
[all …]
Dcodegen_arm64.h358 uint8_t* EncodeLIRs(uint8_t* write_pos, LIR* lir);
/art/compiler/dex/quick/
Dcodegen_util.cc714 uint8_t* write_pos = &encoded_mapping_table_[0]; in CreateMappingTables() local
715 write_pos = EncodeUnsignedLeb128(write_pos, total_entries); in CreateMappingTables()
716 write_pos = EncodeUnsignedLeb128(write_pos, pc2dex_entries); in CreateMappingTables()
717 DCHECK_EQ(static_cast<size_t>(write_pos - &encoded_mapping_table_[0]), hdr_data_size); in CreateMappingTables()
718 uint8_t* write_pos2 = write_pos + pc2dex_data_size; in CreateMappingTables()
734 write_pos = EncodeUnsignedLeb128(write_pos, tgt_lir->offset - pc2dex_offset); in CreateMappingTables()
735 write_pos = EncodeSignedLeb128(write_pos, static_cast<int32_t>(tgt_lir->dalvik_offset) - in CreateMappingTables()
755 DCHECK_EQ(static_cast<size_t>(write_pos - &encoded_mapping_table_[0]), in CreateMappingTables()