Home
last modified time | relevance | path

Searched defs:gate (Results 1 – 25 of 26) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dtype_infer.cpp27 for (auto gate : gateList) { in TraverseCircuit() local
34 GateRef gate = builder_->GetGateByBcIndex(index); in TraverseCircuit() local
113 bool TypeInfer::UpdateType(GateRef gate, const GateType type) in UpdateType()
123 bool TypeInfer::UpdateType(GateRef gate, const GlobalTSTypeRef &typeRef) in UpdateType()
166 bool TypeInfer::Infer(GateRef gate) in Infer()
327 bool TypeInfer::InferPhiGate(GateRef gate) in InferPhiGate()
368 bool TypeInfer::SetIntType(GateRef gate) in SetIntType()
374 bool TypeInfer::SetNumberType(GateRef gate) in SetNumberType()
380 bool TypeInfer::SetBigIntType(GateRef gate) in SetBigIntType()
386 bool TypeInfer::SetBooleanType(GateRef gate) in SetBooleanType()
[all …]
Dtype_infer.h156 const BytecodeInfo &GetByteCodeInfo(const GateRef gate) const in GetByteCodeInfo()
162 bool IsByteCodeGate(const GateRef gate) const in IsByteCodeGate()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dcircuit_optimizer.cpp211 bool LatticeUpdateRule::UpdateValueLattice(GateRef gate, const ValueLattice &valueLattice) in UpdateValueLattice()
220 bool LatticeUpdateRule::UpdateReachabilityLattice(GateRef gate, const ReachabilityLattice &reachabi… in UpdateReachabilityLattice()
455 bool LatticeUpdateRuleSCCP::Run(GateRef gate) in Run()
532 bool LatticeUpdateRuleSCCP::RunCircuitRoot([[maybe_unused]] GateRef gate) in RunCircuitRoot()
537 bool LatticeUpdateRuleSCCP::RunStateEntry(GateRef gate) in RunStateEntry()
542 bool LatticeUpdateRuleSCCP::RunDependEntry(GateRef gate) in RunDependEntry()
547 bool LatticeUpdateRuleSCCP::RunFrameStateEntry([[maybe_unused]] GateRef gate) in RunFrameStateEntry()
552 bool LatticeUpdateRuleSCCP::RunReturnList([[maybe_unused]] GateRef gate) in RunReturnList()
557 bool LatticeUpdateRuleSCCP::RunThrowList([[maybe_unused]] GateRef gate) in RunThrowList()
562 bool LatticeUpdateRuleSCCP::RunConstantList([[maybe_unused]] GateRef gate) in RunConstantList()
[all …]
Dts_type_lowering.cpp27 for (const auto &gate : gateList) { in RunTSTypeLowering() local
53 for (const auto &gate : gateList) { in VerifyGuard() local
100 void TSTypeLowering::Lower(GateRef gate) in Lower()
241 for (auto &gate : unusedGate) { in DeleteGates() local
360 void TSTypeLowering::LowerTypedAdd(GateRef gate) in LowerTypedAdd()
373 void TSTypeLowering::LowerTypedSub(GateRef gate) in LowerTypedSub()
386 void TSTypeLowering::LowerTypedMul(GateRef gate) in LowerTypedMul()
399 void TSTypeLowering::LowerTypedMod(GateRef gate) in LowerTypedMod()
412 void TSTypeLowering::LowerTypedLess(GateRef gate) in LowerTypedLess()
425 void TSTypeLowering::LowerTypedLessEq(GateRef gate) in LowerTypedLessEq()
[all …]
Dslowpath_lowering.cpp42 for (const auto &gate : gateList) { in CallRuntimeLowering() local
72 int32_t SlowPathLowering::ComputeCallArgc(GateRef gate, EcmaOpcode op) in ComputeCallArgc()
260 void SlowPathLowering::Lower(GateRef gate) in Lower()
797 void SlowPathLowering::LowerAdd2(GateRef gate) in LowerAdd2()
810 void SlowPathLowering::LowerCreateIterResultObj(GateRef gate) in LowerCreateIterResultObj()
821 void SlowPathLowering::SaveFrameToContext(GateRef gate, GateRef jsFunc) in SaveFrameToContext()
894 void SlowPathLowering::LowerSuspendGenerator(GateRef gate, GateRef jsFunc) in LowerSuspendGenerator()
906 void SlowPathLowering::LowerAsyncFunctionAwaitUncaught(GateRef gate) in LowerAsyncFunctionAwaitUncaught()
915 void SlowPathLowering::LowerAsyncFunctionResolve(GateRef gate) in LowerAsyncFunctionResolve()
925 void SlowPathLowering::LowerAsyncFunctionReject(GateRef gate) in LowerAsyncFunctionReject()
[all …]
Dgate_accessor.h222 GateRef gate; member
235 GateRef gate; member
248 const GateRef gate; member
261 GateRef gate; member
272 ConstInWrapper ConstIns(GateRef gate) const in ConstIns()
277 InWrapper Ins(GateRef gate) const in Ins()
282 ConstUseWrapper ConstUses(GateRef gate) const in ConstUses()
287 UseWrapper Uses(GateRef gate) in Uses()
420 ConstUseIterator ConstUseBegin(GateRef gate) const in ConstUseBegin()
434 UseIterator UseBegin(GateRef gate) const in UseBegin()
[all …]
Dllvm_ir_builder.cpp227 GateRef gate = bb[instIdx - 1]; in Build() local
456 void LLVMIRBuilder::HandleCall(GateRef gate) in HandleCall()
469 void LLVMIRBuilder::HandleBytecodeCall(GateRef gate) in HandleBytecodeCall()
476 void LLVMIRBuilder::HandleRuntimeCall(GateRef gate) in HandleRuntimeCall()
519 void LLVMIRBuilder::VisitRuntimeCall(GateRef gate, const std::vector<GateRef> &inList) in VisitRuntimeCall()
551 void LLVMIRBuilder::HandleRuntimeCallWithArgv(GateRef gate) in HandleRuntimeCallWithArgv()
558 void LLVMIRBuilder::VisitRuntimeCallWithArgv(GateRef gate, const std::vector<GateRef> &inList) in VisitRuntimeCallWithArgv()
712 void LLVMIRBuilder::VisitCall(GateRef gate, const std::vector<GateRef> &inList, OpCode op) in VisitCall()
802 void LLVMIRBuilder::VisitBytecodeCall(GateRef gate, const std::vector<GateRef> &inList) in VisitBytecodeCall()
833 LLVMValueRef LLVMIRBuilder::GetBaseOffset(GateRef gate, LLVMValueRef glue) in GetBaseOffset()
[all …]
Dgate_accessor.cpp34 void GateAccessor::SetMark(GateRef gate, MarkCode mark) in SetMark()
54 void GateAccessor::SetFinished(GateRef gate) in SetFinished()
59 void GateAccessor::SetVisited(GateRef gate) in SetVisited()
210 GateRef GateAccessor::GetValueIn(GateRef gate, size_t idx) const in GetValueIn()
229 GateRef GateAccessor::GetIn(GateRef gate, size_t idx) const in GetIn()
234 GateRef GateAccessor::GetState(GateRef gate, size_t idx) const in GetState()
240 void GateAccessor::GetInStates(GateRef gate, std::vector<GateRef>& ins) const in GetInStates()
248 void GateAccessor::GetIns(GateRef gate, std::vector<GateRef>& ins) const in GetIns()
256 void GateAccessor::GetOuts(GateRef gate, std::vector<GateRef>& outs) const in GetOuts()
271 void GateAccessor::GetOutStates(GateRef gate, std::vector<GateRef>& outStates) const in GetOutStates()
[all …]
Dtype_lowering.cpp28 for (const auto &gate : gateList) { in RunTypeLowering() local
43 void TypeLowering::LowerType(GateRef gate) in LowerType()
116 void TypeLowering::LowerPrimitiveTypeCheck(GateRef gate) in LowerPrimitiveTypeCheck()
133 void TypeLowering::LowerIntCheck(GateRef gate) in LowerIntCheck()
144 void TypeLowering::LowerDoubleCheck(GateRef gate) in LowerDoubleCheck()
155 void TypeLowering::LowerNumberCheck(GateRef gate) in LowerNumberCheck()
166 void TypeLowering::LowerBooleanCheck(GateRef gate) in LowerBooleanCheck()
177 void TypeLowering::LowerArrayCheck(GateRef gate, GateRef glue) in LowerArrayCheck()
197 void TypeLowering::LowerStableArrayCheck(GateRef gate, GateRef glue) in LowerStableArrayCheck()
221 void TypeLowering::LowerTypedArrayCheck(GateRef gate, GateRef glue) in LowerTypedArrayCheck()
[all …]
Dearly_elimination.cpp95 DependChainInfo* DependChainInfo::UpdateProperty(PropertyInfo* info, GateRef gate) in UpdateProperty()
107 DependChainInfo* DependChainInfo::UpdateElement(ElementInfo* info, GateRef gate) in UpdateElement()
119 DependChainInfo* DependChainInfo::UpdateArrayLength(ArrayLengthInfo* info, GateRef gate) in UpdateArrayLength()
227 DependChainInfo* DependChainInfo::UpdateFrameState(GateRef gate) in UpdateFrameState()
473 auto gate = workList.front(); in TrustedTypePropagate() local
505 void EarlyElimination::TryEliminate(GateRef gate) in TryEliminate()
559 void EarlyElimination::TryEliminateElement(GateRef gate) in TryEliminateElement()
573 void EarlyElimination::TryEliminateProperty(GateRef gate) in TryEliminateProperty()
587 void EarlyElimination::TryEliminateArrayLength(GateRef gate) in TryEliminateArrayLength()
601 void EarlyElimination::TryEliminatePrimitiveTypeCheck(GateRef gate) in TryEliminatePrimitiveTypeCheck()
[all …]
Dcircuit.cpp110 for (const auto &gate : gateList) { in PrintAllGates() local
119 for (const auto &gate : gateList) { in PrintAllGatesWithBytecode() local
177 for (auto &gate : gateList) { in ResetAllGateTimeStamps() local
192 void Circuit::SetMark(GateRef gate, MarkCode mark) const in SetMark()
234 GateRef Circuit::GetIn(GateRef gate, size_t idx) const in GetIn()
244 bool Circuit::IsInGateNull(GateRef gate, size_t idx) const in IsInGateNull()
271 void Circuit::NewIn(GateRef gate, size_t idx, GateRef in) in NewIn()
280 void Circuit::ModifyIn(GateRef gate, size_t idx, GateRef in) in ModifyIn()
289 void Circuit::DeleteIn(GateRef gate, size_t idx) in DeleteIn()
296 void Circuit::DeleteGate(GateRef gate) in DeleteGate()
[all …]
Dbuiltins_lowering.cpp19 void BuiltinLowering::LowerTypedCallBuitin(GateRef gate) in LowerTypedCallBuitin()
44 void BuiltinLowering::LowerTypedTrigonometric(GateRef gate, BuiltinsStubCSigns::ID id) in LowerTypedTrigonometric()
50 GateRef BuiltinLowering::TypedTrigonometric(GateRef gate, BuiltinsStubCSigns::ID id) in TypedTrigonometric()
115 void BuiltinLowering::LowerTypedSqrt(GateRef gate) in LowerTypedSqrt()
121 void BuiltinLowering::LowerTypedAbs(GateRef gate) in LowerTypedAbs()
133 GateRef BuiltinLowering::TypedSqrt(GateRef gate) in TypedSqrt()
223 GateRef BuiltinLowering::TypedAbs(GateRef gate) in TypedAbs()
259 GateRef BuiltinLowering::LowerCallTargetCheck(Environment *env, GateRef gate) in LowerCallTargetCheck()
309 GateRef BuiltinLowering::CheckPara(GateRef gate) in CheckPara()
Dcheck_elimination.cpp64 auto gate = workList.front(); in TrustedTypePropagate() local
96 void CheckElimination::RemoveCheck(GateRef gate) { in RemoveCheck()
122 auto gate = workList.front(); in RemovePassedCheck() local
202 for (auto gate : allGates) { in RemoveTypeTrustedCheck() local
Dframe_states.h34 void SetValuesAt(size_t index, GateRef gate) in SetValuesAt()
89 void UpdateVirtualRegister(size_t index, GateRef gate) in UpdateVirtualRegister()
98 void UpdateAccumulator(GateRef gate) in UpdateAccumulator()
Dts_inline_lowering.cpp30 for (const auto &gate : gateList) { in RunTSInlineLowering() local
38 void TSInlineLowering::TryInline(GateRef gate) in TryInline()
63 void TSInlineLowering::TryInline(GateRef gate, bool isCallThis) in TryInline()
182 bool TSInlineLowering::CheckParameter(GateRef gate, bool isCallThis, MethodLiteral* method) in CheckParameter()
191 void TSInlineLowering::ReplaceCallInput(GateRef gate, bool isCallThis) in ReplaceCallInput()
289 void TSInlineLowering::ReplaceHirAndDeleteState(GateRef gate, GateRef state, GateRef depend, GateRe… in ReplaceHirAndDeleteState()
Dframe_states.cpp72 void FrameStateBuilder::BindStateSplit(GateRef gate, size_t pcOffset, FrameStateInfo *stateInfo) in BindStateSplit()
299 auto gate = Circuit::NullGate(); in ComputeLiveOutBC() local
321 GateRef gate = builder_->GetGateByBcIndex(index); in ComputeLiveOutBC() local
363 auto gate = builder_->GetGateByBcIndex(index); in BindStateSplit() local
390 void FrameStateBuilder::UpdateVirtualRegistersOfSuspend(GateRef gate) in UpdateVirtualRegistersOfSuspend()
400 void FrameStateBuilder::UpdateVirtualRegistersOfResume(GateRef gate) in UpdateVirtualRegistersOfResume()
Dtype_lowering.h242 GateRef GetFrameState(GateRef gate) const in GetFrameState()
Dbytecode_circuit_builder.cpp747 GateRef gate = 0; in NewConst() local
819 GateRef gate = 0; in NewJSGate() local
900 … GateRef gate = circuit_->NewGate(meta, std::vector<GateRef>(numValues, Circuit::NullGate())); in NewJump() local
971 auto gate = circuit_->NewGate(circuit_->Return(), in NewReturn() local
979 auto gate = circuit_->NewGate(circuit_->Return(), in NewReturn() local
991 GateRef gate = NewConst(bytecodeInfo); in NewByteCode() local
1218 GateRef gate = GetGateByBcIndex(bcIndex); in BuildCircuit() local
1383 auto gate = byteCodeToJSGate_[iterator.Index()]; in PrintBytecodeInfo() local
Dverifier.cpp36 GateRef gate = circuit->GetGateRef( in RunDataIntegrityCheck() local
60 for (const auto &gate : gatesList) { in RunDataIntegrityCheck() local
266 for (const auto &gate : bbGatesList) { in RunFlowCyclesFind() local
278 for (const auto &gate : fixedGatesList) { in RunFlowCyclesFind() local
Dargument_accessor.cpp120 auto gate = GetTypedArgGate(argIndex); in FillArgsGateType() local
Dcircuit.h134 const GateMetaData *GetMetaData(GateRef gate) const in GetMetaData()
Dscheduler.cpp248 auto CheckUnschedulable = [&](GateRef gate) -> void { in CalculateSchedulingUpperBound()
362 for (const auto &gate : bbAndFixedGatesList) { in CalculateSchedulingLowerBound() local
397 for (const auto &gate : bbAndFixedGatesList) { in CalculateSchedulingLowerBound() local
Dasync_function_lowering.cpp57 for (const auto &gate : suspendAndResumeGates) { in ProcessJumpTable() local
Dcircuit_builder.cpp141 GateRef CircuitBuilder::ObjectTypeCheck(GateType type, GateRef gate, GateRef index) in ObjectTypeCheck()
155 GateRef CircuitBuilder::ArrayCheck(GateRef gate) in ArrayCheck()
169 GateRef CircuitBuilder::StableArrayCheck(GateRef gate) in StableArrayCheck()
183 GateRef CircuitBuilder::TypedArrayCheck(GateType type, GateRef gate) in TypedArrayCheck()
197 GateRef CircuitBuilder::IndexCheck(GateType type, GateRef gate, GateRef index) in IndexCheck()
211 GateRef CircuitBuilder::PrimitiveTypeCheck(GateType type, GateRef gate) in PrimitiveTypeCheck()
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dcircuit_optimizer_tests.cpp367 for (auto gate : p.second) { in HWTEST_F_L0() local
374 for (auto gate : p.second) { in HWTEST_F_L0() local
381 for (auto gate : p.second) { in HWTEST_F_L0() local
388 for (auto gate : p.second) { in HWTEST_F_L0() local
394 for (auto gate : gates) { in HWTEST_F_L0() local
461 for (auto gate : p.second) { in HWTEST_F_L0() local
468 for (auto gate : p.second) { in HWTEST_F_L0() local
474 for (auto gate : gates) { in HWTEST_F_L0() local

12