Home
last modified time | relevance | path

Searched refs:newGate (Results 1 - 13 of 13) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
H A Dinstruction_combine.cpp21 GateRef InstructionCombine::ReplaceOld(GateRef gate, GateRef newGate) in ReplaceOld() argument
23 acc_.UpdateAllUses(gate, newGate); in ReplaceOld()
24 return newGate; in ReplaceOld()
501 auto newGate = builder_.Int32Sub(m.Right().Gate(), mleft.Right().Gate()); in ReduceInt32Add() local
502 return ReplaceOld(gate, newGate); in ReduceInt32Add()
510 auto newGate = builder_.Int32Sub(m.Left().Gate(), mright.Right().Gate()); in ReduceInt32Add() local
511 return ReplaceOld(gate, newGate); in ReduceInt32Add()
543 auto newGate = in ReduceInt64Sub() local
545 return ReplaceOld(gate, newGate); in ReduceInt64Sub()
566 auto newGate in ReduceInt32Sub() local
590 auto newGate = builder_.Int64Sub(builder_.Int64(0), m.Left().Gate()); ReduceInt64Mul() local
595 auto newGate = builder_.Int64LSL(m.Left().Gate(), builder_.Int64( ReduceInt64Mul() local
631 auto newGate = builder_.Int32Sub(builder_.Int32(0), m.Left().Gate()); ReduceInt32Mul() local
636 auto newGate = builder_.Int32LSL(m.Left().Gate(), builder_.Int32( ReduceInt32Mul() local
677 auto newGate = builder_.Int64Sub(builder_.Int64(0), m.Left().Gate()); ReduceInt64Div() local
686 auto newGate = builder_.Int64Sub(builder_.Int64(0), newDiv); ReduceInt64Div() local
714 auto newGate = builder_.Int32Sub(builder_.Int32(0), m.Left().Gate()); ReduceInt32Div() local
723 auto newGate = builder_.Int32Sub(builder_.Int32(0), newDiv); ReduceInt32Div() local
769 auto newGate = builder_.DoubleSub(builder_.Double(-0.0), m.Left().Gate()); ReduceDoubleMul() local
779 auto newGate = builder_.DoubleAdd(m.Left().Gate(), m.Left().Gate()); ReduceDoubleMul() local
877 auto newGate = builder_.Int64And( ReduceWord64And() local
914 auto newGate = builder_.Int32And( ReduceWord32And() local
1109 auto newGate = builder_.Int32Sub(builder_.Int32(0), mleft.Left().Gate()); ReduceWord32Asr() local
1139 auto newGate = builder_.Int64And( ReduceWord64Lsl() local
1163 auto newGate = builder_.Int32And( ReduceWord32Lsl() local
[all...]
H A Dhcr_circuit_builder.cpp522 GateRef newGate = GetCircuit()->NewGate(circuit_->CreateArray(accessor.ToValue()), MachineType::I64, in CreateArray() local
525 currentLabel->SetControl(newGate); in CreateArray()
526 currentLabel->SetDepend(newGate); in CreateArray()
527 return newGate; in CreateArray()
538 GateRef newGate = GetCircuit()->NewGate(circuit_->CreateArrayWithBuffer(accessor.ToValue()), in CreateArrayWithBuffer() local
542 currentLabel->SetControl(newGate); in CreateArrayWithBuffer()
543 currentLabel->SetDepend(newGate); in CreateArrayWithBuffer()
544 return newGate; in CreateArrayWithBuffer()
554 GateRef newGate = GetCircuit()->NewGate(circuit_->CreateArguments(accessor.ToValue()), in CreateArguments() local
558 currentLabel->SetControl(newGate); in CreateArguments()
608 GateRef newGate = GetCircuit()->NewGate(circuit_->StoreModuleVar(), MachineType::I64, StoreModuleVar() local
620 GateRef newGate = GetCircuit()->NewGate(circuit_->LdLocalModuleVar(), MachineType::I64, LdLocalModuleVar() local
632 GateRef newGate = Circuit::NullGate(); BuiltinConstructor() local
726 GateRef newGate = GetCircuit()->NewGate(circuit_->MigrateArrayWithKind(), MachineType::I64, MigrateArrayWithKind() local
760 GateRef newGate = GetCircuit()->NewGate(circuit_->NumberToString(), MachineType::I64, NumberToString() local
[all...]
H A Dloop_peeling.cpp80 GateRef newGate = Circuit::NullGate(); in CopySelector() local
83 newGate = circuit_->NewGate(circuit_->ValueSelector(numLoopbacks), in CopySelector()
86 newGate = circuit_->NewGate(circuit_->DependSelector(numLoopbacks), inList); in CopySelector()
88 acc_.NewIn(newGate, 0, stateMerge); // 0: is state in CopySelector()
94 acc_.NewIn(newGate, i - 1, GetCopy(input)); // 1: is state in CopySelector()
96 return newGate; in CopySelector()
180 GateRef newGate = circuit_->NewGate(acc_.GetMetaData(gate), inList); in SetCopy() local
181 acc_.SetGateType(newGate, acc_.GetGateType(gate)); in SetCopy()
182 acc_.SetMachineType(newGate, acc_.GetMachineType(gate)); in SetCopy()
183 copies_[gate] = newGate; in SetCopy()
[all...]
H A Dslowpath_lowering.cpp863 GateRef newGate = LowerCallRuntime(gate, id, {acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1)}); in LowerCreateIterResultObj() local
864 ReplaceHirWithValue(gate, newGate); in LowerCreateIterResultObj()
956 GateRef newGate = LowerCallRuntime(gate, id, { genObj, value }); in LowerSuspendGenerator() local
957 ReplaceHirWithValue(gate, newGate); in LowerSuspendGenerator()
965 GateRef newGate = LowerCallRuntime(gate, id, {acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1)}); in LowerAsyncFunctionAwaitUncaught() local
966 ReplaceHirWithValue(gate, newGate); in LowerAsyncFunctionAwaitUncaught()
975 GateRef newGate = LowerCallRuntime(gate, id, {acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1), taggedTrue}); in LowerAsyncFunctionResolve() local
976 ReplaceHirWithValue(gate, newGate); in LowerAsyncFunctionResolve()
985 GateRef newGate = LowerCallRuntime(gate, id, {acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1), taggedFalse}); in LowerAsyncFunctionReject() local
986 ReplaceHirWithValue(gate, newGate); in LowerAsyncFunctionReject()
1091 GateRef newGate = LowerCallRuntime(gate, id, LowerCallSpread() local
1123 GateRef newGate = LowerCallRuntime(gate, id, LowerNewObjApply() local
1143 GateRef newGate = LowerCallRuntime(gate, id, {acc_.GetValueIn(gate, 0)}); LowerThrowConstAssignment() local
1150 GateRef newGate = LowerCallRuntime(gate, id, {}); LowerThrowThrowNotExists() local
1157 GateRef newGate = LowerCallRuntime(gate, id, {}); LowerThrowPatternNonCoercible() local
1252 GateRef newGate = LowerCallRuntime(gate, id, {}); LowerThrowDeleteSuperProperty() local
1282 GateRef newGate = LowerCallRuntime(gate, id, {}); LowerLdSymbol() local
1291 GateRef newGate = circuit_->NewGate(circuit_->Load(bit), VariableType::JS_ANY().GetMachineType(), LowerLdGlobal() local
1391 GateRef newGate = builder_.CallStub(glue_, gate, CommonStubCSigns::Getpropiterator, {glue_, object}); LowerGetPropIterator() local
1400 GateRef newGate = LowerCallRuntime(gate, id, {acc_.GetValueIn(gate, 0)}); LowerCloseIterator() local
1518 GateRef newGate = builder_.CallStub(glue_, gate, CommonStubCSigns::DeleteObjectProperty, LowerDelObjProp() local
1531 GateRef newGate = LowerCallRuntime(gate, id, {acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1)}); LowerExp() local
1540 GateRef newGate = LowerCallRuntime(gate, id, {acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1)}); LowerIsIn() local
1654 GateRef newGate = LowerCallRuntime(gate, id, { literal }); LowerGetTemplateObject() local
1665 GateRef newGate = LowerCallRuntime(gate, id, { proto, obj }); LowerSetObjectWithProto() local
1707 GateRef newGate = LowerCallRuntime(gate, id, {acc_.GetValueIn(gate, 0), jsFunc}); LowerDynamicImport() local
1798 GateRef newGate = LowerCallRuntime(gate, id, vec); LowerSuperCallArrow() local
2192 GateRef newGate = LowerCallRuntime(gate, id, { dst, src }); LowerCopyDataProperties() local
2207 GateRef newGate = LowerCallRuntime(gate, id, args); LowerCreateObjectWithExcludedKeys() local
2223 GateRef newGate = LowerCallRuntime(gate, id, { pattern, builder_.ToTaggedInt(flags) }, true); LowerCreateRegExpWithLiteral() local
2328 GateRef newGate = LowerCallRuntime(gate, id, { receiver, propKey, jsFunc }); LowerLdSuperByValue() local
2341 GateRef newGate = LowerCallRuntime(gate, id, { receiver, propKey, value, jsFunc}); LowerStSuperByValue() local
2558 GateRef newGate = LowerCallRuntime(gate, id, {acc_.GetValueIn(gate, 0)}); LowerCreateGeneratorObj() local
2567 GateRef newGate = LowerCallRuntime(gate, id, {acc_.GetValueIn(gate, 0)}); LowerCreateAsyncGeneratorObj() local
2579 GateRef newGate = LowerCallRuntime(gate, id, {asyncGen, value, flag}); LowerAsyncGeneratorResolve() local
2588 GateRef newGate = LowerCallRuntime(gate, id, {acc_.GetValueIn(gate, 0), acc_.GetValueIn(gate, 1)}); LowerAsyncGeneratorReject() local
2598 GateRef newGate = LowerCallRuntime(gate, id, args); LowerStArraySpread() local
2810 GateRef newGate = LowerCallRuntime(gate, id, {}); LowerAsyncFunctionEnter() local
3090 GateRef newGate = builder_.CallStub(glue_, gate, CommonStubCSigns::GetUnmappedArgs, LowerGetUnmappedArgs() local
3103 GateRef newGate = LowerCallRuntime(gate, id, {taggedArgc, taggedRestIdx}); LowerCopyRestArgs() local
3111 GateRef newGate = LowerCallRuntime(gate, id, {builder_.ToTaggedInt(index)}); LowerWideLdPatchVar() local
3119 GateRef newGate = LowerCallRuntime(gate, id, {builder_.ToTaggedInt(index)}); LowerWideStPatchVar() local
3657 GateRef newGate = LowerCallRuntime(gate, id, {lexicalEnv, LowerLdPrivateProperty() local
3674 GateRef newGate = LowerCallRuntime(gate, id, {lexicalEnv, LowerStPrivateProperty() local
3690 GateRef newGate = LowerCallRuntime(gate, id, {lexicalEnv, LowerTestIn() local
3699 GateRef newGate = LowerCallRuntime(gate, id, {acc_.GetValueIn(gate, 0), LowerNotifyConcurrentResult() local
3717 GateRef newGate = builder_.CallStub(glue_, gate, CommonStubCSigns::DefineField, LowerDefineFieldByName() local
3730 GateRef newGate = builder_.CallStub(glue_, gate, CommonStubCSigns::DefineField, LowerDefineFieldByValue() local
3743 GateRef newGate = builder_.CallStub(glue_, gate, CommonStubCSigns::DefineField, LowerDefineFieldByIndex() local
3755 GateRef newGate = LowerCallRuntime(gate, id, {value}); LowerToPropertyKey() local
3771 GateRef newGate = LowerCallRuntime(gate, id, {lexicalEnv, LowerCreatePrivateProperty() local
3787 GateRef newGate = LowerCallRuntime(gate, id, {lexicalEnv, LowerDefinePrivateProperty() local
3805 GateRef newGate = LowerCallRuntime(gate, RTSTUB_ID(CreateSharedClass), args); LowerDefineSendableClass() local
3813 GateRef newGate = LowerCallRuntime(gate, RTSTUB_ID(LdSendableClass), { lexicalEnv, builder_.ToTaggedInt(level) }); LowerLdSendableClass() local
[all...]
H A Dasync_function_lowering.cpp181 GateRef newGate = circuit_->NewGate(circuit_->Merge(2), in UpdateValueSelector() local
191 {newGate, restoreOffset, emptyOffsetGate}, in UpdateValueSelector()
195 accessor_.ReplaceStateIn(prevLoopBeginGate, newGate); in UpdateValueSelector()
213 {newGate, undefinedGate, firstValueGate}, in UpdateValueSelector()
218 // to be generated. This node is bound to the merge node (newGate) before the loop-begin, and its in UpdateValueSelector()
223 {newGate, circuit_->GetDependRoot(), dependGate}); in UpdateValueSelector()
H A Dcircuit_builder.cpp478 auto newGate = GetCircuit()->NewGate(circuit_->GetGlobalEnv(), MachineType::I64, in GetGlobalEnv() local
481 currentLabel->SetDepend(newGate); in GetGlobalEnv()
482 return newGate; in GetGlobalEnv()
489 auto newGate = GetCircuit()->NewGate(circuit_->GetGlobalEnvObj(index), MachineType::I64, in GetGlobalEnvObj() local
492 currentLabel->SetDepend(newGate); in GetGlobalEnvObj()
493 return newGate; in GetGlobalEnvObj()
500 auto newGate = GetCircuit()->NewGate(circuit_->GetGlobalEnvObjHClass(index), MachineType::I64, in GetGlobalEnvObjHClass() local
503 currentLabel->SetDepend(newGate); in GetGlobalEnvObjHClass()
504 return newGate; in GetGlobalEnvObjHClass()
511 auto newGate in GetGlobalConstantValue() local
[all...]
H A Dntype_hcr_lowering.cpp164 GateRef newGate = builder_.CallStub(glue, gate, CommonStubCSigns::CopyRestArgs, in LowerCreateArguments() local
166 ReplaceGateWithPendingException(gate, builder_.GetState(), builder_.GetDepend(), newGate); in LowerCreateArguments()
170 GateRef newGate = builder_.CallStub(glue, gate, CommonStubCSigns::GetUnmappedArgs, in LowerCreateArguments() local
172 ReplaceGateWithPendingException(gate, builder_.GetState(), builder_.GetDepend(), newGate); in LowerCreateArguments()
H A Dinstruction_combine.h83 GateRef ReplaceOld(GateRef gate, GateRef newGate);
H A Dmcr_circuit_builder.cpp971 auto newGate = GetCircuit()->NewGate(circuit_->TaggedIsHeapObject(), MachineType::I1, in TaggedIsHeapObjectOp() local
974 currentLabel->SetDepend(newGate); in TaggedIsHeapObjectOp()
975 return newGate; in TaggedIsHeapObjectOp()
983 auto newGate = GetCircuit()->NewGate(circuit_->IsSpecificObjectType(static_cast<int32_t>(type)), MachineType::I1, in IsSpecificObjectType() local
986 currentLabel->SetDepend(newGate); in IsSpecificObjectType()
987 return newGate; in IsSpecificObjectType()
995 auto newGate = GetCircuit()->NewGate(circuit_->IsMarkerCellValid(), MachineType::I1, in IsMarkerCellValidOp() local
998 currentLabel->SetDepend(newGate); in IsMarkerCellValidOp()
999 return newGate; in IsMarkerCellValidOp()
1057 GateRef newGate in StartAllocate() local
1067 GateRef newGate = GetCircuit()->NewGate(circuit_->FinishAllocate(), MachineType::I64, FinishAllocate() local
[all...]
H A Dcircuit.cpp138 auto newGate = new (gateSpace) Gate(meta, gateCount_++, inPtrList.data(), machineType, type); in NewGate() local
140 allGates_.push_back(GetGateRef(newGate)); in NewGate()
142 GateRef result = GetGateRef(newGate); in NewGate()
H A Darray_bounds_check_elimination.h156 void ReplaceIn(GateRef stateIn, GateRef dependIn, GateRef newGate);
H A Dgate_accessor.cpp1648 // When Insert newGate, all the stateIn from state and dependIn from depend can be replaced to newGate
1649 void GateAccessor::ReplaceInAfterInsert(GateRef state, GateRef depend, GateRef newGate) in ReplaceInAfterInsert() argument
1653 if (IsStateIn(useIt) && (*useIt != newGate)) { in ReplaceInAfterInsert()
1654 ASSERT(newGate != Circuit::NullGate()); in ReplaceInAfterInsert()
1661 useIt = ReplaceIn(useIt, newGate); in ReplaceInAfterInsert()
1669 if (IsDependIn(useIt) && (*useIt != newGate)) { in ReplaceInAfterInsert()
1670 ASSERT(newGate != Circuit::NullGate()); in ReplaceInAfterInsert()
1671 useIt = ReplaceIn(useIt, newGate); in ReplaceInAfterInsert()
H A Dgate_accessor.h483 void ReplaceInAfterInsert(GateRef state, GateRef depend, GateRef newGate);

Completed in 24 milliseconds