| /arkcompiler/ets_frontend/arkguard/test/ut/utils/ |
| D | NodeUtils.spec.ts | 27 const node = ts.factory.createIdentifier('name'); constant 31 const node = ts.factory.createIdentifier('name'); constant 37 const node = ts.factory.createIdentifier('name'); constant 43 const node = ts.factory.createIdentifier('name'); constant 49 const node = ts.factory.createIdentifier('name'); constant 55 const node = ts.factory.createIdentifier('name'); constant 61 const node = ts.factory.createIdentifier('name'); constant 67 const node = ts.factory.createIdentifier('name'); constant 73 const node = ts.factory.createIdentifier('name'); constant 79 const node = ts.factory.createIdentifier('name'); constant [all …]
|
| D | ScopeAnalyzer.spec.ts | 317 const node: SourceFile = sourceFile; constant 323 const node: Identifier = factory.createIdentifier('noSymbolIdentifier'); constant 331 const node: Identifier = (classDeclaration as any)?.name; constant 338 …const node = (anotherSourceFile.statements[0] as VariableStatement).declarationList.declarations[0… constant 358 const node: SourceFile = sourceFile; constant 364 const node: Identifier = factory.createIdentifier('noSymbolIdentifier'); constant 372 const node: Identifier = (functionDeclaration as any)?.name; constant 379 …const node = (anotherSourceFile.statements[0] as VariableStatement).declarationList.declarations[0… constant 399 const node: SourceFile = sourceFile; constant 405 const node: Identifier = factory.createIdentifier('noSymbolIdentifier'); constant [all …]
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | pandagen.cpp | 253 void PandaGen::InitializeLexEnv(const ir::AstNode *node) in InitializeLexEnv() 266 void PandaGen::CopyFunctionArguments(const ir::AstNode *node) in CopyFunctionArguments() 310 void PandaGen::GetFunctionObject(const ir::AstNode *node) in GetFunctionObject() 315 void PandaGen::GetNewTarget(const ir::AstNode *node) in GetNewTarget() 320 void PandaGen::GetThis(const ir::AstNode *node) in GetThis() 325 void PandaGen::SetThis(const ir::AstNode *node) in SetThis() 330 void PandaGen::LoadVar(const ir::Identifier *node, const binder::ScopeFindResult &result) in LoadVar() 363 void PandaGen::StoreVar(const ir::AstNode *node, const binder::ScopeFindResult &result, bool isDecl… in StoreVar() 414 void PandaGen::StoreAccumulator(const ir::AstNode *node, VReg vreg) in StoreAccumulator() 419 void PandaGen::LoadAccFromArgs(const ir::AstNode *node) in LoadAccFromArgs() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/ |
| D | ext_constantfold.cpp | 23 StmtNode *ExtConstantFold::ExtSimplify(StmtNode *node) in ExtSimplify() 43 BaseNode *ExtConstantFold::DispatchFold(BaseNode *node) in DispatchFold() 88 BaseNode *ExtConstantFold::ExtFoldUnary(UnaryNode *node) in ExtFoldUnary() 99 BaseNode *ExtConstantFold::ExtFoldBinary(BinaryNode *node) in ExtFoldBinary() 114 BaseNode *ExtConstantFold::ExtFoldTernary(TernaryNode *node) in ExtFoldTernary() 133 BaseNode *ExtConstantFold::ExtFold(BaseNode *node) in ExtFold() 141 StmtNode *ExtConstantFold::ExtSimplifyBlock(BlockNode *node) in ExtSimplifyBlock() 156 StmtNode *ExtConstantFold::ExtSimplifyIf(IfStmtNode *node) in ExtSimplifyIf() 171 StmtNode *ExtConstantFold::ExtSimplifyDassign(DassignNode *node) in ExtSimplifyDassign() 181 StmtNode *ExtConstantFold::ExtSimplifyIassign(IassignNode *node) in ExtSimplifyIassign() [all …]
|
| /arkcompiler/ets_frontend/ets2panda/compiler/core/ |
| D | ETSGen.h | 110 void ResolveConditionalResultFloat(const ir::AstNode *node, Label *realEndLabel) in ResolveConditionalResultFloat() 136 …void ResolveConditionalResultNumeric(const ir::AstNode *node, [[maybe_unused]] Label *ifFalse, Lab… in ResolveConditionalResultNumeric() 165 void ResolveConditionalResultReference(const ir::AstNode *node) in ResolveConditionalResultReference() 203 void ResolveConditionalResult(const ir::AstNode *node, [[maybe_unused]] Label *ifFalse) in ResolveConditionalResult() 249 void BranchIfFalse(const ir::AstNode *node, Label *ifFalse) in BranchIfFalse() 254 void BranchIfTrue(const ir::AstNode *node, Label *ifTrue) in BranchIfTrue() 259 void BranchIfNull(const ir::AstNode *node, Label *ifNull) in BranchIfNull() 264 …void BranchIfUndefined([[maybe_unused]] const ir::AstNode *node, [[maybe_unused]] Label *ifUndefin… in BranchIfUndefined() 274 …void BranchIfNotUndefined([[maybe_unused]] const ir::AstNode *node, [[maybe_unused]] Label *ifUnde… in BranchIfNotUndefined() 284 void BranchIfNotNull(const ir::AstNode *node, Label *ifNotNull) in BranchIfNotNull() [all …]
|
| D | ETSGen.cpp | 123 void ETSGen::ApplyConversionAndStoreAccumulator(const ir::AstNode *const node, const VReg vreg, in ApplyConversionAndStoreAccumulator() 130 VReg ETSGen::StoreException(const ir::AstNode *node) in StoreException() 140 void ETSGen::StoreAccumulator(const ir::AstNode *const node, const VReg vreg) in StoreAccumulator() 156 void ETSGen::LoadAccumulator(const ir::AstNode *node, VReg vreg) in LoadAccumulator() 172 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, const VReg vd, const VReg vs) in AllocMov() 190 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, OutVReg vd, const VReg vs) in AllocMov() 211 void ETSGen::MoveVreg(const ir::AstNode *const node, const VReg vd, const VReg vs) in MoveVreg() 238 void ETSGen::LoadAccumulatorDynamicModule(const ir::AstNode *node, const ir::ETSImportDeclaration *… in LoadAccumulatorDynamicModule() 259 void ETSGen::LoadDynamicModuleVariable(const ir::AstNode *node, varbinder::Variable const *const va… in LoadDynamicModuleVariable() 278 void ETSGen::LoadDynamicNamespaceVariable(const ir::AstNode *node, varbinder::Variable const *const… in LoadDynamicNamespaceVariable() [all …]
|
| D | pandagen.cpp | 49 explicit EcmaDisabled(const ir::AstNode *node, [[maybe_unused]] Args &&...args) : IRNode(node) in EcmaDisabled() 331 void PandaGen::StoreAccumulator(const ir::AstNode *node, VReg vreg) in StoreAccumulator() 336 void PandaGen::LoadAccumulator(const ir::AstNode *node, VReg reg) in LoadAccumulator() 341 IRNode *PandaGen::AllocMov(const ir::AstNode *node, const VReg vd, const VReg vs) in AllocMov() 346 IRNode *PandaGen::AllocMov(const ir::AstNode *node, OutVReg vd, const VReg vs) in AllocMov() 352 void PandaGen::MoveVreg(const ir::AstNode *node, VReg vd, VReg vs) in MoveVreg() 357 void PandaGen::LoadAccumulatorDouble(const ir::AstNode *node, double num) in LoadAccumulatorDouble() 362 void PandaGen::LoadAccumulatorInt(const ir::AstNode *node, size_t num) in LoadAccumulatorInt() 367 void PandaGen::StoreConst(const ir::AstNode *node, VReg reg, Constant id) in StoreConst() 373 void PandaGen::LoadConst(const ir::AstNode *node, Constant id) in LoadConst() [all …]
|
| D | regAllocator.h | 43 [[nodiscard]] T *Alloc(const ir::AstNode *const node, Args &&...args) in Alloc() 49 void Add(const ir::AstNode *const node, Args &&...args) in Add() 72 void Emit(const ir::AstNode *const node, Args &&...args) in Emit() 105 void Emit(const ir::AstNode *const node, Args &&...args) in Emit() 123 …void Emit(const ir::AstNode *const node, const VReg rangeStart, const std::size_t argCount, Args &… in Emit()
|
| /arkcompiler/ets_runtime/ecmascript/mem/ |
| D | ecma_list.h | 30 explicit EcmaList(T *node) : first_(node), last_(node) in EcmaList() 38 void AddNode(T *node) in AddNode() 59 void AddNodeToFront(T *node) in AddNodeToFront() 77 T *node = last_; in PopBack() local 82 void RemoveNode(T *node) in RemoveNode() 110 bool HasNode(T *node) in HasNode()
|
| /arkcompiler/ets_frontend/ets2panda/compiler/base/ |
| D | lexenv.cpp | 27 static bool CheckTdz(const ir::AstNode *node) in CheckTdz() 32 static void CheckConstAssignment(PandaGen *pg, const ir::AstNode *node, varbinder::Variable *variab… in CheckConstAssignment() 43 static void ExpandLoadLexVar(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFind… in ExpandLoadLexVar() 52 static void ExpandLoadNormalVar(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeF… in ExpandLoadNormalVar() 63 void VirtualLoadVar::Expand(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFindR… in Expand() 74 static void StoreLocalExport(PandaGen *pg, const ir::AstNode *node, varbinder::Variable *variable) in StoreLocalExport() 89 static void ExpandStoreLexVar(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFin… in ExpandStoreLexVar() 109 static void ExpandStoreNormalVar(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScope… in ExpandStoreNormalVar() 127 void VirtualStoreVar::Expand(PandaGen *pg, const ir::AstNode *node, const varbinder::ConstScopeFind… in Expand()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
| D | schedule.cpp | 50 for (auto node : nodes) { in InitBBInfo() local 111 for (auto *node : nodes) { in Init() local 238 bool RegPressureSchedule::IsLastUse(const DepNode &node, regno_t regNO) in IsLastUse() 265 void RegPressureSchedule::CalculatePressure(const DepNode &node, regno_t reg, bool def) const in CalculatePressure() argument 280 void RegPressureSchedule::UpdateLiveReg(const DepNode &node, regno_t reg, bool def) in UpdateLiveReg() 325 void RegPressureSchedule::UpdateBBPressure(const DepNode &node) in UpdateBBPressure() 385 void RegPressureSchedule::UpdatePriority(DepNode &node) in UpdatePriority() 415 void RegPressureSchedule::UpdateReadyList(const DepNode &node) in UpdateReadyList() 442 void RegPressureSchedule::BruteUpdateReadyList(const DepNode &node, std::vector<bool> &changedToRea… in BruteUpdateReadyList() 472 void RegPressureSchedule::RestoreReadyList(DepNode &node, std::vector<bool> &changedToReady) in RestoreReadyList() [all …]
|
| /arkcompiler/ets_frontend/es2panda/compiler/base/ |
| D | lexenv.cpp | 30 static bool CheckTdz(const ir::AstNode *node) in CheckTdz() 35 static void CheckConstAssignment(PandaGen *pg, const ir::AstNode *node, binder::Variable *variable) in CheckConstAssignment() 46 static void ExpandLoadLexVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &… in ExpandLoadLexVar() 74 static void ExpandLoadNormalVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResul… in ExpandLoadNormalVar() 86 void VirtualLoadVar::Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &r… in Expand() 97 static void ExpandStoreLexVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult … in ExpandStoreLexVar() 125 static void ExpandStoreNormalVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResu… in ExpandStoreNormalVar() 143 void VirtualStoreVar::Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &… in Expand()
|
| /arkcompiler/runtime_core/libpandabase/tests/ |
| D | list_test.cpp | 80 TestNode *node; in TEST_F() local 178 auto *node = reinterpret_cast<const DTestNode *>(&(*it1)); in IsEqual() local 186 auto *node = reinterpret_cast<const DTestNode *>(&(*it1)); in IsEqual() local 195 auto *node = reinterpret_cast<const DTestNode *>(&(*it3)); in IsEqual() local 203 auto *node = reinterpret_cast<const DTestNode *>(&(*it3)); in IsEqual() local 220 auto *node = NewNode(i); in TEST_F() local 244 auto *node = NewNode(i); in TEST_F() local 250 …list1.remove_if([](DListNode *node) { return reinterpret_cast<const DTestNode *>(node)->value < 41… in TEST_F() 251 list2.remove_if([](DTestNode &node) { return node.value < 41; }); in TEST_F()
|
| /arkcompiler/runtime_core/static_core/libpandabase/tests/ |
| D | list_test.cpp | 82 TestNode *node; in TEST_F() local 181 auto *node = reinterpret_cast<const DTestNode *>(&(*it1)); in IsEqual() local 189 auto *node = reinterpret_cast<const DTestNode *>(&(*it1)); in IsEqual() local 198 auto *node = reinterpret_cast<const DTestNode *>(&(*it3)); in IsEqual() local 206 auto *node = reinterpret_cast<const DTestNode *>(&(*it3)); in IsEqual() local 223 auto *node = NewNode(i); in TEST_F() local 247 auto *node = NewNode(i); in TEST_F() local 253 …list1.remove_if([](DListNode *node) { return reinterpret_cast<const DTestNode *>(node)->value < 41… in TEST_F() 254 list2.remove_if([](DTestNode &node) { return node.value < 41L; }); in TEST_F()
|
| /arkcompiler/ets_frontend/ets2panda/checker/ets/ |
| D | etsWarningAnalyzer.cpp | 120 void ETSWarningAnalyzer::ETSWarningSuggestFinal(const ir::AstNode *node) in ETSWarningSuggestFinal() 172 void ETSWarningAnalyzer::ETSWarningsProhibitTopLevelStatements(const ir::AstNode *node) in ETSWarningsProhibitTopLevelStatements() 209 void ETSWarningAnalyzer::ETSWarningBoostEqualityStatement(const ir::AstNode *node) in ETSWarningBoostEqualityStatement() 225 void ETSWarningAnalyzer::ETSWarningRemoveAsync(const ir::AstNode *node) in ETSWarningRemoveAsync() 236 void ETSWarningAnalyzer::ETSWarningRemoveLambda(const ir::AstNode *node) in ETSWarningRemoveLambda() 246 void ETSWarningAnalyzer::CheckTypeOfBoxing(const ir::AstNode *node) in CheckTypeOfBoxing() 282 void ETSWarningAnalyzer::CheckTypeOfUnboxing(const ir::AstNode *node) in CheckTypeOfUnboxing() 318 void ETSWarningAnalyzer::CheckTypeOfBoxingUnboxing(const ir::AstNode *node) in CheckTypeOfBoxingUnboxing() 326 std::string ETSWarningAnalyzer::GetBoxingUnboxingType(const ir::AstNode *node) in GetBoxingUnboxingType() 359 void ETSWarningAnalyzer::ETSWarningImplicitBoxingUnboxing(const ir::AstNode *node) in ETSWarningImplicitBoxingUnboxing()
|
| /arkcompiler/ets_frontend/ets2panda/public/ |
| D | es2panda_lib.cpp | 777 auto *node = reinterpret_cast<ir::AstNode *>(ast); in AstNodeType() local 787 auto *node = reinterpret_cast<ir::AstNode *>(ast); in AstNodeDecorators() local 799 auto *node = reinterpret_cast<ir::AstNode *>(ast); in AstNodeModifierFlags() local 808 auto *node = reinterpret_cast<ir::AstNode *>(ast); in AstNodeSetDecorators() local 820 auto *node = reinterpret_cast<ir::AstNode *>(ast); in AstNodeSetType() local 832 auto *node = reinterpret_cast<ir::AstNode *>(ast); in AstNodeForEach() local 901 auto *node = reinterpret_cast<ir::AstNode *>(ast)->AsArrowFunctionExpression(); in ArrowFunctionExpressionScriptFunction() local 918 auto *node = reinterpret_cast<ir::AstNode *>(ast)->AsTSAsExpression(); in AsExpressionExpr() local 924 auto *node = reinterpret_cast<ir::AstNode *>(ast)->AsTSAsExpression(); in AsExpressionTypeAnnotation() local 930 auto *node = reinterpret_cast<ir::AstNode *>(ast)->AsTSAsExpression(); in AsExpressionIsConst() local [all …]
|
| /arkcompiler/runtime_core/static_core/runtime/ |
| D | handle_storage-inl.h | 28 auto node = nodes_[id]; in GetNodeAddress() local 42 auto node = nodes_[nid]; in NewHandle() local 73 auto node = nodes_.at(i); in ZapFreedHandles() local 93 auto node = nodes_.at(i); in UpdateHeapObject() local 117 auto node = nodes_.at(i); in VisitGCRoots() local 141 auto node = nodes_.at(i); in UpdateHeapObject() local 161 auto node = nodes_.at(i); in VisitGCRoots() local
|
| /arkcompiler/ets_frontend/arkguard/test/ut/transformer/ |
| D | VirtualConstructorTransfomer.spec.ts | 88 const node = transfomerFactory(context)(sourcefile); constant 96 const node = transfomerFactory(context)(sourcefile); constant 104 const node = transfomerFactory(context)(sourcefile); constant
|
| /arkcompiler/ets_frontend/ets2panda/util/ |
| D | helpers.cpp | 173 const ir::ScriptFunction *Helpers::GetContainingConstructor(const ir::AstNode *node) in GetContainingConstructor() 192 const ir::TSEnumDeclaration *Helpers::GetContainingEnumDeclaration(const ir::AstNode *node) in GetContainingEnumDeclaration() 207 const checker::ETSObjectType *Helpers::GetContainingObjectType(const ir::AstNode *node) in GetContainingObjectType() 233 const ir::ClassDefinition *Helpers::GetContainingClassDefinition(const ir::AstNode *node) in GetContainingClassDefinition() 248 …nst ir::TSInterfaceDeclaration *Helpers::GetContainingInterfaceDeclaration(const ir::AstNode *node) in GetContainingInterfaceDeclaration() 263 const ir::MethodDefinition *Helpers::GetContainingClassMethodDefinition(const ir::AstNode *node) in GetContainingClassMethodDefinition() 282 const ir::ClassStaticBlock *Helpers::GetContainingClassStaticBlock(const ir::AstNode *node) in GetContainingClassStaticBlock() 301 const ir::ScriptFunction *Helpers::GetContainingConstructor(const ir::ClassProperty *node) in GetContainingConstructor() 313 const ir::ScriptFunction *Helpers::GetContainingFunction(const ir::AstNode *node) in GetContainingFunction() 324 const ir::ClassDefinition *Helpers::GetClassDefiniton(const ir::ScriptFunction *node) in GetClassDefiniton() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | ecma_global_storage.h | 45 void SetNext(Node *node) in SetNext() 55 void SetPrev(Node *node) in SetPrev() 236 inline static NodeList<T> *NodeToNodeList(T *node) in NodeToNodeList() 247 T *node = &nodeList_[index_++]; in NewNode() local 259 T *node = freeList_; in GetFreeNode() local 271 inline void FreeNode(JSThread *thread, T *node) in FreeNode() 440 T *node = reinterpret_cast<T *>(nodeAddr); in DisposeGlobalHandle() local 458 WeakNode *node = reinterpret_cast<WeakNode *>(addr); variable 474 T *node = reinterpret_cast<T *>(addr); in IsWeak() local 509 inline void DisposeGlobalHandleInner(S *node, NodeList<S> **freeList, NodeList<S> **topNodes, in DisposeGlobalHandleInner() [all …]
|
| D | waiter_list.cpp | 20 void WaiterList::AddNode(WaiterListNode *node) in AddNode() 34 void WaiterList::DeleteNode(WaiterListNode *node) in DeleteNode()
|
| /arkcompiler/ets_frontend/ets2panda/compiler/function/ |
| D | functionBuilder.cpp | 55 void FunctionBuilder::AsyncYield(const ir::AstNode *node, VReg completionType, VReg completionValue… in AsyncYield() argument 65 void FunctionBuilder::SuspendResumeExecution(const ir::AstNode *node, VReg completionType, VReg com… in SuspendResumeExecution() argument 74 void FunctionBuilder::ResumeGenerator(const ir::AstNode *node, VReg completionType, VReg completion… in ResumeGenerator() argument 93 void FunctionBuilder::Await(const ir::AstNode *node) in Await() 112 void FunctionBuilder::HandleCompletion(const ir::AstNode *node, VReg completionType, VReg completio… in HandleCompletion() 142 void FunctionBuilder::YieldStar(const ir::AstNode *node) in YieldStar()
|
| /arkcompiler/ets_frontend/es2panda/compiler/function/ |
| D | functionBuilder.cpp | 78 void FunctionBuilder::AsyncYield(const ir::AstNode *node, VReg value, VReg completionType, VReg com… in AsyncYield() argument 95 void FunctionBuilder::SuspendResumeExecution(const ir::AstNode *node, VReg completionType, VReg com… in SuspendResumeExecution() argument 104 void FunctionBuilder::resumeGenerator(const ir::AstNode *node, VReg completionType, VReg completion… in resumeGenerator() argument 123 void FunctionBuilder::Await(const ir::AstNode *node) in Await() 141 void FunctionBuilder::HandleCompletion(const ir::AstNode *node, VReg completionType, VReg completio… in HandleCompletion() 174 void FunctionBuilder::YieldStar(const ir::AstNode *node) in YieldStar()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
| D | aarch64_schedule.cpp | 52 DepNode *node = nodes[0]; in Init() local 176 for (auto node : nodes) { in MemoryAccessPairOpt() local 297 DepNode *node = nodes[i]; in ComputeEstart() local 319 DepNode *node = nodes[i]; in ComputeEstart() local 323 for (auto *node : readyNodes) { in ComputeEstart() local 331 DepNode *node = readyNodes.front(); in ComputeEstart() local 366 DepNode *node = nodes[i]; in ComputeLstart() local 373 DepNode *node = readyNodes.front(); in ComputeLstart() local 487 for (auto node : scheduleInfo.GetAvailableReadyList()) { in DumpDebugInfo() local 606 for (auto node : readyList) { in CheckSchedulable() local [all …]
|
| /arkcompiler/ets_frontend/ets2panda/checker/typeChecker/ |
| D | TypeChecker.cpp | 20 void ETSTypeChecker::VisitArrowFunctionExpression(ir::ArrowFunctionExpression *node) in VisitArrowFunctionExpression() 30 bool RunTypeChecker(Checker *checker, ScriptExtension ext, ir::AstNode *node) in RunTypeChecker()
|