Home
last modified time | relevance | path

Searched refs:Assembler (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/external/v8/src/x87/
Dassembler-x87.cc76 DCHECK(NextField::is_valid(Assembler::kMaximalBufferSize)); in init()
213 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler
228 void Assembler::GetCode(CodeDesc* desc) { in GetCode()
244 void Assembler::Align(int m) { in Align()
252 bool Assembler::IsNop(Address addr) { in IsNop()
261 void Assembler::Nop(int bytes) { in Nop()
273 void Assembler::CodeTargetAlign() { in CodeTargetAlign()
278 void Assembler::cpuid() { in cpuid()
285 void Assembler::pushad() { in pushad()
291 void Assembler::popad() { in popad()
[all …]
Dassembler-x87-inl.h70 pc_ + Assembler::kPatchDebugBreakSlotAddressOffset); in apply()
82 return Assembler::target_address_at(pc_, host_); in target_address()
100 return Assembler::kSpecialTargetSize; in target_address_size()
110 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
122 Assembler::FlushICache(isolate_, pc_, sizeof(Address)); in set_target_object()
152 Address RelocInfo::target_runtime_entry(Assembler* origin) { in target_runtime_entry()
189 Assembler::FlushICache(isolate_, pc_, sizeof(Address)); in set_target_cell()
198 Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) { in code_age_stub_handle()
209 Assembler::target_address_at(pc_ + 1, host_)); in code_age_stub()
217 Assembler::set_target_address_at( in set_code_age_stub()
[all …]
/external/v8/src/ia32/
Dassembler-ia32.cc161 DCHECK(NextField::is_valid(Assembler::kMaximalBufferSize)); in init()
298 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler
313 void Assembler::GetCode(CodeDesc* desc) { in GetCode()
329 void Assembler::Align(int m) { in Align()
337 bool Assembler::IsNop(Address addr) { in IsNop()
346 void Assembler::Nop(int bytes) { in Nop()
411 void Assembler::CodeTargetAlign() { in CodeTargetAlign()
416 void Assembler::cpuid() { in cpuid()
423 void Assembler::pushad() { in pushad()
429 void Assembler::popad() { in popad()
[all …]
Dassembler-ia32-inl.h70 pc_ + Assembler::kPatchDebugBreakSlotAddressOffset); in apply()
82 return Assembler::target_address_at(pc_, host_); in target_address()
100 return Assembler::kSpecialTargetSize; in target_address_size()
110 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
122 Assembler::FlushICache(isolate_, pc_, sizeof(Address)); in set_target_object()
152 Address RelocInfo::target_runtime_entry(Assembler* origin) { in target_runtime_entry()
189 Assembler::FlushICache(isolate_, pc_, sizeof(Address)); in set_target_cell()
198 Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) { in code_age_stub_handle()
209 Assembler::target_address_at(pc_ + 1, host_)); in code_age_stub()
217 Assembler::set_target_address_at( in set_code_age_stub()
[all …]
/external/v8/src/s390/
Dassembler-s390.cc222 return Assembler::target_address_at(pc_, host_); in wasm_memory_reference()
228 reinterpret_cast<intptr_t>(Assembler::target_address_at(pc_, host_))); in wasm_memory_size_reference()
233 return Assembler::target_address_at(pc_, host_); in wasm_global_reference()
238 Assembler::set_target_address_at(isolate_, pc_, host_, address, flush_mode); in unchecked_update_wasm_memory_reference()
243 Assembler::set_target_address_at(isolate_, pc_, host_, in unchecked_update_wasm_memory_size()
281 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler
292 void Assembler::GetCode(CodeDesc* desc) { in GetCode()
305 void Assembler::Align(int m) { in Align()
312 void Assembler::CodeTargetAlign() { Align(8); } in CodeTargetAlign()
314 Condition Assembler::GetCondition(Instr instr) { in GetCondition()
[all …]
Dassembler-s390-inl.h71 Address target = Assembler::target_address_at(pc_, host_); in apply()
72 Assembler::set_target_address_at(isolate_, pc_, host_, target + delta, in apply()
84 return Assembler::target_address_at(pc_, host_); in target_internal_reference()
95 return Assembler::target_address_at(pc_, host_); in target_address()
119 int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; } in target_address_size()
121 Address Assembler::target_address_from_return_address(Address pc) { in target_address_from_return_address()
129 Address Assembler::return_address_from_call_start(Address pc) { in return_address_from_call_start()
135 Handle<Object> Assembler::code_target_object_handle_at(Address pc) { in code_target_object_handle_at()
144 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_, host_)); in target_object()
147 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
[all …]
/external/v8/src/mips/
Dassembler-mips-inl.h95 int count = Assembler::RelocateInternalReference(rmode_, p, delta); in apply()
96 Assembler::FlushICache(isolate_, p, count * sizeof(uint32_t)); in apply()
103 return Assembler::target_address_at(pc_, host_); in target_address()
126 pc_ + Assembler::kInstructionsFor32BitConstant * Assembler::kInstrSize); in target_address_address()
137 return Assembler::kSpecialTargetSize; in target_address_size()
141 Address Assembler::target_address_from_return_address(Address pc) { in target_address_from_return_address()
146 void Assembler::set_target_internal_reference_encoded_at(Address pc, in set_target_internal_reference_encoded_at()
148 Instr instr1 = Assembler::instr_at(pc + 0 * Assembler::kInstrSize); in set_target_internal_reference_encoded_at()
149 Instr instr2 = Assembler::instr_at(pc + 1 * Assembler::kInstrSize); in set_target_internal_reference_encoded_at()
150 DCHECK(Assembler::IsLui(instr1)); in set_target_internal_reference_encoded_at()
[all …]
Dassembler-mips.cc194 return Assembler::target_address_at(pc_, host_); in wasm_memory_reference()
199 return Assembler::target_address_at(pc_, host_); in wasm_global_reference()
204 return reinterpret_cast<uint32_t>(Assembler::target_address_at(pc_, host_)); in wasm_memory_size_reference()
209 Assembler::set_target_address_at(isolate_, pc_, host_, address, flush_mode); in unchecked_update_wasm_memory_reference()
214 Assembler::set_target_address_at(isolate_, pc_, host_, in unchecked_update_wasm_memory_size()
286 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler
309 void Assembler::GetCode(CodeDesc* desc) { in GetCode()
324 void Assembler::Align(int m) { in Align()
333 void Assembler::CodeTargetAlign() { in CodeTargetAlign()
340 Register Assembler::GetRtReg(Instr instr) { in GetRtReg()
[all …]
/external/v8/src/mips64/
Dassembler-mips64.cc172 return Assembler::target_address_at(pc_, host_); in wasm_memory_reference()
177 return Assembler::target_address_at(pc_, host_); in wasm_global_reference()
183 reinterpret_cast<intptr_t>((Assembler::target_address_at(pc_, host_)))); in wasm_memory_size_reference()
188 Assembler::set_target_address_at(isolate_, pc_, host_, address, flush_mode); in unchecked_update_wasm_memory_reference()
193 Assembler::set_target_address_at(isolate_, pc_, host_, in unchecked_update_wasm_memory_size()
266 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler
289 void Assembler::GetCode(CodeDesc* desc) { in GetCode()
305 void Assembler::Align(int m) { in Align()
314 void Assembler::CodeTargetAlign() { in CodeTargetAlign()
321 Register Assembler::GetRtReg(Instr instr) { in GetRtReg()
[all …]
Dassembler-mips64-inl.h95 int count = Assembler::RelocateInternalReference(rmode_, p, delta); in apply()
96 Assembler::FlushICache(isolate_, p, count * sizeof(uint32_t)); in apply()
103 return Assembler::target_address_at(pc_, host_); in target_address()
128 pc_ + Assembler::kInstructionsFor64BitConstant * Assembler::kInstrSize); in target_address_address()
139 return Assembler::kSpecialTargetSize; in target_address_size()
143 Address Assembler::target_address_from_return_address(Address pc) { in target_address_from_return_address()
148 void Assembler::set_target_internal_reference_encoded_at(Address pc, in set_target_internal_reference_encoded_at()
151 Instr instr = Assembler::instr_at(pc + 0 * Assembler::kInstrSize); in set_target_internal_reference_encoded_at()
166 void Assembler::deserialization_set_target_internal_reference_at( in deserialization_set_target_internal_reference_at()
180 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_, host_)); in target_object()
[all …]
/external/v8/src/x64/
Dassembler-x64.cc286 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler
301 void Assembler::GetCode(CodeDesc* desc) { in GetCode()
319 void Assembler::Align(int m) { in Align()
326 void Assembler::CodeTargetAlign() { in CodeTargetAlign()
331 bool Assembler::IsNop(Address addr) { in IsNop()
340 void Assembler::bind_to(Label* L, int pos) { in bind_to()
390 void Assembler::bind(Label* L) { in bind()
395 void Assembler::GrowBuffer() { in GrowBuffer()
450 void Assembler::emit_operand(int code, const Operand& adr) { in emit_operand()
485 void Assembler::arithmetic_op(byte opcode, in arithmetic_op()
[all …]
Dassembler-x64-inl.h30 void Assembler::emitl(uint32_t x) { in emitl()
36 void Assembler::emitp(void* x, RelocInfo::Mode rmode) { in emitp()
46 void Assembler::emitq(uint64_t x) { in emitq()
52 void Assembler::emitw(uint16_t x) { in emitw()
58 void Assembler::emit_code_target(Handle<Code> target, in emit_code_target()
79 void Assembler::emit_runtime_entry(Address entry, RelocInfo::Mode rmode) { in emit_runtime_entry()
87 void Assembler::emit_rex_64(Register reg, Register rm_reg) { in emit_rex_64()
92 void Assembler::emit_rex_64(XMMRegister reg, Register rm_reg) { in emit_rex_64()
97 void Assembler::emit_rex_64(Register reg, XMMRegister rm_reg) { in emit_rex_64()
102 void Assembler::emit_rex_64(Register reg, const Operand& op) { in emit_rex_64()
[all …]
/external/v8/src/ppc/
Dassembler-ppc.cc153 return (constant_pool && Assembler::IsConstantPoolLoadStart(pc_)); in IsInConstantPool()
160 return Assembler::target_address_at(pc_, host_); in wasm_memory_reference()
166 reinterpret_cast<intptr_t>(Assembler::target_address_at(pc_, host_))); in wasm_memory_size_reference()
171 return Assembler::target_address_at(pc_, host_); in wasm_global_reference()
177 Assembler::set_target_address_at(isolate_, pc_, host_, address, flush_mode); in unchecked_update_wasm_memory_reference()
182 Assembler::set_target_address_at(isolate_, pc_, host_, in unchecked_update_wasm_memory_size()
223 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler
243 void Assembler::GetCode(CodeDesc* desc) { in GetCode()
262 void Assembler::Align(int m) { in Align()
271 void Assembler::CodeTargetAlign() { Align(8); } in CodeTargetAlign()
[all …]
Dassembler-ppc-inl.h63 Address target = Assembler::target_address_at(pc_, host_); in apply()
64 Assembler::set_target_address_at(isolate_, pc_, host_, target + delta, in apply()
77 return Assembler::target_address_at(pc_, host_); in target_internal_reference()
90 return Assembler::target_address_at(pc_, host_); in target_address()
98 Assembler::IsConstantPoolLoadStart(pc_)) { in target_address_address()
123 if (Assembler::IsConstantPoolLoadStart(pc_, &access)) in constant_pool_entry_address()
124 return Assembler::target_constant_pool_address_at( in constant_pool_entry_address()
132 int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; } in target_address_size()
135 Address Assembler::target_address_from_return_address(Address pc) { in target_address_from_return_address()
155 Address Assembler::return_address_from_call_start(Address pc) { in return_address_from_call_start()
[all …]
/external/v8/src/arm64/
Dassembler-arm64.cc184 return Memory::Address_at(Assembler::target_pointer_address_at(pc_)); in wasm_memory_reference()
189 return Memory::uint32_at(Assembler::target_pointer_address_at(pc_)); in wasm_memory_size_reference()
194 return Memory::Address_at(Assembler::target_pointer_address_at(pc_)); in wasm_global_reference()
199 Assembler::set_target_address_at(isolate_, pc_, host_, address, flush_mode); in unchecked_update_wasm_memory_reference()
204 Memory::uint32_at(Assembler::target_pointer_address_at(pc_)) = size; in unchecked_update_wasm_memory_size()
292 bool Operand::NeedsRelocation(const Assembler* assembler) const { in NeedsRelocation()
328 if (EntryCount() > Assembler::kApproxMaxPoolEntryCount) { in RecordEntry()
386 Assembler::BlockPoolsScope block_pools(assm_); in Emit()
464 Assembler::ImmLLiteral(word_count) | in EmitMarker()
465 Assembler::Rt(xzr)); in EmitMarker()
[all …]
Dassembler-arm64-inl.h557 void Assembler::Unreachable() {
567 Address Assembler::target_pointer_address_at(Address pc) {
575 Address Assembler::target_address_at(Address pc, Address constant_pool) {
580 Address Assembler::target_address_at(Address pc, Code* code) {
586 Address Assembler::target_address_from_return_address(Address pc) {
600 Address Assembler::return_address_from_call_start(Address pc) {
617 STATIC_ASSERT(Assembler::kCallSizeWithoutRelocation == 4 * kInstructionSize);
618 STATIC_ASSERT(Assembler::kCallSizeWithRelocation == 2 * kInstructionSize);
626 return pc + Assembler::kCallSizeWithoutRelocation;
631 return pc + Assembler::kCallSizeWithRelocation;
[all …]
/external/vixl/src/aarch64/
Dassembler-aarch64.cc52 void Assembler::Reset() { GetBuffer()->Reset(); } in Reset()
55 void Assembler::bind(Label* label) { in bind()
60 void Assembler::BindToOffset(Label* label, ptrdiff_t offset) { in BindToOffset()
81 ptrdiff_t Assembler::LinkAndGetOffsetTo(Label* label) { in LinkAndGetOffsetTo()
95 ptrdiff_t Assembler::LinkAndGetByteOffsetTo(Label* label) { in LinkAndGetByteOffsetTo()
100 ptrdiff_t Assembler::LinkAndGetInstructionOffsetTo(Label* label) { in LinkAndGetInstructionOffsetTo()
105 ptrdiff_t Assembler::LinkAndGetPageOffsetTo(Label* label) { in LinkAndGetPageOffsetTo()
110 void Assembler::place(RawLiteral* literal) { in place()
151 ptrdiff_t Assembler::LinkAndGetWordOffsetTo(RawLiteral* literal) { in LinkAndGetWordOffsetTo()
180 void Assembler::br(const Register& xn) { in br()
[all …]
/external/v8/src/arm/
Dassembler-arm-inl.h71 return Assembler::target_address_at(pc_, host_); in target_address()
79 Assembler::IsMovW(Memory::int32_at(pc_))) { in target_address_address()
85 DCHECK(Assembler::IsLdrPcImmediateOffset(Memory::int32_at(pc_))); in target_address_address()
93 return Assembler::constant_pool_entry_address(pc_, host_->constant_pool()); in constant_pool_entry_address()
104 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_, host_)); in target_object()
108 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle()
111 Assembler::target_address_at(pc_, host_))); in target_object_handle()
119 Assembler::set_target_address_at(isolate_, pc_, host_, in set_target_object()
134 return Assembler::target_address_at(pc_, host_); in target_external_reference()
150 Address RelocInfo::target_runtime_entry(Assembler* origin) { in target_runtime_entry()
[all …]
Dassembler-arm.cc336 return Assembler::is_constant_pool_load(pc_); in IsInConstantPool()
341 return Assembler::target_address_at(pc_, host_); in wasm_memory_reference()
346 return reinterpret_cast<uint32_t>(Assembler::target_address_at(pc_, host_)); in wasm_memory_size_reference()
351 return Assembler::target_address_at(pc_, host_); in wasm_global_reference()
356 Assembler::set_target_address_at(isolate_, pc_, host_, address, flush_mode); in unchecked_update_wasm_memory_reference()
361 Assembler::set_target_address_at(isolate_, pc_, host_, in unchecked_update_wasm_memory_size()
571 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler
596 Assembler::~Assembler() { in ~Assembler()
601 void Assembler::GetCode(CodeDesc* desc) { in GetCode()
624 void Assembler::Align(int m) { in Align()
[all …]
Dcode-stubs-arm.h83 DCHECK(Assembler::IsTstImmediate(masm->instr_at(pos))); in PatchBranchIntoNop()
88 DCHECK(Assembler::IsBranch(masm->instr_at(pos))); in PatchNopIntoBranch()
92 Instr first_instruction = Assembler::instr_at(stub->instruction_start()); in GetMode()
93 Instr second_instruction = Assembler::instr_at(stub->instruction_start() + in GetMode()
94 Assembler::kInstrSize); in GetMode()
96 if (Assembler::IsBranch(first_instruction)) { in GetMode()
100 DCHECK(Assembler::IsTstImmediate(first_instruction)); in GetMode()
102 if (Assembler::IsBranch(second_instruction)) { in GetMode()
106 DCHECK(Assembler::IsTstImmediate(second_instruction)); in GetMode()
119 PatchBranchIntoNop(&masm, Assembler::kInstrSize); in Patch()
[all …]
/external/deqp/framework/referencerenderer/
DrrPrimitiveTypes.hpp53 … typedef pa::Triangle Type; typedef pa::Triangle BaseType; typedef pa::Triangles Assembler; }; typedef
54 …pedef pa::Triangle Type; typedef pa::Triangle BaseType; typedef pa::TriangleStrip Assembler; }; typedef
55 …ypedef pa::Triangle Type; typedef pa::Triangle BaseType; typedef pa::TriangleFan Assembler; }; typedef
56 …S> { typedef pa::Line Type; typedef pa::Line BaseType; typedef pa::Lines Assembler; }; typedef
57 …> { typedef pa::Line Type; typedef pa::Line BaseType; typedef pa::LineStrip Assembler; }; typedef
58 …> { typedef pa::Line Type; typedef pa::Line BaseType; typedef pa::LineLoop Assembler; }; typedef
59 … { typedef pa::Point Type; typedef pa::Point BaseType; typedef pa::Points Assembler; }; typedef
60 …def pa::LineAdjacency Type; typedef pa::Line BaseType; typedef pa::LinesAdjacency Assembler; }; typedef
61 … pa::LineAdjacency Type; typedef pa::Line BaseType; typedef pa::LineStripAdjacency Assembler; }; typedef
62 …riangleAdjacency Type; typedef pa::Triangle BaseType; typedef pa::TrianglesAdjacency Assembler; }; typedef
[all …]
/external/vixl/src/aarch32/
Dassembler-aarch32.cc46 void Assembler::EmitT32_16(uint16_t instr) { in EmitT32_16()
52 void Assembler::EmitT32_32(uint32_t instr) { in EmitT32_32()
59 void Assembler::EmitA32(uint32_t instr) { in EmitA32()
66 void Assembler::PerformCheckIT(Condition condition) { in PerformCheckIT()
82 void Assembler::BindHelper(Label* label) { in BindHelper()
97 uint32_t Assembler::Link(uint32_t instr, in Link()
111 void Assembler::EncodeLabelFor(const Label::ForwardReference& forward, in EncodeLabelFor()
1798 void Assembler::adc(Condition cond, in adc()
1883 Delegate(kAdc, &Assembler::adc, cond, size, rd, rn, operand); in adc()
1886 void Assembler::adcs(Condition cond, in adcs()
[all …]
/external/llvm/lib/MC/
DMCELFStreamer.cpp50 MCAssembler &Assembler = getAssembler(); in mergeFragment() local
52 if (Assembler.isBundlingEnabled() && Assembler.getRelaxAll()) { in mergeFragment()
55 if (FSize > Assembler.getBundleAlignSize()) in mergeFragment()
59 Assembler, EF, DF->getContents().size(), FSize); in mergeFragment()
67 MCObjectWriter *OW = Assembler.getBackend().createObjectWriter(VecOS); in mergeFragment()
71 Assembler.writeFragmentPadding(*EF, FSize, OW); in mergeFragment()
129 static void setSectionAlignmentForBundling(const MCAssembler &Assembler, in setSectionAlignmentForBundling() argument
131 if (Section && Assembler.isBundlingEnabled() && Section->hasInstructions() && in setSectionAlignmentForBundling()
132 Section->getAlignment() < Assembler.getBundleAlignSize()) in setSectionAlignmentForBundling()
133 Section->setAlignment(Assembler.getBundleAlignSize()); in setSectionAlignmentForBundling()
[all …]
/external/v8/src/debug/s390/
Ddebug-s390.cc24 __ nop(Assembler::DEBUG_BREAK_NOP); in EmitDebugBreakSlot()
25 __ nop(Assembler::DEBUG_BREAK_NOP); in EmitDebugBreakSlot()
30 for (int i = 8; i < Assembler::kDebugBreakSlotLength; i += 2) { in EmitDebugBreakSlot()
33 DCHECK_EQ(Assembler::kDebugBreakSlotLength, in EmitDebugBreakSlot()
44 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotLength); in ClearDebugBreakSlot()
51 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotLength); in PatchDebugBreakSlot()
75 Instr current_instr = Assembler::instr_at(pc); in DebugBreakSlotIsPatched()
76 return !Assembler::IsNop(current_instr, Assembler::DEBUG_BREAK_NOP); in DebugBreakSlotIsPatched()
/external/v8/src/debug/ppc/
Ddebug-ppc.cc21 for (int i = 0; i < Assembler::kDebugBreakSlotInstructions; i++) { in EmitDebugBreakSlot()
24 DCHECK_EQ(Assembler::kDebugBreakSlotInstructions, in EmitDebugBreakSlot()
32 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm); in GenerateSlot()
39 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); in ClearDebugBreakSlot()
47 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); in PatchDebugBreakSlot()
62 Assembler::BlockTrampolinePoolScope block_trampoline_pool(patcher.masm()); in PatchDebugBreakSlot()
70 Instr current_instr = Assembler::instr_at(pc); in DebugBreakSlotIsPatched()
71 return !Assembler::IsNop(current_instr, Assembler::DEBUG_BREAK_NOP); in DebugBreakSlotIsPatched()

12345678910>>...13