Home
last modified time | relevance | path

Searched refs:BlockNode (Results 1 – 25 of 42) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/
Dlower.h82 BaseNode *LowerIntrinsicop(const BaseNode &, IntrinsicopNode &, BlockNode &);
84 BaseNode *LowerIntrinsicopwithtype(const BaseNode &, IntrinsicopNode &, BlockNode &);
86 StmtNode *LowerIntrinsicMplClearStack(const IntrinsiccallNode &intrinCall, BlockNode &newBlk);
90 void LowerArrayStore(const IntrinsiccallNode &intrinCall, BlockNode &newBlk);
96 StmtNode *LowerIntrinsiccall(IntrinsiccallNode &intrinCall, BlockNode &);
105 BaseNode *LowerExpr(BaseNode &, BaseNode &, BlockNode &);
107 BaseNode *LowerDread(DreadNode &dread, const BlockNode &block);
121 BaseNode *LowerDreadToThreadLocal(BaseNode &expr, const BlockNode &block);
122 StmtNode *LowerDassignToThreadLocal(StmtNode &stmt, const BlockNode &block);
124 void LowerDassign(DassignNode &dassign, BlockNode &block);
[all …]
Dswitch_lowerer.h33 maple::BlockNode *LowerSwitch();
62 …maple::BlockNode *BuildCodeForSwitchItems(maple::int32 start, maple::int32 end, bool lowBNdChecked,
Dtry_catch.h127 TryCatchBlocksLower(MemPool &memPool, BlockNode &body, MIRModule &mirModule) in TryCatchBlocksLower()
153 BlockNode &body;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/
Dmir_lower.h72 virtual BlockNode *LowerIfStmt(IfStmtNode &ifStmt, bool recursive);
73 BlockNode *LowerSwitchStmt(SwitchNode *switchNode);
74 virtual BlockNode *LowerWhileStmt(WhileStmtNode &);
75 BlockNode *LowerDowhileStmt(WhileStmtNode &);
76 BlockNode *LowerDoloopStmt(DoloopNode &);
77 BlockNode *LowerBlock(BlockNode &);
78 BaseNode *LowerEmbeddedCandCior(BaseNode *x, StmtNode *curstmt, BlockNode *block);
79 void LowerCandCior(BlockNode &block);
80 void LowerBuiltinExpect(BlockNode &block);
89 BlockNode *ExpandArrayMrtBlock(BlockNode &block);
[all …]
Djava_eh_lower.h36 BlockNode *DoLowerBlock(BlockNode &);
37 BaseNode *DoLowerExpr(BaseNode &, BlockNode &);
38 BaseNode *DoLowerDiv(BinaryNode &, BlockNode &);
39 void DoLowerBoundaryCheck(IntrinsiccallNode &, BlockNode &);
40 BaseNode *DoLowerRem(BinaryNode &expr, BlockNode &blkNode) in DoLowerRem()
Dmir_function.h754 BlockNode *GetBody() in GetBody()
758 const BlockNode *GetBody() const in GetBody()
762 void SetBody(BlockNode *node) in SetBody()
767 BlockNode *GetLastPosBody() in GetLastPosBody()
771 const BlockNode *GetLastPosBody() const in GetLastPosBody()
775 void SetLastPosBody(BlockNode *node) in SetLastPosBody()
1559 BlockNode *body = nullptr;
1560 BlockNode *bodyLast = nullptr;
Dmir_nodes.h2792 class BlockNode : public StmtNode {
2796 BlockNode() : StmtNode(OP_block) {} in BlockNode() function
2798 ~BlockNode() in ~BlockNode()
2804 void AppendStatementsFromBlock(BlockNode &blk);
2807 void ReplaceStmtWithBlock(StmtNode &stmtNode, BlockNode &blk);
2813 void InsertBlockAfter(BlockNode &inblock, const StmtNode *stmt1);
2824 BlockNode *CloneTree(MapleAllocator &allocator) const override in CloneTree()
2826 auto *blk = allocator.GetMemPool()->New<BlockNode>(); in CloneTree()
2838 BlockNode *CloneTreeWithSrcPosition(const MIRModule &mod) in CloneTreeWithSrcPosition()
2841 auto *blk = allocator.GetMemPool()->New<BlockNode>(); in CloneTreeWithSrcPosition()
[all …]
Dir_safe_cast_traits.def157 instance_of<BlockNode>(from) ||
193 REGISTER_SAFE_CAST(BlockNode, from.GetOpCode() == OP_block);
Dbin_mpl_import.h148 BlockNode *ImportBlockNode(MIRFunction *fn);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/include/
Dsimplify.h63 …bool ExpandMemset(int64 byte, uint64 size, MIRFunction &func, StmtNode &stmt, BlockNode &block, bo…
65 …void ExpandMemsetLowLevel(int64 byte, uint64 size, MIRFunction &func, StmtNode &stmt, BlockNode &b…
67 …emcpy(const MemEntry &srcMem, uint64 copySize, MIRFunction &func, StmtNode &stmt, BlockNode &block,
70BlockNode &block, MemOpKind memOpKind, bool debug, ErrorNumber errorNumber) const;
94 bool AutoSimplify(StmtNode &stmt, BlockNode &block, bool isLowLevel);
95 bool SimplifyMemset(StmtNode &stmt, BlockNode &block, bool isLowLevel);
96 bool SimplifyMemcpy(StmtNode &stmt, BlockNode &block, bool isLowLevel);
99 StmtNode *PartiallyExpandMemsetS(StmtNode &stmt, BlockNode &block);
132 bool SimplifyMathMethod(const StmtNode &stmt, BlockNode &block);
133 void SimplifyCallAssigned(StmtNode &stmt, BlockNode &block);
[all …]
Dext_constantfold.h32 StmtNode *ExtSimplifyBlock(BlockNode *node);
Dcall_graph.h477 void HandleBody(MIRFunction &, BlockNode &, CGNode &, uint32);
479 void HandleICall(BlockNode &, CGNode &, StmtNode *, uint32);
482 CallNode *ReplaceIcallToCall(BlockNode &body, IcallNode *icall, PUIdx newPUIdx);
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/mpl2mpl/src/
Djava_eh_lower.cpp40 BaseNode *JavaEHLowerer::DoLowerDiv(BinaryNode &expr, BlockNode &blknode) in DoLowerDiv()
99 BaseNode *JavaEHLowerer::DoLowerExpr(BaseNode &expr, BlockNode &curblk) in DoLowerExpr()
116 void JavaEHLowerer::DoLowerBoundaryCheck(IntrinsiccallNode &intrincall, BlockNode &newblk) in DoLowerBoundaryCheck()
137 BlockNode *JavaEHLowerer::DoLowerBlock(BlockNode &block) in DoLowerBlock()
139 BlockNode *newBlock = GetMIRModule().CurFuncCodeMemPool()->New<BlockNode>(); in DoLowerBlock()
159 BlockNode *thenPart = ifStmtNode->GetThenPart(); in DoLowerBlock()
160 BlockNode *elsePart = ifStmtNode->GetElsePart(); in DoLowerBlock()
189 auto *tmp = DoLowerBlock(*(static_cast<BlockNode *>(stmt))); in DoLowerBlock()
241 BlockNode *newBody = DoLowerBlock(*(func->GetBody())); in ProcessFunc()
Dsimplify.cpp129 bool Simplify::SimplifyMathMethod(const StmtNode &stmt, BlockNode &block) in SimplifyMathMethod()
174 void Simplify::SimplifyCallAssigned(StmtNode &stmt, BlockNode &block) in SimplifyCallAssigned()
267 static StmtNode *SplitAggCopy(const AssignType *assignNode, MIRStructType *structureType, BlockNode in SplitAggCopy()
300 static StmtNode *SplitDassignAggCopy(DassignNode *dassign, BlockNode *block, MIRFunction *func) in SplitDassignAggCopy()
326 static StmtNode *SplitIassignAggCopy(IassignNode *iassign, BlockNode *block, MIRFunction *func) in SplitIassignAggCopy()
362 StmtNode *Simplify::SimplifyToSelect(MIRFunction *func, IfStmtNode *ifNode, BlockNode *block) in SimplifyToSelect()
783 static void InsertAndMayPrintStmt(BlockNode &block, const StmtNode &anchor, bool debug, StmtNode *s… in InsertAndMayPrintStmt()
794 static void InsertBeforeAndMayPrintStmtList(BlockNode &block, const StmtNode &anchor, bool debug, in InsertBeforeAndMayPrintStmtList()
862 static void AddNullptrHandlerIR(const StmtNode &stmt, MIRBuilder *mirBuilder, BlockNode &block, Stm… in AddNullptrHandlerIR()
870 static void AddMemsetCallStmt(const StmtNode &stmt, MIRFunction &func, BlockNode &block, BaseNode *… in AddMemsetCallStmt()
[all …]
Dext_constantfold.cpp28 return ExtSimplifyBlock(static_cast<BlockNode *>(node)); in ExtSimplify()
283 StmtNode *ExtConstantFold::ExtSimplifyBlock(BlockNode *node) in ExtSimplifyBlock()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
Dmir_lower.cpp126 void MIRLower::LowerBuiltinExpect(BlockNode &block) in LowerBuiltinExpect()
138 LabelIdx MIRLower::CreateCondGotoStmt(Opcode op, BlockNode &blk, const IfStmtNode &ifStmt) in CreateCondGotoStmt()
159 void MIRLower::CreateBrFalseStmt(BlockNode &blk, const IfStmtNode &ifStmt) in CreateBrFalseStmt()
174 void MIRLower::CreateBrTrueStmt(BlockNode &blk, const IfStmtNode &ifStmt) in CreateBrTrueStmt()
189 void MIRLower::CreateBrFalseAndGotoStmt(BlockNode &blk, const IfStmtNode &ifStmt) in CreateBrFalseAndGotoStmt()
224 BlockNode *MIRLower::LowerIfStmt(IfStmtNode &ifStmt, bool recursive) in LowerIfStmt()
236 auto *blk = mirModule.CurFuncCodeMemPool()->New<BlockNode>(); in LowerIfStmt()
287 BlockNode *MIRLower::LowerSwitchStmt(SwitchNode *switchNode) in LowerSwitchStmt()
291 BlockNode *blk = mirModule.CurFuncCodeMemPool()->New<BlockNode>(); in LowerSwitchStmt()
301 BlockNode *blk = mirModule.CurFuncCodeMemPool()->New<BlockNode>(); in LowerSwitchStmt()
[all …]
Dmir_nodes.cpp193 void BlockNode::AddStatement(StmtNode *stmt) in AddStatement()
199 void BlockNode::AppendStatementsFromBlock(BlockNode &blk) in AppendStatementsFromBlock()
208 void BlockNode::InsertFirst(StmtNode *stmt) in InsertFirst()
215 void BlockNode::InsertLast(StmtNode *stmt) in InsertLast()
221 void BlockNode::ReplaceStmtWithBlock(StmtNode &stmtNode, BlockNode &blk) in ReplaceStmtWithBlock()
228 void BlockNode::ReplaceStmt1WithStmt2(const StmtNode *stmtNode1, StmtNode *stmtNode2) in ReplaceStmt1WithStmt2()
243 void BlockNode::RemoveStmt(const StmtNode *stmtNode1) in RemoveStmt()
250 void BlockNode::InsertBefore(const StmtNode *stmtNode1, StmtNode *stmtNode2) in InsertBefore()
256 void BlockNode::InsertAfter(const StmtNode *stmtNode1, StmtNode *stmtNode2) in InsertAfter()
262 void BlockNode::InsertBlockAfter(BlockNode &inblock, const StmtNode *stmt1) in InsertBlockAfter()
[all …]
Dbin_func_export.cpp383 void BinaryMplExport::OutputBlockNode(BlockNode *block) in OutputBlockNode()
649 BlockNode *blockNode = static_cast<BlockNode *>(s); in OutputBlockNode()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/
Dswitch_lowerer.cpp182 BlockNode *SwitchLowerer::BuildCodeForSwitchItems(int32 start, int32 end, bool lowBlockNodeChecked, in BuildCodeForSwitchItems()
187 BlockNode *localBlk = mirModule.CurFuncCodeMemPool()->New<BlockNode>(); in BuildCodeForSwitchItems()
288BlockNode *tmp = BuildCodeForSwitchItems(start, end, lowBlockNodeChecked, highBlockNodeChecked); in BuildCodeForSwitchItems()
340 BlockNode *SwitchLowerer::LowerSwitch() in LowerSwitch()
343 BlockNode *localBlk = mirModule.CurFuncCodeMemPool()->New<BlockNode>(); in LowerSwitch()
361BlockNode *blkNode = BuildCodeForSwitchItems(0, static_cast<int>(switchItems.size()) - 1, false, f… in LowerSwitch()
Dlower.cpp210 BaseNode *CGLowerer::SplitBinaryNodeOpnd1(BinaryNode &bNode, BlockNode &blkNode) in SplitBinaryNodeOpnd1()
232 BaseNode *CGLowerer::SplitTernaryNodeResult(TernaryNode &tNode, BaseNode &parent, BlockNode &blkNod… in SplitTernaryNodeResult()
300 BaseNode *CGLowerer::LowerComplexSelect(const TernaryNode &tNode, BaseNode &parent, BlockNode &blkN… in LowerComplexSelect()
764 BaseNode *baseAddr, BaseNode *rhs, BlockNode *block) in WriteBitField()
885 BlockNode *CGLowerer::LowerReturnStructUsingFakeParm(NaryStmtNode &retNode) in LowerReturnStructUsingFakeParm()
887 BlockNode *blk = mirModule.CurFuncCodeMemPool()->New<BlockNode>(); in LowerReturnStructUsingFakeParm()
928 BlockNode *CGLowerer::LowerReturn(NaryStmtNode &retNode) in LowerReturn()
930 BlockNode *blk = mirModule.CurFuncCodeMemPool()->New<BlockNode>(); in LowerReturn()
950 StmtNode *CGLowerer::LowerDassignBitfield(DassignNode &dassign, BlockNode &newBlk) in LowerDassignBitfield()
968 StmtNode *CGLowerer::LowerIassignBitfield(IassignNode &iassign, BlockNode &newBlk) in LowerIassignBitfield()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/include/
Dphase_impl.h58 void SetCurrentBlock(BlockNode &block) in SetCurrentBlock()
69 BlockNode *currBlock = nullptr;
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_phase/src/
Dphase_impl.cpp80 BlockNode &block = static_cast<BlockNode &>(stmt); in ProcessBlock()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/
Deh_func.cpp30 BlockNode *blkNode = mirFunc.GetBody(); in CollectEHInformation()
85 BlockNode *bodyNode = mirFunc.GetBody(); in CollectEHInformation()
235 BlockNode *bodyNode = mirFunc.GetBody(); in Lower()
528 BlockNode *blockNode = cgFunc->GetFunction().GetBody(); in GenerateCleanupLabel()
532 void EHFunc::InsertDefaultLabelAndAbortFunc(BlockNode &blkNode, SwitchNode &switchNode, const StmtN… in InsertDefaultLabelAndAbortFunc()
582 BlockNode *blockNode = cgFunc->GetFunction().GetBody(); in InsertEHSwitchTable()
622 BlockNode *funcBody = cgFunc->GetFunction().GetBody(); in InsertCxaAfterEachCatch()
667 BlockNode *bodyNode = cgFunc->GetFunction().GetBody(); in FillLSDACallSiteTable()
Dcg_phasemanager.cpp192 const BlockNode *blk = static_cast<const BlockNode *>(baseNode); in RecursiveMarkUsedStaticSymbol()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/
Deh_func.h204 …void InsertDefaultLabelAndAbortFunc(BlockNode &blkNode, SwitchNode &switchNode, const StmtNode &be…

12