Home
last modified time | relevance | path

Searched defs:node (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/arkcompiler/ets_frontend/arkguard/test/ut/utils/
DNodeUtils.spec.ts29 const node = ts.factory.createIdentifier('name'); constant
33 const node = ts.factory.createIdentifier('name'); constant
39 const node = ts.factory.createIdentifier('name'); constant
45 const node = ts.factory.createIdentifier('name'); constant
51 const node = ts.factory.createIdentifier('name'); constant
57 const node = ts.factory.createIdentifier('name'); constant
63 const node = ts.factory.createIdentifier('name'); constant
69 const node = ts.factory.createIdentifier('name'); constant
75 const node = ts.factory.createIdentifier('name'); constant
81 const node = ts.factory.createIdentifier('name'); constant
[all …]
DScopeAnalyzer.spec.ts337 const node: SourceFile = sourceFile; constant
343 const node: Identifier = factory.createIdentifier('noSymbolIdentifier'); constant
351 const node: Identifier = (classDeclaration as any)?.name; constant
358 …const node = (anotherSourceFile.statements[0] as VariableStatement).declarationList.declarations[0… constant
378 const node: SourceFile = sourceFile; constant
384 const node: Identifier = factory.createIdentifier('noSymbolIdentifier'); constant
392 const node: Identifier = (functionDeclaration as any)?.name; constant
399 …const node = (anotherSourceFile.statements[0] as VariableStatement).declarationList.declarations[0… constant
419 const node: SourceFile = sourceFile; constant
425 const node: Identifier = factory.createIdentifier('noSymbolIdentifier'); constant
[all …]
DKeepParameterUtils.spec.ts101 let node: ts.Identifier = undefined; variable
111 let node = (ast.statements[0] as ts.VariableStatement).declarationList.declarations[0].name; variable
132 let node = (ast.statements[0] as ts.FunctionDeclaration).parameters[0]; variable
142 …let node = (ast.statements[0] as ts.FunctionDeclaration).typeParameters[0] as ts.TypeParameterDecl… variable
152 let node: ts.ParameterDeclaration = (ast.statements[0] as ts.FunctionDeclaration).parameters[0]; variable
168 let node: ts.ParameterDeclaration = (ast.statements[0] as ts.FunctionDeclaration).parameters[0]; variable
184 let node: ts.ParameterDeclaration = (ast.statements[0] as ts.FunctionDeclaration).parameters[0]; variable
204 let node: ts.ParameterDeclaration = method.parameters[0]; variable
220 let node: ts.ParameterDeclaration = method.parameters[0]; variable
239 let node: ts.ParameterDeclaration = method.parameters[0]; variable
[all …]
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dpandagen.cpp267 void PandaGen::InitializeLexEnv(const ir::AstNode *node) in InitializeLexEnv()
280 void PandaGen::CopyFunctionArguments(const ir::AstNode *node) in CopyFunctionArguments()
324 void PandaGen::GetFunctionObject(const ir::AstNode *node) in GetFunctionObject()
329 void PandaGen::GetNewTarget(const ir::AstNode *node) in GetNewTarget()
334 void PandaGen::GetThis(const ir::AstNode *node) in GetThis()
339 void PandaGen::SetThis(const ir::AstNode *node) in SetThis()
344 void PandaGen::LoadVar(const ir::Identifier *node, const binder::ScopeFindResult &result) in LoadVar()
377 void PandaGen::StoreVar(const ir::AstNode *node, const binder::ScopeFindResult &result, bool isDecl… in StoreVar()
428 void PandaGen::StoreAccumulator(const ir::AstNode *node, VReg vreg) in StoreAccumulator()
433 void PandaGen::LoadAccFromArgs(const ir::AstNode *node) in LoadAccFromArgs()
[all …]
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DETSGen.h110 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 …]
DETSGen.cpp126 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()
159 void ETSGen::LoadAccumulator(const ir::AstNode *node, VReg vreg) in LoadAccumulator()
175 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, const VReg vd, const VReg vs) in AllocMov()
193 IRNode *ETSGen::AllocMov(const ir::AstNode *const node, OutVReg vd, const VReg vs) in AllocMov()
214 void ETSGen::MoveVreg(const ir::AstNode *const node, const VReg vd, const VReg vs) in MoveVreg()
241 void ETSGen::LoadAccumulatorDynamicModule(const ir::AstNode *node, const ir::ETSImportDeclaration *… in LoadAccumulatorDynamicModule()
262 void ETSGen::LoadDynamicModuleVariable(const ir::AstNode *node, varbinder::Variable const *const va… in LoadDynamicModuleVariable()
281 void ETSGen::LoadDynamicNamespaceVariable(const ir::AstNode *node, varbinder::Variable const *const… in LoadDynamicNamespaceVariable()
[all …]
Dpandagen.cpp49 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 …]
DregAllocator.h43 [[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/
Decma_list.h30 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/
Dlexenv.cpp27 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/es2panda/compiler/base/
Dlexenv.cpp26 static bool CheckTdz(const ir::AstNode *node) in CheckTdz()
31 static void CheckConstAssignment(PandaGen *pg, const ir::AstNode *node, binder::Variable *variable) in CheckConstAssignment()
42 static void ExpandLoadLexVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &… in ExpandLoadLexVar()
70 static void ExpandLoadNormalVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResul… in ExpandLoadNormalVar()
82 void VirtualLoadVar::Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &r… in Expand()
93 static void ExpandStoreLexVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult … in ExpandStoreLexVar()
121 static void ExpandStoreNormalVar(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResu… in ExpandStoreNormalVar()
139 void VirtualStoreVar::Expand(PandaGen *pg, const ir::AstNode *node, const binder::ScopeFindResult &… in Expand()
/arkcompiler/ets_frontend/arkguard/test/ut/transformer/
DRenamePropertiesTransformer.spec.ts65 let node = transfomedResult.transformed[0] as IndexedAccessTypeNode; variable
90 let node = transfomedResult.transformed[0] as IndexedAccessTypeNode; variable
115 let node = transfomedResult.transformed[0] as IndexedAccessTypeNode; variable
143 let node = transfomedResult.transformed[0] as IndexedAccessTypeNode; variable
172 let node = transfomedResult.transformed[0] as IndexedAccessTypeNode; variable
201 let node = transfomedResult.transformed[0] as IndexedAccessTypeNode; variable
DVirtualConstructorTransfomer.spec.ts88 const node = transfomerFactory(context)(sourcefile); constant
96 const node = transfomerFactory(context)(sourcefile); constant
104 const node = transfomerFactory(context)(sourcefile); constant
/arkcompiler/runtime_core/libpandabase/tests/
Dlist_test.cpp80 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/
Dlist_test.cpp82 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/
DetsWarningAnalyzer.cpp120 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()
321 void ETSWarningAnalyzer::CheckTypeOfBoxingUnboxing(const ir::AstNode *node) in CheckTypeOfBoxingUnboxing()
329 std::string ETSWarningAnalyzer::GetBoxingUnboxingType(const ir::AstNode *node) in GetBoxingUnboxingType()
362 void ETSWarningAnalyzer::ETSWarningImplicitBoxingUnboxing(const ir::AstNode *node) in ETSWarningImplicitBoxingUnboxing()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_waiters_list.h50 void PushBack(Node *node) in PushBack()
62 Node *node = nullptr; in PopFront() local
83 bool TryPushBack(Node *node) in TryPushBack()
89 bool TryPopFront(Node **node) in TryPopFront()
/arkcompiler/runtime_core/static_core/runtime/
Dhandle_storage-inl.h28 auto node = nodes_[id]; in GetNodeAddress() local
43 auto node = nodes_[nid]; in NewHandle() local
74 auto node = nodes_.at(i); in ZapFreedHandles() local
95 auto node = nodes_.at(i); in UpdateHeapObject() local
120 auto node = nodes_.at(i); in VisitGCRoots() local
145 auto node = nodes_.at(i); in UpdateHeapObject() local
166 auto node = nodes_.at(i); in VisitGCRoots() local
/arkcompiler/ets_runtime/ecmascript/
Decma_global_storage.h45 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 …]
Dwaiter_list.cpp19 void WaiterList::AddNode(WaiterListNode *node) in AddNode()
33 void WaiterList::DeleteNode(WaiterListNode *node) in DeleteNode()
/arkcompiler/ets_frontend/ets2panda/compiler/function/
DfunctionBuilder.cpp55 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()
143 void FunctionBuilder::YieldStar(const ir::AstNode *node) in YieldStar()
/arkcompiler/ets_frontend/es2panda/compiler/function/
DfunctionBuilder.cpp74 void FunctionBuilder::AsyncYield(const ir::AstNode *node, VReg value, VReg completionType, VReg com… in AsyncYield() argument
91 void FunctionBuilder::SuspendResumeExecution(const ir::AstNode *node, VReg completionType, VReg com… in SuspendResumeExecution() argument
100 void FunctionBuilder::resumeGenerator(const ir::AstNode *node, VReg completionType, VReg completion… in resumeGenerator() argument
119 void FunctionBuilder::Await(const ir::AstNode *node) in Await()
137 void FunctionBuilder::HandleCompletion(const ir::AstNode *node, VReg completionType, VReg completio… in HandleCompletion()
170 void FunctionBuilder::YieldStar(const ir::AstNode *node) in YieldStar()
/arkcompiler/ets_frontend/ets2panda/util/
Dhelpers.cpp175 const ir::ScriptFunction *Helpers::GetContainingConstructor(const ir::AstNode *node) in GetContainingConstructor()
194 const ir::TSEnumDeclaration *Helpers::GetContainingEnumDeclaration(const ir::AstNode *node) in GetContainingEnumDeclaration()
209 const checker::ETSObjectType *Helpers::GetContainingObjectType(const ir::AstNode *node) in GetContainingObjectType()
235 const ir::ClassDefinition *Helpers::GetContainingClassDefinition(const ir::AstNode *node) in GetContainingClassDefinition()
250 …nst ir::TSInterfaceDeclaration *Helpers::GetContainingInterfaceDeclaration(const ir::AstNode *node) in GetContainingInterfaceDeclaration()
265 const ir::MethodDefinition *Helpers::GetContainingClassMethodDefinition(const ir::AstNode *node) in GetContainingClassMethodDefinition()
284 const ir::ClassStaticBlock *Helpers::GetContainingClassStaticBlock(const ir::AstNode *node) in GetContainingClassStaticBlock()
303 const ir::ScriptFunction *Helpers::GetContainingConstructor(const ir::ClassProperty *node) in GetContainingConstructor()
315 const ir::ScriptFunction *Helpers::GetContainingFunction(const ir::AstNode *node) in GetContainingFunction()
326 const ir::ClassDefinition *Helpers::GetClassDefiniton(const ir::ScriptFunction *node) in GetClassDefiniton()
[all …]
/arkcompiler/ets_frontend/ets2panda/checker/typeChecker/
DTypeChecker.cpp20 void ETSTypeChecker::VisitArrowFunctionExpression(ir::ArrowFunctionExpression *node) in VisitArrowFunctionExpression()
30 bool RunTypeChecker(Checker *checker, ScriptExtension ext, ir::AstNode *node) in RunTypeChecker()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/
Dx64_cgfunc.cpp112 Operand *X64CGFunc::SelectAdd(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &par… in SelectAdd()
117 Operand *X64CGFunc::SelectShift(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &p… in SelectShift()
126 Operand *X64CGFunc::SelectMpy(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &par… in SelectMpy()
131 Operand *X64CGFunc::SelectRem(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &par… in SelectRem()
140 Operand *X64CGFunc::SelectDiv(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &par… in SelectDiv()
145 Operand *X64CGFunc::SelectSub(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &par… in SelectSub()
154 Operand *X64CGFunc::SelectBand(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &pa… in SelectBand()
167 Operand *X64CGFunc::SelectMin(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &par… in SelectMin()
176 Operand *X64CGFunc::SelectMax(BinaryNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &par… in SelectMax()
181 Operand *X64CGFunc::SelectCmpOp(CompareNode &node, Operand &opnd0, Operand &opnd1, const BaseNode &… in SelectCmpOp()
[all …]

12345678910>>...17