Home
last modified time | relevance | path

Searched refs:masm_ (Results 1 – 25 of 83) sorted by relevance

1234

/external/v8/src/
Dmacro-assembler.h91 : masm_(masm), type_(type), old_has_frame_(masm->has_frame()) { in FrameScope()
100 masm_->LeaveFrame(type_); in ~FrameScope()
102 masm_->set_has_frame(old_has_frame_); in ~FrameScope()
112 masm_->LeaveFrame(type_); in GenerateLeaveFrame()
116 MacroAssembler* masm_;
124 : masm_(masm), in FrameAndConstantPoolScope()
139 masm_->LeaveFrame(type_); in ~FrameAndConstantPoolScope()
140 masm_->set_has_frame(old_has_frame_); in ~FrameAndConstantPoolScope()
142 masm_->set_constant_pool_available(old_constant_pool_available_); in ~FrameAndConstantPoolScope()
153 masm_->LeaveFrame(type_); in GenerateLeaveFrame()
[all …]
/external/v8/src/crankshaft/arm64/
Ddelayed-masm-arm64.cc13 #define __ ACCESS_MASM(masm_)
22 DCHECK(pending_pc_ == masm_->pc_offset()); in StackSlotMove()
23 UseScratchRegisterScope scope(masm_); in StackSlotMove()
61 pending_pc_ = masm_->pc_offset(); in StackSlotMove()
76 DCHECK(pending_pc_ == masm_->pc_offset()); in StoreConstant()
93 pending_pc_ = masm_->pc_offset(); in StoreConstant()
105 DCHECK(pending_pc_ == masm_->pc_offset()); in Load()
113 DCHECK(pending_pc_ == masm_->pc_offset()); in Load()
128 pending_pc_ = masm_->pc_offset(); in Load()
140 DCHECK(pending_pc_ == masm_->pc_offset()); in Store()
[all …]
Dlithium-gap-resolver-arm64.h61 masm_.StackSlotMove(moves_[index].source(), moves_[index].destination()); in EmitStackSlotMove()
70 masm_.ScratchRegister().code())); in SavedValueRegister()
71 return masm_.ScratchRegister(); in SavedValueRegister()
75 void AcquireSavedValueRegister() { masm_.AcquireScratchRegister(); } in AcquireSavedValueRegister()
76 void ReleaseSavedValueRegister() { masm_.ReleaseScratchRegister(); } in ReleaseSavedValueRegister()
87 DelayedGapMasm masm_; variable
Ddelayed-masm-arm64.h26 : cgen_(owner), masm_(masm), scratch_register_(scratch_register), in DelayedMasm()
97 masm_->InitializeRootRegister(); in InitializeRootRegister()
105 masm_->Mov(ScratchRegister(), saved_value); in SetSavedValue()
116 MacroAssembler* masm_; variable
/external/v8/src/full-codegen/
Dfull-codegen.cc164 masm_->set_emit_debug_code(FLAG_debug_code); in Initialize()
165 masm_->set_predictable_code_size(true); in Initialize()
212 BailoutStateField::encode(state) | PcField::encode(masm_->pc_offset()); in PrepareForBailoutForId()
226 DCHECK(masm_->pc_offset() > 0); in RecordBackEdge()
230 { ast_id, static_cast<unsigned>(masm_->pc_offset()), depth }; in RecordBackEdge()
419 Comment cmnt(masm_, "[ ImportDeclaration"); in VisitImportDeclaration()
439 Comment cmnt(masm_, "[ VariableProxy"); in VisitVariableProxy()
630 RecordPosition(masm_, fun->start_position()); in SetFunctionPosition()
638 RecordStatementPosition(masm_, pos); in SetReturnPosition()
641 DebugCodegen::GenerateSlot(masm_, RelocInfo::DEBUG_BREAK_SLOT_AT_RETURN); in SetReturnPosition()
[all …]
/external/v8/src/regexp/mips64/
Dregexp-macro-assembler-mips64.cc130 #define __ ACCESS_MASM(masm_)
136 masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize, in RegExpMacroAssemblerMIPS()
159 delete masm_; in ~RegExpMacroAssemblerMIPS()
369 __ li(a3, Operand(ExternalReference::isolate_address(masm_->isolate()))); in CheckNotBackReferenceIgnoreCase()
373 AllowExternalCallThatCantCauseGC scope(masm_); in CheckNotBackReferenceIgnoreCase()
375 ExternalReference::re_case_insensitive_compare_uc16(masm_->isolate()); in CheckNotBackReferenceIgnoreCase()
381 __ li(code_pointer(), Operand(masm_->CodeObject()), CONSTANT_SIZE); in CheckNotBackReferenceIgnoreCase()
646 if (masm_->has_exception()) { in GetCode()
660 FrameScope scope(masm_, StackFrame::MANUAL); in GetCode()
690 ExternalReference::address_of_stack_limit(masm_->isolate()); in GetCode()
[all …]
/external/v8/src/regexp/mips/
Dregexp-macro-assembler-mips.cc94 #define __ ACCESS_MASM(masm_)
100 masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize, in RegExpMacroAssemblerMIPS()
123 delete masm_; in ~RegExpMacroAssemblerMIPS()
333 __ li(a3, Operand(ExternalReference::isolate_address(masm_->isolate()))); in CheckNotBackReferenceIgnoreCase()
337 AllowExternalCallThatCantCauseGC scope(masm_); in CheckNotBackReferenceIgnoreCase()
339 ExternalReference::re_case_insensitive_compare_uc16(masm_->isolate()); in CheckNotBackReferenceIgnoreCase()
345 __ li(code_pointer(), Operand(masm_->CodeObject()), CONSTANT_SIZE); in CheckNotBackReferenceIgnoreCase()
616 if (masm_->has_exception()) { in GetCode()
630 FrameScope scope(masm_, StackFrame::MANUAL); in GetCode()
654 ExternalReference::address_of_stack_limit(masm_->isolate()); in GetCode()
[all …]
/external/v8/src/ic/
Daccess-compiler.h43 masm_(isolate, NULL, 256, CodeObjectRequired::kYes) { in PropertyAccessCompiler()
45 masm_.enable_serializer(); in PropertyAccessCompiler()
50 MacroAssembler* masm() { return &masm_; } in masm()
79 MacroAssembler masm_; variable
/external/v8/src/full-codegen/arm64/
Dfull-codegen-arm64.cc27 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm), reg_(NoReg) { in JumpPatchSite()
43 InstructionAccurateScope scope(masm_, 1); in EmitJumpIfNotSmi()
54 InstructionAccurateScope scope(masm_, 1); in EmitJumpIfSmi()
64 UseScratchRegisterScope temps(masm_); in EmitJumpIfEitherNotSmi()
71 Assembler::BlockPoolsScope scope(masm_); in EmitPatchInfo()
72 InlineSmiCheckInfo::Emit(masm_, reg_, &patch_site_); in EmitPatchInfo()
79 MacroAssembler* masm() { return masm_; } in masm()
80 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
109 Comment cmnt(masm_, "[ Function compiled by full code generator"); in Generate()
111 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
[all …]
/external/v8/src/full-codegen/arm/
Dfull-codegen-arm.cc32 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { in JumpPatchSite()
46 Assembler::BlockConstPoolScope block_const_pool(masm_); in EmitJumpIfNotSmi()
56 Assembler::BlockConstPoolScope block_const_pool(masm_); in EmitJumpIfSmi()
64 Assembler::BlockConstPoolScope block_const_pool(masm_); in EmitPatchInfo()
66 int delta_to_patch_site = masm_->InstructionsGeneratedSince(&patch_site_); in EmitPatchInfo()
79 MacroAssembler* masm() { return masm_; } in masm()
80 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
109 Comment cmnt(masm_, "[ function compiled by full code generator"); in Generate()
111 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
124 FrameScope frame_scope(masm_, StackFrame::MANUAL); in Generate()
[all …]
/external/v8/src/full-codegen/mips64/
Dfull-codegen-mips64.cc42 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { in JumpPatchSite()
56 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm_); in EmitJumpIfNotSmi()
66 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm_); in EmitJumpIfSmi()
76 int delta_to_patch_site = masm_->InstructionsGeneratedSince(&patch_site_); in EmitPatchInfo()
88 MacroAssembler* masm() { return masm_; } in masm()
89 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
117 Comment cmnt(masm_, "[ function compiled by full code generator"); in Generate()
119 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
133 FrameScope frame_scope(masm_, StackFrame::MANUAL); in Generate()
134 info->set_prologue_offset(masm_->pc_offset()); in Generate()
[all …]
/external/v8/src/full-codegen/mips/
Dfull-codegen-mips.cc42 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { in JumpPatchSite()
56 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm_); in EmitJumpIfNotSmi()
66 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm_); in EmitJumpIfSmi()
76 int delta_to_patch_site = masm_->InstructionsGeneratedSince(&patch_site_); in EmitPatchInfo()
88 MacroAssembler* masm() { return masm_; } in masm()
89 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
117 Comment cmnt(masm_, "[ function compiled by full code generator"); in Generate()
119 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
133 FrameScope frame_scope(masm_, StackFrame::MANUAL); in Generate()
135 info->set_prologue_offset(masm_->pc_offset()); in Generate()
[all …]
/external/v8/src/regexp/arm64/
Dregexp-macro-assembler-arm64.cc109 #define __ ACCESS_MASM(masm_)
115 masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize, in RegExpMacroAssemblerARM64()
136 delete masm_; in ~RegExpMacroAssemblerARM64()
370 if (masm_->emit_debug_code()) { in CheckNotBackReferenceIgnoreCase()
412 AllowExternalCallThatCantCauseGC scope(masm_); in CheckNotBackReferenceIgnoreCase()
507 if (masm_->emit_debug_code()) { in CheckNotBackReference()
720 FrameScope scope(masm_, StackFrame::MANUAL); in GetCode()
752 int alignment = masm_->ActivationFrameAlignment(); in GetCode()
795 if (masm_->emit_debug_code()) { in GetCode()
815 __ Mov(code_pointer(), Operand(masm_->CodeObject())); in GetCode()
[all …]
/external/v8/src/full-codegen/ppc/
Dfull-codegen-ppc.cc33 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { in JumpPatchSite()
45 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm_); in EmitJumpIfNotSmi()
54 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm_); in EmitJumpIfSmi()
63 int delta_to_patch_site = masm_->InstructionsGeneratedSince(&patch_site_); in EmitPatchInfo()
77 MacroAssembler* masm() { return masm_; } in masm()
78 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
107 Comment cmnt(masm_, "[ function compiled by full code generator"); in Generate()
109 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
122 FrameScope frame_scope(masm_, StackFrame::MANUAL); in Generate()
123 int prologue_offset = masm_->pc_offset(); in Generate()
[all …]
/external/v8/src/full-codegen/x64/
Dfull-codegen-x64.cc23 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { in JumpPatchSite()
49 int delta_to_patch_site = masm_->SizeOfCodeGeneratedSince(&patch_site_); in EmitPatchInfo()
69 MacroAssembler* masm() { return masm_; } in masm()
70 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
97 Comment cmnt(masm_, "[ function compiled by full code generator"); in Generate()
99 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
112 FrameScope frame_scope(masm_, StackFrame::MANUAL); in Generate()
114 info->set_prologue_offset(masm_->pc_offset()); in Generate()
117 { Comment cmnt(masm_, "[ Allocate locals"); in Generate()
161 Comment cmnt(masm_, "[ Allocate context"); in Generate()
[all …]
/external/vixl/src/vixl/a64/
Dmacro-assembler-a64.cc37 VIXL_ASSERT(masm_->CursorOffset() < checkpoint_); in Release()
43 masm_->checkpoint_ = std::min(masm_->checkpoint_, checkpoint); in SetNextCheckpoint()
84 ptrdiff_t distance = masm_->CursorOffset() + amount - first_use_; in CheckEmitFor()
102 InstructionAccurateScope guard(masm_, emit_size / kInstructionSize); in Emit()
103 if (option == kBranchRequired) masm_->b(&end_of_pool); in Emit()
107 masm_->ldr(xzr, static_cast<int>(pool_size / kWRegSizeInBytes)); in Emit()
113 masm_->place(*it); in Emit()
116 if (option == kBranchRequired) masm_->bind(&end_of_pool); in Emit()
126 VIXL_ASSERT(masm_->CursorOffset() == literal->last_use()); in AddEntry()
128 UpdateFirstUse(masm_->CursorOffset()); in AddEntry()
[all …]
/external/v8/src/full-codegen/ia32/
Dfull-codegen-ia32.cc24 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { in JumpPatchSite()
50 int delta_to_patch_site = masm_->SizeOfCodeGeneratedSince(&patch_site_); in EmitPatchInfo()
70 MacroAssembler* masm() { return masm_; } in masm()
71 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
98 Comment cmnt(masm_, "[ function compiled by full code generator"); in Generate()
100 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
113 FrameScope frame_scope(masm_, StackFrame::MANUAL); in Generate()
115 info->set_prologue_offset(masm_->pc_offset()); in Generate()
118 { Comment cmnt(masm_, "[ Allocate locals"); in Generate()
163 Comment cmnt(masm_, "[ Allocate context"); in Generate()
[all …]
/external/v8/src/full-codegen/x87/
Dfull-codegen-x87.cc24 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { in JumpPatchSite()
50 int delta_to_patch_site = masm_->SizeOfCodeGeneratedSince(&patch_site_); in EmitPatchInfo()
70 MacroAssembler* masm() { return masm_; } in masm()
71 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
98 Comment cmnt(masm_, "[ function compiled by full code generator"); in Generate()
100 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
113 FrameScope frame_scope(masm_, StackFrame::MANUAL); in Generate()
115 info->set_prologue_offset(masm_->pc_offset()); in Generate()
118 { Comment cmnt(masm_, "[ Allocate locals"); in Generate()
163 Comment cmnt(masm_, "[ Allocate context"); in Generate()
[all …]
/external/v8/src/full-codegen/s390/
Dfull-codegen-s390.cc33 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { in JumpPatchSite()
71 int delta_to_patch_site = masm_->SizeOfCodeGeneratedSince(&patch_site_); in EmitPatchInfo()
84 MacroAssembler* masm() { return masm_; } in masm()
85 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
113 Comment cmnt(masm_, "[ function compiled by full code generator"); in Generate()
115 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
128 FrameScope frame_scope(masm_, StackFrame::MANUAL); in Generate()
129 int prologue_offset = masm_->pc_offset(); in Generate()
135 Comment cmnt(masm_, "[ Allocate locals"); in Generate()
183 Comment cmnt(masm_, "[ Allocate context"); in Generate()
[all …]
/external/v8/src/crankshaft/x87/
Dlithium-codegen-x87.h361 : stack_depth_(0), is_mutable_(true), masm_(masm) { } in X87Stack()
363 : stack_depth_(other.stack_depth_), is_mutable_(false), masm_(masm()) { in X87Stack()
404 MacroAssembler* masm() const { return masm_; } in masm()
405 Isolate* isolate() const { return masm_->isolate(); } in isolate()
414 MacroAssembler* masm_; variable
435 codegen_->masm_->PushSafepointRegisters(); in PushSafepointRegistersScope()
442 codegen_->masm_->PopSafepointRegisters(); in ~PushSafepointRegistersScope()
/external/v8/src/regexp/ppc/
Dregexp-macro-assembler-ppc.cc96 #define __ ACCESS_MASM(masm_)
102 masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize, in RegExpMacroAssemblerPPC()
129 delete masm_; in ~RegExpMacroAssemblerPPC()
347 AllowExternalCallThatCantCauseGC scope(masm_); in CheckNotBackReferenceIgnoreCase()
641 if (masm_->has_exception()) { in GetCode()
655 FrameScope scope(masm_, StackFrame::MANUAL); in GetCode()
735 __ mov(code_pointer(), Operand(masm_->CodeObject())); in GetCode()
939 masm_->GetCode(&code_desc); in GetCode()
941 code_desc, Code::ComputeFlags(Code::REGEXP), masm_->CodeObject()); in GetCode()
942 PROFILE(masm_->isolate(), in GetCode()
[all …]
/external/v8/src/regexp/x64/
Dregexp-macro-assembler-x64.cc91 #define __ ACCESS_MASM((&masm_))
97 masm_(isolate, NULL, kRegExpCodeSize, CodeObjectRequired::kYes), in RegExpMacroAssemblerX64()
98 no_root_array_scope_(&masm_), in RegExpMacroAssemblerX64()
349 AllowExternalCallThatCantCauseGC scope(&masm_); in CheckNotBackReferenceIgnoreCase()
356 __ Move(code_object_pointer(), masm_.CodeObject()); in CheckNotBackReferenceIgnoreCase()
676 FrameScope scope(&masm_, StackFrame::MANUAL); in GetCode()
737 __ Move(code_object_pointer(), masm_.CodeObject()); in GetCode()
779 __ Move(code_object_pointer(), masm_.CodeObject()); in GetCode()
941 __ Move(code_object_pointer(), masm_.CodeObject()); in GetCode()
986 __ Move(code_object_pointer(), masm_.CodeObject()); in GetCode()
[all …]
/external/v8/src/regexp/arm/
Dregexp-macro-assembler-arm.cc94 #define __ ACCESS_MASM(masm_)
100 masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize, in RegExpMacroAssemblerARM()
117 delete masm_; in ~RegExpMacroAssemblerARM()
328 AllowExternalCallThatCantCauseGC scope(masm_); in CheckNotBackReferenceIgnoreCase()
630 FrameScope scope(masm_, StackFrame::MANUAL); in GetCode()
694 __ mov(code_pointer(), Operand(masm_->CodeObject())); in GetCode()
890 masm_->GetCode(&code_desc); in GetCode()
892 code_desc, Code::ComputeFlags(Code::REGEXP), masm_->CodeObject()); in GetCode()
893 PROFILE(masm_->isolate(), in GetCode()
1056 __ mov(r1, Operand(masm_->CodeObject())); in CallCheckStackGuardState()
[all …]
/external/v8/src/regexp/s390/
Dregexp-macro-assembler-s390.cc98 #define __ ACCESS_MASM(masm_)
104 masm_(new MacroAssembler(isolate, NULL, kRegExpCodeSize, in RegExpMacroAssemblerS390()
127 delete masm_; in ~RegExpMacroAssemblerS390()
337 AllowExternalCallThatCantCauseGC scope(masm_); in CheckNotBackReferenceIgnoreCase()
618 FrameScope scope(masm_, StackFrame::MANUAL); in GetCode()
715 __ mov(code_pointer(), Operand(masm_->CodeObject())); in GetCode()
935 masm_->GetCode(&code_desc); in GetCode()
937 code_desc, Code::ComputeFlags(Code::REGEXP), masm_->CodeObject()); in GetCode()
938 PROFILE(masm_->isolate(), in GetCode()
999 masm_->load_label_offset(r2, label); in PushBacktrack()
[all …]
/external/v8/src/crankshaft/
Dlithium-codegen.h29 MacroAssembler* masm() const { return masm_; } in masm()
75 MacroAssembler* const masm_; variable

1234