Lines Matching refs:BytecodeArrayBuilder
35 class V8_EXPORT_PRIVATE BytecodeArrayBuilder final {
37 BytecodeArrayBuilder(
72 BytecodeArrayBuilder& LoadConstantPoolEntry(size_t entry);
73 BytecodeArrayBuilder& LoadLiteral(v8::internal::Smi* value);
74 BytecodeArrayBuilder& LoadLiteral(double value);
75 BytecodeArrayBuilder& LoadLiteral(const AstRawString* raw_string);
76 BytecodeArrayBuilder& LoadLiteral(const Scope* scope);
77 BytecodeArrayBuilder& LoadLiteral(AstBigInt bigint);
78 BytecodeArrayBuilder& LoadLiteral(AstSymbol symbol);
79 BytecodeArrayBuilder& LoadUndefined();
80 BytecodeArrayBuilder& LoadNull();
81 BytecodeArrayBuilder& LoadTheHole();
82 BytecodeArrayBuilder& LoadTrue();
83 BytecodeArrayBuilder& LoadFalse();
84 BytecodeArrayBuilder& LoadBoolean(bool value);
87 BytecodeArrayBuilder& LoadGlobal(const AstRawString* name, int feedback_slot,
89 BytecodeArrayBuilder& StoreGlobal(const AstRawString* name,
95 BytecodeArrayBuilder& LoadContextSlot(Register context, int slot_index,
101 BytecodeArrayBuilder& StoreContextSlot(Register context, int slot_index,
106 BytecodeArrayBuilder& LoadModuleVariable(int cell_index, int depth);
110 BytecodeArrayBuilder& StoreModuleVariable(int cell_index, int depth);
113 BytecodeArrayBuilder& LoadAccumulatorWithRegister(Register reg);
114 BytecodeArrayBuilder& StoreAccumulatorInRegister(Register reg);
117 BytecodeArrayBuilder& MoveRegister(Register from, Register to);
120 BytecodeArrayBuilder& LoadNamedProperty(Register object,
124 BytecodeArrayBuilder& LoadKeyedProperty(Register object, int feedback_slot);
126 BytecodeArrayBuilder& LoadIteratorProperty(Register object,
129 BytecodeArrayBuilder& LoadAsyncIteratorProperty(Register object,
134 BytecodeArrayBuilder& StoreDataPropertyInLiteral(
140 BytecodeArrayBuilder& CollectTypeProfile(int position);
144 BytecodeArrayBuilder& StoreNamedProperty(Register object,
150 BytecodeArrayBuilder& StoreNamedProperty(Register object,
156 BytecodeArrayBuilder& StoreNamedOwnProperty(Register object,
161 BytecodeArrayBuilder& StoreKeyedProperty(Register object, Register key,
166 BytecodeArrayBuilder& StoreInArrayLiteral(Register array, Register index,
170 BytecodeArrayBuilder& StoreHomeObjectProperty(Register object,
176 BytecodeArrayBuilder& StoreClassFieldsInitializer(Register constructor,
180 BytecodeArrayBuilder& LoadClassFieldsInitializer(Register constructor,
184 BytecodeArrayBuilder& LoadLookupSlot(const AstRawString* name,
190 BytecodeArrayBuilder& LoadLookupContextSlot(const AstRawString* name,
197 BytecodeArrayBuilder& LoadLookupGlobalSlot(const AstRawString* name,
202 BytecodeArrayBuilder& StoreLookupSlot(
208 BytecodeArrayBuilder& CreateClosure(size_t shared_function_info_entry,
212 BytecodeArrayBuilder& CreateBlockContext(const Scope* scope);
215 BytecodeArrayBuilder& CreateCatchContext(Register exception,
219 BytecodeArrayBuilder& CreateFunctionContext(const Scope* scope, int slots);
222 BytecodeArrayBuilder& CreateEvalContext(const Scope* scope, int slots);
226 BytecodeArrayBuilder& CreateWithContext(Register object, const Scope* scope);
229 BytecodeArrayBuilder& CreateArguments(CreateArgumentsType type);
232 BytecodeArrayBuilder& CreateRegExpLiteral(const AstRawString* pattern,
234 BytecodeArrayBuilder& CreateArrayLiteral(size_t constant_elements_entry,
236 BytecodeArrayBuilder& CreateEmptyArrayLiteral(int literal_index);
237 BytecodeArrayBuilder& CreateObjectLiteral(size_t constant_properties_entry,
240 BytecodeArrayBuilder& CreateEmptyObjectLiteral();
241 BytecodeArrayBuilder& CloneObject(Register source, int flags,
246 BytecodeArrayBuilder& GetTemplateObject(
251 BytecodeArrayBuilder& PushContext(Register context);
254 BytecodeArrayBuilder& PopContext(Register context);
261 BytecodeArrayBuilder& CallProperty(Register callable, RegisterList args,
268 BytecodeArrayBuilder& CallUndefinedReceiver(Register callable,
276 BytecodeArrayBuilder& CallAnyReceiver(Register callable, RegisterList args,
283 BytecodeArrayBuilder& TailCall(Register callable, RegisterList args,
289 BytecodeArrayBuilder& CallWithSpread(Register callable, RegisterList args,
294 BytecodeArrayBuilder& Construct(Register constructor, RegisterList args,
300 BytecodeArrayBuilder& ConstructWithSpread(Register constructor,
305 BytecodeArrayBuilder& CallRuntime(Runtime::FunctionId function_id,
308 BytecodeArrayBuilder& CallRuntime(Runtime::FunctionId function_id,
311 BytecodeArrayBuilder& CallRuntime(Runtime::FunctionId function_id);
316 BytecodeArrayBuilder& CallRuntimeForPair(Runtime::FunctionId function_id,
322 BytecodeArrayBuilder& CallRuntimeForPair(Runtime::FunctionId function_id,
328 BytecodeArrayBuilder& CallJSRuntime(int context_index, RegisterList args);
332 BytecodeArrayBuilder& BinaryOperation(Token::Value binop, Register reg,
335 BytecodeArrayBuilder& BinaryOperationSmiLiteral(Token::Value binop,
341 BytecodeArrayBuilder& UnaryOperation(Token::Value op, int feedback_slot);
349 BytecodeArrayBuilder& LogicalNot(ToBooleanMode mode);
350 BytecodeArrayBuilder& TypeOf();
355 BytecodeArrayBuilder& GetSuperConstructor(Register out);
359 BytecodeArrayBuilder& Delete(Register object, LanguageMode language_mode);
365 BytecodeArrayBuilder& CompareOperation(Token::Value op, Register reg,
367 BytecodeArrayBuilder& CompareOperation(Token::Value op, Register reg);
368 BytecodeArrayBuilder& CompareReference(Register reg);
369 BytecodeArrayBuilder& CompareUndetectable();
370 BytecodeArrayBuilder& CompareUndefined();
371 BytecodeArrayBuilder& CompareNull();
372 BytecodeArrayBuilder& CompareNil(Token::Value op, NilValue nil);
373 BytecodeArrayBuilder& CompareTypeOf(
377 BytecodeArrayBuilder& ToObject(Register out);
378 BytecodeArrayBuilder& ToName(Register out);
379 BytecodeArrayBuilder& ToString();
382 BytecodeArrayBuilder& ToNumber(int feedback_slot);
383 BytecodeArrayBuilder& ToNumeric(int feedback_slot);
386 BytecodeArrayBuilder& Bind(BytecodeLabel* label);
387 BytecodeArrayBuilder& Bind(const BytecodeLabel& target, BytecodeLabel* label);
388 BytecodeArrayBuilder& Bind(BytecodeJumpTable* jump_table, int case_value);
390 BytecodeArrayBuilder& Jump(BytecodeLabel* label);
391 BytecodeArrayBuilder& JumpLoop(BytecodeLabel* label, int loop_depth);
393 BytecodeArrayBuilder& JumpIfTrue(ToBooleanMode mode, BytecodeLabel* label);
394 BytecodeArrayBuilder& JumpIfFalse(ToBooleanMode mode, BytecodeLabel* label);
395 BytecodeArrayBuilder& JumpIfNotHole(BytecodeLabel* label);
396 BytecodeArrayBuilder& JumpIfJSReceiver(BytecodeLabel* label);
397 BytecodeArrayBuilder& JumpIfNull(BytecodeLabel* label);
398 BytecodeArrayBuilder& JumpIfNotNull(BytecodeLabel* label);
399 BytecodeArrayBuilder& JumpIfUndefined(BytecodeLabel* label);
400 BytecodeArrayBuilder& JumpIfNotUndefined(BytecodeLabel* label);
401 BytecodeArrayBuilder& JumpIfNil(BytecodeLabel* label, Token::Value op,
403 BytecodeArrayBuilder& JumpIfNotNil(BytecodeLabel* label, Token::Value op,
406 BytecodeArrayBuilder& SwitchOnSmiNoFeedback(BytecodeJumpTable* jump_table);
408 BytecodeArrayBuilder& StackCheck(int position);
412 BytecodeArrayBuilder& SetPendingMessage();
414 BytecodeArrayBuilder& Throw();
415 BytecodeArrayBuilder& ReThrow();
416 BytecodeArrayBuilder& Abort(AbortReason reason);
417 BytecodeArrayBuilder& Return();
418 BytecodeArrayBuilder& ThrowReferenceErrorIfHole(const AstRawString* name);
419 BytecodeArrayBuilder& ThrowSuperNotCalledIfHole();
420 BytecodeArrayBuilder& ThrowSuperAlreadyCalledIfNotHole();
423 BytecodeArrayBuilder& Debugger();
426 BytecodeArrayBuilder& IncBlockCounter(int slot);
429 BytecodeArrayBuilder& ForInEnumerate(Register receiver);
430 BytecodeArrayBuilder& ForInPrepare(RegisterList cache_info_triple,
432 BytecodeArrayBuilder& ForInContinue(Register index, Register cache_length);
433 BytecodeArrayBuilder& ForInNext(Register receiver, Register index,
436 BytecodeArrayBuilder& ForInStep(Register index);
439 BytecodeArrayBuilder& SuspendGenerator(Register generator,
442 BytecodeArrayBuilder& SwitchOnGeneratorState(Register generator,
444 BytecodeArrayBuilder& ResumeGenerator(Register generator,
448 BytecodeArrayBuilder& MarkHandler(int handler_id,
450 BytecodeArrayBuilder& MarkTryBegin(int handler_id, Register context);
451 BytecodeArrayBuilder& MarkTryEnd(int handler_id);
574 BytecodeArrayBuilder& Illegal();
608 DISALLOW_COPY_AND_ASSIGN(BytecodeArrayBuilder);
612 std::ostream& os, const BytecodeArrayBuilder::ToBooleanMode& mode);