/external/v8/src/x87/ |
D | assembler-x87.cc | 76 DCHECK(NextField::is_valid(Assembler::kMaximalBufferSize)); in init() 218 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 238 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 255 void Assembler::Align(int m) { in Align() 263 bool Assembler::IsNop(Address addr) { in IsNop() 272 void Assembler::Nop(int bytes) { in Nop() 284 void Assembler::CodeTargetAlign() { in CodeTargetAlign() 289 void Assembler::cpuid() { in cpuid() 296 void Assembler::pushad() { in pushad() 302 void Assembler::popad() { in popad() [all …]
|
D | assembler-x87-inl.h | 69 pc_ + Assembler::kPatchDebugBreakSlotAddressOffset); in apply() 81 return Assembler::target_address_at(pc_, host_); in target_address() 99 return Assembler::kSpecialTargetSize; in target_address_size() 106 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 108 Assembler::set_target_address_at(isolate_, pc_, host_, target); in set_target_address() 124 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() 136 Assembler::FlushICache(isolate_, pc_, sizeof(Address)); in set_target_object() 165 Address RelocInfo::target_runtime_entry(Assembler* origin) { in target_runtime_entry() 202 Assembler::FlushICache(isolate_, pc_, sizeof(Address)); in set_target_cell() 211 Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) { in code_age_stub_handle() [all …]
|
/external/v8/src/ia32/ |
D | assembler-ia32.cc | 161 DCHECK(NextField::is_valid(Assembler::kMaximalBufferSize)); in init() 303 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 323 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 340 void Assembler::Align(int m) { in Align() 348 bool Assembler::IsNop(Address addr) { in IsNop() 357 void Assembler::Nop(int bytes) { in Nop() 422 void Assembler::CodeTargetAlign() { in CodeTargetAlign() 427 void Assembler::cpuid() { in cpuid() 434 void Assembler::pushad() { in pushad() 440 void Assembler::popad() { in popad() [all …]
|
D | assembler-ia32-inl.h | 69 pc_ + Assembler::kPatchDebugBreakSlotAddressOffset); in apply() 81 return Assembler::target_address_at(pc_, host_); in target_address() 99 return Assembler::kSpecialTargetSize; in target_address_size() 106 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 123 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() 135 Assembler::FlushICache(isolate_, pc_, sizeof(Address)); in set_target_object() 164 Address RelocInfo::target_runtime_entry(Assembler* origin) { in target_runtime_entry() 201 Assembler::FlushICache(isolate_, pc_, sizeof(Address)); in set_target_cell() 210 Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) { in code_age_stub_handle() 221 Assembler::target_address_at(pc_ + 1, host_)); in code_age_stub() [all …]
|
/external/v8/src/s390/ |
D | assembler-s390.cc | 222 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() 282 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 294 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 307 void Assembler::Align(int m) { in Align() 314 void Assembler::CodeTargetAlign() { Align(8); } in CodeTargetAlign() 316 Condition Assembler::GetCondition(Instr instr) { in GetCondition() [all …]
|
D | assembler-s390-inl.h | 69 Address target = Assembler::target_address_at(pc_, host_); in apply() 70 Assembler::set_target_address_at(isolate_, pc_, host_, target + delta, in apply() 82 return Assembler::target_address_at(pc_, host_); in target_internal_reference() 93 return Assembler::target_address_at(pc_, host_); in target_address() 117 int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; } in target_address_size() 123 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 133 Address Assembler::target_address_from_return_address(Address pc) { in target_address_from_return_address() 141 Address Assembler::return_address_from_call_start(Address pc) { in return_address_from_call_start() 147 Handle<Object> Assembler::code_target_object_handle_at(Address pc) { in code_target_object_handle_at() 156 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_, host_)); in target_object() [all …]
|
/external/v8/src/mips/ |
D | assembler-mips-inl.h | 94 int count = Assembler::RelocateInternalReference(rmode_, p, delta); in apply() 95 Assembler::FlushICache(isolate_, p, count * sizeof(uint32_t)); in apply() 102 return Assembler::target_address_at(pc_, host_); in target_address() 125 pc_ + Assembler::kInstructionsFor32BitConstant * Assembler::kInstrSize); in target_address_address() 136 return Assembler::kSpecialTargetSize; in target_address_size() 144 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 154 Address Assembler::target_address_from_return_address(Address pc) { in target_address_from_return_address() 159 void Assembler::set_target_internal_reference_encoded_at(Address pc, in set_target_internal_reference_encoded_at() 161 Instr instr1 = Assembler::instr_at(pc + 0 * Assembler::kInstrSize); in set_target_internal_reference_encoded_at() 162 Instr instr2 = Assembler::instr_at(pc + 1 * Assembler::kInstrSize); in set_target_internal_reference_encoded_at() [all …]
|
D | assembler-mips.cc | 194 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() 288 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 312 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 327 void Assembler::Align(int m) { in Align() 336 void Assembler::CodeTargetAlign() { in CodeTargetAlign() 343 Register Assembler::GetRtReg(Instr instr) { in GetRtReg() [all …]
|
/external/v8/src/x64/ |
D | assembler-x64.cc | 287 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 309 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 328 void Assembler::Align(int m) { in Align() 335 void Assembler::CodeTargetAlign() { in CodeTargetAlign() 340 bool Assembler::IsNop(Address addr) { in IsNop() 349 void Assembler::bind_to(Label* L, int pos) { in bind_to() 399 void Assembler::bind(Label* L) { in bind() 404 void Assembler::GrowBuffer() { in GrowBuffer() 458 void Assembler::emit_operand(int code, const Operand& adr) { in emit_operand() 493 void Assembler::arithmetic_op(byte opcode, in arithmetic_op() [all …]
|
D | assembler-x64-inl.h | 29 void Assembler::emitl(uint32_t x) { in emitl() 35 void Assembler::emitp(void* x, RelocInfo::Mode rmode) { in emitp() 45 void Assembler::emitq(uint64_t x) { in emitq() 51 void Assembler::emitw(uint16_t x) { in emitw() 57 void Assembler::emit_code_target(Handle<Code> target, in emit_code_target() 78 void Assembler::emit_runtime_entry(Address entry, RelocInfo::Mode rmode) { in emit_runtime_entry() 86 void Assembler::emit_rex_64(Register reg, Register rm_reg) { in emit_rex_64() 91 void Assembler::emit_rex_64(XMMRegister reg, Register rm_reg) { in emit_rex_64() 96 void Assembler::emit_rex_64(Register reg, XMMRegister rm_reg) { in emit_rex_64() 101 void Assembler::emit_rex_64(Register reg, const Operand& op) { in emit_rex_64() [all …]
|
/external/v8/src/mips64/ |
D | assembler-mips64.cc | 172 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() 268 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 292 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 308 void Assembler::Align(int m) { in Align() 317 void Assembler::CodeTargetAlign() { in CodeTargetAlign() 324 Register Assembler::GetRtReg(Instr instr) { in GetRtReg() [all …]
|
D | assembler-mips64-inl.h | 94 int count = Assembler::RelocateInternalReference(rmode_, p, delta); in apply() 95 Assembler::FlushICache(isolate_, p, count * sizeof(uint32_t)); in apply() 102 return Assembler::target_address_at(pc_, host_); in target_address() 127 pc_ + Assembler::kInstructionsFor64BitConstant * Assembler::kInstrSize); in target_address_address() 138 return Assembler::kSpecialTargetSize; in target_address_size() 146 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 156 Address Assembler::target_address_from_return_address(Address pc) { in target_address_from_return_address() 161 void Assembler::set_target_internal_reference_encoded_at(Address pc, in set_target_internal_reference_encoded_at() 164 Instr instr = Assembler::instr_at(pc + 0 * Assembler::kInstrSize); in set_target_internal_reference_encoded_at() 179 void Assembler::deserialization_set_target_internal_reference_at( in deserialization_set_target_internal_reference_at() [all …]
|
/external/v8/src/ppc/ |
D | assembler-ppc.cc | 153 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() 225 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 246 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 265 void Assembler::Align(int m) { in Align() 274 void Assembler::CodeTargetAlign() { Align(8); } in CodeTargetAlign() [all …]
|
D | assembler-ppc-inl.h | 62 Address target = Assembler::target_address_at(pc_, host_); in apply() 63 Assembler::set_target_address_at(isolate_, pc_, host_, target + delta, in apply() 76 return Assembler::target_address_at(pc_, host_); in target_internal_reference() 89 return Assembler::target_address_at(pc_, host_); in target_address() 97 Assembler::IsConstantPoolLoadStart(pc_)) { in target_address_address() 122 if (Assembler::IsConstantPoolLoadStart(pc_, &access)) in constant_pool_entry_address() 123 return Assembler::target_constant_pool_address_at( in constant_pool_entry_address() 131 int RelocInfo::target_address_size() { return Assembler::kSpecialTargetSize; } in target_address_size() 138 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 149 Address Assembler::target_address_from_return_address(Address pc) { in target_address_from_return_address() [all …]
|
/external/v8/src/arm64/ |
D | assembler-arm64.cc | 184 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() 293 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 …]
|
D | assembler-arm64-inl.h | 34 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 571 void Assembler::Unreachable() { 581 Address Assembler::target_pointer_address_at(Address pc) { 589 Address Assembler::target_address_at(Address pc, Address constant_pool) { 594 Address Assembler::target_address_at(Address pc, Code* code) { 600 Address Assembler::target_address_from_return_address(Address pc) { 614 Address Assembler::return_address_from_call_start(Address pc) { 631 STATIC_ASSERT(Assembler::kCallSizeWithoutRelocation == 4 * kInstructionSize); 632 STATIC_ASSERT(Assembler::kCallSizeWithRelocation == 2 * kInstructionSize); 640 return pc + Assembler::kCallSizeWithoutRelocation; [all …]
|
/external/vixl/src/vixl/a64/ |
D | assembler-a64.cc | 491 Assembler::Assembler(byte* buffer, size_t capacity, in Assembler() function in vixl::Assembler 501 Assembler::Assembler(size_t capacity, PositionIndependentCodeOption pic) in Assembler() function in vixl::Assembler 510 Assembler::~Assembler() { in ~Assembler() 516 void Assembler::Reset() { in Reset() 521 void Assembler::FinalizeCode() { in FinalizeCode() 526 void Assembler::bind(Label* label) { in bind() 531 void Assembler::BindToOffset(Label* label, ptrdiff_t offset) { in BindToOffset() 551 ptrdiff_t Assembler::LinkAndGetOffsetTo(Label* label) { in LinkAndGetOffsetTo() 566 ptrdiff_t Assembler::LinkAndGetByteOffsetTo(Label* label) { in LinkAndGetByteOffsetTo() 571 ptrdiff_t Assembler::LinkAndGetInstructionOffsetTo(Label* label) { in LinkAndGetInstructionOffsetTo() [all …]
|
/external/v8/src/arm/ |
D | assembler-arm-inl.h | 71 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() 106 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 118 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_, host_)); in target_object() 122 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() 125 Assembler::target_address_at(pc_, host_))); in target_object_handle() 133 Assembler::set_target_address_at(isolate_, pc_, host_, in set_target_object() 147 return Assembler::target_address_at(pc_, host_); in target_external_reference() [all …]
|
D | assembler-arm.cc | 239 return Assembler::is_constant_pool_load(pc_); in IsInConstantPool() 244 return Assembler::target_address_at(pc_, host_); in wasm_memory_reference() 249 return reinterpret_cast<uint32_t>(Assembler::target_address_at(pc_, host_)); in wasm_memory_size_reference() 254 return Assembler::target_address_at(pc_, host_); in wasm_global_reference() 259 Assembler::set_target_address_at(isolate_, pc_, host_, address, flush_mode); in unchecked_update_wasm_memory_reference() 264 Assembler::set_target_address_at(isolate_, pc_, host_, in unchecked_update_wasm_memory_size() 475 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 495 Assembler::~Assembler() { in ~Assembler() 500 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 525 void Assembler::Align(int m) { in Align() [all …]
|
D | code-stubs-arm.h | 83 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/ |
D | rrPrimitiveTypes.hpp | 53 … 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/v8/src/debug/ppc/ |
D | debug-ppc.cc | 19 for (int i = 0; i < Assembler::kDebugBreakSlotInstructions; i++) { in EmitDebugBreakSlot() 22 DCHECK_EQ(Assembler::kDebugBreakSlotInstructions, in EmitDebugBreakSlot() 30 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm); in GenerateSlot() 37 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); in ClearDebugBreakSlot() 45 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotInstructions); in PatchDebugBreakSlot() 60 Assembler::BlockTrampolinePoolScope block_trampoline_pool(patcher.masm()); in PatchDebugBreakSlot() 68 Instr current_instr = Assembler::instr_at(pc); in DebugBreakSlotIsPatched() 69 return !Assembler::IsNop(current_instr, Assembler::DEBUG_BREAK_NOP); in DebugBreakSlotIsPatched()
|
/external/v8/src/debug/s390/ |
D | debug-s390.cc | 22 __ nop(Assembler::DEBUG_BREAK_NOP); in EmitDebugBreakSlot() 23 __ nop(Assembler::DEBUG_BREAK_NOP); in EmitDebugBreakSlot() 28 for (int i = 8; i < Assembler::kDebugBreakSlotLength; i += 2) { in EmitDebugBreakSlot() 31 DCHECK_EQ(Assembler::kDebugBreakSlotLength, in EmitDebugBreakSlot() 42 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotLength); in ClearDebugBreakSlot() 49 CodePatcher patcher(isolate, pc, Assembler::kDebugBreakSlotLength); in PatchDebugBreakSlot() 73 Instr current_instr = Assembler::instr_at(pc); in DebugBreakSlotIsPatched() 74 return !Assembler::IsNop(current_instr, Assembler::DEBUG_BREAK_NOP); in DebugBreakSlotIsPatched()
|
/external/llvm/lib/MC/ |
D | MCELFStreamer.cpp | 49 MCAssembler &Assembler = getAssembler(); in mergeFragment() local 51 if (Assembler.isBundlingEnabled() && Assembler.getRelaxAll()) { in mergeFragment() 54 if (FSize > Assembler.getBundleAlignSize()) in mergeFragment() 58 Assembler, EF, DF->getContents().size(), FSize); in mergeFragment() 66 MCObjectWriter *OW = Assembler.getBackend().createObjectWriter(VecOS); in mergeFragment() 70 Assembler.writeFragmentPadding(*EF, FSize, OW); in mergeFragment() 128 static void setSectionAlignmentForBundling(const MCAssembler &Assembler, in setSectionAlignmentForBundling() argument 130 if (Section && Assembler.isBundlingEnabled() && Section->hasInstructions() && in setSectionAlignmentForBundling() 131 Section->getAlignment() < Assembler.getBundleAlignSize()) in setSectionAlignmentForBundling() 132 Section->setAlignment(Assembler.getBundleAlignSize()); in setSectionAlignmentForBundling() [all …]
|
D | MCObjectStreamer.cpp | 30 Assembler(new MCAssembler(Context, TAB, *Emitter_, in MCObjectStreamer() 35 delete &Assembler->getBackend(); in ~MCObjectStreamer() 36 delete &Assembler->getEmitter(); in ~MCObjectStreamer() 37 delete &Assembler->getWriter(); in ~MCObjectStreamer() 38 delete Assembler; in ~MCObjectStreamer() 73 if (Assembler) in reset() 74 Assembler->reset(); in reset() 106 if (!F || (Assembler->isBundlingEnabled() && !Assembler->getRelaxAll() && in getOrCreateDataFragment() 115 Assembler->registerSymbol(Sym); in visitUsedSymbol() 240 MCAssembler &Assembler = getAssembler(); in EmitInstruction() local [all …]
|