Home
last modified time | relevance | path

Searched refs:assembler_ (Results 1 – 19 of 19) sorted by relevance

/external/v8/src/
Dfast-accessor-assembler.cc22 assembler_(new CodeStubAssembler(isolate, zone(), 1, in FastAccessorAssembler()
32 return FromRaw(assembler_->NumberConstant(const_value)); in IntegerConstant()
39 return FromRaw(assembler_->Parameter(0)); in GetReceiver()
46 CodeStubAssembler::Variable result(assembler_.get(), in LoadInternalField()
49 CodeStubAssembler::Label merge(assembler_.get(), &result); in LoadInternalField()
53 Node* internal_field = assembler_->LoadObjectField( in LoadInternalField()
58 assembler_->Goto(&merge); in LoadInternalField()
62 result.Bind(assembler_->NullConstant()); in LoadInternalField()
63 assembler_->Goto(&merge); in LoadInternalField()
66 assembler_->Bind(&merge); in LoadInternalField()
[all …]
Dassembler.h162 : assembler_(assembler), old_value_(assembler->emit_debug_code()) { in DontEmitDebugCodeScope()
163 assembler_->set_emit_debug_code(false); in DontEmitDebugCodeScope()
166 assembler_->set_emit_debug_code(old_value_); in ~DontEmitDebugCodeScope()
169 AssemblerBase* assembler_;
184 AssemblerBase* assembler_;
205 AssemblerBase* assembler_;
Dfast-accessor-assembler.h101 std::unique_ptr<CodeStubAssembler> assembler_; variable
Dassembler.cc216 : assembler_(assembler), in PredictableCodeSizeScope()
220 assembler_->set_predictable_code_size(true); in PredictableCodeSizeScope()
227 CHECK_EQ(expected_size_, assembler_->pc_offset() - start_offset_); in ~PredictableCodeSizeScope()
229 assembler_->set_predictable_code_size(old_value_); in ~PredictableCodeSizeScope()
239 : assembler_(assembler) { in CpuFeatureScope()
241 old_enabled_ = assembler_->enabled_cpu_features(); in CpuFeatureScope()
242 assembler_->EnableCpuFeature(f); in CpuFeatureScope()
246 assembler_->set_enabled_cpu_features(old_enabled_); in ~CpuFeatureScope()
Dcode-stub-assembler.cc9260 : assembler_(assembler), in CodeStubArguments()
9267 arguments_ = assembler_->IntPtrAddFoldConstants(fp_, offset); in CodeStubArguments()
9276 return assembler_->Load(MachineType::AnyTagged(), arguments_, in GetReceiver()
9277 assembler_->IntPtrConstant(kPointerSize)); in GetReceiver()
9283 Node* negated_index = assembler_->IntPtrSubFoldConstants( in AtIndex()
9284 assembler_->IntPtrOrSmiConstant(0, mode), index); in AtIndex()
9286 assembler_->ElementOffsetFromIndex(negated_index, FAST_ELEMENTS, mode, 0); in AtIndex()
9287 return assembler_->Load(MachineType::AnyTagged(), arguments_, offset); in AtIndex()
9291 return AtIndex(assembler_->IntPtrConstant(index)); in AtIndex()
9298 assembler_->Comment("CodeStubArguments::ForEach"); in ForEach()
[all …]
Dcode-stub-assembler.h1284 CodeStubAssembler::VariableList list(0, assembler_->zone());
1300 CodeStubAssembler* assembler_; variable
/external/v8/src/regexp/
Dregexp-macro-assembler-tracer.cc14 : RegExpMacroAssembler(isolate, assembler->zone()), assembler_(assembler) { in RegExpMacroAssemblerTracer()
29 assembler_->AbortedCodeGeneration(); in AbortedCodeGeneration()
42 assembler_->Bind(label); in Bind()
48 assembler_->AdvanceCurrentPosition(by); in AdvanceCurrentPosition()
54 assembler_->CheckGreedyLoop(label); in CheckGreedyLoop()
60 assembler_->PopCurrentPosition(); in PopCurrentPosition()
66 assembler_->PushCurrentPosition(); in PushCurrentPosition()
72 assembler_->Backtrack(); in Backtrack()
78 assembler_->GoTo(label); in GoTo()
84 assembler_->PushBacktrack(label); in PushBacktrack()
[all …]
Dregexp-macro-assembler-tracer.h19 virtual int stack_limit_slack() { return assembler_->stack_limit_slack(); } in stack_limit_slack()
20 virtual bool CanReadUnaligned() { return assembler_->CanReadUnaligned(); } in CanReadUnaligned()
84 RegExpMacroAssembler* assembler_;
/external/v8/src/interpreter/
Dinterpreter-intrinsics.cc15 #define __ assembler_->
20 assembler_(assembler) {} in IntrinsicsHelper()
66 InterpreterAssembler::Label abort(assembler_), end(assembler_); in InvokeIntrinsic()
67 InterpreterAssembler::Variable result(assembler_, in InvokeIntrinsic()
71 InterpreterAssembler::Label lower_case(assembler_); in InvokeIntrinsic()
108 InterpreterAssembler::Variable return_value(assembler_, in CompareInstanceType()
112 InterpreterAssembler::Label if_true(assembler_), if_false(assembler_), in CompareInstanceType()
113 end(assembler_); in CompareInstanceType()
123 InterpreterAssembler::Variable return_value(assembler_, in IsInstanceType()
125 InterpreterAssembler::Label if_not_smi(assembler_), return_true(assembler_), in IsInstanceType()
[all …]
Dinterpreter-intrinsics.h93 InterpreterAssembler* assembler_; variable
/external/vixl/src/
Dcode-generation-scopes-vixl.h71 : assembler_(NULL), initialised_(false) { in assembler_() function
78 CodeBufferCheckScope() : assembler_(NULL), initialised_(false) { in CodeBufferCheckScope()
91 assembler_ = assembler;
96 limit_ = assembler_->GetSizeOfCodeGenerated() + size;
98 previous_allow_assembler_ = assembler_->AllowAssembler();
99 assembler_->SetAllowAssembler(true);
113 assembler_->SetAllowAssembler(previous_allow_assembler_); in Close()
118 VIXL_ASSERT(assembler_->GetSizeOfCodeGenerated() == limit_); in Close()
121 VIXL_ASSERT(assembler_->GetSizeOfCodeGenerated() <= limit_); in Close()
131 internal::AssemblerBase* assembler_;
/external/v8/src/compiler/
Dgap-resolver.h30 : assembler_(assembler), split_rep_(MachineRepresentation::kSimd128) {} in GapResolver()
41 Assembler* const assembler_; variable
Dgap-resolver.cc203 assembler_->AssembleMove(&source, &destination); in PerformMove()
212 assembler_->AssembleSwap(&source, &destination); in PerformMove()
Dcode-assembler.cc1065 : impl_(new (assembler->zone()) Impl(rep)), assembler_(assembler) { in Variable()
1069 CodeAssembler::Variable::~Variable() { assembler_->variables_.erase(impl_); } in ~Variable()
1088 : bound_(false), merge_count_(0), assembler_(assembler), label_(nullptr) { in Label()
1100 for (auto var : assembler_->variables_) { in MergeVariables()
1125 assembler_->raw_assembler_->AppendPhiInput(phi->second, node); in MergeVariables()
1146 assembler_->raw_assembler_->Bind(label_); in Bind()
1150 for (auto var : assembler_->variables_) { in Bind()
1176 Node* phi = assembler_->raw_assembler_->Phi( in Bind()
1183 for (auto var : assembler_->variables_) { in Bind()
Dcode-assembler.h215 CodeAssembler* assembler_; variable
519 CodeAssembler* assembler_; variable
/external/v8/src/x87/
Dassembler-x87.h1089 explicit EnsureSpace(Assembler* assembler) : assembler_(assembler) { in EnsureSpace()
1090 if (assembler_->buffer_overflow()) assembler_->GrowBuffer(); in EnsureSpace()
1092 space_before_ = assembler_->available_space(); in EnsureSpace()
1098 int bytes_generated = space_before_ - assembler_->available_space(); in ~EnsureSpace()
1099 DCHECK(bytes_generated < assembler_->kGap); in ~EnsureSpace()
1104 Assembler* assembler_;
/external/v8/src/ia32/
Dassembler-ia32.h1586 explicit EnsureSpace(Assembler* assembler) : assembler_(assembler) { in EnsureSpace()
1587 if (assembler_->buffer_overflow()) assembler_->GrowBuffer(); in EnsureSpace()
1589 space_before_ = assembler_->available_space(); in EnsureSpace()
1595 int bytes_generated = space_before_ - assembler_->available_space(); in ~EnsureSpace()
1596 DCHECK(bytes_generated < assembler_->kGap); in ~EnsureSpace()
1601 Assembler* assembler_;
/external/v8/src/x64/
Dassembler-x64.h2516 explicit EnsureSpace(Assembler* assembler) : assembler_(assembler) { in EnsureSpace()
2517 if (assembler_->buffer_overflow()) assembler_->GrowBuffer(); in EnsureSpace()
2519 space_before_ = assembler_->available_space(); in EnsureSpace()
2525 int bytes_generated = space_before_ - assembler_->available_space(); in ~EnsureSpace()
2526 DCHECK(bytes_generated < assembler_->kGap); in ~EnsureSpace()
2531 Assembler* assembler_;
/external/vixl/src/aarch32/
Dassembler-aarch32.h74 Assembler* assembler_; variable
79 : assembler_(assembler), old_(assembler->allow_unpredictable_) { in AllowUnpredictableScope()
80 assembler_->allow_unpredictable_ = true; in AllowUnpredictableScope()
82 ~AllowUnpredictableScope() { assembler_->allow_unpredictable_ = old_; } in ~AllowUnpredictableScope()
85 Assembler* assembler_; variable
90 : assembler_(assembler), old_(assembler->allow_strongly_discouraged_) { in AllowStronglyDiscouragedScope()
91 assembler_->allow_strongly_discouraged_ = true; in AllowStronglyDiscouragedScope()
94 assembler_->allow_strongly_discouraged_ = old_; in ~AllowStronglyDiscouragedScope()