Lines Matching refs:BytecodeArrayBuilder
38 class V8_EXPORT_PRIVATE BytecodeArrayBuilder final {
40 BytecodeArrayBuilder(
46 BytecodeArrayBuilder(const BytecodeArrayBuilder&) = delete;
47 BytecodeArrayBuilder& operator=(const BytecodeArrayBuilder&) = delete;
87 BytecodeArrayBuilder& LoadConstantPoolEntry(size_t entry);
88 BytecodeArrayBuilder& LoadLiteral(Smi value);
89 BytecodeArrayBuilder& LoadLiteral(double value);
90 BytecodeArrayBuilder& LoadLiteral(const AstRawString* raw_string);
91 BytecodeArrayBuilder& LoadLiteral(const Scope* scope);
92 BytecodeArrayBuilder& LoadLiteral(AstBigInt bigint);
93 BytecodeArrayBuilder& LoadUndefined();
94 BytecodeArrayBuilder& LoadNull();
95 BytecodeArrayBuilder& LoadTheHole();
96 BytecodeArrayBuilder& LoadTrue();
97 BytecodeArrayBuilder& LoadFalse();
98 BytecodeArrayBuilder& LoadBoolean(bool value);
101 BytecodeArrayBuilder& LoadGlobal(const AstRawString* name, int feedback_slot,
103 BytecodeArrayBuilder& StoreGlobal(const AstRawString* name,
109 BytecodeArrayBuilder& LoadContextSlot(Register context, int slot_index,
115 BytecodeArrayBuilder& StoreContextSlot(Register context, int slot_index,
120 BytecodeArrayBuilder& LoadModuleVariable(int cell_index, int depth);
124 BytecodeArrayBuilder& StoreModuleVariable(int cell_index, int depth);
127 BytecodeArrayBuilder& LoadAccumulatorWithRegister(Register reg);
128 BytecodeArrayBuilder& StoreAccumulatorInRegister(Register reg);
131 BytecodeArrayBuilder& MoveRegister(Register from, Register to);
134 BytecodeArrayBuilder& LoadNamedProperty(Register object,
138 BytecodeArrayBuilder& LoadNamedPropertyFromSuper(Register object,
143 BytecodeArrayBuilder& LoadKeyedProperty(Register object, int feedback_slot);
146 BytecodeArrayBuilder& LoadIteratorProperty(Register object,
150 BytecodeArrayBuilder& GetIterator(Register object, int load_feedback_slot,
154 BytecodeArrayBuilder& LoadAsyncIteratorProperty(Register object,
159 BytecodeArrayBuilder& DefineKeyedOwnPropertyInLiteral(
165 BytecodeArrayBuilder& CollectTypeProfile(int position);
170 BytecodeArrayBuilder& SetNamedProperty(Register object,
178 BytecodeArrayBuilder& SetNamedProperty(Register object,
186 BytecodeArrayBuilder& DefineNamedOwnProperty(Register object,
193 BytecodeArrayBuilder& SetKeyedProperty(Register object, Register key,
200 BytecodeArrayBuilder& DefineKeyedOwnProperty(Register object, Register key,
205 BytecodeArrayBuilder& StoreInArrayLiteral(Register array, Register index,
210 BytecodeArrayBuilder& StoreClassFieldsInitializer(Register constructor,
214 BytecodeArrayBuilder& LoadClassFieldsInitializer(Register constructor,
218 BytecodeArrayBuilder& LoadLookupSlot(const AstRawString* name,
224 BytecodeArrayBuilder& LoadLookupContextSlot(const AstRawString* name,
231 BytecodeArrayBuilder& LoadLookupGlobalSlot(const AstRawString* name,
236 BytecodeArrayBuilder& StoreLookupSlot(
242 BytecodeArrayBuilder& CreateClosure(size_t shared_function_info_entry,
246 BytecodeArrayBuilder& CreateBlockContext(const Scope* scope);
249 BytecodeArrayBuilder& CreateCatchContext(Register exception,
253 BytecodeArrayBuilder& CreateFunctionContext(const Scope* scope, int slots);
256 BytecodeArrayBuilder& CreateEvalContext(const Scope* scope, int slots);
260 BytecodeArrayBuilder& CreateWithContext(Register object, const Scope* scope);
263 BytecodeArrayBuilder& CreateArguments(CreateArgumentsType type);
266 BytecodeArrayBuilder& CreateRegExpLiteral(const AstRawString* pattern,
268 BytecodeArrayBuilder& CreateArrayLiteral(size_t constant_elements_entry,
270 BytecodeArrayBuilder& CreateEmptyArrayLiteral(int literal_index);
271 BytecodeArrayBuilder& CreateArrayFromIterable();
272 BytecodeArrayBuilder& CreateObjectLiteral(size_t constant_properties_entry,
274 BytecodeArrayBuilder& CreateEmptyObjectLiteral();
275 BytecodeArrayBuilder& CloneObject(Register source, int flags,
280 BytecodeArrayBuilder& GetTemplateObject(
285 BytecodeArrayBuilder& PushContext(Register context);
288 BytecodeArrayBuilder& PopContext(Register context);
295 BytecodeArrayBuilder& CallProperty(Register callable, RegisterList args,
302 BytecodeArrayBuilder& CallUndefinedReceiver(Register callable,
310 BytecodeArrayBuilder& CallAnyReceiver(Register callable, RegisterList args,
317 BytecodeArrayBuilder& TailCall(Register callable, RegisterList args,
323 BytecodeArrayBuilder& CallWithSpread(Register callable, RegisterList args,
328 BytecodeArrayBuilder& Construct(Register constructor, RegisterList args,
334 BytecodeArrayBuilder& ConstructWithSpread(Register constructor,
339 BytecodeArrayBuilder& CallRuntime(Runtime::FunctionId function_id,
342 BytecodeArrayBuilder& CallRuntime(Runtime::FunctionId function_id,
345 BytecodeArrayBuilder& CallRuntime(Runtime::FunctionId function_id);
350 BytecodeArrayBuilder& CallRuntimeForPair(Runtime::FunctionId function_id,
356 BytecodeArrayBuilder& CallRuntimeForPair(Runtime::FunctionId function_id,
362 BytecodeArrayBuilder& CallJSRuntime(int context_index, RegisterList args);
366 BytecodeArrayBuilder& BinaryOperation(Token::Value binop, Register reg,
369 BytecodeArrayBuilder& BinaryOperationSmiLiteral(Token::Value binop,
375 BytecodeArrayBuilder& UnaryOperation(Token::Value op, int feedback_slot);
383 BytecodeArrayBuilder& LogicalNot(ToBooleanMode mode);
384 BytecodeArrayBuilder& TypeOf();
389 BytecodeArrayBuilder& GetSuperConstructor(Register out);
393 BytecodeArrayBuilder& Delete(Register object, LanguageMode language_mode);
399 BytecodeArrayBuilder& CompareOperation(Token::Value op, Register reg,
401 BytecodeArrayBuilder& CompareReference(Register reg);
402 BytecodeArrayBuilder& CompareUndetectable();
403 BytecodeArrayBuilder& CompareUndefined();
404 BytecodeArrayBuilder& CompareNull();
405 BytecodeArrayBuilder& CompareNil(Token::Value op, NilValue nil);
406 BytecodeArrayBuilder& CompareTypeOf(
410 BytecodeArrayBuilder& ToObject(Register out);
411 BytecodeArrayBuilder& ToName(Register out);
412 BytecodeArrayBuilder& ToString();
415 BytecodeArrayBuilder& ToNumber(int feedback_slot);
416 BytecodeArrayBuilder& ToNumeric(int feedback_slot);
419 BytecodeArrayBuilder& MarkHandler(int handler_id,
421 BytecodeArrayBuilder& MarkTryBegin(int handler_id, Register context);
422 BytecodeArrayBuilder& MarkTryEnd(int handler_id);
425 BytecodeArrayBuilder& Bind(BytecodeLabel* label);
426 BytecodeArrayBuilder& Bind(BytecodeLoopHeader* label);
427 BytecodeArrayBuilder& Bind(BytecodeJumpTable* jump_table, int case_value);
429 BytecodeArrayBuilder& Jump(BytecodeLabel* label);
430 BytecodeArrayBuilder& JumpLoop(BytecodeLoopHeader* loop_header,
433 BytecodeArrayBuilder& JumpIfTrue(ToBooleanMode mode, BytecodeLabel* label);
434 BytecodeArrayBuilder& JumpIfFalse(ToBooleanMode mode, BytecodeLabel* label);
435 BytecodeArrayBuilder& JumpIfJSReceiver(BytecodeLabel* label);
436 BytecodeArrayBuilder& JumpIfNull(BytecodeLabel* label);
437 BytecodeArrayBuilder& JumpIfNotNull(BytecodeLabel* label);
438 BytecodeArrayBuilder& JumpIfUndefined(BytecodeLabel* label);
439 BytecodeArrayBuilder& JumpIfUndefinedOrNull(BytecodeLabel* label);
440 BytecodeArrayBuilder& JumpIfNotUndefined(BytecodeLabel* label);
441 BytecodeArrayBuilder& JumpIfNil(BytecodeLabel* label, Token::Value op,
443 BytecodeArrayBuilder& JumpIfNotNil(BytecodeLabel* label, Token::Value op,
446 BytecodeArrayBuilder& SwitchOnSmiNoFeedback(BytecodeJumpTable* jump_table);
450 BytecodeArrayBuilder& SetPendingMessage();
452 BytecodeArrayBuilder& Throw();
453 BytecodeArrayBuilder& ReThrow();
454 BytecodeArrayBuilder& Abort(AbortReason reason);
455 BytecodeArrayBuilder& Return();
456 BytecodeArrayBuilder& ThrowReferenceErrorIfHole(const AstRawString* name);
457 BytecodeArrayBuilder& ThrowSuperNotCalledIfHole();
458 BytecodeArrayBuilder& ThrowSuperAlreadyCalledIfNotHole();
459 BytecodeArrayBuilder& ThrowIfNotSuperConstructor(Register constructor);
462 BytecodeArrayBuilder& Debugger();
465 BytecodeArrayBuilder& IncBlockCounter(int slot);
468 BytecodeArrayBuilder& ForInEnumerate(Register receiver);
469 BytecodeArrayBuilder& ForInPrepare(RegisterList cache_info_triple,
471 BytecodeArrayBuilder& ForInContinue(Register index, Register cache_length);
472 BytecodeArrayBuilder& ForInNext(Register receiver, Register index,
475 BytecodeArrayBuilder& ForInStep(Register index);
478 BytecodeArrayBuilder& SuspendGenerator(Register generator,
481 BytecodeArrayBuilder& SwitchOnGeneratorState(Register generator,
483 BytecodeArrayBuilder& ResumeGenerator(Register generator,
620 BytecodeArrayBuilder& Illegal();
653 std::ostream& os, const BytecodeArrayBuilder::ToBooleanMode& mode);