Home
last modified time | relevance | path

Searched refs:tab_rec (Results 1 – 10 of 10) sorted by relevance

/art/compiler/dex/quick/mips/
Dcall_mips.cc70 SwitchTable* tab_rec = in GenLargeSparseSwitch() local
72 tab_rec->table = table; in GenLargeSparseSwitch()
73 tab_rec->vaddr = current_dalvik_offset_; in GenLargeSparseSwitch()
75 tab_rec->targets = in GenLargeSparseSwitch()
77 switch_tables_.Insert(tab_rec); in GenLargeSparseSwitch()
103 tab_rec->anchor = base_label; in GenLargeSparseSwitch()
105 NewLIR4(kMipsDelta, r_base.GetReg(), 0, WrapPointer(base_label), WrapPointer(tab_rec)); in GenLargeSparseSwitch()
147 SwitchTable* tab_rec = in GenLargePackedSwitch() local
149 tab_rec->table = table; in GenLargePackedSwitch()
150 tab_rec->vaddr = current_dalvik_offset_; in GenLargePackedSwitch()
[all …]
Dassemble_mips.cc542 EmbeddedData *tab_rec = reinterpret_cast<EmbeddedData*>(UnwrapPointer(lir->operands[3])); in AssembleInstructions() local
543 int offset2 = tab_rec ? tab_rec->offset : lir->target->offset; in AssembleInstructions()
569 EmbeddedData *tab_rec = reinterpret_cast<EmbeddedData*>(UnwrapPointer(lir->operands[3])); in AssembleInstructions() local
570 int offset2 = tab_rec ? tab_rec->offset : lir->target->offset; in AssembleInstructions()
575 EmbeddedData *tab_rec = reinterpret_cast<EmbeddedData*>(UnwrapPointer(lir->operands[3])); in AssembleInstructions() local
576 int offset2 = tab_rec ? tab_rec->offset : lir->target->offset; in AssembleInstructions()
/art/compiler/dex/quick/arm64/
Dcall_arm64.cc52 SwitchTable *tab_rec = in GenLargeSparseSwitch() local
54 tab_rec->table = table; in GenLargeSparseSwitch()
55 tab_rec->vaddr = current_dalvik_offset_; in GenLargeSparseSwitch()
57 tab_rec->targets = static_cast<LIR**>(arena_->Alloc(size * sizeof(LIR*), kArenaAllocLIR)); in GenLargeSparseSwitch()
58 switch_tables_.Insert(tab_rec); in GenLargeSparseSwitch()
67 NewLIR3(kA64Adr2xd, r_base.GetReg(), 0, WrapPointer(tab_rec)); in GenLargeSparseSwitch()
86 tab_rec->anchor = switch_label; in GenLargeSparseSwitch()
104 SwitchTable *tab_rec = in GenLargePackedSwitch() local
106 tab_rec->table = table; in GenLargePackedSwitch()
107 tab_rec->vaddr = current_dalvik_offset_; in GenLargePackedSwitch()
[all …]
/art/compiler/dex/quick/x86/
Dcall_x86.cc69 SwitchTable* tab_rec = in GenLargePackedSwitch() local
71 tab_rec->table = table; in GenLargePackedSwitch()
72 tab_rec->vaddr = current_dalvik_offset_; in GenLargePackedSwitch()
74 tab_rec->targets = static_cast<LIR**>(arena_->Alloc(size * sizeof(LIR*), in GenLargePackedSwitch()
76 switch_tables_.Insert(tab_rec); in GenLargePackedSwitch()
115 2, WrapPointer(tab_rec)); in GenLargePackedSwitch()
120 tab_rec->anchor = switch_branch; in GenLargePackedSwitch()
140 FillArrayData* tab_rec = in GenFillArrayData() local
142 tab_rec->table = table; in GenFillArrayData()
143 tab_rec->vaddr = current_dalvik_offset_; in GenFillArrayData()
[all …]
Dassemble_x86.cc1530 Mir2Lir::EmbeddedData *tab_rec = in EmitPcRel() local
1532 disp = tab_rec->offset; in EmitPcRel()
1535 Mir2Lir::EmbeddedData *tab_rec = in EmitPcRel() local
1537 disp = tab_rec->offset; in EmitPcRel()
Dtarget_x86.cc367 EmbeddedData *tab_rec = reinterpret_cast<EmbeddedData*>(UnwrapPointer(operand)); in BuildInsnString() local
368 buf += StringPrintf("0x%08x", tab_rec->offset); in BuildInsnString()
/art/compiler/dex/quick/arm/
Dcall_arm.cc52 SwitchTable *tab_rec = in GenLargeSparseSwitch() local
54 tab_rec->table = table; in GenLargeSparseSwitch()
55 tab_rec->vaddr = current_dalvik_offset_; in GenLargeSparseSwitch()
57 tab_rec->targets = static_cast<LIR**>(arena_->Alloc(size * sizeof(LIR*), kArenaAllocLIR)); in GenLargeSparseSwitch()
58 switch_tables_.Insert(tab_rec); in GenLargeSparseSwitch()
73 NewLIR3(kThumb2Adr, r_base.GetReg(), 0, WrapPointer(tab_rec)); in GenLargeSparseSwitch()
86 tab_rec->anchor = switch_branch; in GenLargeSparseSwitch()
100 SwitchTable *tab_rec = in GenLargePackedSwitch() local
102 tab_rec->table = table; in GenLargePackedSwitch()
103 tab_rec->vaddr = current_dalvik_offset_; in GenLargePackedSwitch()
[all …]
Dassemble_arm.cc1502 EmbeddedData *tab_rec = reinterpret_cast<EmbeddedData*>(UnwrapPointer(lir->operands[2])); in AssembleLIR() local
1504 int32_t target_disp = (tab_rec != NULL) ? tab_rec->offset + offset_adjustment in AssembleLIR()
1515 WrapPointer(lir), WrapPointer(tab_rec), 0, lir->target); in AssembleLIR()
1527 WrapPointer(lir), WrapPointer(tab_rec), 0, lir->target); in AssembleLIR()
1556 EmbeddedData *tab_rec = reinterpret_cast<EmbeddedData*>(UnwrapPointer(lir->operands[3])); in AssembleLIR() local
1559 int32_t target_disp = tab_rec ? tab_rec->offset : target->offset; in AssembleLIR()
1566 EmbeddedData *tab_rec = reinterpret_cast<EmbeddedData*>(UnwrapPointer(lir->operands[3])); in AssembleLIR() local
1569 int32_t target_disp = tab_rec ? tab_rec->offset : target->offset; in AssembleLIR()
/art/compiler/dex/quick/
Dcodegen_util.cc532 Mir2Lir::SwitchTable* tab_rec = iterator.Next(); in InstallSwitchTables() local
533 if (tab_rec == NULL) break; in InstallSwitchTables()
534 AlignBuffer(code_buffer_, tab_rec->offset); in InstallSwitchTables()
544 DCHECK(tab_rec->anchor->flags.fixup != kFixupNone); in InstallSwitchTables()
545 bx_offset = tab_rec->anchor->offset + 4; in InstallSwitchTables()
553 bx_offset = tab_rec->anchor->offset; in InstallSwitchTables()
560 if (tab_rec->table[0] == Instruction::kSparseSwitchSignature) { in InstallSwitchTables()
561 const int32_t* keys = reinterpret_cast<const int32_t*>(&(tab_rec->table[2])); in InstallSwitchTables()
562 for (int elems = 0; elems < tab_rec->table[1]; elems++) { in InstallSwitchTables()
563 int disp = tab_rec->targets[elems]->offset - bx_offset; in InstallSwitchTables()
[all …]
Dmir_to_lir.h710 void MarkPackedCaseLabels(Mir2Lir::SwitchTable* tab_rec);
711 void MarkSparseCaseLabels(Mir2Lir::SwitchTable* tab_rec);