Home
last modified time | relevance | path

Searched refs:newBlock (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/runtime_core/static_core/compiler/optimizer/analysis/
H A Drpo.h57 void AddBasicBlockAfter(BasicBlock *curBlock, BasicBlock *newBlock) in AddBasicBlockAfter() argument
61 rpoVector_.insert(it + 1, newBlock); in AddBasicBlockAfter()
64 void AddBasicBlockBefore(BasicBlock *curBlock, BasicBlock *newBlock) in AddBasicBlockBefore() argument
68 rpoVector_.insert(it, newBlock); in AddBasicBlockBefore()
H A Dloop_analyzer.h62 void ReplaceBackEdge(BasicBlock *block, BasicBlock *newBlock) in ReplaceBackEdge() argument
64 ASSERT(block != newBlock); in ReplaceBackEdge()
65 ASSERT(std::find(backEdges_.begin(), backEdges_.end(), newBlock) == backEdges_.end()); in ReplaceBackEdge()
69 backEdges_[std::distance(backEdges_.begin(), it)] = newBlock; in ReplaceBackEdge()
/arkcompiler/ets_frontend/ets2panda/test/unit/
H A Dnode_creator.h71 auto *newBlock = alloc_->New<ir::BlockStatement>(alloc_, std::move(tmp)); in CreateBlockWithDeclare() local
72 varDecl->SetParent(newBlock); in CreateBlockWithDeclare()
73 return newBlock; in CreateBlockWithDeclare()
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/src/
H A Dmir_lower.cpp328 auto *newBlock = mirModule.CurFuncCodeMemPool()->New<BlockNode>(); in LowerBlock() local
331 newBlock->SetStmtID(block.GetStmtID()); // keep original block stmtid in LowerBlock()
332 return newBlock; in LowerBlock()
342 newBlock->AppendStatementsFromBlock(*tmp); in LowerBlock()
347 newBlock->AppendStatementsFromBlock(*tmp); in LowerBlock()
349 newBlock->AddStatement(stmt); in LowerBlock()
354 newBlock->AddStatement(stmt); in LowerBlock()
359 newBlock->AppendStatementsFromBlock(*tmp); in LowerBlock()
362 newBlock->AddStatement(stmt); in LowerBlock()
366 newBlock in LowerBlock()
[all...]
/arkcompiler/runtime_core/static_core/runtime/mem/refstorage/
H A Dreference_storage.cpp240 auto *newBlock = CreateBlock(); in PushLocalFrame() local
241 if (newBlock == nullptr) { in PushLocalFrame()
245 newBlock->Reset(); in PushLocalFrame()
246 localStorage_->push_back(newBlock); in PushLocalFrame()
401 RefBlock *newBlock = cachedBlock_; in CreateBlock() local
403 return newBlock; in CreateBlock()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
H A Descape.cpp689 if (auto newBlock = GetLocalAllocator()->New<BasicBlockState>(GetLocalAllocator())) {
690 blockStates_[block->GetId()] = newBlock;

Completed in 6 milliseconds