| /arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
| D | type_infer.cpp | 27 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 …]
|
| D | type_infer.h | 156 const BytecodeInfo &GetByteCodeInfo(const GateRef gate) const in GetByteCodeInfo() 162 bool IsByteCodeGate(const GateRef gate) const in IsByteCodeGate()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | circuit_optimizer.cpp | 211 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 …]
|
| D | ts_type_lowering.cpp | 27 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 …]
|
| D | slowpath_lowering.cpp | 42 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 …]
|
| D | gate_accessor.h | 222 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 …]
|
| D | llvm_ir_builder.cpp | 227 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 …]
|
| D | gate_accessor.cpp | 34 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 …]
|
| D | type_lowering.cpp | 28 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 …]
|
| D | early_elimination.cpp | 95 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 …]
|
| D | circuit.cpp | 110 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 …]
|
| D | builtins_lowering.cpp | 19 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()
|
| D | check_elimination.cpp | 64 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
|
| D | frame_states.h | 34 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()
|
| D | ts_inline_lowering.cpp | 30 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()
|
| D | frame_states.cpp | 72 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()
|
| D | type_lowering.h | 242 GateRef GetFrameState(GateRef gate) const in GetFrameState()
|
| D | bytecode_circuit_builder.cpp | 747 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
|
| D | verifier.cpp | 36 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
|
| D | argument_accessor.cpp | 120 auto gate = GetTypedArgGate(argIndex); in FillArgsGateType() local
|
| D | circuit.h | 134 const GateMetaData *GetMetaData(GateRef gate) const in GetMetaData()
|
| D | scheduler.cpp | 248 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
|
| D | async_function_lowering.cpp | 57 for (const auto &gate : suspendAndResumeGates) { in ProcessJumpTable() local
|
| D | circuit_builder.cpp | 141 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/ |
| D | circuit_optimizer_tests.cpp | 367 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
|