/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | pandagen.cpp | 243 void PandaGen::InitializeLexEnv(const ir::AstNode *node) in InitializeLexEnv() 252 void PandaGen::CopyFunctionArguments(const ir::AstNode *node) in CopyFunctionArguments() 265 auto fn = [this](const ir::AstNode *node) { in CopyFunctionArguments() 314 void PandaGen::GetFunctionObject(const ir::AstNode *node) in GetFunctionObject() 319 void PandaGen::GetNewTarget(const ir::AstNode *node) in GetNewTarget() 324 void PandaGen::GetThis(const ir::AstNode *node) in GetThis() 329 void PandaGen::SetThis(const ir::AstNode *node) in SetThis() 334 void PandaGen::LoadVar(const ir::Identifier *node, const binder::ScopeFindResult &result) in LoadVar() 367 void PandaGen::StoreVar(const ir::AstNode *node, const binder::ScopeFindResult &result, bool isDecl… in StoreVar() 418 void PandaGen::StoreAccumulator(const ir::AstNode *node, VReg vreg) in StoreAccumulator() [all …]
|
D | regAllocator.h | 64 void Emit(const ir::AstNode *node, Args &&... args) in Emit() 71 void EmitWithType(const ir::AstNode *node, int64_t typeIndex, Args &&... args) in EmitWithType() 78 void EmitRange(const ir::AstNode *node, size_t argCount, Args &&... args) in EmitRange() 130 T *Alloc(const ir::AstNode *node, Args &&... args) in Alloc() 140 void Add(ArenaList<IRNode *> &insns, const ir::AstNode *node, Args &&... args) in Add()
|
/arkcompiler/ets_frontend/ts2panda/src/ |
D | jshelpers.js | 18 function getSymbol(node) { argument 26 function getTextOfIdentifierOrLiteral(node) { argument 46 function createDiagnosticForNode(node, message, ...args) { argument 58 function isEffectiveStrictModeSourceFile(node, compilerOptions) { argument 62 function getErrorSpanForNode(sourceFile, node) { argument 70 function getContainingClass(node) { argument 74 function declarationNameToString(node) { argument 78 function getContainingFunction(node) { argument 82 function isPrologueDirective(node) { argument 86 function getSourceTextOfNodeFromSourceFile(sourceFile, node, includeTrivia) { argument [all …]
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
D | ETSGen.h | 105 void ResolveConditionalResultFloat(const ir::AstNode *node, Label *realEndLabel) in ResolveConditionalResultFloat() 132 …void ResolveConditionalResultNumeric(const ir::AstNode *node, [[maybe_unused]] Label *ifFalse, Lab… in ResolveConditionalResultNumeric() 162 void ResolveConditionalResultObject(const ir::AstNode *node) in ResolveConditionalResultObject() 200 … void ResolveConditionalResultExpression(const ir::AstNode *node, [[maybe_unused]] Label *ifFalse) in ResolveConditionalResultExpression() 214 void ResolveConditionalResult(const ir::AstNode *node, [[maybe_unused]] Label *ifFalse) in ResolveConditionalResult() 267 void BranchIfFalse(const ir::AstNode *node, Label *ifFalse) in BranchIfFalse() 272 void BranchIfTrue(const ir::AstNode *node, Label *ifTrue) in BranchIfTrue() 277 void BranchIfNull(const ir::AstNode *node, Label *ifNull) in BranchIfNull() 282 void BranchIfNotNull(const ir::AstNode *node, Label *ifNotNull) in BranchIfNotNull() 291 void JumpTo(const ir::AstNode *node, Label *labelTo) in JumpTo() [all …]
|
D | pandagen.cpp | 49 explicit EcmaDisabled(const ir::AstNode *node, [[maybe_unused]] Args &&...args) : IRNode(node) in EcmaDisabled() 332 void PandaGen::StoreAccumulator(const ir::AstNode *node, VReg vreg) in StoreAccumulator() 337 void PandaGen::LoadAccumulator(const ir::AstNode *node, VReg reg) in LoadAccumulator() 342 IRNode *PandaGen::AllocMov(const ir::AstNode *node, const VReg vd, const VReg vs) in AllocMov() 347 IRNode *PandaGen::AllocMov(const ir::AstNode *node, OutVReg vd, const VReg vs) in AllocMov() 353 void PandaGen::MoveVreg(const ir::AstNode *node, VReg vd, VReg vs) in MoveVreg() 358 void PandaGen::LoadAccumulatorDouble(const ir::AstNode *node, double num) in LoadAccumulatorDouble() 363 void PandaGen::LoadAccumulatorInt(const ir::AstNode *node, size_t num) in LoadAccumulatorInt() 368 void PandaGen::StoreConst(const ir::AstNode *node, VReg reg, Constant id) in StoreConst() 374 void PandaGen::LoadConst(const ir::AstNode *node, Constant id) in LoadConst() [all …]
|
D | ETSGen.cpp | 126 void ETSGen::ApplyConversionAndStoreAccumulator(const ir::AstNode *const node, const VReg vreg, in ApplyConversionAndStoreAccumulator() 133 VReg ETSGen::StoreException(const ir::AstNode *node) in StoreException() 143 void ETSGen::StoreAccumulator(const ir::AstNode *const node, const VReg vreg) in StoreAccumulator() 158 void ETSGen::LoadAccumulator(const ir::AstNode *node, VReg vreg) in LoadAccumulator() 173 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, const VReg vd, const VReg vs) in AllocMov() 191 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, OutVReg vd, const VReg vs) in AllocMov() 212 void ETSGen::MoveVreg(const ir::AstNode *const node, const VReg vd, const VReg vs) in MoveVreg() 239 void ETSGen::LoadAccumulatorDynamicModule(const ir::AstNode *node, const ir::ETSImportDeclaration *… in LoadAccumulatorDynamicModule() 260 void ETSGen::LoadDynamicModuleVariable(const ir::AstNode *node, varbinder::Variable const *const va… in LoadDynamicModuleVariable() 279 void ETSGen::LoadDynamicNamespaceVariable(const ir::AstNode *node, varbinder::Variable const *const… in LoadDynamicNamespaceVariable() [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_frontend/ts2panda/tests/strictmode/ |
D | strictmode.test.ts | 46 let node = createSourceFile("tests/strictmode/global.js"); variable 53 let node = createSourceFile("tests/strictmode/function.js"); variable 72 let node = createSourceFile("tests/strictmode/function_nest1.js"); variable 85 let node = createSourceFile("tests/strictmode/function_nest2.js"); variable
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
D | schedule.cpp | 50 for (auto node : nodes) { in InitBBInfo() local 110 for (auto *node : nodes) { in Init() local 193 void RegPressureSchedule::ReCalculateDepNodePressure(DepNode &node) in ReCalculateDepNodePressure() 226 void RegPressureSchedule::CalculateNear(const DepNode &node) in CalculateNear() 237 bool RegPressureSchedule::IsLastUse(const DepNode &node, regno_t regNO) in IsLastUse() 264 void RegPressureSchedule::CalculatePressure(DepNode &node, regno_t reg, bool def) in CalculatePressure() 279 void RegPressureSchedule::UpdateLiveReg(const DepNode &node, regno_t reg, bool def) in UpdateLiveReg() 324 void RegPressureSchedule::UpdateBBPressure(const DepNode &node) in UpdateBBPressure() 384 void RegPressureSchedule::UpdatePriority(DepNode &node) in UpdatePriority() 414 void RegPressureSchedule::UpdateReadyList(const DepNode &node) in UpdateReadyList() [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() 90 BaseNode *ExtConstantFold::ExtFoldUnary(UnaryNode *node) in ExtFoldUnary() 101 BaseNode *ExtConstantFold::ExtFoldBinary(BinaryNode *node) in ExtFoldBinary() 116 BaseNode *ExtConstantFold::ExtFoldTernary(TernaryNode *node) in ExtFoldTernary() 135 BaseNode *ExtConstantFold::ExtFold(BaseNode *node) in ExtFold() 143 BaseNode *ExtConstantFold::ExtFoldIor(BinaryNode *node) in ExtFoldIor() 219 BaseNode *ExtConstantFold::ExtFoldXand(BinaryNode *node) in ExtFoldXand() 283 StmtNode *ExtConstantFold::ExtSimplifyBlock(BlockNode *node) in ExtSimplifyBlock() 298 StmtNode *ExtConstantFold::ExtSimplifyIf(IfStmtNode *node) in ExtSimplifyIf() [all …]
|
/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_frontend/ts2panda/tests/expression/ |
D | numericLiteral.test.ts | 33 let node: ts.NumericLiteral = ts.createNumericLiteral("NaN"); variable 42 let node: ts.NumericLiteral = ts.createNumericLiteral("10e10000"); variable 50 let node: ts.NumericLiteral = ts.createNumericLiteral("1"); variable 58 let node: ts.NumericLiteral = ts.createNumericLiteral("2147483648"); variable 66 let node: ts.NumericLiteral = ts.createNumericLiteral("1.1"); variable
|
/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() 64 static void ExpandLoadNormalVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResul… in ExpandLoadNormalVar() 76 void VirtualLoadVar::Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &r… in Expand() 87 static void ExpandStoreLexVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult … in ExpandStoreLexVar() 120 static void ExpandStoreNormalVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResu… in ExpandStoreNormalVar() 158 void VirtualStoreVar::Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &… in Expand()
|
/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/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/ets_frontend/ets2panda/ir/expressions/ |
D | blockExpression.cpp | 29 for (auto *const node : statements_) { in BlockExpression() local 38 for (auto *const node : other.statements_) { in BlockExpression() local 57 for (auto *&node : statements_) { in TransformChildren() local 64 for (auto *const node : statements_) { in Iterate() local 91 for (auto const *const node : statements_) { in Compile() local 104 for (auto *const node : statements_) { in Check() local
|
/arkcompiler/ets_frontend/ets2panda/public/ |
D | es2panda_lib.cpp | 781 auto *node = reinterpret_cast<ir::AstNode *>(ast); in AstNodeType() local 791 auto *node = reinterpret_cast<ir::AstNode *>(ast); in AstNodeDecorators() local 803 auto *node = reinterpret_cast<ir::AstNode *>(ast); in AstNodeModifierFlags() local 812 auto *node = reinterpret_cast<ir::AstNode *>(ast); in AstNodeSetDecorators() local 824 auto *node = reinterpret_cast<ir::AstNode *>(ast); in AstNodeSetType() local 836 auto *node = reinterpret_cast<ir::AstNode *>(ast); in AstNodeForEach() local 905 auto *node = reinterpret_cast<ir::AstNode *>(ast)->AsArrowFunctionExpression(); in ArrowFunctionExpressionScriptFunction() local 922 auto *node = reinterpret_cast<ir::AstNode *>(ast)->AsTSAsExpression(); in AsExpressionExpr() local 928 auto *node = reinterpret_cast<ir::AstNode *>(ast)->AsTSAsExpression(); in AsExpressionTypeAnnotation() local 934 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/ets2panda/util/ |
D | helpers.cpp | 210 const ir::ScriptFunction *Helpers::GetContainingConstructor(const ir::AstNode *node) in GetContainingConstructor() 229 const ir::TSEnumDeclaration *Helpers::GetContainingEnumDeclaration(const ir::AstNode *node) in GetContainingEnumDeclaration() 244 const checker::ETSObjectType *Helpers::GetContainingObjectType(const ir::AstNode *node) in GetContainingObjectType() 274 const ir::ClassDefinition *Helpers::GetContainingClassDefinition(const ir::AstNode *node) in GetContainingClassDefinition() 289 …nst ir::TSInterfaceDeclaration *Helpers::GetContainingInterfaceDeclaration(const ir::AstNode *node) in GetContainingInterfaceDeclaration() 304 const ir::MethodDefinition *Helpers::GetContainingClassMethodDefinition(const ir::AstNode *node) in GetContainingClassMethodDefinition() 323 const ir::ClassStaticBlock *Helpers::GetContainingClassStaticBlock(const ir::AstNode *node) in GetContainingClassStaticBlock() 342 const ir::ScriptFunction *Helpers::GetContainingConstructor(const ir::ClassProperty *node) in GetContainingConstructor() 353 const ir::ScriptFunction *Helpers::GetContainingFunction(const ir::AstNode *node) in GetContainingFunction() 364 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() 233 inline static NodeList<T> *NodeToNodeList(T *node) in NodeToNodeList() 244 T *node = &nodeList_[index_++]; in NewNode() local 256 T *node = freeList_; in GetFreeNode() local 268 inline void FreeNode(JSThread *thread, T *node) in FreeNode() 437 T *node = reinterpret_cast<T *>(nodeAddr); in DisposeGlobalHandle() local 455 WeakNode *node = reinterpret_cast<WeakNode *>(addr); variable 471 T *node = reinterpret_cast<T *>(addr); in IsWeak() local 506 inline void DisposeGlobalHandleInner(S *node, NodeList<S> **freeList, NodeList<S> **topNodes, in DisposeGlobalHandleInner() [all …]
|
/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() 142 void FunctionBuilder::HandleCompletion(const ir::AstNode *node, VReg completionType, VReg completio… in HandleCompletion() 175 void FunctionBuilder::YieldStar(const ir::AstNode *node) in YieldStar()
|
/arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
D | typeExtractor.cpp | 368 int64_t TypeExtractor::GetTypeIndexFromDeclNode(const ir::AstNode *node, bool isNewInstance) in GetTypeIndexFromDeclNode() 377 int64_t TypeExtractor::GetTypeIndexFromIdentifierNode(const ir::AstNode *node, bool isNewInstance) in GetTypeIndexFromIdentifierNode() 384 int64_t TypeExtractor::GetTypeIndexFromClassExpression(const ir::AstNode *node, bool isNewInstance) in GetTypeIndexFromClassExpression() 392 int64_t TypeExtractor::GetTypeIndexFromClassDefinition(const ir::AstNode *node, bool isNewInstance) in GetTypeIndexFromClassDefinition() 416 int64_t TypeExtractor::GetTypeIndexFromInterfaceNode(const ir::AstNode *node, [[maybe_unused]] bool… in GetTypeIndexFromInterfaceNode() 436 int64_t TypeExtractor::GetTypeIndexFromFunctionNode(const ir::AstNode *node, [[maybe_unused]] bool … in GetTypeIndexFromFunctionNode() 460 int64_t TypeExtractor::GetTypeIndexFromImportNode(const ir::AstNode *node, [[maybe_unused]] bool is… in GetTypeIndexFromImportNode() 467 int64_t TypeExtractor::GetTypeIndexFromTypeAliasNode(const ir::AstNode *node, [[maybe_unused]] bool… in GetTypeIndexFromTypeAliasNode() 480 int64_t TypeExtractor::GetTypeIndexFromAsNode(const ir::AstNode *node, [[maybe_unused]] bool isNewI… in GetTypeIndexFromAsNode() 487 int64_t TypeExtractor::GetTypeIndexFromSatisfiesNode(const ir::AstNode *node, [[maybe_unused]] bool… in GetTypeIndexFromSatisfiesNode() [all …]
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
D | aarch64_schedule.cpp | 54 DepNode *node = nodes[0]; in Init() local 178 for (auto node : nodes) { in MemoryAccessPairOpt() local 298 DepNode *node = nodes[i]; in ComputeEstart() local 316 DepNode *node = nodes[i]; in ComputeEstart() local 320 for (auto *node : readyNodes) { in ComputeEstart() local 328 DepNode *node = readyNodes.front(); in ComputeEstart() local 363 DepNode *node = nodes[i]; in ComputeLstart() local 370 DepNode *node = readyNodes.front(); in ComputeLstart() local 583 for (auto node : scheduleInfo.GetAvailableReadyList()) { in DumpDebugInfo() local 702 for (auto node : readyList) { in CheckSchedulable() local [all …]
|