/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | lcr_lowering.cpp | 152 GateRef frameState = acc_.GetFrameState(gate); in LowerHeapObjectCheck() local 156 builder_.DeoptCheck(heapObjectCheck, frameState, DeoptType::NOTHEAPOBJECT); in LowerHeapObjectCheck() 176 auto frameState = acc_.GetFrameState(gate); in DeleteStateSplit() local 177 acc_.DeleteGateIfNoUse(frameState); in DeleteStateSplit() 185 GateRef frameState = acc_.GetFrameState(gate); in LowerArrayGuardianCheck() local 188 builder_.DeoptCheck(check, frameState, DeoptType::NOTSARRAY); in LowerArrayGuardianCheck() 196 GateRef frameState = acc_.GetFrameState(gate); in LowerHClassStableArrayCheck() local 210 builder_.DeoptCheck(check, frameState, DeoptType::NOTSARRAY); in LowerHClassStableArrayCheck() 336 GateRef frameState = acc_.GetFrameState(gate); in LowerCheckAndConvert() local 341 LowerCheckUInt32AndConvert(gate, frameState); in LowerCheckAndConvert() [all …]
|
D | loop_analysis.cpp | 83 auto frameState = acc_.GetFrameState(nex); in CollectLoopBody() local 84 if (acc_.GetOpCode(frameState) == OpCode::FRAME_STATE) { in CollectLoopBody() 85 gateToDepth[frameState] = gateToDepth[nex]; in CollectLoopBody() 86 gateToDepth[acc_.GetValueIn(frameState, 1)] = gateToDepth[nex]; in CollectLoopBody() 131 auto frameState = acc_.GetFrameState(gate); in UpdateLoopInfo() local 132 if (acc_.GetOpCode(frameState) == OpCode::FRAME_STATE) { in UpdateLoopInfo() 134 loopInfo->loopBodys.emplace_back(frameState); in UpdateLoopInfo() 135 loopInfo->loopBodys.emplace_back(acc_.GetValueIn(frameState, 1)); in UpdateLoopInfo()
|
D | type_mcr_lowering.cpp | 192 GateRef frameState = GetFrameState(gate); in LowerIntCheck() local 196 builder_.DeoptCheck(typeCheck, frameState, DeoptType::NOTINT); in LowerIntCheck() 203 GateRef frameState = GetFrameState(gate); in LowerDoubleCheck() local 207 builder_.DeoptCheck(typeCheck, frameState, DeoptType::NOTDOUBLE); in LowerDoubleCheck() 214 GateRef frameState = GetFrameState(gate); in LowerNumberCheck() local 218 builder_.DeoptCheck(typeCheck, frameState, DeoptType::NOTNUMBER); in LowerNumberCheck() 225 GateRef frameState = GetFrameState(gate); in LowerBooleanCheck() local 229 builder_.DeoptCheck(typeCheck, frameState, DeoptType::NOTBOOL); in LowerBooleanCheck() 237 GateRef frameState = GetFrameState(gate); in LowerStableArrayCheck() local 240 builder_.HeapObjectCheck(receiver, frameState); in LowerStableArrayCheck() [all …]
|
D | lcr_lowering.h | 55 void LowerCheckUInt32AndConvert(GateRef gate, GateRef frameState); 56 void LowerCheckTaggedIntAndConvert(GateRef gate, GateRef frameState); 57 void LowerCheckTaggedDoubleAndConvert(GateRef gate, GateRef frameState, Label *exit); 58 void LowerCheckTaggedNumberAndConvert(GateRef gate, GateRef frameState, Label *exit); 59 void LowerCheckTaggedBoolAndConvert(GateRef gate, GateRef frameState); 60 void LowerCheckSupportAndConvert(GateRef gate, GateRef frameState);
|
D | circuit_builder.cpp | 146 auto frameState = acc_.FindNearestFrameState(currentDepend); in ObjectTypeCheck() local 149 {currentControl, currentDepend, gate, hclassIndex, frameState}, GateType::NJSValue()); in ObjectTypeCheck() 160 auto frameState = acc_.FindNearestFrameState(currentDepend); in ObjectTypeCompare() local 163 {currentControl, currentDepend, gate, hclassIndex, frameState}, GateType::NJSValue()); in ObjectTypeCompare() 169 GateRef CircuitBuilder::HeapObjectCheck(GateRef gate, GateRef frameState) in HeapObjectCheck() argument 175 MachineType::I1, {currentControl, currentDepend, gate, frameState}, GateType::NJSValue()); in HeapObjectCheck() 186 auto frameState = acc_.FindNearestFrameState(currentDepend); in StableArrayCheck() local 189 MachineType::I1, {currentControl, currentDepend, gate, frameState}, GateType::NJSValue()); in StableArrayCheck() 200 auto frameState = acc_.FindNearestFrameState(currentDepend); in COWArrayCheck() local 202 MachineType::I1, {currentControl, currentDepend, gate, frameState}, GateType::NJSValue()); in COWArrayCheck() [all …]
|
D | frame_states.cpp | 67 void FrameStateBuilder::BindStateSplit(GateRef state, GateRef depend, GateRef frameState) in BindStateSplit() argument 69 GateRef stateSplit = circuit_->NewGate(circuit_->StateSplit(), {state, depend, frameState}); in BindStateSplit() 79 gateAcc_.ShortPrint(frameState); in BindStateSplit() 83 void FrameStateBuilder::BindStateSplit(GateRef gate, GateRef frameState) in BindStateSplit() argument 90 GateRef stateSplit = circuit_->NewGate(circuit_->StateSplit(), {state, depend, frameState}); in BindStateSplit() 93 gateAcc_.ShortPrint(frameState); in BindStateSplit() 510 GateRef frameState = BuildFrameStateGate(pcOffset, frameValues, FrameStateOutput::Invalid()); in BuildCallFrameState() local 512 gateAcc_.ReplaceFrameStateIn(gate, frameState); in BuildCallFrameState()
|
D | ts_inline_lowering.cpp | 103 GateRef frameState = GetFrameState(info); in TryInline() local 104 GateRef frameArgs = acc_.GetValueIn(frameState); in TryInline() 476 GateRef frameState = acc_.GetFrameState(gate); in InlineFuncCheck() local 483 … MachineType::I1, {callState, callDepend, inlineFunc, builder_.IntPtr(methodOffset), frameState}, in InlineFuncCheck() 497 auto frameState = acc_.FindNearestFrameState(callDepend); in InlineAccessorCheck() local 499 …MachineType::I1, {callState, callDepend, receiver, hclassIndexGate, frameState}, GateType::NJSValu… in InlineAccessorCheck() 681 GateRef frameState = acc_.FindNearestFrameState(gate); in GetFrameState() local 682 return frameState; in GetFrameState() 687 GateRef frameState = GetFrameState(info); in GetFrameArgs() local 688 return acc_.GetValueIn(frameState); in GetFrameArgs()
|
D | frame_states.h | 104 void BindStateSplit(GateRef state, GateRef depend, GateRef frameState); 105 void BindStateSplit(GateRef gate, GateRef frameState);
|
D | type_mcr_lowering.h | 137 GateRef BuildCompareSubTyping(GateRef gate, GateRef frameState, Label *levelValid, Label *exit); 138 GateRef BuildCompareHClass(GateRef gate, GateRef frameState);
|
D | ntype_mcr_lowering.cpp | 102 GateRef frameState = GetFrameState(gate); in LowerCreateArrayWithBuffer() local 103 GateRef jsFunc = argAcc.GetFrameArgsIn(frameState, FrameArgIdx::FUNC); in LowerCreateArrayWithBuffer()
|
D | llvm_ir_builder.cpp | 2324 GateRef frameState = acc_.GetFrameState(deoptFrameState); in VisitDeoptCheck() local 2325 while ((acc_.GetOpCode(frameState) == OpCode::FRAME_STATE)) { in VisitDeoptCheck() 2327 frameState = acc_.GetFrameState(frameState); in VisitDeoptCheck() 2331 frameState = deoptFrameState; in VisitDeoptCheck() 2334 ASSERT(acc_.GetOpCode(frameState) == OpCode::FRAME_STATE); in VisitDeoptCheck() 2335 GateRef frameValues = acc_.GetValueIn(frameState, 1); // 1: frame values in VisitDeoptCheck() 2341 auto pc = acc_.TryGetPcOffset(frameState); in VisitDeoptCheck() 2342 GateRef jsFunc = argAcc.GetFrameArgsIn(frameState, FrameArgIdx::FUNC); in VisitDeoptCheck() 2343 GateRef newTarget = argAcc.GetFrameArgsIn(frameState, FrameArgIdx::NEW_TARGET); in VisitDeoptCheck() 2344 GateRef thisObj = argAcc.GetFrameArgsIn(frameState, FrameArgIdx::THIS_OBJECT); in VisitDeoptCheck() [all …]
|
D | circuit_builder.h | 252 GateRef HeapObjectCheck(GateRef gate, GateRef frameState); 255 … GateRef HClassStableArrayCheck(GateRef gate, GateRef frameState, ArrayMetaDataAccessor accessor); 256 GateRef ArrayGuardianCheck(GateRef frameState); 272 GateRef DeoptCheck(GateRef condition, GateRef frameState, DeoptType type); 323 GateRef TypedNewAllocateThis(GateRef ctor, GateRef hclassIndex, GateRef frameState); 324 GateRef TypedSuperAllocateThis(GateRef superCtor, GateRef newTarget, GateRef frameState);
|
D | circuit_builder-inl.h | 915 auto frameState = acc_.GetFrameState(gate); in JSNoGCCallThisTargetTypeCheck() local 918 {currentControl, currentDepend, func, methodId, frameState}, GateType::NJSValue()); in JSNoGCCallThisTargetTypeCheck() 930 auto frameState = acc_.GetFrameState(gate); in JSCallTargetTypeCheck() local 933 {currentControl, currentDepend, func, methodIndex, frameState}, GateType::NJSValue()); in JSCallTargetTypeCheck() 945 auto frameState = acc_.GetFrameState(gate); in JSCallThisTargetTypeCheck() local 947 MachineType::I1, {currentControl, currentDepend, func, frameState}, GateType::NJSValue()); in JSCallThisTargetTypeCheck()
|
D | ts_hcr_lowering.cpp | 931 GateRef frameState = acc_.FindNearestFrameState(builder_.GetDepend()); in StoreJSArrayByIndex() local 932 builder_.HeapObjectCheck(value, frameState); in StoreJSArrayByIndex() 1044 GateRef frameState = acc_.FindNearestFrameState(stateSplit); in LowerTypedNewObjRange() local 1045 GateRef thisObj = builder_.TypedNewAllocateThis(ctor, builder_.IntPtr(hclassIndex), frameState); in LowerTypedNewObjRange() 1071 GateRef frameState = acc_.FindNearestFrameState(stateSplit); in LowerTypedSuperCall() local 1074 GateRef thisObj = builder_.TypedSuperAllocateThis(superCtor, newTarget, frameState); in LowerTypedSuperCall()
|
/arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
D | lowering_relate_gate_test.cpp | 60 auto frameState = circuit.NewGate(circuit.FrameState(1), {pcGate, frameArgs}); in HWTEST_F_L0() local 61 auto stateSplit = circuit.NewGate(circuit.StateSplit(), {state, depend, frameState}); in HWTEST_F_L0()
|