Home
last modified time | relevance | path

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

123

/external/chromium_org/v8/src/
Dmacro-assembler.h90 : masm_(masm), type_(type), old_has_frame_(masm->has_frame()) { in FrameScope()
99 masm_->LeaveFrame(type_); in ~FrameScope()
101 masm_->set_has_frame(old_has_frame_); in ~FrameScope()
111 masm_->LeaveFrame(type_); in GenerateLeaveFrame()
115 MacroAssembler* masm_;
131 : masm_(masm), saved_(masm->has_frame()) { in NoCurrentFrameScope()
136 masm_->set_has_frame(saved_); in ~NoCurrentFrameScope()
140 MacroAssembler* masm_;
154 MacroAssembler* masm_;
Dfull-codegen.cc405 !masm_->serializer_enabled() && in Initialize()
407 masm_->set_emit_debug_code(generate_debug_code_); in Initialize()
408 masm_->set_predictable_code_size(true); in Initialize()
453 StateField::encode(state) | PcField::encode(masm_->pc_offset()); in PrepareForBailoutForId()
467 ASSERT(masm_->pc_offset() > 0); in RecordBackEdge()
471 { ast_id, static_cast<unsigned>(masm_->pc_offset()), depth }; in RecordBackEdge()
591 Comment cmnt(masm_, "[ Link nested modules"); in AllocateModules()
690 Comment cmnt(masm_, "[ Allocate modules"); in VisitDeclarations()
731 Comment cmnt(masm_, "[ ModuleLiteral"); in VisitModuleLiteral()
746 Comment cmnt(masm_, "[ Declarations"); in VisitModuleLiteral()
[all …]
Dlithium-codegen.h26 MacroAssembler* masm() const { return masm_; } in masm()
62 MacroAssembler* const masm_; variable
Dfull-codegen.h65 : masm_(masm), in FullCodeGenerator()
580 MacroAssembler* masm() { return masm_; } in masm()
639 : masm_(codegen->masm()), old_(codegen->context()), codegen_(codegen) { in ExpressionContext()
696 MacroAssembler* masm() const { return masm_; } in masm()
697 MacroAssembler* masm_; variable
812 MacroAssembler* masm_; variable
/external/chromium_org/v8/src/mips/
Dlithium-codegen-mips.h400 StoreRegistersStateStub stub1(codegen_->masm_->isolate(), in PushSafepointRegistersScope()
402 codegen_->masm_->push(ra); in PushSafepointRegistersScope()
403 codegen_->masm_->CallStub(&stub1); in PushSafepointRegistersScope()
407 StoreRegistersStateStub stub2(codegen_->masm_->isolate(), in PushSafepointRegistersScope()
409 codegen_->masm_->push(ra); in PushSafepointRegistersScope()
410 codegen_->masm_->CallStub(&stub2); in PushSafepointRegistersScope()
423 RestoreRegistersStateStub stub1(codegen_->masm_->isolate(), in ~PushSafepointRegistersScope()
425 codegen_->masm_->push(ra); in ~PushSafepointRegistersScope()
426 codegen_->masm_->CallStub(&stub1); in ~PushSafepointRegistersScope()
430 RestoreRegistersStateStub stub2(codegen_->masm_->isolate(), in ~PushSafepointRegistersScope()
[all …]
Dregexp-macro-assembler-mips.cc95 #define __ ACCESS_MASM(masm_)
102 masm_(new MacroAssembler(zone->isolate(), NULL, kRegExpCodeSize)), in RegExpMacroAssemblerMIPS()
124 delete masm_; in ~RegExpMacroAssemblerMIPS()
319 __ li(a3, Operand(ExternalReference::isolate_address(masm_->isolate()))); in CheckNotBackReferenceIgnoreCase()
322 AllowExternalCallThatCantCauseGC scope(masm_); in CheckNotBackReferenceIgnoreCase()
324 ExternalReference::re_case_insensitive_compare_uc16(masm_->isolate()); in CheckNotBackReferenceIgnoreCase()
330 __ li(code_pointer(), Operand(masm_->CodeObject()), CONSTANT_SIZE); in CheckNotBackReferenceIgnoreCase()
573 if (masm_->has_exception()) { in GetCode()
587 FrameScope scope(masm_, StackFrame::MANUAL); in GetCode()
611 ExternalReference::address_of_stack_limit(masm_->isolate()); in GetCode()
[all …]
Dfull-codegen-mips.cc33 #define __ ACCESS_MASM(masm_)
46 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { in JumpPatchSite()
60 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm_); in EmitJumpIfNotSmi()
70 Assembler::BlockTrampolinePoolScope block_trampoline_pool(masm_); in EmitJumpIfSmi()
80 int delta_to_patch_site = masm_->InstructionsGeneratedSince(&patch_site_); in EmitPatchInfo()
92 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
122 Comment cmnt(masm_, "[ function compiled by full code generator"); in Generate()
124 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
154 FrameScope frame_scope(masm_, StackFrame::MANUAL); in Generate()
156 info->set_prologue_offset(masm_->pc_offset()); in Generate()
[all …]
/external/chromium_org/v8/src/arm64/
Dfull-codegen-arm64.cc25 #define __ ACCESS_MASM(masm_)
29 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm), reg_(NoReg) { in JumpPatchSite()
45 InstructionAccurateScope scope(masm_, 1); in EmitJumpIfNotSmi()
56 InstructionAccurateScope scope(masm_, 1); in EmitJumpIfSmi()
66 UseScratchRegisterScope temps(masm_); in EmitJumpIfEitherNotSmi()
73 Assembler::BlockPoolsScope scope(masm_); in EmitPatchInfo()
74 InlineSmiCheckInfo::Emit(masm_, reg_, &patch_site_); in EmitPatchInfo()
81 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
112 Comment cmnt(masm_, "[ Function compiled by full code generator"); in Generate()
114 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
[all …]
Dregexp-macro-assembler-arm64.cc111 #define __ ACCESS_MASM(masm_)
118 masm_(new MacroAssembler(zone->isolate(), NULL, kRegExpCodeSize)), in RegExpMacroAssemblerARM64()
138 delete masm_; in ~RegExpMacroAssemblerARM64()
360 if (masm_->emit_debug_code()) { in CheckNotBackReferenceIgnoreCase()
392 AllowExternalCallThatCantCauseGC scope(masm_); in CheckNotBackReferenceIgnoreCase()
461 if (masm_->emit_debug_code()) { in CheckNotBackReference()
674 FrameScope scope(masm_, StackFrame::MANUAL); in GetCode()
706 int alignment = masm_->ActivationFrameAlignment(); in GetCode()
749 if (masm_->emit_debug_code()) { in GetCode()
770 __ Mov(code_pointer(), Operand(masm_->CodeObject())); in GetCode()
[all …]
Dlithium-codegen-arm64.h398 UseScratchRegisterScope temps(codegen_->masm_); in PushSafepointRegistersScope()
403 codegen_->masm_->Mov(to_be_pushed_lr, lr); in PushSafepointRegistersScope()
407 codegen_->masm_->CallStub(&stub); in PushSafepointRegistersScope()
412 codegen_->masm_->CallStub(&stub); in PushSafepointRegistersScope()
426 codegen_->masm_->CallStub(&stub); in ~PushSafepointRegistersScope()
431 codegen_->masm_->CallStub(&stub); in ~PushSafepointRegistersScope()
Dmacro-assembler-arm64.h606 explicit PushPopQueue(MacroAssembler* masm) : masm_(masm), size_(0) { } in PushPopQueue()
625 MacroAssembler* masm_;
1274 saved_(masm->use_real_aborts_), masm_(masm) { in NoUseRealAbortsScope()
1275 masm_->use_real_aborts_ = false; in NoUseRealAbortsScope()
1278 masm_->use_real_aborts_ = saved_; in ~NoUseRealAbortsScope()
1282 MacroAssembler* masm_; variable
2169 : masm_(masm) in masm_() function
2176 masm_->CheckConstPool(false, true); in masm_()
2177 masm_->CheckVeneerPool(false, true); in masm_()
2179 masm_->StartBlockPools(); in masm_()
[all …]
/external/chromium_org/v8/src/arm/
Dfull-codegen-arm.cc25 #define __ ACCESS_MASM(masm_)
36 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { in JumpPatchSite()
50 Assembler::BlockConstPoolScope block_const_pool(masm_); in EmitJumpIfNotSmi()
60 Assembler::BlockConstPoolScope block_const_pool(masm_); in EmitJumpIfSmi()
68 Assembler::BlockConstPoolScope block_const_pool(masm_); in EmitPatchInfo()
70 int delta_to_patch_site = masm_->InstructionsGeneratedSince(&patch_site_); in EmitPatchInfo()
83 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
114 Comment cmnt(masm_, "[ function compiled by full code generator"); in Generate()
116 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
146 FrameScope frame_scope(masm_, StackFrame::MANUAL); in Generate()
[all …]
Dregexp-macro-assembler-arm.cc96 #define __ ACCESS_MASM(masm_)
103 masm_(new MacroAssembler(zone->isolate(), NULL, kRegExpCodeSize)), in RegExpMacroAssemblerARM()
119 delete masm_; in ~RegExpMacroAssemblerARM()
315 AllowExternalCallThatCantCauseGC scope(masm_); in CheckNotBackReferenceIgnoreCase()
591 FrameScope scope(masm_, StackFrame::MANUAL); in GetCode()
655 __ mov(code_pointer(), Operand(masm_->CodeObject())); in GetCode()
848 masm_->GetCode(&code_desc); in GetCode()
850 code_desc, Code::ComputeFlags(Code::REGEXP), masm_->CodeObject()); in GetCode()
851 PROFILE(masm_->isolate(), RegExpCodeCreateEvent(*code, *source)); in GetCode()
1010 __ mov(r1, Operand(masm_->CodeObject())); in CallCheckStackGuardState()
[all …]
Dmacro-assembler-arm.h1513 MacroAssembler* masm() { return &masm_; } in masm()
1528 MacroAssembler masm_; // Macro assembler used to generate the code. variable
1536 : masm_(masm), in FrameAndConstantPoolScope()
1549 masm_->LeaveFrame(type_); in ~FrameAndConstantPoolScope()
1550 masm_->set_has_frame(old_has_frame_); in ~FrameAndConstantPoolScope()
1551 masm_->set_constant_pool_available(old_constant_pool_available_); in ~FrameAndConstantPoolScope()
1561 masm_->LeaveFrame(type_); in GenerateLeaveFrame()
1565 MacroAssembler* masm_;
1578 : masm_(masm), in ConstantPoolUnavailableScope()
1581 masm_->set_constant_pool_available(false); in ConstantPoolUnavailableScope()
[all …]
Dlithium-codegen-arm.h368 codegen_->masm_->PushSafepointRegisters(); in PushSafepointRegistersScope()
371 codegen_->masm_->PushSafepointRegistersAndDoubles(); in PushSafepointRegistersScope()
383 codegen_->masm_->PopSafepointRegisters(); in ~PushSafepointRegistersScope()
386 codegen_->masm_->PopSafepointRegistersAndDoubles(); in ~PushSafepointRegistersScope()
/external/chromium_org/v8/src/x64/
Dfull-codegen-x64.cc22 #define __ ACCESS_MASM(masm_)
27 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { in JumpPatchSite()
53 int delta_to_patch_site = masm_->SizeOfCodeGeneratedSince(&patch_site_); in EmitPatchInfo()
73 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
102 Comment cmnt(masm_, "[ function compiled by full code generator"); in Generate()
104 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
136 FrameScope frame_scope(masm_, StackFrame::MANUAL); in Generate()
138 info->set_prologue_offset(masm_->pc_offset()); in Generate()
140 info->AddNoFrameRange(0, masm_->pc_offset()); in Generate()
142 { Comment cmnt(masm_, "[ Allocate locals"); in Generate()
[all …]
Dregexp-macro-assembler-x64.cc94 #define __ ACCESS_MASM((&masm_))
101 masm_(zone->isolate(), NULL, kRegExpCodeSize), in RegExpMacroAssemblerX64()
102 no_root_array_scope_(&masm_), in RegExpMacroAssemblerX64()
339 AllowExternalCallThatCantCauseGC scope(&masm_); in CheckNotBackReferenceIgnoreCase()
346 __ Move(code_object_pointer(), masm_.CodeObject()); in CheckNotBackReferenceIgnoreCase()
651 FrameScope scope(&masm_, StackFrame::MANUAL); in GetCode()
712 __ Move(code_object_pointer(), masm_.CodeObject()); in GetCode()
754 __ Move(code_object_pointer(), masm_.CodeObject()); in GetCode()
913 __ Move(code_object_pointer(), masm_.CodeObject()); in GetCode()
958 __ Move(code_object_pointer(), masm_.CodeObject()); in GetCode()
[all …]
Dregexp-macro-assembler-x64.h217 code_relative_fixup_positions_.Add(masm_.pc_offset(), zone()); in MarkPositionForCodeRelativeFixup()
251 Isolate* isolate() const { return masm_.isolate(); } in isolate()
253 MacroAssembler masm_; variable
/external/chromium_org/v8/src/x87/
Dfull-codegen-x87.cc22 #define __ ACCESS_MASM(masm_)
27 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { in JumpPatchSite()
53 int delta_to_patch_site = masm_->SizeOfCodeGeneratedSince(&patch_site_); in EmitPatchInfo()
73 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
102 Comment cmnt(masm_, "[ function compiled by full code generator"); in Generate()
104 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
136 FrameScope frame_scope(masm_, StackFrame::MANUAL); in Generate()
138 info->set_prologue_offset(masm_->pc_offset()); in Generate()
140 info->AddNoFrameRange(0, masm_->pc_offset()); in Generate()
142 { Comment cmnt(masm_, "[ Allocate locals"); in Generate()
[all …]
Dlithium-codegen-x87.h384 : stack_depth_(0), is_mutable_(true), masm_(masm) { } in X87Stack()
386 : stack_depth_(other.stack_depth_), is_mutable_(false), masm_(masm()) { in X87Stack()
417 MacroAssembler* masm() const { return masm_; } in masm()
418 Isolate* isolate() const { return masm_->isolate(); } in isolate()
427 MacroAssembler* masm_; variable
445 codegen_->masm_->PushSafepointRegisters(); in PushSafepointRegistersScope()
452 codegen_->masm_->PopSafepointRegisters(); in ~PushSafepointRegistersScope()
Dregexp-macro-assembler-x87.cc78 #define __ ACCESS_MASM(masm_)
85 masm_(new MacroAssembler(zone->isolate(), NULL, kRegExpCodeSize)), in RegExpMacroAssemblerX87()
101 delete masm_; in ~RegExpMacroAssemblerX87()
138 __ add(ebx, Immediate(masm_->CodeObject())); in Backtrack()
316 AllowExternalCallThatCantCauseGC scope(masm_); in CheckNotBackReferenceIgnoreCase()
628 FrameScope scope(masm_, StackFrame::MANUAL); in GetCode()
901 masm_->GetCode(&code_desc); in GetCode()
905 masm_->CodeObject()); in GetCode()
1058 __ mov(Operand(esp, 1 * kPointerSize), Immediate(masm_->CodeObject())); in CallCheckStackGuardState()
1218 __ add(ebx, Immediate(masm_->CodeObject())); in SafeReturn()
/external/chromium_org/v8/src/ia32/
Dfull-codegen-ia32.cc22 #define __ ACCESS_MASM(masm_)
27 explicit JumpPatchSite(MacroAssembler* masm) : masm_(masm) { in JumpPatchSite()
53 int delta_to_patch_site = masm_->SizeOfCodeGeneratedSince(&patch_site_); in EmitPatchInfo()
73 MacroAssembler* masm_; member in v8::internal::BASE_EMBEDDED
102 Comment cmnt(masm_, "[ function compiled by full code generator"); in Generate()
104 ProfileEntryHookStub::MaybeCallEntryHook(masm_); in Generate()
136 FrameScope frame_scope(masm_, StackFrame::MANUAL); in Generate()
138 info->set_prologue_offset(masm_->pc_offset()); in Generate()
140 info->AddNoFrameRange(0, masm_->pc_offset()); in Generate()
142 { Comment cmnt(masm_, "[ Allocate locals"); in Generate()
[all …]
Dregexp-macro-assembler-ia32.cc78 #define __ ACCESS_MASM(masm_)
85 masm_(new MacroAssembler(zone->isolate(), NULL, kRegExpCodeSize)), in RegExpMacroAssemblerIA32()
101 delete masm_; in ~RegExpMacroAssemblerIA32()
138 __ add(ebx, Immediate(masm_->CodeObject())); in Backtrack()
316 AllowExternalCallThatCantCauseGC scope(masm_); in CheckNotBackReferenceIgnoreCase()
628 FrameScope scope(masm_, StackFrame::MANUAL); in GetCode()
901 masm_->GetCode(&code_desc); in GetCode()
905 masm_->CodeObject()); in GetCode()
1058 __ mov(Operand(esp, 1 * kPointerSize), Immediate(masm_->CodeObject())); in CallCheckStackGuardState()
1218 __ add(ebx, Immediate(masm_->CodeObject())); in SafeReturn()
Dregexp-macro-assembler-ia32.h173 Isolate* isolate() const { return masm_->isolate(); } in isolate()
175 MacroAssembler* masm_; variable
/external/vixl/src/a64/
Dmacro-assembler-a64.h1233 : masm_(masm) { in InstructionAccurateScope()
1234 masm_->BlockLiteralPool(); in InstructionAccurateScope()
1237 old_allow_macro_instructions_ = masm_->AllowMacroInstructions(); in InstructionAccurateScope()
1238 masm_->SetAllowMacroInstructions(false); in InstructionAccurateScope()
1243 : masm_(masm) { in InstructionAccurateScope()
1245 masm_->BlockLiteralPool(); in InstructionAccurateScope()
1248 masm_->bind(&start_); in InstructionAccurateScope()
1249 old_allow_macro_instructions_ = masm_->AllowMacroInstructions(); in InstructionAccurateScope()
1250 masm_->SetAllowMacroInstructions(false); in InstructionAccurateScope()
1255 masm_->ReleaseLiteralPool(); in ~InstructionAccurateScope()
[all …]

123