Lines Matching defs:BytecodeGraphBuilder

37 class BytecodeGraphBuilder {
39 BytecodeGraphBuilder(JSHeapBroker* broker, Zone* local_zone,
50 BytecodeGraphBuilder(const BytecodeGraphBuilder&) = delete;
51 BytecodeGraphBuilder& operator=(const BytecodeGraphBuilder&) = delete;
529 class BytecodeGraphBuilder::Environment : public ZoneObject {
531 Environment(BytecodeGraphBuilder* builder, int register_count,
605 BytecodeGraphBuilder* builder() const { return builder_; }
611 BytecodeGraphBuilder* builder_;
625 struct BytecodeGraphBuilder::SubEnvironment final {
627 explicit SubEnvironment(BytecodeGraphBuilder* builder)
633 BytecodeGraphBuilder* builder_;
634 BytecodeGraphBuilder::Environment* parent_;
640 BytecodeGraphBuilder::Environment::Environment(
641 BytecodeGraphBuilder* builder, int register_count, int parameter_count,
692 BytecodeGraphBuilder::Environment::Environment(
693 const BytecodeGraphBuilder::Environment* other)
709 int BytecodeGraphBuilder::Environment::RegisterToValuesIndex(
718 Node* BytecodeGraphBuilder::Environment::LookupAccumulator() const {
722 Node* BytecodeGraphBuilder::Environment::LookupGeneratorState() const {
727 Node* BytecodeGraphBuilder::Environment::LookupRegister(
739 void BytecodeGraphBuilder::Environment::BindAccumulator(
747 void BytecodeGraphBuilder::Environment::BindGeneratorState(Node* node) {
751 void BytecodeGraphBuilder::Environment::BindRegister(
762 void BytecodeGraphBuilder::Environment::BindRegistersToProjections(
776 void BytecodeGraphBuilder::Environment::RecordAfterState(
783 BytecodeGraphBuilder::Environment* BytecodeGraphBuilder::Environment::Copy() {
787 void BytecodeGraphBuilder::Environment::Merge(
788 BytecodeGraphBuilder::Environment* other,
852 void BytecodeGraphBuilder::Environment::PrepareForLoop(
890 void BytecodeGraphBuilder::Environment::FillWithOsrValues() {
905 bool BytecodeGraphBuilder::Environment::StateValuesRequireUpdate(
920 void BytecodeGraphBuilder::Environment::PrepareForLoopExit(
973 void BytecodeGraphBuilder::Environment::UpdateStateValues(Node** state_values,
982 Node* BytecodeGraphBuilder::Environment::GetStateValuesFromCache(
988 Node* BytecodeGraphBuilder::Environment::Checkpoint(
1020 BytecodeGraphBuilder::BytecodeGraphBuilder(
1079 Node* BytecodeGraphBuilder::GetFunctionClosure() {
1088 Node* BytecodeGraphBuilder::GetParameter(int parameter_index,
1108 void BytecodeGraphBuilder::CreateFeedbackVectorNode() {
1113 Node* BytecodeGraphBuilder::BuildLoadFeedbackCell(int index) {
1117 void BytecodeGraphBuilder::CreateNativeContextNode() {
1122 Node* BytecodeGraphBuilder::BuildLoadNativeContextField(int index) {
1128 FeedbackSource BytecodeGraphBuilder::CreateFeedbackSource(int slot_id) {
1132 FeedbackSource BytecodeGraphBuilder::CreateFeedbackSource(FeedbackSlot slot) {
1136 void BytecodeGraphBuilder::CreateGraph() {
1165 void BytecodeGraphBuilder::PrepareEagerCheckpoint() {
1200 void BytecodeGraphBuilder::PrepareFrameState(
1216 void BytecodeGraphBuilder::AdvanceIteratorsTo(int bytecode_offset) {
1229 class BytecodeGraphBuilder::OsrIteratorState {
1231 explicit OsrIteratorState(BytecodeGraphBuilder* graph_builder)
1302 BytecodeGraphBuilder* graph_builder_;
1306 void BytecodeGraphBuilder::RemoveMergeEnvironmentsBeforeOffset(
1317 void BytecodeGraphBuilder::BuildFunctionEntryStackCheck() {
1326 void BytecodeGraphBuilder::BuildIterationBodyStackCheck() {
1332 void BytecodeGraphBuilder::BuildOSREntryStackCheck() {
1342 void BytecodeGraphBuilder::AdvanceToOsrEntryAndPeelLoops() {
1419 void BytecodeGraphBuilder::VisitSingleBytecode() {
1443 void BytecodeGraphBuilder::VisitBytecodes() {
1466 void BytecodeGraphBuilder::VisitLdaZero() {
1471 void BytecodeGraphBuilder::VisitLdaSmi() {
1476 void BytecodeGraphBuilder::VisitLdaConstant() {
1482 void BytecodeGraphBuilder::VisitLdaUndefined() {
1487 void BytecodeGraphBuilder::VisitLdaNull() {
1492 void BytecodeGraphBuilder::VisitLdaTheHole() {
1497 void BytecodeGraphBuilder::VisitLdaTrue() {
1502 void BytecodeGraphBuilder::VisitLdaFalse() {
1507 void BytecodeGraphBuilder::VisitLdar() {
1513 void BytecodeGraphBuilder::VisitStar() {
1519 void BytecodeGraphBuilder::Visit##Name() { \
1528 void BytecodeGraphBuilder::VisitMov() {
1534 Node* BytecodeGraphBuilder::BuildLoadGlobal(NameRef name,
1544 void BytecodeGraphBuilder::VisitLdaGlobal() {
1553 void BytecodeGraphBuilder::VisitLdaGlobalInsideTypeof() {
1561 void BytecodeGraphBuilder::VisitStaGlobal() {
1576 void BytecodeGraphBuilder::VisitStaInArrayLiteral() {
1603 void BytecodeGraphBuilder::VisitDefineKeyedOwnPropertyInLiteral() {
1633 void BytecodeGraphBuilder::VisitCollectTypeProfile() {
1647 void BytecodeGraphBuilder::VisitLdaContextSlot() {
1658 void BytecodeGraphBuilder::VisitLdaImmutableContextSlot() {
1669 void BytecodeGraphBuilder::VisitLdaCurrentContextSlot() {
1676 void BytecodeGraphBuilder::VisitLdaImmutableCurrentContextSlot() {
1683 void BytecodeGraphBuilder::VisitStaContextSlot() {
1694 void BytecodeGraphBuilder::VisitStaCurrentContextSlot() {
1701 void BytecodeGraphBuilder::BuildLdaLookupSlot(TypeofMode typeof_mode) {
1712 void BytecodeGraphBuilder::VisitLdaLookupSlot() {
1716 void BytecodeGraphBuilder::VisitLdaLookupSlotInsideTypeof() {
1720 BytecodeGraphBuilder::Environment*
1721 BytecodeGraphBuilder::CheckContextExtensionAtDepth(
1749 base::Optional<ScopeInfoRef> BytecodeGraphBuilder::TryGetScopeInfo() {
1771 BytecodeGraphBuilder::Environment* BytecodeGraphBuilder::CheckContextExtensions(
1798 BytecodeGraphBuilder::Environment*
1799 BytecodeGraphBuilder::CheckContextExtensionsSlowPath(uint32_t depth) {
1831 void BytecodeGraphBuilder::BuildLdaLookupContextSlot(TypeofMode typeof_mode) {
1872 void BytecodeGraphBuilder::VisitLdaLookupContextSlot() {
1876 void BytecodeGraphBuilder::VisitLdaLookupContextSlotInsideTypeof() {
1880 void BytecodeGraphBuilder::BuildLdaLookupGlobalSlot(TypeofMode typeof_mode) {
1923 void BytecodeGraphBuilder::VisitLdaLookupGlobalSlot() {
1927 void BytecodeGraphBuilder::VisitLdaLookupGlobalSlotInsideTypeof() {
1931 void BytecodeGraphBuilder::VisitStaLookupSlot() {
1954 void BytecodeGraphBuilder::VisitGetNamedProperty() {
1978 void BytecodeGraphBuilder::VisitGetNamedPropertyFromSuper() {
2004 void BytecodeGraphBuilder::VisitGetKeyedProperty() {
2031 void BytecodeGraphBuilder::BuildNamedStore(NamedStoreMode store_mode) {
2068 void BytecodeGraphBuilder::VisitSetNamedProperty() {
2072 void BytecodeGraphBuilder::VisitDefineNamedOwnProperty() {
2076 void BytecodeGraphBuilder::VisitSetKeyedProperty() {
2109 void BytecodeGraphBuilder::VisitDefineKeyedOwnProperty() {
2144 void BytecodeGraphBuilder::VisitLdaModuleVariable() {
2153 void BytecodeGraphBuilder::VisitStaModuleVariable() {
2162 void BytecodeGraphBuilder::VisitPushContext() {
2169 void BytecodeGraphBuilder::VisitPopContext() {
2175 void BytecodeGraphBuilder::VisitCreateClosure() {
2192 void BytecodeGraphBuilder::VisitCreateBlockContext() {
2199 void BytecodeGraphBuilder::VisitCreateFunctionContext() {
2208 void BytecodeGraphBuilder::VisitCreateEvalContext() {
2217 void BytecodeGraphBuilder::VisitCreateCatchContext() {
2227 void BytecodeGraphBuilder::VisitCreateWithContext() {
2237 void BytecodeGraphBuilder::BuildCreateArguments(CreateArgumentsType type) {
2243 void BytecodeGraphBuilder::VisitCreateMappedArguments() {
2247 void BytecodeGraphBuilder::VisitCreateUnmappedArguments() {
2251 void BytecodeGraphBuilder::VisitCreateRestParameter() {
2255 void BytecodeGraphBuilder::VisitCreateRegExpLiteral() {
2268 void BytecodeGraphBuilder::VisitCreateArrayLiteral() {
2291 void BytecodeGraphBuilder::VisitCreateEmptyArrayLiteral() {
2300 void BytecodeGraphBuilder::VisitCreateArrayFromIterable() {
2306 void BytecodeGraphBuilder::VisitCreateObjectLiteral() {
2323 void BytecodeGraphBuilder::VisitCreateEmptyObjectLiteral() {
2328 void BytecodeGraphBuilder::VisitCloneObject() {
2343 void BytecodeGraphBuilder::VisitGetTemplateObject() {
2356 Node* const* BytecodeGraphBuilder::GetCallArgumentsFromRegisters(
2384 void BytecodeGraphBuilder::BuildCall(ConvertReceiverMode receiver_mode,
2416 Node* const* BytecodeGraphBuilder::ProcessCallVarArgs(
2440 void BytecodeGraphBuilder::BuildCallVarArgs(ConvertReceiverMode receiver_mode) {
2459 void BytecodeGraphBuilder::VisitCallAnyReceiver() {
2463 void BytecodeGraphBuilder::VisitCallProperty() {
2467 void BytecodeGraphBuilder::VisitCallProperty0() {
2477 void BytecodeGraphBuilder::VisitCallProperty1() {
2489 void BytecodeGraphBuilder::VisitCallProperty2() {
2503 void BytecodeGraphBuilder::VisitCallUndefinedReceiver() {
2507 void BytecodeGraphBuilder::VisitCallUndefinedReceiver0() {
2516 void BytecodeGraphBuilder::VisitCallUndefinedReceiver1() {
2527 void BytecodeGraphBuilder::VisitCallUndefinedReceiver2() {
2540 void BytecodeGraphBuilder::VisitCallWithSpread() {
2574 void BytecodeGraphBuilder::VisitCallJSRuntime() {
2590 Node* BytecodeGraphBuilder::ProcessCallRuntimeArguments(
2606 void BytecodeGraphBuilder::VisitCallRuntime() {
2634 void BytecodeGraphBuilder::VisitCallRuntimeForPair() {
2649 Node* const* BytecodeGraphBuilder::GetConstructArgumentsFromRegister(
2677 void BytecodeGraphBuilder::VisitConstruct() {
2709 void BytecodeGraphBuilder::VisitConstructWithSpread() {
2742 void BytecodeGraphBuilder::VisitInvokeIntrinsic() {
2755 void BytecodeGraphBuilder::VisitThrow() {
2765 void BytecodeGraphBuilder::VisitAbort() {
2775 void BytecodeGraphBuilder::VisitReThrow() {
2784 void BytecodeGraphBuilder::BuildHoleCheckAndThrow(
2812 void BytecodeGraphBuilder::VisitThrowReferenceErrorIfHole() {
2821 void BytecodeGraphBuilder::VisitThrowSuperNotCalledIfHole() {
2828 void BytecodeGraphBuilder::VisitThrowSuperAlreadyCalledIfNotHole() {
2838 void BytecodeGraphBuilder::VisitThrowIfNotSuperConstructor() {
2863 void BytecodeGraphBuilder::BuildUnaryOp(const Operator* op) {
2886 void BytecodeGraphBuilder::BuildBinaryOp(const Operator* op) {
2912 ForInMode BytecodeGraphBuilder::GetForInMode(FeedbackSlot slot) {
2926 CallFrequency BytecodeGraphBuilder::ComputeCallFrequency(int slot_id) const {
2940 SpeculationMode BytecodeGraphBuilder::GetSpeculationMode(int slot_id) const {
2948 CallFeedbackRelation BytecodeGraphBuilder::ComputeCallFeedbackRelation(
2961 void BytecodeGraphBuilder::VisitBitwiseNot() {
2967 void BytecodeGraphBuilder::VisitDec() {
2973 void BytecodeGraphBuilder::VisitInc() {
2979 void BytecodeGraphBuilder::VisitNegate() {
2985 void BytecodeGraphBuilder::VisitAdd() {
2991 void BytecodeGraphBuilder::VisitSub() {
2997 void BytecodeGraphBuilder::VisitMul() {
3003 void BytecodeGraphBuilder::VisitDiv() {
3009 void BytecodeGraphBuilder::VisitMod() {
3015 void BytecodeGraphBuilder::VisitExp() {
3021 void BytecodeGraphBuilder::VisitBitwiseOr() {
3027 void BytecodeGraphBuilder::VisitBitwiseXor() {
3033 void BytecodeGraphBuilder::VisitBitwiseAnd() {
3039 void BytecodeGraphBuilder::VisitShiftLeft() {
3045 void BytecodeGraphBuilder::VisitShiftRight() {
3051 void BytecodeGraphBuilder::VisitShiftRightLogical() {
3057 void BytecodeGraphBuilder::BuildBinaryOpWithImmediate(const Operator* op) {
3080 void BytecodeGraphBuilder::VisitAddSmi() {
3086 void BytecodeGraphBuilder::VisitSubSmi() {
3092 void BytecodeGraphBuilder::VisitMulSmi() {
3098 void BytecodeGraphBuilder::VisitDivSmi() {
3104 void BytecodeGraphBuilder::VisitModSmi() {
3110 void BytecodeGraphBuilder::VisitExpSmi() {
3116 void BytecodeGraphBuilder::VisitBitwiseOrSmi() {
3122 void BytecodeGraphBuilder::VisitBitwiseXorSmi() {
3128 void BytecodeGraphBuilder::VisitBitwiseAndSmi() {
3134 void BytecodeGraphBuilder::VisitShiftLeftSmi() {
3140 void BytecodeGraphBuilder::VisitShiftRightSmi() {
3146 void BytecodeGraphBuilder::VisitShiftRightLogicalSmi() {
3152 void BytecodeGraphBuilder::VisitLogicalNot() {
3158 void BytecodeGraphBuilder::VisitToBooleanLogicalNot() {
3165 void BytecodeGraphBuilder::VisitTypeOf() {
3171 void BytecodeGraphBuilder::BuildDelete(LanguageMode language_mode) {
3181 void BytecodeGraphBuilder::VisitDeletePropertyStrict() {
3185 void BytecodeGraphBuilder::VisitDeletePropertySloppy() {
3189 void BytecodeGraphBuilder::VisitGetSuperConstructor() {
3196 void BytecodeGraphBuilder::BuildCompareOp(const Operator* op) {
3219 void BytecodeGraphBuilder::VisitTestEqual() {
3225 void BytecodeGraphBuilder::VisitTestEqualStrict() {
3231 void BytecodeGraphBuilder::VisitTestLessThan() {
3237 void BytecodeGraphBuilder::VisitTestGreaterThan() {
3243 void BytecodeGraphBuilder::VisitTestLessThanOrEqual() {
3249 void BytecodeGraphBuilder::VisitTestGreaterThanOrEqual() {
3255 void BytecodeGraphBuilder::VisitTestReferenceEqual() {
3263 void BytecodeGraphBuilder::VisitTestIn() {
3279 void BytecodeGraphBuilder::VisitTestInstanceOf() {
3285 void BytecodeGraphBuilder::VisitTestUndetectable() {
3291 void BytecodeGraphBuilder::VisitTestNull() {
3298 void BytecodeGraphBuilder::VisitTestUndefined() {
3305 void BytecodeGraphBuilder::VisitTestTypeOf() {
3357 void BytecodeGraphBuilder::BuildCastOperator(const Operator* js_op) {
3363 void BytecodeGraphBuilder::VisitToName() {
3367 void BytecodeGraphBuilder::VisitToObject() {
3371 void BytecodeGraphBuilder::VisitToString() {
3377 void BytecodeGraphBuilder::VisitToNumber() {
3396 void BytecodeGraphBuilder::VisitToNumeric() {
3417 void BytecodeGraphBuilder::VisitJump() { BuildJump(); }
3419 void BytecodeGraphBuilder::VisitJumpConstant() { BuildJump(); }
3421 void BytecodeGraphBuilder::VisitJumpIfTrue() { BuildJumpIfTrue(); }
3423 void BytecodeGraphBuilder::VisitJumpIfTrueConstant() { BuildJumpIfTrue(); }
3425 void BytecodeGraphBuilder::VisitJumpIfFalse() { BuildJumpIfFalse(); }
3427 void BytecodeGraphBuilder::VisitJumpIfFalseConstant() { BuildJumpIfFalse(); }
3429 void BytecodeGraphBuilder::VisitJumpIfToBooleanTrue() {
3433 void BytecodeGraphBuilder::VisitJumpIfToBooleanTrueConstant() {
3437 void BytecodeGraphBuilder::VisitJumpIfToBooleanFalse() {
3441 void BytecodeGraphBuilder::VisitJumpIfToBooleanFalseConstant() {
3445 void BytecodeGraphBuilder::VisitJumpIfJSReceiver() { BuildJumpIfJSReceiver(); }
3447 void BytecodeGraphBuilder::VisitJumpIfJSReceiverConstant() {
3451 void BytecodeGraphBuilder::VisitJumpIfNull() {
3455 void BytecodeGraphBuilder::VisitJumpIfNullConstant() {
3459 void BytecodeGraphBuilder::VisitJumpIfNotNull() {
3463 void BytecodeGraphBuilder::VisitJumpIfNotNullConstant() {
3467 void BytecodeGraphBuilder::VisitJumpIfUndefined() {
3471 void BytecodeGraphBuilder::VisitJumpIfUndefinedConstant() {
3475 void BytecodeGraphBuilder::VisitJumpIfNotUndefined() {
3479 void BytecodeGraphBuilder::VisitJumpIfNotUndefinedConstant() {
3483 void BytecodeGraphBuilder::VisitJumpIfUndefinedOrNull() {
3488 void BytecodeGraphBuilder::VisitJumpIfUndefinedOrNullConstant() {
3493 void BytecodeGraphBuilder::VisitJumpLoop() {
3498 void BytecodeGraphBuilder::BuildSwitchOnSmi(Node* condition) {
3511 void BytecodeGraphBuilder::VisitSwitchOnSmiNoFeedback() {
3519 void BytecodeGraphBuilder::VisitSetPendingMessage() {
3525 void BytecodeGraphBuilder::BuildReturn(const BytecodeLivenessState* liveness) {
3533 void BytecodeGraphBuilder::VisitReturn() {
3538 void BytecodeGraphBuilder::VisitDebugger() {
3546 void BytecodeGraphBuilder::Visit##Name() { UNREACHABLE(); }
3550 void BytecodeGraphBuilder::VisitIncBlockCounter() {
3562 void BytecodeGraphBuilder::VisitForInEnumerate() {
3569 void BytecodeGraphBuilder::VisitForInPrepare() {
3585 void BytecodeGraphBuilder::VisitForInContinue() {
3597 void BytecodeGraphBuilder::VisitForInNext() {
3626 void BytecodeGraphBuilder::VisitForInStep() {
3636 void BytecodeGraphBuilder::VisitGetIterator() {
3658 void BytecodeGraphBuilder::VisitSuspendGenerator() {
3723 void BytecodeGraphBuilder::BuildSwitchOnGeneratorState(
3766 void BytecodeGraphBuilder::VisitSwitchOnGeneratorState() {
3795 void BytecodeGraphBuilder::VisitResumeGenerator() {
3824 void BytecodeGraphBuilder::VisitWide() {
3829 void BytecodeGraphBuilder::VisitExtraWide() {
3834 void BytecodeGraphBuilder::VisitIllegal() {
3839 void BytecodeGraphBuilder::SwitchToMergeEnvironment(int current_offset) {
3851 void BytecodeGraphBuilder::BuildLoopHeaderEnvironment(int current_offset) {
3885 void BytecodeGraphBuilder::MergeIntoSuccessorEnvironment(int target_offset) {
3903 void BytecodeGraphBuilder::MergeControlToLeaveFunction(Node* exit) {
3908 void BytecodeGraphBuilder::BuildLoopExitsForBranch(int target_offset) {
3918 void BytecodeGraphBuilder::BuildLoopExitsUntilLoop(
3936 void BytecodeGraphBuilder::BuildLoopExitsForFunctionExit(
3941 void BytecodeGraphBuilder::BuildJump() {
3945 void BytecodeGraphBuilder::BuildJumpIf(Node* condition) {
3955 void BytecodeGraphBuilder::BuildJumpIfNot(Node* condition) {
3965 void BytecodeGraphBuilder::BuildJumpIfEqual(Node* comperand) {
3972 void BytecodeGraphBuilder::BuildJumpIfNotEqual(Node* comperand) {
3979 void BytecodeGraphBuilder::BuildJumpIfFalse() {
3991 void BytecodeGraphBuilder::BuildJumpIfTrue() {
4003 void BytecodeGraphBuilder::BuildJumpIfToBooleanTrue() {
4009 void BytecodeGraphBuilder::BuildJumpIfToBooleanFalse() {
4015 void BytecodeGraphBuilder::BuildJumpIfNotHole() {
4022 void BytecodeGraphBuilder::BuildJumpIfJSReceiver() {
4029 BytecodeGraphBuilder::TryBuildSimplifiedUnaryOp(const Operator* op,
4042 BytecodeGraphBuilder::TryBuildSimplifiedBinaryOp(const Operator* op, Node* left,
4055 BytecodeGraphBuilder::TryBuildSimplifiedForInNext(Node* receiver,
4069 BytecodeGraphBuilder::TryBuildSimplifiedForInPrepare(Node* enumerator,
4081 BytecodeGraphBuilder::TryBuildSimplifiedToNumber(Node* value,
4092 JSTypeHintLowering::LoweringResult BytecodeGraphBuilder::TryBuildSimplifiedCall(
4104 BytecodeGraphBuilder::TryBuildSimplifiedConstruct(const Operator* op,
4118 BytecodeGraphBuilder::TryBuildSimplifiedGetIterator(const Operator* op,
4132 BytecodeGraphBuilder::TryBuildSimplifiedLoadNamed(const Operator* op,
4143 BytecodeGraphBuilder::TryBuildSimplifiedLoadKeyed(const Operator* op,
4156 BytecodeGraphBuilder::TryBuildSimplifiedStoreNamed(const Operator* op,
4169 BytecodeGraphBuilder::TryBuildSimplifiedStoreKeyed(const Operator* op,
4182 void BytecodeGraphBuilder::ApplyEarlyReduction(
4197 Node** BytecodeGraphBuilder::EnsureInputBufferSize(int size) {
4206 void BytecodeGraphBuilder::ExitThenEnterExceptionHandlers(int current_offset) {
4233 Node* BytecodeGraphBuilder::MakeNode(const Operator* op, int value_input_count,
4325 Node* BytecodeGraphBuilder::NewPhi(int count, Node* input, Node* control) {
4333 Node* BytecodeGraphBuilder::NewEffectPhi(int count, Node* input,
4343 Node* BytecodeGraphBuilder::MergeControl(Node* control, Node* other) {
4364 Node* BytecodeGraphBuilder::MergeEffect(Node* value, Node* other,
4380 Node* BytecodeGraphBuilder::MergeValue(Node* value, Node* other,
4397 void BytecodeGraphBuilder::UpdateSourcePosition(int offset) {
4419 BytecodeGraphBuilder builder(