/external/v8/src/ia32/ |
D | assembler-ia32.cc | 161 DCHECK(NextField::is_valid(Assembler::kMaximalBufferSize)); in init() 279 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 299 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 314 void Assembler::Align(int m) { in Align() 322 bool Assembler::IsNop(Address addr) { in IsNop() 331 void Assembler::Nop(int bytes) { in Nop() 396 void Assembler::CodeTargetAlign() { in CodeTargetAlign() 401 void Assembler::cpuid() { in cpuid() 408 void Assembler::pushad() { in pushad() 414 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() 100 return Assembler::kSpecialTargetSize; in target_address_size() 107 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 125 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() 137 Assembler::FlushICache(isolate_, pc_, sizeof(Address)); in set_target_object() 166 Address RelocInfo::target_runtime_entry(Assembler* origin) { in target_runtime_entry() 203 Assembler::FlushICache(isolate_, pc_, sizeof(Address)); in set_target_cell() 214 Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) { in code_age_stub_handle() 225 Assembler::target_address_at(pc_ + 1, host_)); in code_age_stub() [all …]
|
/external/v8/src/x87/ |
D | assembler-x87.cc | 76 DCHECK(NextField::is_valid(Assembler::kMaximalBufferSize)); in init() 194 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 214 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 229 void Assembler::Align(int m) { in Align() 237 bool Assembler::IsNop(Address addr) { in IsNop() 246 void Assembler::Nop(int bytes) { in Nop() 258 void Assembler::CodeTargetAlign() { in CodeTargetAlign() 263 void Assembler::cpuid() { in cpuid() 270 void Assembler::pushad() { in pushad() 276 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() 100 return Assembler::kSpecialTargetSize; in target_address_size() 107 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 109 Assembler::set_target_address_at(isolate_, pc_, host_, target); in set_target_address() 126 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() 138 Assembler::FlushICache(isolate_, pc_, sizeof(Address)); in set_target_object() 167 Address RelocInfo::target_runtime_entry(Assembler* origin) { in target_runtime_entry() 204 Assembler::FlushICache(isolate_, pc_, sizeof(Address)); in set_target_cell() 215 Handle<Object> RelocInfo::code_age_stub_handle(Assembler* origin) { in code_age_stub_handle() [all …]
|
/external/v8/src/mips64/ |
D | assembler-mips64.cc | 242 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 266 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 280 void Assembler::Align(int m) { in Align() 289 void Assembler::CodeTargetAlign() { in CodeTargetAlign() 296 Register Assembler::GetRtReg(Instr instr) { in GetRtReg() 303 Register Assembler::GetRsReg(Instr instr) { in GetRsReg() 310 Register Assembler::GetRdReg(Instr instr) { in GetRdReg() 317 uint32_t Assembler::GetRt(Instr instr) { in GetRt() 322 uint32_t Assembler::GetRtField(Instr instr) { in GetRtField() 327 uint32_t Assembler::GetRs(Instr instr) { in GetRs() [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() 128 pc_ + Assembler::kInstructionsFor64BitConstant * Assembler::kInstrSize); in target_address_address() 139 return Assembler::kSpecialTargetSize; in target_address_size() 147 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 158 Address Assembler::target_address_from_return_address(Address pc) { in target_address_from_return_address() 163 void Assembler::set_target_internal_reference_encoded_at(Address pc, in set_target_internal_reference_encoded_at() 166 Instr instr = Assembler::instr_at(pc + 0 * Assembler::kInstrSize); in set_target_internal_reference_encoded_at() 181 void Assembler::deserialization_set_target_internal_reference_at( in deserialization_set_target_internal_reference_at() [all …]
|
D | code-stubs-mips64.h | 113 DCHECK(Assembler::IsBne(masm->instr_at(pos))); in PatchBranchIntoNop() 120 DCHECK(Assembler::IsBeq(masm->instr_at(pos))); in PatchNopIntoBranch() 124 Instr first_instruction = Assembler::instr_at(stub->instruction_start()); in GetMode() 125 Instr second_instruction = Assembler::instr_at(stub->instruction_start() + in GetMode() 126 2 * Assembler::kInstrSize); in GetMode() 128 if (Assembler::IsBeq(first_instruction)) { in GetMode() 132 DCHECK(Assembler::IsBne(first_instruction)); in GetMode() 134 if (Assembler::IsBeq(second_instruction)) { in GetMode() 138 DCHECK(Assembler::IsBne(second_instruction)); in GetMode() 151 PatchBranchIntoNop(&masm, 2 * Assembler::kInstrSize); in Patch() [all …]
|
/external/v8/src/x64/ |
D | assembler-x64.cc | 260 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 282 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 299 void Assembler::Align(int m) { in Align() 306 void Assembler::CodeTargetAlign() { in CodeTargetAlign() 311 bool Assembler::IsNop(Address addr) { in IsNop() 320 void Assembler::bind_to(Label* L, int pos) { in bind_to() 370 void Assembler::bind(Label* L) { in bind() 375 void Assembler::GrowBuffer() { in GrowBuffer() 429 void Assembler::emit_operand(int code, const Operand& adr) { in emit_operand() 464 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() 85 void Assembler::emit_rex_64(Register reg, Register rm_reg) { in emit_rex_64() 90 void Assembler::emit_rex_64(XMMRegister reg, Register rm_reg) { in emit_rex_64() 95 void Assembler::emit_rex_64(Register reg, XMMRegister rm_reg) { in emit_rex_64() 100 void Assembler::emit_rex_64(Register reg, const Operand& op) { in emit_rex_64() [all …]
|
/external/v8/src/mips/ |
D | assembler-mips.cc | 263 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 287 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 303 void Assembler::Align(int m) { in Align() 315 void Assembler::CodeTargetAlign() { in CodeTargetAlign() 322 Register Assembler::GetRtReg(Instr instr) { in GetRtReg() 329 Register Assembler::GetRsReg(Instr instr) { in GetRsReg() 336 Register Assembler::GetRdReg(Instr instr) { in GetRdReg() 343 uint32_t Assembler::GetRt(Instr instr) { in GetRt() 348 uint32_t Assembler::GetRtField(Instr instr) { in GetRtField() 353 uint32_t Assembler::GetRs(Instr instr) { in GetRs() [all …]
|
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() 126 pc_ + Assembler::kInstructionsFor32BitConstant * Assembler::kInstrSize); in target_address_address() 137 return Assembler::kSpecialTargetSize; in target_address_size() 145 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_lui = Assembler::instr_at(pc + 0 * Assembler::kInstrSize); in set_target_internal_reference_encoded_at() 165 Instr instr_ori = Assembler::instr_at(pc + 1 * Assembler::kInstrSize); in set_target_internal_reference_encoded_at() [all …]
|
D | code-stubs-mips.h | 112 DCHECK(Assembler::IsBne(masm->instr_at(pos))); in PatchBranchIntoNop() 119 DCHECK(Assembler::IsBeq(masm->instr_at(pos))); in PatchNopIntoBranch() 123 Instr first_instruction = Assembler::instr_at(stub->instruction_start()); in GetMode() 124 Instr second_instruction = Assembler::instr_at(stub->instruction_start() + in GetMode() 125 2 * Assembler::kInstrSize); in GetMode() 127 if (Assembler::IsBeq(first_instruction)) { in GetMode() 131 DCHECK(Assembler::IsBne(first_instruction)); in GetMode() 133 if (Assembler::IsBeq(second_instruction)) { in GetMode() 137 DCHECK(Assembler::IsBne(second_instruction)); in GetMode() 150 PatchBranchIntoNop(&masm, 2 * Assembler::kInstrSize); in Patch() [all …]
|
/external/v8/src/ppc/ |
D | assembler-ppc.cc | 150 return (constant_pool && Assembler::IsConstantPoolLoadStart(pc_)); in IsInConstantPool() 195 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 216 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 233 void Assembler::Align(int m) { in Align() 242 void Assembler::CodeTargetAlign() { Align(8); } in CodeTargetAlign() 245 Condition Assembler::GetCondition(Instr instr) { in GetCondition() 258 bool Assembler::IsLis(Instr instr) { in IsLis() 263 bool Assembler::IsLi(Instr instr) { in IsLi() 268 bool Assembler::IsAddic(Instr instr) { return (instr & kOpcodeMask) == ADDIC; } in IsAddic() 271 bool Assembler::IsOri(Instr instr) { return (instr & kOpcodeMask) == ORI; } in IsOri() [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() 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() 139 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 150 Address Assembler::target_address_from_return_address(Address pc) { in target_address_from_return_address() [all …]
|
/external/v8/src/arm64/ |
D | assembler-arm64.cc | 280 bool Operand::NeedsRelocation(const Assembler* assembler) const { in NeedsRelocation() 317 if (EntryCount() > Assembler::kApproxMaxPoolEntryCount) { in RecordEntry() 375 Assembler::BlockPoolsScope block_pools(assm_); in Emit() 452 Assembler::ImmLLiteral(word_count) | in EmitMarker() 453 Assembler::Rt(xzr)); in EmitMarker() 539 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 551 Assembler::~Assembler() { in ~Assembler() 558 void Assembler::Reset() { in Reset() 577 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 597 void Assembler::Align(int m) { in Align() [all …]
|
D | assembler-arm64-inl.h | 34 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 572 void Assembler::Unreachable() { 582 Address Assembler::target_pointer_address_at(Address pc) { 590 Address Assembler::target_address_at(Address pc, Address constant_pool) { 595 Address Assembler::target_address_at(Address pc, Code* code) { 601 Address Assembler::target_address_from_return_address(Address pc) { 615 Address Assembler::return_address_from_call_start(Address pc) { 632 STATIC_ASSERT(Assembler::kCallSizeWithoutRelocation == 4 * kInstructionSize); 633 STATIC_ASSERT(Assembler::kCallSizeWithRelocation == 2 * kInstructionSize); 641 return pc + Assembler::kCallSizeWithoutRelocation; [all …]
|
/external/v8/src/arm/ |
D | assembler-arm-inl.h | 71 return Assembler::target_address_at(pc_, host_); in target_address() 80 Assembler::IsMovW(Memory::int32_at(pc_))) { in target_address_address() 86 DCHECK(Assembler::IsLdrPcImmediateOffset(Memory::int32_at(pc_))); in target_address_address() 94 return Assembler::constant_pool_entry_address(pc_, host_->constant_pool()); in constant_pool_entry_address() 107 Assembler::set_target_address_at(isolate_, pc_, host_, target, in set_target_address() 120 return reinterpret_cast<Object*>(Assembler::target_address_at(pc_, host_)); in target_object() 124 Handle<Object> RelocInfo::target_object_handle(Assembler* origin) { in target_object_handle() 127 Assembler::target_address_at(pc_, host_))); in target_object_handle() 135 Assembler::set_target_address_at(isolate_, pc_, host_, in set_target_object() 149 return Assembler::target_address_at(pc_, host_); in target_external_reference() [all …]
|
D | assembler-arm.cc | 252 return Assembler::is_constant_pool_load(pc_); in IsInConstantPool() 464 Assembler::Assembler(Isolate* isolate, void* buffer, int buffer_size) in Assembler() function in v8::internal::Assembler 484 Assembler::~Assembler() { in ~Assembler() 495 void Assembler::GetCode(CodeDesc* desc) { in GetCode() 518 void Assembler::Align(int m) { in Align() 527 void Assembler::CodeTargetAlign() { in CodeTargetAlign() 533 Condition Assembler::GetCondition(Instr instr) { in GetCondition() 538 bool Assembler::IsBranch(Instr instr) { in IsBranch() 543 int Assembler::GetBranchOffset(Instr instr) { in GetBranchOffset() 551 bool Assembler::IsLdrRegisterImmediate(Instr instr) { in IsLdrRegisterImmediate() [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/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/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/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 …]
|
/external/v8/src/compiler/ |
D | gap-resolver.h | 17 class Assembler { 19 virtual ~Assembler() {} in ~Assembler() 29 explicit GapResolver(Assembler* assembler) : assembler_(assembler) {} in GapResolver() 40 Assembler* const assembler_;
|
/external/v8/src/debug/arm64/ |
D | debug-arm64.cc | 17 void EmitDebugBreakSlot(Assembler* masm) { in EmitDebugBreakSlot() 20 for (int i = 0; i < Assembler::kDebugBreakSlotInstructions; i++) { in EmitDebugBreakSlot() 21 __ nop(Assembler::DEBUG_BREAK_NOP); in EmitDebugBreakSlot() 23 DCHECK_EQ(Assembler::kDebugBreakSlotInstructions, in EmitDebugBreakSlot() 31 InstructionAccurateScope scope(masm, Assembler::kDebugBreakSlotInstructions); in GenerateSlot() 39 Assembler::kDebugBreakSlotInstructions); in ClearDebugBreakSlot() 48 Assembler::kDebugBreakSlotInstructions); in PatchDebugBreakSlot()
|