Home
last modified time | relevance | path

Searched refs:fixup (Results 1 – 11 of 11) sorted by relevance

/art/compiler/utils/
Dassembler.cc73 AssemblerFixup* fixup = fixup_; in ProcessFixups() local
74 while (fixup != nullptr) { in ProcessFixups()
75 fixup->Process(region, fixup->position()); in ProcessFixups()
76 fixup = fixup->previous(); in ProcessFixups()
Dassembler.h131 void EmitFixup(AssemblerFixup* fixup) { in EmitFixup() argument
132 fixup->set_previous(fixup_); in EmitFixup()
133 fixup->set_position(Size()); in EmitFixup()
134 fixup_ = fixup; in EmitFixup()
/art/compiler/utils/x86/
Dassembler_x86.h124 void SetFixup(AssemblerFixup* fixup) { in SetFixup() argument
125 fixup_ = fixup; in SetFixup()
155 Address(Register base_in, int32_t disp, AssemblerFixup *fixup) { in Address() argument
157 SetFixup(fixup); in Address()
187 int32_t disp, AssemblerFixup *fixup) { in Address() argument
189 SetFixup(fixup); in Address()
778 inline void EmitFixup(AssemblerFixup* fixup);
814 inline void X86Assembler::EmitFixup(AssemblerFixup* fixup) { in EmitFixup() argument
815 buffer_.EmitFixup(fixup); in EmitFixup()
Dassembler_x86.cc2456 AssemblerFixup* fixup = operand.GetFixup(); in EmitOperand() local
2457 if (fixup != nullptr) { in EmitOperand()
2458 EmitFixup(fixup); in EmitOperand()
/art/compiler/utils/arm/
Dassembler_thumb2.cc95 Fixup* fixup = GetFixup(fixup_id); // Get the Fixup at this id. in BindLabel() local
96 fixup->Resolve(bound_pc); // Fixup can be resolved now. in BindLabel()
97 uint32_t fixup_location = fixup->GetLocation(); in BindLabel()
124 void Thumb2Assembler::AdjustFixupIfNeeded(Fixup* fixup, uint32_t* current_code_size, in AdjustFixupIfNeeded() argument
126 uint32_t adjustment = fixup->AdjustSizeIfNeeded(*current_code_size); in AdjustFixupIfNeeded()
128 DCHECK(fixup->CanExpand()); in AdjustFixupIfNeeded()
130 for (FixupId dependent_id : fixup->Dependents(*this)) { in AdjustFixupIfNeeded()
148 for (Fixup& fixup : fixups_) { in AdjustFixups()
149 CHECK_EQ(buffer_.Load<int16_t>(fixup.GetLocation()), 0); in AdjustFixups()
152 for (Fixup& fixup : fixups_) { in AdjustFixups()
[all …]
Dassembler_thumb2.h845 FixupId AddFixup(Fixup fixup) { in AddFixup() argument
847 fixups_.push_back(fixup); in AddFixup()
861 void AdjustFixupIfNeeded(Fixup* fixup, uint32_t* current_code_size,
/art/compiler/utils/x86_64/
Dassembler_x86_64.h147 void SetFixup(AssemblerFixup* fixup) { in SetFixup() argument
148 fixup_ = fixup; in SetFixup()
251 static Address RIP(AssemblerFixup* fixup) { in RIP() argument
257 result.SetFixup(fixup); in RIP()
849 void EmitFixup(AssemblerFixup* fixup);
920 inline void X86_64Assembler::EmitFixup(AssemblerFixup* fixup) { in EmitFixup() argument
921 buffer_.EmitFixup(fixup); in EmitFixup()
Dassembler_x86_64.cc3059 AssemblerFixup* fixup = operand.GetFixup(); in EmitOperand() local
3060 if (fixup != nullptr) { in EmitOperand()
3061 EmitFixup(fixup); in EmitOperand()
/art/compiler/optimizing/
Dcode_generator_x86_64.cc7062 AssemblerFixup* fixup = new (GetGraph()->GetArena()) RIPFixup(*this, __ AddDouble(v)); in LiteralDoubleAddress() local
7063 return Address::RIP(fixup); in LiteralDoubleAddress()
7067 AssemblerFixup* fixup = new (GetGraph()->GetArena()) RIPFixup(*this, __ AddFloat(v)); in LiteralFloatAddress() local
7068 return Address::RIP(fixup); in LiteralFloatAddress()
7072 AssemblerFixup* fixup = new (GetGraph()->GetArena()) RIPFixup(*this, __ AddInt32(v)); in LiteralInt32Address() local
7073 return Address::RIP(fixup); in LiteralInt32Address()
7077 AssemblerFixup* fixup = new (GetGraph()->GetArena()) RIPFixup(*this, __ AddInt64(v)); in LiteralInt64Address() local
7078 return Address::RIP(fixup); in LiteralInt64Address()
Doptimizing_cfi_test_expected.inc223 // optimistic 16-bit emit and subsequent fixup for out of reach targets
Dcode_generator_x86.cc7712 AssemblerFixup* fixup = in LiteralDoubleAddress() local
7714 return Address(reg, kDummy32BitOffset, fixup); in LiteralDoubleAddress()
7720 AssemblerFixup* fixup = new (GetGraph()->GetArena()) RIPFixup(*this, method_base, __ AddFloat(v)); in LiteralFloatAddress() local
7721 return Address(reg, kDummy32BitOffset, fixup); in LiteralFloatAddress()
7727 AssemblerFixup* fixup = new (GetGraph()->GetArena()) RIPFixup(*this, method_base, __ AddInt32(v)); in LiteralInt32Address() local
7728 return Address(reg, kDummy32BitOffset, fixup); in LiteralInt32Address()
7734 AssemblerFixup* fixup = new (GetGraph()->GetArena()) RIPFixup(*this, method_base, __ AddInt64(v)); in LiteralInt64Address() local
7735 return Address(reg, kDummy32BitOffset, fixup); in LiteralInt64Address()