/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/be/ |
H A D | lower.h | 75 StmtNode *LowerDefaultIntrinsicCall(IntrinsiccallNode &intrinCall, MIRSymbol &st, MIRFunction &fn); 77 StmtNode *LowerIntrinsiccall(IntrinsiccallNode &intrinCall, BlockNode &); 102 StmtNode *LowerDassignToThreadLocal(StmtNode &stmt, const BlockNode &block); 117 void LowerCallStmt(StmtNode &, StmtNode *&, BlockNode &, MIRType *retty = nullptr, bool uselvar = false, 120 BlockNode *LowerCallAssignedStmt(StmtNode &stmt, bool uselvar = false); 124 BlockNode *LowerIntrinsiccallToIntrinsicop(StmtNode &stmt); 126 void LowerStmt(StmtNode &stmt, BlockNode &block); 128 void LowerSwitchOpnd(StmtNode [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/ |
H A D | mir_nodes.cpp | 30 std::atomic<uint32> StmtNode::stmtIDNext(1); // 0 is reserved 31 uint32 StmtNode::lastPrintedLineNum = 0; 32 uint16 StmtNode::lastPrintedColumnNum = 0; 54 void BlockNode::AddStatement(StmtNode *stmt) in AddStatement() 69 void BlockNode::InsertFirst(StmtNode *stmt) in InsertFirst() 76 void BlockNode::InsertLast(StmtNode *stmt) in InsertLast() 83 void BlockNode::RemoveStmt(const StmtNode *stmtNode1) in RemoveStmt() 90 void BlockNode::InsertBefore(const StmtNode *stmtNode1, StmtNode *stmtNode2) in InsertBefore() 96 void BlockNode::InsertAfter(const StmtNode *stmtNode [all...] |
H A D | mir_lower.cpp | 334 StmtNode *nextStmt = block.GetFirst(); in LowerBlock() 337 StmtNode *stmt = nextStmt; in LowerBlock() 372 BaseNode *MIRLower::LowerEmbeddedCandCior(BaseNode *x, StmtNode *curstmt, BlockNode *blk) in LowerEmbeddedCandCior() 390 StmtNode *nextStmt = block.GetFirst(); in LowerCandCior() 392 StmtNode *stmt = nextStmt; in LowerCandCior()
|
H A D | mir_builder.cpp | 449 StmtNode *MIRBuilder::CreateStmtComment(const std::string &cmnt) in CreateStmtComment()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/be/ |
H A D | lower.cpp | 105 StmtNode *newStmt = nullptr; in LowerIassign() 143 void CGLowerer::LowerCallStmt(StmtNode &stmt, StmtNode *&nextStmt, BlockNode &newBlk, MIRType *retty, bool uselvar, in LowerCallStmt() 146 StmtNode *newStmt = nullptr; in LowerCallStmt() 173 StmtNode *CGLowerer::GenCallNode(const StmtNode &stmt, PUIdx &funcCalled, CallNode &origCall) in GenCallNode() 189 StmtNode *CGLowerer::GenIntrinsiccallNode(const StmtNode &stmt, PUIdx &funcCalled, bool &handledAtLowerLevel, in GenIntrinsiccallNode() 192 StmtNode *newCall = nullptr; in GenIntrinsiccallNode() 221 StmtNode *CGLowere [all...] |
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | mir_nodes.h | 1018 class StmtNode : public BaseNode, public PtrListNodeBase<StmtNode> { class 1024 explicit StmtNode(Opcode o) : BaseNode(o), PtrListNodeBase(), stmtID(stmtIDNext), stmtOriginalID(stmtIDNext) in StmtNode() function in StmtNode 1029 StmtNode(Opcode o, uint8 numOpr) in StmtNode() function in StmtNode 1035 StmtNode(Opcode o, PrimType typ, uint8 numOpr) in StmtNode() function in StmtNode 1042 StmtNode(Opcode o, PrimType typ, uint8 numOpr, const SrcPosition &srcPosition, uint32 stmtOriginalID, in StmtNode() function in StmtNode 1054 virtual ~StmtNode() = default; 1062 virtual StmtNode *CloneTree(MapleAllocator &allocator) const override 1064 auto *s = allocator.GetMemPool()->New<StmtNode>(*this); 1187 class IassignNode : public StmtNode { [all...] |
H A D | mir_lower.h | 73 BaseNode *LowerEmbeddedCandCior(BaseNode *x, StmtNode *curstmt, BlockNode *block); 139 void CopyStmtFrequency(StmtNode *newStmt, StmtNode *oldStmt) in CopyStmtFrequency()
|
H A D | mir_builder.h | 213 StmtNode *CreateStmtComment(const std::string &comment);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/ |
H A D | cgfunc.cpp | 273 static void HandleLabel(StmtNode &stmt, CGFunc &cgFunc) in HandleLabel() 286 static void HandleGoto(StmtNode &stmt, CGFunc &cgFunc) in HandleGoto() 299 static void HandleCondbr(StmtNode &stmt, CGFunc &cgFunc) in HandleCondbr() 369 static void HandleReturn(StmtNode &stmt, CGFunc &cgFunc) in HandleReturn() 382 static void HandleCall(StmtNode &stmt, CGFunc &cgFunc) in HandleCall() 388 static void HandleICall(StmtNode &stmt, CGFunc &cgFunc) in HandleICall() 395 static void HandleIntrinsicCall(StmtNode &stmt, CGFunc &cgFunc) in HandleIntrinsicCall() 401 static void HandleDassign(StmtNode &stmt, CGFunc &cgFunc) in HandleDassign() 418 static void HandleRegassign(StmtNode &stmt, CGFunc &cgFunc) in HandleRegassign() 435 static void HandleIassign(StmtNode [all...] |
H A D | isel.cpp | 140 static void HandleDassign(StmtNode &stmt, MPISel &iSel) in HandleDassign() 153 static void HandleIassign(StmtNode &stmt, MPISel &iSel) in HandleIassign() 169 static void HandleRegassign(StmtNode &stmt, MPISel &iSel) in HandleRegassign() 179 static void HandleLabel(StmtNode &stmt, const MPISel &iSel) in HandleLabel() 190 static void HandleGoto(StmtNode &stmt, MPISel &iSel) in HandleGoto() 204 static void HandleIntrinCall(StmtNode &stmt, MPISel &iSel) in HandleIntrinCall() 210 static void HandleRangeGoto(StmtNode &stmt, MPISel &iSel) in HandleRangeGoto() 221 void HandleReturn(StmtNode &stmt, MPISel &iSel) in HandleReturn() 236 static void HandleComment(StmtNode &stmt, MPISel &iSel) in HandleComment() 241 static void HandleIcall(StmtNode [all...] |
H A D | memlayout.cpp | 34 StmtNode *stmt = mirFunction->GetBody()->GetFirst(); in FindLargestActualArea()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/ |
H A D | cgbb.h | 343 StmtNode *GetFirstStmt() 347 const StmtNode *GetFirstStmt() const 351 void SetFirstStmt(StmtNode &arg) 355 StmtNode *GetLastStmt() 359 const StmtNode *GetLastStmt() const 363 void SetLastStmt(StmtNode &arg) 976 StmtNode *firstStmt = nullptr; 977 StmtNode *lastStmt = nullptr;
|
H A D | call_conv.h | 286 static CallConvKind GetCallConvKind(StmtNode &node) in GetCallConvKind()
|
H A D | isel.h | 60 void SelectCallCommon(StmtNode &stmt, const MPISel &iSel); 138 StmtNode *HandleFuncEntry();
|
H A D | memlayout.h | 23 #include "mir_nodes.h" /* StmtNode */ 173 virtual uint32 ComputeStackSpaceRequirementForCall(StmtNode &stmtNode, int32 &aggCopySize, bool isIcall) = 0;
|
H A D | cgfunc.h | 817 BB *StartNewBBImpl(bool stmtIsCurBBLastStmt, StmtNode &stmt) in StartNewBBImpl() 839 BB *StartNewBB(StmtNode &stmt) in StartNewBB() 1132 StmtNode *HandleFirstStmt();
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/x86_64/ |
H A D | x64_memlayout.h | 101 uint32 ComputeStackSpaceRequirementForCall(StmtNode &stmtNode, int32 &aggCopySize, bool isIcall) override;
|
H A D | x64_MPISel.h | 56 void SelectParmList(StmtNode &naryNode, ListOperand &srcOpnds, uint32 &fpNum);
|
H A D | x64_call_conv.h | 169 static CallConvKind GetCallConvKind(StmtNode &node) in GetCallConvKind()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/cg/aarch64/ |
H A D | aarch64_memlayout.h | 151 uint32 ComputeStackSpaceRequirementForCall(StmtNode &stmt, int32 &aggCopySize, bool isIcall) override;
|
H A D | aarch64_cgfunc.h | 595 std::pair<MIRFunction *, MIRFuncType *> GetCalleeFunction(StmtNode &naryNode) const; 596 bool SelectParmListPreprocess(StmtNode &naryNode, size_t start, std::vector<ParamDesc> &argsDesc, 598 void SelectParmList(StmtNode &naryNode, ListOperand &srcOpnds, bool isCallNative = false); 599 void SelectParmListNotC(StmtNode &naryNode, ListOperand &srcOpnds); 633 void SelectParmListWrapper(StmtNode &naryNode, ListOperand &srcOpnds, bool isCallNative);
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/include/litecg/ |
H A D | lmir_builder.h | 55 class StmtNode; 75 using Stmt = StmtNode;
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/x86_64/ |
H A D | x64_memlayout.cpp | 26 uint32 X64MemLayout::ComputeStackSpaceRequirementForCall(StmtNode &stmt, int32 &aggCopySize, bool isIcall) in ComputeStackSpaceRequirementForCall()
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_be/src/cg/aarch64/ |
H A D | aarch64_memlayout.cpp | 29 uint32 AArch64MemLayout::ComputeStackSpaceRequirementForCall(StmtNode &stmt, int32 &aggCopySize, bool isIcall) in ComputeStackSpaceRequirementForCall()
|
H A D | aarch64_cgfunc.cpp | 3305 bool AArch64CGFunc::SelectParmListPreprocess(StmtNode &naryNode, size_t start, std::vector<ParamDesc> &argsDesc, 3320 std::pair<MIRFunction *, MIRFuncType *> AArch64CGFunc::GetCalleeFunction(StmtNode &naryNode) const 3361 void AArch64CGFunc::SelectParmList(StmtNode &naryNode, ListOperand &srcOpnds, bool isCallNative) 3482 void AArch64CGFunc::SelectParmListNotC(StmtNode &naryNode, ListOperand &srcOpnds) 3541 void AArch64CGFunc::SelectParmListWrapper(StmtNode &naryNode, ListOperand &srcOpnds, bool isCallNative)
|