Home
last modified time | relevance | path

Searched refs:gate (Results 1 - 25 of 105) sorted by relevance

12345

/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dslowpath_lowering.h159 void Lower(GateRef gate);
160 void LowerAdd2(GateRef gate);
161 void LowerCreateIterResultObj(GateRef gate);
162 void SaveFrameToContext(GateRef gate);
163 void LowerSuspendGenerator(GateRef gate);
164 void LowerAsyncFunctionAwaitUncaught(GateRef gate);
165 void LowerAsyncFunctionResolve(GateRef gate);
166 void LowerAsyncFunctionReject(GateRef gate);
167 void LowerStGlobalVar(GateRef gate);
168 void LowerTryLdGlobalByName(GateRef gate);
[all...]
H A Dmcr_lowering.h35 GateRef VisitGate(GateRef gate) override;
36 StateDepend LowerConvert(StateDepend stateDepend, GateRef gate);
39 void DeleteStateSplit(GateRef gate);
40 void LowerArrayGuardianCheck(GateRef gate);
41 void LowerHeapObjectCheck(GateRef gate);
42 void LowerTaggedIsHeapObject(GateRef gate);
43 void LowerIsMarkerCellValid(GateRef gate);
44 void LowerIsSpecificObjectType(GateRef gate);
45 void LowerHClassStableArrayCheck(GateRef gate);
46 void LowerGetConstPool(GateRef gate);
[all...]
H A Dnumber_speculative_retype.cpp30 GateRef NumberSpeculativeRetype::SetOutputType(GateRef gate, GateType gateType) in SetOutputType() argument
32 TypeInfo type = GetOutputTypeInfo(gate); in SetOutputType()
43 SetOutputTypeInfo(gate, type); in SetOutputType()
44 return old == type ? Circuit::NullGate() : gate; in SetOutputType()
47 GateRef NumberSpeculativeRetype::SetOutputType(GateRef gate, ParamType paramType) in SetOutputType() argument
49 TypeInfo type = GetOutputTypeInfo(gate); in SetOutputType()
64 SetOutputTypeInfo(gate, type); in SetOutputType()
65 return old == type ? Circuit::NullGate() : gate; in SetOutputType()
68 GateRef NumberSpeculativeRetype::SetOutputType(GateRef gate, Representation rep) in SetOutputType() argument
70 TypeInfo type = GetOutputTypeInfo(gate); in SetOutputType()
83 SetOutputType(GateRef gate, TypeInfo type) SetOutputType() argument
90 GetNumberTypeInfo(GateRef gate) GetNumberTypeInfo() argument
137 VisitGate(GateRef gate) VisitGate() argument
358 VisitTypedBinaryOp(GateRef gate) VisitTypedBinaryOp() argument
376 VisitArrayFindOrFindIndex(GateRef gate) VisitArrayFindOrFindIndex() argument
394 VisitEqualCompareOrNotEqualCompare(GateRef gate) VisitEqualCompareOrNotEqualCompare() argument
403 VisitUndefinedEqualCompareOrUndefinedNotEqualCompare(GateRef gate) VisitUndefinedEqualCompareOrUndefinedNotEqualCompare() argument
422 VisitConstant(GateRef gate) VisitConstant() argument
448 VisitIntermediateValue(GateRef gate) VisitIntermediateValue() argument
460 VisitNumberToString(GateRef gate) VisitNumberToString() argument
475 VisitStringBinaryOp(GateRef gate) VisitStringBinaryOp() argument
488 VisitStringCompare(GateRef gate) VisitStringCompare() argument
513 VisitStringAdd(GateRef gate) VisitStringAdd() argument
533 GetOutputForPhi(GateRef gate, bool ignoreConstant) GetOutputForPhi() argument
563 VisitPhi(GateRef gate) VisitPhi() argument
596 ConvertTaggedToNJSValue(GateRef gate, TypeInfo output) ConvertTaggedToNJSValue() argument
617 VisitNumberBinaryOp(GateRef gate) VisitNumberBinaryOp() argument
654 VisitTypedUnaryOp(GateRef gate) VisitTypedUnaryOp() argument
676 VisitTypedConditionJump(GateRef gate) VisitTypedConditionJump() argument
689 VisitNumberCalculate(GateRef gate) VisitNumberCalculate() argument
703 VisitNumberCompare(GateRef gate) VisitNumberCompare() argument
715 VisitNumberShiftAndLogical(GateRef gate) VisitNumberShiftAndLogical() argument
727 VisitNumberMonocular(GateRef gate) VisitNumberMonocular() argument
739 VisitIntMonocular(GateRef gate) VisitIntMonocular() argument
754 VisitDoubleMonocular(GateRef gate) VisitDoubleMonocular() argument
777 VisitIsTrueOrFalse(GateRef gate) VisitIsTrueOrFalse() argument
806 VisitNumberNot(GateRef gate) VisitNumberNot() argument
831 VisitBooleanJump(GateRef gate) VisitBooleanJump() argument
854 VisitNumberRelated(GateRef gate, ParamType paramType) VisitNumberRelated() argument
884 VisitFrameState(GateRef gate) VisitFrameState() argument
918 VisitOthers(GateRef gate, GateType outputType) VisitOthers() argument
933 VisitOthersWithoutConvert(GateRef gate, GateType outputType) VisitOthersWithoutConvert() argument
941 VisitWithConstantValue(GateRef gate, size_t ignoreIndex) VisitWithConstantValue() argument
959 CheckAndConvertToBool(GateRef gate, GateType gateType) CheckAndConvertToBool() argument
994 ConvertForNumberBinaryOp(GateRef gate) ConvertForNumberBinaryOp() argument
1010 ConvertForNumberCompareOp(GateRef gate) ConvertForNumberCompareOp() argument
1023 ConvertForNumberShiftAndLogicalOperator(GateRef gate) ConvertForNumberShiftAndLogicalOperator() argument
1035 ConvertForIntOperator(GateRef gate, GateType leftType, GateType rightType) ConvertForIntOperator() argument
1047 ConvertForShiftAndLogicalOperator(GateRef gate, GateType leftType, GateType rightType) ConvertForShiftAndLogicalOperator() argument
1061 ConvertForDoubleOperator(GateRef gate, GateType leftType, GateType rightType) ConvertForDoubleOperator() argument
1073 TryConvertConstant(GateRef gate, bool needInt32) TryConvertConstant() argument
1105 TryConvertConstantToInt32(GateRef gate) TryConvertConstantToInt32() argument
1137 CheckTaggedAndConvertToInt32(GateRef gate, GateType gateType, OpType type) CheckTaggedAndConvertToInt32() argument
1161 CheckAndConvertToInt32(GateRef gate, GateType gateType, ConvertSupport support, OpType type) CheckAndConvertToInt32() argument
1213 CheckBoundAndConvertToInt32(GateRef gate, ConvertSupport support, OpType type) CheckBoundAndConvertToInt32() argument
1280 CheckAndConvertToFloat64(GateRef gate, GateType gateType, ConvertToNumber convert) CheckAndConvertToFloat64() argument
1346 CheckAndConvertToTagged(GateRef gate, GateType gateType, ConvertToNumber convert) CheckAndConvertToTagged() argument
1390 ConvertToTagged(GateRef gate) ConvertToTagged() argument
1419 VisitRangeCheckPredicate(GateRef gate) VisitRangeCheckPredicate() argument
1441 VisitIndexCheck(GateRef gate) VisitIndexCheck() argument
1466 VisitLoadArrayLength(GateRef gate) VisitLoadArrayLength() argument
1475 VisitLoadStringLength(GateRef gate) VisitLoadStringLength() argument
1491 VisitLoadMapSize(GateRef gate) VisitLoadMapSize() argument
1500 VisitLoadElement(GateRef gate) VisitLoadElement() argument
1540 VisitStoreElement(GateRef gate) VisitStoreElement() argument
1580 VisitStoreProperty(GateRef gate) VisitStoreProperty() argument
1614 VisitLoadProperty(GateRef gate) VisitLoadProperty() argument
1627 VisitTypeConvert(GateRef gate) VisitTypeConvert() argument
1670 VisitMathDoubleParamsBuiltin(GateRef gate) VisitMathDoubleParamsBuiltin() argument
1688 GetDoubleValueFromConst(GateRef gate) GetDoubleValueFromConst() argument
1704 VisitNumberOrGlobalBuiltin(GateRef gate) VisitNumberOrGlobalBuiltin() argument
1743 VisitNumberIsInteger(GateRef gate) VisitNumberIsInteger() argument
1770 VisitNumberParseFloat(GateRef gate) VisitNumberParseFloat() argument
1791 VisitNumberParseInt(GateRef gate) VisitNumberParseInt() argument
1800 VisitClz32Builtin(GateRef gate) VisitClz32Builtin() argument
1859 UpdateMeta(GateRef gate, TypeInfo newType, const GateMetaData *meta) UpdateMeta() argument
1874 VisitMathTaggedNumberParamsBuiltin(GateRef gate) VisitMathTaggedNumberParamsBuiltin() argument
1921 VisitMathTrunc(GateRef gate) VisitMathTrunc() argument
1936 VisitBigIntAsIntN(GateRef gate) VisitBigIntAsIntN() argument
1955 GetNumberInputTypeInfo(GateRef gate, bool skipTagged) GetNumberInputTypeInfo() argument
1983 SetNewInputForMathImul(GateRef gate, int idx, Label *exit) SetNewInputForMathImul() argument
1998 VisitMathImul(GateRef gate) VisitMathImul() argument
2020 VisitDataViewGet(GateRef gate) VisitDataViewGet() argument
2054 VisitBigIntConstructor(GateRef gate) VisitBigIntConstructor() argument
2092 VisitDataViewSet(GateRef gate) VisitDataViewSet() argument
2110 VisitDateGetTime(GateRef gate) VisitDateGetTime() argument
2120 VisitDateNow(GateRef gate) VisitDateNow() argument
2130 VisitArrayIncludesIndexOf(GateRef gate) VisitArrayIncludesIndexOf() argument
2149 VisitStringCharCodeAt(GateRef gate) VisitStringCharCodeAt() argument
2166 VisitMonoLoadPropertyOnProto(GateRef gate) VisitMonoLoadPropertyOnProto() argument
2187 VisitMonoCallGetterOnProto(GateRef gate) VisitMonoCallGetterOnProto() argument
2205 VisitMonoStoreProperty(GateRef gate) VisitMonoStoreProperty() argument
2252 VisitGate(GateRef gate) VisitGate() argument
[all...]
H A Dgate_accessor.h67 explicit Edge(GateRef gate, size_t index) : gate_(gate), index_(static_cast<uint32_t>(index)) {} in Edge() argument
93 // do not create new gate or modify self during iteration
150 // do not create new gate or modify self during iteration
298 GateRef gate; member
301 return GateAccessor(circuit).ConstUseBegin(gate); in begin()
311 GateRef gate; member
314 return GateAccessor(circuit).UseBegin(gate); in begin()
324 const GateRef gate; member
327 return GateAccessor(circuit).ConstInBegin(gate); in begin()
337 GateRef gate; global() member
363 Uses(GateRef gate) Uses() argument
674 InBegin(GateRef gate) InBegin() argument
679 InEnd(GateRef gate) InEnd() argument
745 const GateRef gate; global() member
[all...]
H A Dnumber_speculative_retype.h37 GateRef VisitGate(GateRef gate);
68 GateRef SetOutputType(GateRef gate, GateType type);
69 GateRef SetOutputType(GateRef gate, ParamType type);
70 GateRef SetOutputType(GateRef gate, Representation rep);
71 GateRef SetOutputType(GateRef gate, TypeInfo type);
72 TypeInfo GetNumberTypeInfo(GateRef gate);
73 GateRef VisitPhi(GateRef gate);
74 GateRef VisitArrayFindOrFindIndex(GateRef gate);
75 GateRef VisitConstant(GateRef gate);
76 GateRef VisitTypedBinaryOp(GateRef gate);
[all...]
H A Dinstruction_combine.h21 #include "ecmascript/compiler/gate.h"
36 GateRef VisitGate(GateRef gate) override;
39 GateRef VisitADD(GateRef gate);
40 GateRef VisitSUB(GateRef gate);
41 GateRef VisitMUL(GateRef gate);
42 GateRef VisitSDIV(GateRef gate);
43 GateRef VisitFDIV(GateRef gate);
44 GateRef VisitSMOD(GateRef gate);
45 GateRef VisitAND(GateRef gate);
46 GateRef VisitOR(GateRef gate);
[all...]
H A Dnative_inline_lowering.cpp33 std::optional<std::pair<size_t, bool>> NativeInlineLowering::GetCallInfo(GateRef gate) in GetCallInfo() argument
35 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in GetCallInfo()
54 CallRangeTypeInfoAccessor tia(compilationEnv_, circuit_, gate); in GetCallInfo()
58 CallThisRangeTypeInfoAccessor tia(compilationEnv_, circuit_, gate); in GetCallInfo()
70 for (const auto &gate : gateList) { in RunNativeInlineLowering()
71 auto op = acc_.GetOpCode(gate); in RunNativeInlineLowering()
75 auto optCallInfo = GetCallInfo(gate); in RunNativeInlineLowering()
80 CallTypeInfoAccessor ctia(compilationEnv_, circuit_, gate); in RunNativeInlineLowering()
87 TryInlineStringFromCharCode(gate, argc, skipThis); in RunNativeInlineLowering()
90 TryInlineStringCharCodeAt(gate, arg in RunNativeInlineLowering()
405 AddTraceLogs(GateRef gate, BuiltinsStubCSigns::ID id) AddTraceLogs() argument
417 TryInlineStringFromCharCode(GateRef gate, size_t argc, bool skipThis) TryInlineStringFromCharCode() argument
441 TryInlineStringCharCodeAt(GateRef gate, size_t argc, bool skipThis) TryInlineStringCharCodeAt() argument
467 TryInlineStringSubstring(GateRef gate, size_t argc, bool skipThis) TryInlineStringSubstring() argument
509 TryInlineStringSubStr(GateRef gate, size_t argc, bool skipThis) TryInlineStringSubStr() argument
551 TryInlineStringSlice(GateRef gate, size_t argc, bool skipThis) TryInlineStringSlice() argument
593 TryInlineNumberIsFinite(GateRef gate, size_t argc, bool skipThis) TryInlineNumberIsFinite() argument
611 TryInlineNumberIsInteger(GateRef gate, size_t argc, bool skipThis) TryInlineNumberIsInteger() argument
633 TryInlineNumberIsNaN(GateRef gate, size_t argc, bool skipThis) TryInlineNumberIsNaN() argument
651 TryInlineNumberParseFloat(GateRef gate, size_t argc, bool skipThis) TryInlineNumberParseFloat() argument
669 TryInlineNumberParseInt(GateRef gate, size_t argc, bool skipThis) TryInlineNumberParseInt() argument
691 TryInlineNumberIsSafeInteger(GateRef gate, size_t argc, bool skipThis) TryInlineNumberIsSafeInteger() argument
713 TryInlineBigIntAsIntN(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineBigIntAsIntN() argument
737 TryInlineTypedArrayIteratorBuiltin(GateRef gate, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineTypedArrayIteratorBuiltin() argument
760 TryInlineMathUnaryBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineMathUnaryBuiltin() argument
782 TryInlineWhitoutParamBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineWhitoutParamBuiltin() argument
800 TryInlineMathAbsBuiltin(GateRef gate, size_t argc, bool skipThis) TryInlineMathAbsBuiltin() argument
822 TryInlineMathClz32Builtin(GateRef gate, size_t argc, bool skipThis) TryInlineMathClz32Builtin() argument
842 TryInlineGlobalFiniteBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineGlobalFiniteBuiltin() argument
862 TryInlineGlobalNanBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineGlobalNanBuiltin() argument
882 TryInlineMathImulBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineMathImulBuiltin() argument
904 TryInlineMathBinaryBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) TryInlineMathBinaryBuiltin() argument
926 TryInlineMathMinMaxBuiltin(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, const GateMetaData* op, double defaultValue, bool skipThis) TryInlineMathMinMaxBuiltin() argument
955 TryInlineArrayBufferIsView(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayBufferIsView() argument
976 TryInlineDataViewGet(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineDataViewGet() argument
1009 TryInlineDataViewSet(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineDataViewSet() argument
1047 InlineStubBuiltin(GateRef gate, size_t builtinArgc, size_t realArgc, BuiltinsStubCSigns::ID id, const GateMetaData* op, bool skipThis) InlineStubBuiltin() argument
1089 TryInlineBigIntConstructor(GateRef gate, size_t argc, bool skipThis) TryInlineBigIntConstructor() argument
1112 TryInlineDateGetTime(GateRef gate, size_t argc, bool skipThis) TryInlineDateGetTime() argument
1135 TryInlineObjectIs(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineObjectIs() argument
1158 TryInlineObjectGetPrototypeOf(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineObjectGetPrototypeOf() argument
1181 TryInlineObjectGetProto(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineObjectGetProto() argument
1201 TryInlineObjectCreate(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineObjectCreate() argument
1223 TryInlineObjectIsPrototypeOf(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineObjectIsPrototypeOf() argument
1245 TryInlineObjectHasOwnProperty(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineObjectHasOwnProperty() argument
1267 TryInlineReflectGetPrototypeOf(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineReflectGetPrototypeOf() argument
1290 TryInlineReflectGet(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineReflectGet() argument
1317 TryInlineReflectHas(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineReflectHas() argument
1340 TryInlineReflectConstruct(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineReflectConstruct() argument
1376 TryInlineReflectApply(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineReflectApply() argument
1402 TryInlineFunctionPrototypeApply(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineFunctionPrototypeApply() argument
1425 TryInlineFunctionPrototypeBind(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineFunctionPrototypeBind() argument
1447 TryInlineFunctionPrototypeCall(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineFunctionPrototypeCall() argument
1471 TryInlineFunctionPrototypeHasInstance(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineFunctionPrototypeHasInstance() argument
1493 TryInlineIndexOfIncludes(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineIndexOfIncludes() argument
1528 TryInlineArrayIterator(GateRef gate, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayIterator() argument
1549 TryInlineArrayForEach(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayForEach() argument
1584 TryInlineArrayFindOrFindIndex(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayFindOrFindIndex() argument
1626 TryInlineArrayFilter(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayFilter() argument
1663 TryInlineArrayMap(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayMap() argument
1700 TryInlineArraySome(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArraySome() argument
1735 TryInlineArrayEvery(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayEvery() argument
1770 TryInlineArrayPop(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArrayPop() argument
1791 TryInlineArraySlice(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArraySlice() argument
1826 TryInlineArraySort(GateRef gate, size_t argc, BuiltinsStubCSigns::ID id, bool skipThis) TryInlineArraySort() argument
[all...]
H A Dgate_accessor.cpp26 size_t GateAccessor::GetNumIns(GateRef gate) const in GetNumIns()
28 Gate *gatePtr = circuit_->LoadGatePtr(gate); in GetNumIns()
32 MarkCode GateAccessor::GetMark(GateRef gate) const in GetMark()
34 return circuit_->GetMark(gate); in GetMark()
37 void GateAccessor::SetMark(GateRef gate, MarkCode mark) in SetMark() argument
39 circuit_->SetMark(gate, mark); in SetMark()
42 bool GateAccessor::IsFinished(GateRef gate) const in IsFinished()
44 return GetMark(gate) == MarkCode::FINISHED; in IsFinished()
47 bool GateAccessor::IsVisited(GateRef gate) const in IsVisited()
49 return GetMark(gate) in IsVisited()
62 SetFinished(GateRef gate) SetFinished() argument
67 SetVisited(GateRef gate) SetVisited() argument
72 SetPrevisit(GateRef gate) SetPrevisit() argument
194 SetArraySize(GateRef gate, uint32_t size) SetArraySize() argument
222 SetElementsKind(GateRef gate, ElementsKind kind) SetElementsKind() argument
249 SetStringStatus(GateRef gate, uint32_t type) SetStringStatus() argument
342 TypedOpIsTypedArray(GateRef gate, TypedOpKind kind) const TypedOpIsTypedArray() argument
629 UpdateMethodOffset(GateRef gate, uint32_t methodOffset) UpdateMethodOffset() argument
647 TrySetPGOType(GateRef gate, PGOTypeRef type) TrySetPGOType() argument
666 TrySetArrayElementsLength(GateRef gate, uint32_t length) TrySetArrayElementsLength() argument
685 TrySetRegionSpaceFlag(GateRef gate, RegionSpaceFlag flag) TrySetRegionSpaceFlag() argument
741 TrySetElementsKind(GateRef gate, ElementsKind kind) TrySetElementsKind() argument
750 TrySetTransitionElementsKind(GateRef gate, ElementsKind kind) TrySetTransitionElementsKind() argument
759 TrySetOnHeapMode(GateRef gate, OnHeapMode onHeapMode) const TrySetOnHeapMode() argument
801 GateRef gate = circuit_->GetGateRefById(id); PrintById() local
835 GetValueIn(GateRef gate, size_t idx) const GetValueIn() argument
864 GetIn(GateRef gate, size_t idx) const GetIn() argument
869 GetState(GateRef gate, size_t idx) const GetState() argument
875 GetInStates(GateRef gate, std::vector<GateRef>& ins) const GetInStates() argument
883 GetIns(GateRef gate, std::vector<GateRef>& ins) const GetIns() argument
891 GetOuts(GateRef gate, std::vector<GateRef>& outs) const GetOuts() argument
912 DeleteGateIfNoUse(GateRef gate) DeleteGateIfNoUse() argument
919 GetOutStates(GateRef gate, std::vector<GateRef>& outStates) const GetOutStates() argument
938 GetStateUses(GateRef gate, std::vector<GateRef> &stateUses) GetStateUses() argument
949 GetDependUses(GateRef gate, std::vector<GateRef> &dependUses) GetDependUses() argument
960 GetValueUses(GateRef gate, std::vector<GateRef> &valueUses) GetValueUses() argument
971 GetValueUsesCount(GateRef gate) GetValueUsesCount() argument
988 IsInGateNull(GateRef gate, size_t idx) const IsInGateNull() argument
1079 IsConstantValue(GateRef gate, uint64_t value) const IsConstantValue() argument
1088 IsConstantTaggedValue(GateRef gate, uint64_t value) const IsConstantTaggedValue() argument
1152 GetDep(GateRef gate, size_t idx) const GetDep() argument
1170 SetDep(GateRef gate, GateRef depGate, size_t idx) SetDep() argument
1193 SetGateType(GateRef gate, GateType gt) SetGateType() argument
1358 DecreaseIn(GateRef gate, size_t index) DecreaseIn() argument
1363 NewIn(GateRef gate, size_t idx, GateRef in) NewIn() argument
1394 ReplaceIn(GateRef gate, size_t index, GateRef in) ReplaceIn() argument
1399 DeleteIn(GateRef gate, size_t idx) DeleteIn() argument
1406 ReplaceStateIn(GateRef gate, GateRef in, size_t index) ReplaceStateIn() argument
1412 ReplaceDependIn(GateRef gate, GateRef in, size_t index) ReplaceDependIn() argument
1419 ReplaceOrNewDependIn(GateRef gate, GateRef in, size_t index) ReplaceOrNewDependIn() argument
1431 ReplaceValueIn(GateRef gate, GateRef in, size_t index) ReplaceValueIn() argument
1438 DeleteGate(GateRef gate) DeleteGate() argument
1448 SetMachineType(GateRef gate, MachineType type) SetMachineType() argument
1530 IsStateIn(GateRef gate, size_t index) const IsStateIn() argument
1537 IsDependIn(GateRef gate, size_t index) const IsDependIn() argument
1544 IsValueIn(GateRef gate, size_t index) const IsValueIn() argument
1551 IsFrameStateIn(GateRef gate, size_t index) const IsFrameStateIn() argument
1559 ReplaceGate(GateRef gate, GateRef state, GateRef depend, GateRef value) ReplaceGate() argument
1591 ReplaceGate(GateRef gate, GateRef replacement) ReplaceGate() argument
1606 ReplaceGate(GateRef gate, StateDepend stateDepend, GateRef replacement) ReplaceGate() argument
1629 ReplaceControlGate(GateRef gate, GateRef newState) ReplaceControlGate() argument
1679 GetFrameStateDependIn(GateRef gate, GateRef &dependIn) GetFrameStateDependIn() argument
1777 ReplaceFrameStateIn(GateRef gate, GateRef in) ReplaceFrameStateIn() argument
1832 SetMetaData(GateRef gate, const GateMetaData* meta) SetMetaData() argument
1900 GetDependSelectorFromMerge(GateRef gate) GetDependSelectorFromMerge() argument
1926 IsHeapObjectFromElementsKind(GateRef gate) IsHeapObjectFromElementsKind() argument
1947 IsConstString(GateRef gate) IsConstString() argument
1957 IsSingleCharGate(GateRef gate) IsSingleCharGate() argument
1987 GetStringIdFromLdaStrGate(GateRef gate) GetStringIdFromLdaStrGate() argument
1994 IsLoopBackUse(GateRef gate, const UseIterator &useIt) const IsLoopBackUse() argument
2025 SetStoreNoBarrier(GateRef gate, bool isNoBarrier) SetStoreNoBarrier() argument
2048 GetFrameValue(GateRef gate) GetFrameValue() argument
[all...]
H A Dtyped_native_inline_lowering.h40 GateRef VisitGate(GateRef gate) override;
54 void ReplaceGateWithPendingException(GateRef gate, GateRef glue, GateRef state, GateRef depend, GateRef value);
55 void LowerGeneralUnaryMath(GateRef gate, RuntimeStubCSigns::ID stubId);
56 void LowerMathAtan2(GateRef gate);
57 void LowerTrunc(GateRef gate);
59 void LowerMathCeilFloor(GateRef gate);
61 void LowerMathCeilFloorWithIntrinsic(GateRef gate);
63 void LowerMathCeilFloorWithRuntimeCall(GateRef gate);
64 void LowerMathPow(GateRef gate);
65 void LowerMathExp(GateRef gate);
[all...]
H A Dntype_bytecode_lowering.cpp32 for (const auto &gate : gateList) { in RunNTypeBytecodeLowering()
33 auto op = acc_.GetOpCode(gate); in RunNTypeBytecodeLowering()
35 Lower(gate); in RunNTypeBytecodeLowering()
52 void NTypeBytecodeLowering::Lower(GateRef gate) in Lower() argument
54 [[maybe_unused]] auto scopedGate = circuit_->VisitGateBegin(gate); in Lower()
55 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in Lower()
57 Environment env(gate, circuit_, &builder_); in Lower()
61 LowerNTypedCreateEmptyArray(gate); in Lower()
66 LowerNTypedCreateArrayWithBuffer(gate); in Lower()
71 LowerNTypedCopyRestArgs(gate); in Lower()
120 LowerThrowUndefinedIfHoleWithName(GateRef gate) LowerThrowUndefinedIfHoleWithName() argument
128 LowerThrowIfSuperNotCorrectCall(GateRef gate) LowerThrowIfSuperNotCorrectCall() argument
144 LowerThrowIfNotObject(GateRef gate) LowerThrowIfNotObject() argument
152 LowerLdLexVar(GateRef gate) LowerLdLexVar() argument
175 LowerStLexVar(GateRef gate) LowerStLexVar() argument
199 LowerNTypedCreateEmptyArray(GateRef gate) LowerNTypedCreateEmptyArray() argument
211 LowerNTypedCreateArrayWithBuffer(GateRef gate) LowerNTypedCreateArrayWithBuffer() argument
235 LowerNTypedCopyRestArgs(GateRef gate) LowerNTypedCopyRestArgs() argument
246 LowerNTypedGetUnmappedArgs(GateRef gate) LowerNTypedGetUnmappedArgs() argument
257 LowerNTypedStownByIndex(GateRef gate) LowerNTypedStownByIndex() argument
282 AddProfiling(GateRef gate) AddProfiling() argument
332 LowerLdLocalMoudleVar(GateRef gate) LowerLdLocalMoudleVar() argument
341 LowerStModuleVar(GateRef gate) LowerStModuleVar() argument
351 LowerNTypedStOwnByName(GateRef gate) LowerNTypedStOwnByName() argument
[all...]
H A Dnumber_speculative_lowering.cpp35 for (auto gate : gateList) { in Run()
36 auto op = acc_.GetOpCode(gate); in Run()
39 rangeGuardGates_.push_back(gate); in Run()
43 VisitGate(gate); in Run()
52 void NumberSpeculativeLowering::VisitGate(GateRef gate) in VisitGate() argument
54 OpCode op = acc_.GetOpCode(gate); in VisitGate()
57 VisitTypedBinaryOp(gate); in VisitGate()
61 VisitTypedUnaryOp(gate); in VisitGate()
65 VisitTypedConditionJump(gate); in VisitGate()
69 VisitPhi(gate); in VisitGate()
118 VisitTypedBinaryOp(GateRef gate) VisitTypedBinaryOp() argument
146 VisitEqualOrNotEqual(GateRef gate) VisitEqualOrNotEqual() argument
155 VisitStrictEqualOrStrictNotEqual(GateRef gate) VisitStrictEqualOrStrictNotEqual() argument
164 VisitNumberBinaryOp(GateRef gate) VisitNumberBinaryOp() argument
249 VisitTypedUnaryOp(GateRef gate) VisitTypedUnaryOp() argument
283 VisitTypedConditionJump(GateRef gate) VisitTypedConditionJump() argument
295 VisitNumberCalculate(GateRef gate) VisitNumberCalculate() argument
316 VisitNumberCompare(GateRef gate) VisitNumberCompare() argument
335 VisitNumberShift(GateRef gate) VisitNumberShift() argument
347 VisitNumberLogical(GateRef gate) VisitNumberLogical() argument
358 VisitNumberDiv(GateRef gate) VisitNumberDiv() argument
379 VisitNumberMod(GateRef gate) VisitNumberMod() argument
409 VisitNumberMonocular(GateRef gate) VisitNumberMonocular() argument
431 VisitNumberNot(GateRef gate) VisitNumberNot() argument
442 VisitIsTrueOrFalse(GateRef gate, bool flag) VisitIsTrueOrFalse() argument
454 VisitBooleanJump(GateRef gate) VisitBooleanJump() argument
470 VisitUndefinedStrictEqOrUndefinedStrictNotEq(GateRef gate) VisitUndefinedStrictEqOrUndefinedStrictNotEq() argument
489 VisitUndefinedEqOrUndefinedNotEq(GateRef gate) VisitUndefinedEqOrUndefinedNotEq() argument
506 VisitConstant(GateRef gate) VisitConstant() argument
526 VisitPhi(GateRef gate) VisitPhi() argument
556 VisitRangeCheckPredicate(GateRef gate) VisitRangeCheckPredicate() argument
562 VisitIndexCheck(GateRef gate) VisitIndexCheck() argument
568 VisitLoadArrayLength(GateRef gate) VisitLoadArrayLength() argument
574 VisitLoadStringLength(GateRef gate) VisitLoadStringLength() argument
580 VisitLoadMapSize(GateRef gate) VisitLoadMapSize() argument
586 VisitLoadElement(GateRef gate) VisitLoadElement() argument
615 VisitLoadProperty(GateRef gate) VisitLoadProperty() argument
654 VisitRangeGuard(GateRef gate) VisitRangeGuard() argument
891 UpdateRange(GateRef gate, const RangeInfo& range) UpdateRange() argument
924 VisitStringBinaryOp(GateRef gate) VisitStringBinaryOp() argument
943 VisitStringCompare(GateRef gate) VisitStringCompare() argument
958 VisitStringAdd(GateRef gate) VisitStringAdd() argument
972 VisitLoadPropertyOnProto(GateRef gate) VisitLoadPropertyOnProto() argument
1035 VisitRound(GateRef gate) VisitRound() argument
[all...]
H A Dtyped_hcr_lowering.h121 GateRef VisitGate(GateRef gate) override;
124 void Lower(GateRef gate);
125 void LowerType(GateRef gate);
126 void LowerPrimitiveTypeCheck(GateRef gate);
127 void LowerTypeConvert(GateRef gate);
129 void LowerIntCheck(GateRef gate);
130 void LowerDoubleCheck(GateRef gate);
131 void LowerNumberCheck(GateRef gate);
132 void LowerBooleanCheck(GateRef gate);
133 void LowerIndexCheck(GateRef gate);
[all...]
H A Ddead_code_elimination.cpp20 GateRef DeadCodeElimination::VisitGate(GateRef gate) in VisitGate() argument
22 auto opcode = acc_.GetOpCode(gate); in VisitGate()
26 return EliminateBranch(gate); in VisitGate()
29 return EliminateMergeAndLoopBegin(gate); in VisitGate()
31 return EliminateDependSelector(gate); in VisitGate()
33 return EliminateIfException(gate); in VisitGate()
35 return EliminateLoopExit(gate); in VisitGate()
37 return EliminateGate(gate); in VisitGate()
42 GateRef DeadCodeElimination::StateIsDead(GateRef gate) in StateIsDead() argument
44 auto state = acc_.GetState(gate); in StateIsDead()
51 EliminateDependSelector(GateRef gate) EliminateDependSelector() argument
71 EliminateIfException(GateRef gate) EliminateIfException() argument
84 EliminateLoopExit(GateRef gate) EliminateLoopExit() argument
93 EliminateBranch(GateRef gate) EliminateBranch() argument
113 DecreaseAllSelectors(GateRef gate, size_t count) DecreaseAllSelectors() argument
122 EliminateMergeAndLoopBegin(GateRef gate) EliminateMergeAndLoopBegin() argument
166 TryFindAndDeleteLoopExit(GateRef gate) TryFindAndDeleteLoopExit() argument
176 DeleteLoopExit(GateRef gate) DeleteLoopExit() argument
189 EliminateGate(GateRef gate) EliminateGate() argument
[all...]
H A Dslowpath_lowering.cpp51 for (const auto &gate : gateList) { in CallRuntimeLowering()
52 auto op = acc_.GetOpCode(gate); in CallRuntimeLowering()
53 [[maybe_unused]] auto scopedGate = circuit_->VisitGateBegin(gate); in CallRuntimeLowering()
56 Lower(gate); in CallRuntimeLowering()
60 Environment env(gate, circuit_, &builder_); in CallRuntimeLowering()
61 LowerExceptionHandler(gate); in CallRuntimeLowering()
65 LowerConstruct(gate); in CallRuntimeLowering()
68 LowerCallInternal(gate); in CallRuntimeLowering()
71 LowerCallNew(gate); in CallRuntimeLowering()
74 LowerTypedCall(gate); in CallRuntimeLowering()
119 LowerGetEnv(GateRef gate) LowerGetEnv() argument
128 DeleteLoopExit(GateRef gate) DeleteLoopExit() argument
134 DeleteLoopExitValue(GateRef gate) DeleteLoopExitValue() argument
229 Lower(GateRef gate) Lower() argument
808 LowerCallStubWithIC(GateRef gate, int sign, const std::vector<GateRef> &args) LowerCallStubWithIC() argument
821 LowerCallRuntime(GateRef gate, int index, const std::vector<GateRef> &args, bool useLabel) LowerCallRuntime() argument
835 LowerCallNGCRuntime(GateRef gate, int index, const std::vector<GateRef> &args, bool useLabel) LowerCallNGCRuntime() argument
849 LowerAdd2(GateRef gate) LowerAdd2() argument
858 LowerCreateIterResultObj(GateRef gate) LowerCreateIterResultObj() argument
869 SaveFrameToContext(GateRef gate) SaveFrameToContext() argument
948 LowerSuspendGenerator(GateRef gate) LowerSuspendGenerator() argument
960 LowerAsyncFunctionAwaitUncaught(GateRef gate) LowerAsyncFunctionAwaitUncaught() argument
969 LowerAsyncFunctionResolve(GateRef gate) LowerAsyncFunctionResolve() argument
979 LowerAsyncFunctionReject(GateRef gate) LowerAsyncFunctionReject() argument
989 LowerTryLdGlobalByName(GateRef gate) LowerTryLdGlobalByName() argument
997 LowerStGlobalVar(GateRef gate) LowerStGlobalVar() argument
1006 LowerGetIterator(GateRef gate) LowerGetIterator() argument
1012 LowerGetAsyncIterator(GateRef gate) LowerGetAsyncIterator() argument
1018 LowerCallArg0(GateRef gate) LowerCallArg0() argument
1032 LowerCallthisrangeImm8Imm8V8(GateRef gate) LowerCallthisrangeImm8Imm8V8() argument
1058 LowerWideCallthisrangePrefImm16V8(GateRef gate) LowerWideCallthisrangePrefImm16V8() argument
1084 LowerCallSpread(GateRef gate) LowerCallSpread() argument
1096 LowerCallrangeImm8Imm8V8(GateRef gate) LowerCallrangeImm8Imm8V8() argument
1118 LowerNewObjApply(GateRef gate) LowerNewObjApply() argument
1128 LowerThrow(GateRef gate) LowerThrow() argument
1138 LowerThrowConstAssignment(GateRef gate) LowerThrowConstAssignment() argument
1147 LowerThrowThrowNotExists(GateRef gate) LowerThrowThrowNotExists() argument
1154 LowerThrowPatternNonCoercible(GateRef gate) LowerThrowPatternNonCoercible() argument
1161 LowerThrowIfNotObject(GateRef gate) LowerThrowIfNotObject() argument
1187 LowerThrowUndefinedIfHole(GateRef gate) LowerThrowUndefinedIfHole() argument
1211 LowerThrowUndefinedIfHoleWithName(GateRef gate) LowerThrowUndefinedIfHoleWithName() argument
1240 LowerThrowIfSuperNotCorrectCall(GateRef gate) LowerThrowIfSuperNotCorrectCall() argument
1249 LowerThrowDeleteSuperProperty(GateRef gate) LowerThrowDeleteSuperProperty() argument
1279 LowerLdSymbol(GateRef gate) LowerLdSymbol() argument
1286 LowerLdGlobal(GateRef gate) LowerLdGlobal() argument
1296 LowerSub2(GateRef gate) LowerSub2() argument
1305 LowerMul2(GateRef gate) LowerMul2() argument
1314 LowerDiv2(GateRef gate) LowerDiv2() argument
1323 LowerMod2(GateRef gate) LowerMod2() argument
1332 LowerEq(GateRef gate) LowerEq() argument
1341 LowerNotEq(GateRef gate) LowerNotEq() argument
1350 LowerLess(GateRef gate) LowerLess() argument
1359 LowerLessEq(GateRef gate) LowerLessEq() argument
1368 LowerGreater(GateRef gate) LowerGreater() argument
1377 LowerGreaterEq(GateRef gate) LowerGreaterEq() argument
1386 LowerGetPropIterator(GateRef gate) LowerGetPropIterator() argument
1395 LowerCloseIterator(GateRef gate) LowerCloseIterator() argument
1404 LowerInc(GateRef gate) LowerInc() argument
1413 LowerDec(GateRef gate) LowerDec() argument
1422 LowerToNumber(GateRef gate) LowerToNumber() argument
1440 LowerNeg(GateRef gate) LowerNeg() argument
1449 LowerNot(GateRef gate) LowerNot() argument
1458 LowerShl2(GateRef gate) LowerShl2() argument
1467 LowerShr2(GateRef gate) LowerShr2() argument
1476 LowerAshr2(GateRef gate) LowerAshr2() argument
1485 LowerAnd2(GateRef gate) LowerAnd2() argument
1494 LowerOr2(GateRef gate) LowerOr2() argument
1503 LowerXor2(GateRef gate) LowerXor2() argument
1512 LowerDelObjProp(GateRef gate) LowerDelObjProp() argument
1526 LowerExp(GateRef gate) LowerExp() argument
1535 LowerIsIn(GateRef gate) LowerIsIn() argument
1544 LowerInstanceof(GateRef gate) LowerInstanceof() argument
1553 LowerFastStrictNotEqual(GateRef gate) LowerFastStrictNotEqual() argument
1564 LowerFastStrictEqual(GateRef gate) LowerFastStrictEqual() argument
1573 LowerCreateEmptyArray(GateRef gate) LowerCreateEmptyArray() argument
1580 LowerCreateEmptyObject(GateRef gate) LowerCreateEmptyObject() argument
1586 LowerCreateArrayWithBuffer(GateRef gate) LowerCreateArrayWithBuffer() argument
1596 LowerUpdateArrayHClassAtDefine(GateRef gate, GateRef array) LowerUpdateArrayHClassAtDefine() argument
1610 LowerCreateObjectWithBuffer(GateRef gate) LowerCreateObjectWithBuffer() argument
1626 LowerStModuleVar(GateRef gate) LowerStModuleVar() argument
1637 LowerSetGeneratorState(GateRef gate) LowerSetGeneratorState() argument
1648 LowerGetTemplateObject(GateRef gate) LowerGetTemplateObject() argument
1658 LowerSetObjectWithProto(GateRef gate) LowerSetObjectWithProto() argument
1669 LowerLdBigInt(GateRef gate) LowerLdBigInt() argument
1683 LowerToNumeric(GateRef gate) LowerToNumeric() argument
1701 LowerDynamicImport(GateRef gate) LowerDynamicImport() argument
1711 LowerLdLocalModuleVarByIndex(GateRef gate) LowerLdLocalModuleVarByIndex() argument
1721 LowerExternalModule(GateRef gate) LowerExternalModule() argument
1730 LowerGetModuleNamespace(GateRef gate) LowerGetModuleNamespace() argument
1740 GetTaggedArrayFromValueIn(Environment *env, GateRef gate, size_t length) GetTaggedArrayFromValueIn() argument
1751 LowerSuperCall(GateRef gate) LowerSuperCall() argument
1786 LowerSuperCallArrow(GateRef gate) LowerSuperCallArrow() argument
1802 LowerSuperCallSpread(GateRef gate) LowerSuperCallSpread() argument
1848 GateRef gate = args[0]; // 0: index of gate LowerFastSuperCallWithArgArray() local
1865 GateRef gate = args[0]; // 0: index of gate LowerFastSuperCall() local
1880 CallNGCRuntimeWithCallTimer(RTSTUB_ID(JSFastCallWithArgV), gate, superFunc, result, LowerFastSuperCall() local
1884 CallNGCRuntimeWithCallTimer(RTSTUB_ID(JSFastCallWithArgVAndPushArgv), gate, superFunc, result, LowerFastSuperCall() local
1897 CallNGCRuntimeWithCallTimer(RTSTUB_ID(JSCallWithArgV), gate, superFunc, result, callArgs); LowerFastSuperCall() local
1900 CallNGCRuntimeWithCallTimer(RTSTUB_ID(JSCallWithArgVAndPushArgv), gate, superFunc, result, callArgs); LowerFastSuperCall() local
1904 CallNGCRuntimeWithCallTimer(RTSTUB_ID(SuperCallWithArgV), gate, superFunc, result, LowerFastSuperCall() local
1909 CallNGCRuntimeWithCallTimer(int index, GateRef gate, GateRef func, Variable &result, const std::vector<GateRef> &args) CallNGCRuntimeWithCallTimer() argument
1944 LowerSuperCallForwardAllArgs(GateRef gate) LowerSuperCallForwardAllArgs() argument
2001 GateRef gate = args[0]; // 0: gate GenerateSuperCallForwardAllArgsWithoutArgv() local
2026 LowerIsTrueOrFalse(GateRef gate, bool flag) LowerIsTrueOrFalse() argument
2044 LowerNewObjRange(GateRef gate) LowerNewObjRange() argument
2088 IsDependIfStateMent(GateRef gate, size_t idx) IsDependIfStateMent() argument
2094 LowerConditionJump(GateRef gate, bool isEqualJump) LowerConditionJump() argument
2144 LowerGetNextPropName(GateRef gate) LowerGetNextPropName() argument
2185 LowerCopyDataProperties(GateRef gate) LowerCopyDataProperties() argument
2196 LowerCreateObjectWithExcludedKeys(GateRef gate) LowerCreateObjectWithExcludedKeys() argument
2211 LowerCreateRegExpWithLiteral(GateRef gate) LowerCreateRegExpWithLiteral() argument
2227 LowerStOwnByValue(GateRef gate) LowerStOwnByValue() argument
2242 LowerStOwnByIndex(GateRef gate) LowerStOwnByIndex() argument
2257 LowerStOwnByName(GateRef gate) LowerStOwnByName() argument
2277 LowerNewLexicalEnv(GateRef gate) LowerNewLexicalEnv() argument
2287 LowerNewLexicalEnvWithName(GateRef gate) LowerNewLexicalEnvWithName() argument
2300 LowerNewSendableEnv(GateRef gate) LowerNewSendableEnv() argument
2312 LowerPopLexicalEnv(GateRef gate) LowerPopLexicalEnv() argument
2320 LowerLdSuperByValue(GateRef gate) LowerLdSuperByValue() argument
2332 LowerStSuperByValue(GateRef gate) LowerStSuperByValue() argument
2345 LowerTryStGlobalByName(GateRef gate) LowerTryStGlobalByName() argument
2354 LowerStConstToGlobalRecord(GateRef gate, bool isConst) LowerStConstToGlobalRecord() argument
2372 LowerStOwnByValueWithNameSet(GateRef gate) LowerStOwnByValueWithNameSet() argument
2389 LowerStOwnByNameWithNameSet(GateRef gate) LowerStOwnByNameWithNameSet() argument
2411 LowerLdGlobalVar(GateRef gate) LowerLdGlobalVar() argument
2419 LowerLdObjByName(GateRef gate) LowerLdObjByName() argument
2428 LowerStObjByName(GateRef gate, bool isThis) LowerStObjByName() argument
2445 LowerDefineGetterSetterByValue(GateRef gate) LowerDefineGetterSetterByValue() argument
2461 LowerLdObjByIndex(GateRef gate) LowerLdObjByIndex() argument
2474 LowerStObjByIndex(GateRef gate) LowerStObjByIndex() argument
2487 LowerLdObjByValue(GateRef gate, bool isThis) LowerLdObjByValue() argument
2503 LowerStObjByValue(GateRef gate, bool isThis) LowerStObjByValue() argument
2523 LowerLdSuperByName(GateRef gate) LowerLdSuperByName() argument
2538 LowerStSuperByName(GateRef gate) LowerStSuperByName() argument
2553 LowerCreateGeneratorObj(GateRef gate) LowerCreateGeneratorObj() argument
2562 LowerCreateAsyncGeneratorObj(GateRef gate) LowerCreateAsyncGeneratorObj() argument
2571 LowerAsyncGeneratorResolve(GateRef gate) LowerAsyncGeneratorResolve() argument
2583 LowerAsyncGeneratorReject(GateRef gate) LowerAsyncGeneratorReject() argument
2592 LowerStArraySpread(GateRef gate) LowerStArraySpread() argument
2602 LowerLdLexVar(GateRef gate) LowerLdLexVar() argument
2635 LowerLdSendableVar(GateRef gate) LowerLdSendableVar() argument
2670 LowerStLexVar(GateRef gate) LowerStLexVar() argument
2705 LowerStSendableVar(GateRef gate) LowerStSendableVar() argument
2742 LowerDefineClassWithBuffer(GateRef gate) LowerDefineClassWithBuffer() argument
2771 LowerDefineFunc(GateRef gate) LowerDefineFunc() argument
2805 LowerAsyncFunctionEnter(GateRef gate) LowerAsyncFunctionEnter() argument
2814 LowerTypeof(GateRef gate) LowerTypeof() argument
2962 LowerStoreRegister(GateRef gate, GateRef arrayGate) LowerStoreRegister() argument
2971 LowerResumeGenerator(GateRef gate) LowerResumeGenerator() argument
3021 LowerGetResumeMode(GateRef gate) LowerGetResumeMode() argument
3058 LowerDefineMethod(GateRef gate) LowerDefineMethod() argument
3087 LowerGetUnmappedArgs(GateRef gate) LowerGetUnmappedArgs() argument
3095 LowerCopyRestArgs(GateRef gate) LowerCopyRestArgs() argument
3107 LowerWideLdPatchVar(GateRef gate) LowerWideLdPatchVar() argument
3115 LowerWideStPatchVar(GateRef gate) LowerWideStPatchVar() argument
3123 AddProfiling(GateRef gate, bool skipGenerator) AddProfiling() argument
3161 LowerCallthis0Imm8V8(GateRef gate) LowerCallthis0Imm8V8() argument
3175 LowerCallArg1Imm8V8(GateRef gate) LowerCallArg1Imm8V8() argument
3190 LowerWideCallrangePrefImm16V8(GateRef gate) LowerWideCallrangePrefImm16V8() argument
3225 LowerCallThisArg1(GateRef gate) LowerCallThisArg1() argument
3239 LowerCallargs2Imm8V8V8(GateRef gate) LowerCallargs2Imm8V8V8() argument
3256 LowerCallargs3Imm8V8V8(GateRef gate) LowerCallargs3Imm8V8V8() argument
3274 LowerCallthis2Imm8V8V8V8(GateRef gate) LowerCallthis2Imm8V8V8V8() argument
3291 LowerCallthis3Imm8V8V8V8V8(GateRef gate) LowerCallthis3Imm8V8V8V8V8() argument
3308 LowerLdThisByName(GateRef gate) LowerLdThisByName() argument
3323 LowerConstruct(GateRef gate) LowerConstruct() argument
3352 LowerCallInternal(GateRef gate) LowerCallInternal() argument
3377 LowerCallNew(GateRef gate) LowerCallNew() argument
3406 LowerNewFastCall(GateRef gate, GateRef glue, GateRef func, bool needPushArgv, const std::vector<GateRef> &args, const std::vector<GateRef> &argsFastCall, Variable *result, Label *exit) LowerNewFastCall() argument
3471 LowerFastCall(GateRef gate, GateRef glue, GateRef func, GateRef argc, const std::vector<GateRef> &args, const std::vector<GateRef> &argsFastCall, Variable *result, Label *exit, bool isNew) LowerFastCall() argument
3579 LowerTypedCall(GateRef gate) LowerTypedCall() argument
3596 LowerTypedFastCall(GateRef gate) LowerTypedFastCall() argument
3613 LowerCheckSafePointAndStackOver(GateRef gate) LowerCheckSafePointAndStackOver() argument
3646 LowerLdPrivateProperty(GateRef gate) LowerLdPrivateProperty() argument
3662 LowerStPrivateProperty(GateRef gate) LowerStPrivateProperty() argument
3679 LowerTestIn(GateRef gate) LowerTestIn() argument
3695 LowerNotifyConcurrentResult(GateRef gate) LowerNotifyConcurrentResult() argument
3704 LowerDefineFieldByName(GateRef gate) LowerDefineFieldByName() argument
3722 LowerDefineFieldByValue(GateRef gate) LowerDefineFieldByValue() argument
3735 LowerDefineFieldByIndex(GateRef gate) LowerDefineFieldByIndex() argument
3748 LowerToPropertyKey(GateRef gate) LowerToPropertyKey() argument
3759 LowerCreatePrivateProperty(GateRef gate) LowerCreatePrivateProperty() argument
3776 LowerDefinePrivateProperty(GateRef gate) LowerDefinePrivateProperty() argument
3792 LowerDefineSendableClass(GateRef gate) LowerDefineSendableClass() argument
3809 LowerLdSendableClass(GateRef gate) LowerLdSendableClass() argument
3817 LowerSendableExternalModule(GateRef gate) LowerSendableExternalModule() argument
3827 LowerCallInit(GateRef gate) LowerCallInit() argument
3842 LowerLdStr(GateRef gate) LowerLdStr() argument
3853 LowerGetSharedConstPool(GateRef gate) LowerGetSharedConstPool() argument
3877 LowerGetUnsharedConstPool(GateRef gate) LowerGetUnsharedConstPool() argument
3915 LowerLdLazyExternalModuleVar(GateRef gate) LowerLdLazyExternalModuleVar() argument
3925 LowerLdLazySendableExternalModuleVar(GateRef gate) LowerLdLazySendableExternalModuleVar() argument
[all...]
H A Dnumber_speculative_lowering.h36 void VisitGate(GateRef gate);
37 void VisitTypedBinaryOp(GateRef gate);
38 void VisitNumberBinaryOp(GateRef gate);
39 void VisitStringBinaryOp(GateRef gate);
40 void VisitTypedUnaryOp(GateRef gate);
41 void VisitNumberNot(GateRef gate);
42 void VisitTypedConditionJump(GateRef gate);
43 void VisitConstant(GateRef gate);
44 void VisitPhi(GateRef gate);
45 void VisitUndefinedStrictEqOrUndefinedStrictNotEq(GateRef gate);
[all...]
H A Dir_builder.h51 V(Call, (GateRef gate, const std::vector<GateRef> &inList, OpCode op)) \
52 V(RuntimeCall, (GateRef gate, const std::vector<GateRef> &inList)) \
53 V(RuntimeCallWithArgv, (GateRef gate, const std::vector<GateRef> &inList)) \
54 V(ASMCallBarrier, (GateRef gate, const std::vector<GateRef> &inList)) \
55 V(NoGcRuntimeCall, (GateRef gate, const std::vector<GateRef> &inList)) \
56 V(BytecodeCall, (GateRef gate, const std::vector<GateRef> &inList)) \
57 V(Alloca, (GateRef gate)) \
60 V(Parameter, (GateRef gate)) \
61 V(Constant, (GateRef gate, std::bitset<64> value)) \
62 V(ConstString, (GateRef gate, cons
[all...]
H A Dmcr_lowering.cpp30 GateRef MCRLowering::VisitGate(GateRef gate) in VisitGate() argument
32 auto op = acc_.GetOpCode(gate); in VisitGate()
35 DeleteStateSplit(gate); in VisitGate()
38 LowerArrayGuardianCheck(gate); in VisitGate()
41 LowerHClassStableArrayCheck(gate); in VisitGate()
44 LowerHeapObjectCheck(gate); in VisitGate()
47 LowerLoadConstOffset(gate); in VisitGate()
50 LowerLoadHClassFromConstpool(gate); in VisitGate()
53 LowerStoreConstOffset(gate); in VisitGate()
56 LowerConvertHoleAsUndefined(gate); in VisitGate()
142 LowerConvertHoleAsUndefined(GateRef gate) LowerConvertHoleAsUndefined() argument
162 LowerLoadConstOffset(GateRef gate) LowerLoadConstOffset() argument
172 LowerLoadHClassFromConstpool(GateRef gate) LowerLoadHClassFromConstpool() argument
189 LowerStoreConstOffset(GateRef gate) LowerStoreConstOffset() argument
201 LowerHeapObjectCheck(GateRef gate) LowerHeapObjectCheck() argument
213 LowerTaggedIsHeapObject(GateRef gate) LowerTaggedIsHeapObject() argument
221 LowerIsMarkerCellValid(GateRef gate) LowerIsMarkerCellValid() argument
229 LowerIsSpecificObjectType(GateRef gate) LowerIsSpecificObjectType() argument
268 DeleteStateSplit(GateRef gate) DeleteStateSplit() argument
276 LowerArrayGuardianCheck(GateRef gate) LowerArrayGuardianCheck() argument
288 LowerHClassStableArrayCheck(GateRef gate) LowerHClassStableArrayCheck() argument
300 LowerConvert(StateDepend stateDepend, GateRef gate) LowerConvert() argument
384 ConvertSpecialHoleIntToTagged(GateRef gate, Label* exit) ConvertSpecialHoleIntToTagged() argument
407 ConvertSpecialHoleDoubleToTagged(GateRef gate, Label* exit) ConvertSpecialHoleDoubleToTagged() argument
430 ConvertTaggedNumberToBool(GateRef gate, Label *exit) ConvertTaggedNumberToBool() argument
453 ConvertTaggedNumberToInt32(GateRef gate, Label *exit) ConvertTaggedNumberToInt32() argument
470 ConvertTaggedNumberToFloat64(GateRef gate, Label *exit) ConvertTaggedNumberToFloat64() argument
486 LowerCheckAndConvert(GateRef gate) LowerCheckAndConvert() argument
531 LowerCheckFloat64AndConvert(GateRef gate, GateRef frameState, Label *exit) LowerCheckFloat64AndConvert() argument
542 LowerCheckSpecialHoleAndConvert(GateRef gate, GateRef frameState) LowerCheckSpecialHoleAndConvert() argument
565 LowerCheckUInt32AndConvert(GateRef gate, GateRef frameState) LowerCheckUInt32AndConvert() argument
574 LowerCheckTaggedIntAndConvert(GateRef gate, GateRef frameState) LowerCheckTaggedIntAndConvert() argument
590 LowerCheckTaggedDoubleAndConvert(GateRef gate, GateRef frameState, Label *exit) LowerCheckTaggedDoubleAndConvert() argument
606 LowerCheckTaggedNumberAndConvert(GateRef gate, GateRef frameState, Label *exit) LowerCheckTaggedNumberAndConvert() argument
624 LowerCheckSupportAndConvert(GateRef gate, GateRef frameState) LowerCheckSupportAndConvert() argument
642 LowerCheckTaggedBoolAndConvert(GateRef gate, GateRef frameState) LowerCheckTaggedBoolAndConvert() argument
661 LowerCheckNullAndConvert(GateRef gate, GateRef frameState) LowerCheckNullAndConvert() argument
679 LowerUndefinedAndConvert(GateRef gate, GateRef frameState) LowerUndefinedAndConvert() argument
702 ConvertBoolToTaggedBoolean(GateRef gate) ConvertBoolToTaggedBoolean() argument
707 ConvertInt32ToFloat64(GateRef gate) ConvertInt32ToFloat64() argument
712 ConvertUInt32ToFloat64(GateRef gate) ConvertUInt32ToFloat64() argument
717 ConvertInt32ToTaggedInt(GateRef gate) ConvertInt32ToTaggedInt() argument
722 ConvertUInt32ToTaggedNumber(GateRef gate, Label *exit) ConvertUInt32ToTaggedNumber() argument
739 ConvertFloat64ToInt32(GateRef gate, Label *exit) ConvertFloat64ToInt32() argument
744 ConvertFloat64ToBool(GateRef gate) ConvertFloat64ToBool() argument
752 ConvertFloat64ToTaggedDouble(GateRef gate) ConvertFloat64ToTaggedDouble() argument
757 ConvertTaggedIntToInt32(GateRef gate) ConvertTaggedIntToInt32() argument
762 ConvertTaggedIntToFloat64(GateRef gate) ConvertTaggedIntToFloat64() argument
767 ConvertTaggedDoubleToInt32(GateRef gate, Label *exit) ConvertTaggedDoubleToInt32() argument
772 ConvertTaggedDoubleToFloat64(GateRef gate) ConvertTaggedDoubleToFloat64() argument
777 LowerGetGlobalEnv(GateRef gate) LowerGetGlobalEnv() argument
785 LowerGetGlobalEnvObj(GateRef gate) LowerGetGlobalEnvObj() argument
795 LowerGetGlobalEnvObjHClass(GateRef gate) LowerGetGlobalEnvObjHClass() argument
807 LowerGetGlobalConstantValue(GateRef gate) LowerGetGlobalConstantValue() argument
818 HeapAllocateInSOld(GateRef gate) HeapAllocateInSOld() argument
827 LowerInt32CheckRightIsZero(GateRef gate) LowerInt32CheckRightIsZero() argument
837 LowerRemainderIsNegativeZero(GateRef gate) LowerRemainderIsNegativeZero() argument
853 LowerFloat64CheckRightIsZero(GateRef gate) LowerFloat64CheckRightIsZero() argument
863 LowerLexVarIsHoleCheck(GateRef gate) LowerLexVarIsHoleCheck() argument
873 LowerIsUndefinedOrHoleCheck(GateRef gate) LowerIsUndefinedOrHoleCheck() argument
883 LowerIsNotUndefinedOrHoleCheck(GateRef gate) LowerIsNotUndefinedOrHoleCheck() argument
893 LowerIsDataViewCheck(GateRef gate) LowerIsDataViewCheck() argument
903 LowerValueCheckNegOverflow(GateRef gate) LowerValueCheckNegOverflow() argument
913 LowerOverflowCheck(GateRef gate) LowerOverflowCheck() argument
923 LowerInt32UnsignedUpperBoundCheck(GateRef gate) LowerInt32UnsignedUpperBoundCheck() argument
934 LowerInt32DivWithCheck(GateRef gate) LowerInt32DivWithCheck() argument
955 LowerStoreMemory(GateRef gate) LowerStoreMemory() argument
988 LowerMigrateFromRawValueToHeapValues(GateRef gate) LowerMigrateFromRawValueToHeapValues() argument
1074 LowerMigrateFromHeapValueToRawValue(GateRef gate) LowerMigrateFromHeapValueToRawValue() argument
1176 LowerMigrateFromHoleIntToHoleNumber(GateRef gate) LowerMigrateFromHoleIntToHoleNumber() argument
1224 LowerMigrateFromHoleNumberToHoleInt(GateRef gate) LowerMigrateFromHoleNumberToHoleInt() argument
1272 LowerHeapObjectIsEcmaObject(GateRef gate) LowerHeapObjectIsEcmaObject() argument
1284 LowerIsCallableCheck(GateRef gate) LowerIsCallableCheck() argument
[all...]
H A Dlexical_env_specialization_pass.cpp28 GateRef LexicalEnvSpecializationPass::VisitDependEntry(GateRef gate) in VisitDependEntry() argument
31 return UpdateDependChain(gate, empty); in VisitDependEntry()
34 GateRef LexicalEnvSpecializationPass::VisitGate(GateRef gate) in VisitGate() argument
36 auto opcode = acc_.GetOpCode(gate); in VisitGate()
39 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in VisitGate()
41 return TrySpecializeLdLexVar(gate); in VisitGate()
43 return VisitOther(gate); in VisitGate()
46 return VisitDependSelector(gate); in VisitGate()
48 if (acc_.GetDependCount(gate) == 1) { // 1: depend in is 1 in VisitGate()
49 return VisitOther(gate); in VisitGate()
55 VisitOther(GateRef gate) VisitOther() argument
67 VisitDependSelector(GateRef gate) VisitDependSelector() argument
98 UpdateDependChain(GateRef gate, DependChains* dependChain) UpdateDependChain() argument
109 TrySpecializeLdLexVar(GateRef gate) TrySpecializeLdLexVar() argument
128 SearchStLexVar(GateRef gate, GateRef ldLexVar, GateRef &result) SearchStLexVar() argument
157 CheckStLexVar(GateRef gate, GateRef ldldLexVar) CheckStLexVar() argument
206 HasNotdomStLexVarOrCall(GateRef gate, GateRef next) HasNotdomStLexVarOrCall() argument
252 HasNotDomIllegalOp(GateRef gate) HasNotDomIllegalOp() argument
265 HasNotDomStLexvar(GateRef gate) HasNotDomStLexvar() argument
274 HasNotDomCall(GateRef gate) HasNotDomCall() argument
283 LookupStLexvarNode(DependChains* dependChain, GateRef gate) LookupStLexvarNode() argument
312 VisitGate(GateRef gate) VisitGate() argument
[all...]
H A Drange_analysis.cpp20 GateRef RangeAnalysis::UpdateRange(GateRef gate, const RangeInfo& info) in UpdateRange() argument
22 auto &range = rangeInfos_[acc_.GetId(gate)]; in UpdateRange()
25 return gate; in UpdateRange()
31 RangeInfo RangeAnalysis::GetRange(GateRef gate) const in GetRange()
33 ASSERT(acc_.GetId(gate) < rangeInfos_.size()); in GetRange()
34 return rangeInfos_[acc_.GetId(gate)]; in GetRange()
37 bool RangeAnalysis::IsInt32Type(GateRef gate) const in IsInt32Type()
39 auto id = acc_.GetId(gate); in IsInt32Type()
41 return acc_.GetMachineType(gate) == MachineType::I32; in IsInt32Type()
46 GateRef RangeAnalysis::VisitGate(GateRef gate) in VisitGate() argument
75 VisitPhi(GateRef gate) VisitPhi() argument
89 VisitOthers(GateRef gate) VisitOthers() argument
97 VisitConstant(GateRef gate) VisitConstant() argument
106 VisitTypedUnaryOp(GateRef gate) VisitTypedUnaryOp() argument
135 VisitTypedBinaryOp(GateRef gate) VisitTypedBinaryOp() argument
167 VisitIndexCheck(GateRef gate) VisitIndexCheck() argument
176 VisitLoadArrayLength(GateRef gate) VisitLoadArrayLength() argument
182 VisitLoadStringLength(GateRef gate) VisitLoadStringLength() argument
188 VisitLoadMapSize(GateRef gate) VisitLoadMapSize() argument
194 VisitLoadTypedArrayLength(GateRef gate) VisitLoadTypedArrayLength() argument
202 VisitRangeGuard(GateRef gate) VisitRangeGuard() argument
210 GetRangeOfCalculate(GateRef gate) GetRangeOfCalculate() argument
232 GetRangeOfShift(GateRef gate) GetRangeOfShift() argument
277 GetRangeOfCompare(GateRef gate, GateRef value, bool flag) GetRangeOfCompare() argument
[all...]
H A Dcombined_pass_visitor.cpp20 int32_t CombinedPassVisitor::GetGateOrder(GateRef gate) in GetGateOrder() argument
22 auto id = acc_.GetId(gate); in GetGateOrder()
26 return orderList_[acc_.GetId(gate)]; in GetGateOrder()
29 void CombinedPassVisitor::SetGateOrder(GateRef gate, int32_t orderId) in SetGateOrder() argument
31 auto id = acc_.GetId(gate); in SetGateOrder()
35 orderList_[acc_.GetId(gate)] = orderId; in SetGateOrder()
48 void CombinedPassVisitor::LogicallyReplaceGate(GateRef gate, GateRef replacement) in LogicallyReplaceGate() argument
50 auto uses = acc_.Uses(gate); in LogicallyReplaceGate()
58 void CombinedPassVisitor::RelaxStateAndDepend(GateRef gate) in RelaxStateAndDepend() argument
60 ReplaceGate(gate, StateDepen in RelaxStateAndDepend()
63 ReplaceGate(GateRef gate, GateRef replacement) ReplaceGate() argument
79 ReplaceGate(GateRef gate, StateDepend stateDepend, GateRef replacement) ReplaceGate() argument
105 VistDependSelectorForLoop(GateRef gate) VistDependSelectorForLoop() argument
144 GateRef gate = changedList_.back(); VisitGraph() local
158 ReVisitGate(GateRef gate) ReVisitGate() argument
166 VisitGate(GateRef gate) VisitGate() argument
193 GateRef gate = current.GetGate(); VisitTopGate() local
257 GateRef gate = current.GetGate(); PrintStack() local
[all...]
H A Dts_hcr_opt_pass.cpp21 GateRef TSHCROptPass::VisitGate(GateRef gate) in VisitGate() argument
23 AddProfiling(gate); in VisitGate()
24 auto opcode = acc_.GetOpCode(gate); in VisitGate()
27 return VisitTypedBinaryOp(gate); in VisitGate()
34 void TSHCROptPass::AddProfiling(GateRef gate) in AddProfiling() argument
36 if (IsTypedOpProfiling() && acc_.UseForTypeOpProfilerGate(gate)) { in AddProfiling()
37 Environment env(gate, circuit_, &builder_); in AddProfiling()
38 OpCode opcode = acc_.GetOpCode(gate); in AddProfiling()
42 acc_.GetDep(gate), { constOpcode }, gate); in AddProfiling()
48 VisitTypedBinaryOp(GateRef gate) VisitTypedBinaryOp() argument
56 VisitStringBinOp(GateRef gate) VisitStringBinOp() argument
69 VisitStringEqual(GateRef gate) VisitStringEqual() argument
112 IsSingleCharString(GateRef gate) IsSingleCharString() argument
126 IsNotLoadStrOrStringLoadElement(GateRef gate) IsNotLoadStrOrStringLoadElement() argument
139 ConvertConstSingleCharToInt32(GateRef gate) ConvertConstSingleCharToInt32() argument
[all...]
H A Dnative_inline_lowering.h48 std::optional<std::pair<size_t, bool>> GetCallInfo(GateRef gate);
49 void TryInlineStringFromCharCode(GateRef gate, size_t argc, bool skipThis);
50 void TryInlineStringCharCodeAt(GateRef gate, size_t argc, bool skipThis);
51 void TryInlineStringSubstring(GateRef gate, size_t argc, bool skipThis);
52 void TryInlineStringSubStr(GateRef gate, size_t argc, bool skipThis);
53 void TryInlineStringSlice(GateRef gate, size_t argc, bool skipThis);
54 void TryInlineNumberIsFinite(GateRef gate, size_t argc, bool skipThis);
55 void TryInlineNumberIsInteger(GateRef gate, size_t argc, bool skipThis);
56 void TryInlineNumberIsNaN(GateRef gate, size_t argc, bool skipThis);
57 void TryInlineNumberParseFloat(GateRef gate, size_
[all...]
H A Descape_analysis.cpp61 void VirtualObject::AddUser(GateRef gate) in AddUser() argument
63 users_.push_back(gate); in AddUser()
97 State GateInfo::MergeState(GateRef gate) in MergeState() argument
99 size_t numIn = acc_.GetDependCount(gate); in MergeState()
100 State& preState = escapeAnalysis_->GetOrCreateState(acc_.GetDep(gate, 0)); in MergeState()
108 input.push_back(acc_.GetState(gate)); in MergeState()
113 State& inputState = escapeAnalysis_->GetOrCreateState(acc_.GetDep(gate, i)); in MergeState()
124 if (numAliveState == 1 && acc_.GetOpCode(acc_.GetState(gate)) == OpCode::LOOP_BEGIN) { in MergeState()
132 State& oldState = escapeAnalysis_->GetOrCreateState(gate); in MergeState()
136 acc_.GetState(oldValue) == acc_.GetState(gate)) { in MergeState()
188 SetFieldValue(FieldLocation field, GateRef gate) SetFieldValue() argument
208 SetReplacement(GateRef gate, GateRef replacement) SetReplacement() argument
239 TryGetVirtualObjectAndAddUser(GateRef gate, GateRef currentGate) TryGetVirtualObjectAndAddUser() argument
252 SetVirtualObject(GateRef gate, VirtualObject* object) SetVirtualObject() argument
269 SetEscaped(GateRef gate) SetEscaped() argument
283 GateRef gate = info->GetCurrentGate(); GetOrCreateVirtualObject() local
294 VisitCreateObjectWithBuffer(GateRef gate, GateInfo* info) VisitCreateObjectWithBuffer() argument
318 VisitLoadProperty(GateRef gate, GateInfo* info) VisitLoadProperty() argument
342 VisitLoadConstOffset(GateRef gate, GateInfo* info) VisitLoadConstOffset() argument
366 VisitStoreProperty(GateRef gate, GateInfo* info) VisitStoreProperty() argument
384 VisitObjectTypeCheck(GateRef gate, GateInfo* info) VisitObjectTypeCheck() argument
390 GetOrCreateState(GateRef gate) GetOrCreateState() argument
401 SetState(GateRef gate, State state) SetState() argument
411 RevisitGate(GateRef gate) RevisitGate() argument
416 SetReplaceGate(GateRef gate) SetReplaceGate() argument
421 VisitGate(GateRef gate) VisitGate() argument
[all...]
H A Dtyped_bytecode_lowering.h110 void Lower(GateRef gate);
112 void LowerTypedBinOp(GateRef gate);
114 void LowerTypedUnOp(GateRef gate);
116 void LowerTypedEqOrNotEq(GateRef gate);
117 void LowerTypeToNumeric(GateRef gate);
119 void LowerConditionJump(GateRef gate, bool flag);
121 void LowerTypedTryLdGlobalByName(GateRef gate);
123 void LowerTypedStPrivateProperty(GateRef gate);
124 void LowerTypedLdPrivateProperty(GateRef gate);
125 void LowerTypedLdObjByName(GateRef gate);
[all...]
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
H A Dpgo_type_infer.cpp24 for (const auto &gate : gateList) { in Run()
25 auto op = acc_.GetOpCode(gate); in Run()
27 RunTypeInfer(gate); in Run()
32 void PGOTypeInfer::RunTypeInfer(GateRef gate) in RunTypeInfer() argument
34 ASSERT(acc_.GetOpCode(gate) == OpCode::JS_BYTECODE); in RunTypeInfer()
35 EcmaOpcode ecmaOpcode = acc_.GetByteCodeOpcode(gate); in RunTypeInfer()
41 InferLdObjByName(gate); in RunTypeInfer()
45 InferStOwnByIndex(gate); in RunTypeInfer()
55 InferAccessObjByValue(gate); in RunTypeInfer()
61 InferCreateArray(gate); in RunTypeInfer()
68 InferLdObjByName(GateRef gate) InferLdObjByName() argument
77 InferStOwnByIndex(GateRef gate) InferStOwnByIndex() argument
87 InferCreateArray(GateRef gate) InferCreateArray() argument
104 InferAccessObjByValue(GateRef gate) InferAccessObjByValue() argument
134 TrySetElementsKind(GateRef gate) TrySetElementsKind() argument
145 TrySetTransitionElementsKind(GateRef gate) TrySetTransitionElementsKind() argument
157 TrySetPropKeyKind(GateRef gate, GateRef propKey) TrySetPropKeyKind() argument
167 TrySetOnHeapMode(GateRef gate) TrySetOnHeapMode() argument
[all...]

Completed in 20 milliseconds

12345