Home
last modified time | relevance | path

Searched refs:ArrayNode (Results 1 – 16 of 16) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dmir_lower.h82 BaseNode *LowerFarray(ArrayNode *array);
83 BaseNode *LowerCArray(ArrayNode *array);
Dmir_builder.h244 ArrayNode *CreateExprArray(const MIRType &arrayType);
245 ArrayNode *CreateExprArray(const MIRType &arrayType, BaseNode *op);
246 ArrayNode *CreateExprArray(const MIRType &arrayType, BaseNode *op1, BaseNode *op2);
247 ArrayNode *CreateExprArray(const MIRType &arrayType, std::vector<BaseNode *> ops);
Dmir_nodes.h1413 class ArrayNode : public NaryNode {
1415 ArrayNode(MapleAllocator &allocator) : NaryNode(allocator, OP_array) {} in ArrayNode() function
1417 explicit ArrayNode(const MIRModule &mod) : ArrayNode(mod.GetCurFuncCodeMPAllocator()) {} in ArrayNode() function
1419ArrayNode(MapleAllocator &allocator, PrimType typ, TyIdx idx) : NaryNode(allocator, OP_array, typ)… in ArrayNode() function
1421ArrayNode(const MIRModule &mod, PrimType typ, TyIdx idx) : ArrayNode(mod.GetCurFuncCodeMPAllocator… in ArrayNode() function
1423 ArrayNode(MapleAllocator &allocator, PrimType typ, TyIdx idx, bool bcheck) in ArrayNode() function
1428 ArrayNode(const MIRModule &mod, PrimType typ, TyIdx idx, bool bcheck) in ArrayNode() function
1429 : ArrayNode(mod.GetCurFuncCodeMPAllocator(), typ, idx, bcheck) in ArrayNode()
1433 ArrayNode(MapleAllocator &allocator, const ArrayNode &node) in ArrayNode() function
1438ArrayNode(const MIRModule &mod, const ArrayNode &node) : ArrayNode(mod.GetCurFuncCodeMPAllocator()… in ArrayNode() function
[all …]
Dir_safe_cast_traits.def127 instance_of<ArrayNode>(from));
135 REGISTER_SAFE_CAST(ArrayNode, from.GetOpCode() == OP_array);
Dopcodes.def57 OPCODE(array, ArrayNode, (OPCODEISVARSIZE | OPCODENOTMMPL | OPCODEMAYTHROWEXCEPTION), 8)
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/
Dlower.h165 BaseNode *LowerFarray(ArrayNode &array);
166 BaseNode *LowerArrayDim(ArrayNode &array, int32 dim);
168 BaseNode *LowerArray(ArrayNode &array, const BaseNode &parent);
169 BaseNode *LowerCArray(ArrayNode &array);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dmir_builder.cpp824 ArrayNode *MIRBuilder::CreateExprArray(const MIRType &arrayType) in CreateExprArray()
828 …auto *arrayNode = GetCurrentFuncCodeMp()->New<ArrayNode>(*GetCurrentFuncCodeMpAllocator(), addrTyp… in CreateExprArray()
834 ArrayNode *MIRBuilder::CreateExprArray(const MIRType &arrayType, BaseNode *op) in CreateExprArray()
836 ArrayNode *arrayNode = CreateExprArray(arrayType); in CreateExprArray()
842 ArrayNode *MIRBuilder::CreateExprArray(const MIRType &arrayType, BaseNode *op1, BaseNode *op2) in CreateExprArray()
844 ArrayNode *arrayNode = CreateExprArray(arrayType, op1); in CreateExprArray()
850 ArrayNode *MIRBuilder::CreateExprArray(const MIRType &arrayType, std::vector<BaseNode *> ops) in CreateExprArray()
854 …auto *arrayNode = GetCurrentFuncCodeMp()->New<ArrayNode>(*GetCurrentFuncCodeMpAllocator(), addrTyp… in CreateExprArray()
Dmir_nodes.cpp59 auto *arry = static_cast<ArrayNode *>(this); in MayThrowException()
603 const MIRType *ArrayNode::GetArrayType(const TypeTable &tt) const in GetArrayType()
610 MIRType *ArrayNode::GetArrayType(const TypeTable &tt) in GetArrayType()
612 return const_cast<MIRType *>(const_cast<const ArrayNode *>(this)->GetArrayType(tt)); in GetArrayType()
615 const BaseNode *ArrayNode::GetDim(const MIRModule &mod, TypeTable &tt, int i) const in GetDim()
622 BaseNode *ArrayNode::GetDim(const MIRModule &mod, TypeTable &tt, int i) in GetDim()
624 return const_cast<BaseNode *>(const_cast<const ArrayNode *>(this)->GetDim(mod, tt, i)); in GetDim()
627 void ArrayNode::Dump(int32 indent) const in Dump()
642 bool ArrayNode::IsSameBase(ArrayNode *arry) in IsSameBase()
2412 bool ArrayNode::Verify() const in Verify()
Dbin_func_export.cpp322 ArrayNode *arrNode = static_cast<ArrayNode *>(e); in OutputExpression()
Dmir_lower.cpp706 BaseNode *MIRLower::LowerFarray(ArrayNode *array) in LowerFarray()
749 BaseNode *MIRLower::LowerCArray(ArrayNode *array) in LowerCArray()
956 auto &arrayNode = static_cast<ArrayNode &>(exp); in AddArrayMrtMpl()
Dbin_func_import.cpp391 ArrayNode *arrNode = in ImportExpression()
392 … mod.CurFuncCodeMemPool()->New<ArrayNode>(func->GetCodeMPAllocator(), typ, tidx, boundsCheck); in ImportExpression()
Dmir_parser.cpp3198 auto *arrayNode = mod.CurFuncCodeMemPool()->New<ArrayNode>(mod); in ParseExprArray()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/
Dconstantfold.h76 std::pair<BaseNode *, std::optional<IntVal>> FoldArray(ArrayNode *node);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
Dlower.cpp411 BaseNode *CGLowerer::LowerFarray(ArrayNode &array) in LowerFarray()
493 BaseNode *CGLowerer::LowerArrayDim(ArrayNode &array, int32 dim) in LowerArrayDim()
564 BaseNode *CGLowerer::LowerArray(ArrayNode &array, const BaseNode &parent) in LowerArray()
611 BaseNode *CGLowerer::LowerCArray(ArrayNode &array) in LowerCArray()
2638 auto &arrayNode = static_cast<ArrayNode &>(expr); in ProcessArrayExpr()
2723 return LowerArray(static_cast<ArrayNode &>(expr), parent); in LowerExpr()
2725 return LowerCArray(static_cast<ArrayNode &>(expr)); in LowerExpr()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
Dconstantfold.cpp302 return FoldArray(static_cast<ArrayNode *>(node)); in DispatchFold()
2092 std::pair<BaseNode *, std::optional<IntVal>> ConstantFold::FoldArray(ArrayNode *node) in FoldArray()
2098ArrayNode *arrNode = mirModule->CurFuncCodeMemPool()->New<ArrayNode>(*mirModule, PrimType(node->Ge… in FoldArray()
Dcall_graph.cpp689 auto *arrayNode = static_cast<ArrayNode *>(iread->Opnd(0)); in HandleICall()