Home
last modified time | relevance | path

Searched refs:new_block (Results 1 – 3 of 3) sorted by relevance

/art/compiler/optimizing/
Dnodes.cc194 HBasicBlock* new_block = new (arena_) HBasicBlock(this, successor->GetDexPc()); in SplitCriticalEdge() local
195 AddBlock(new_block); in SplitCriticalEdge()
196 new_block->AddInstruction(new (arena_) HGoto()); in SplitCriticalEdge()
199 new_block->InsertBetween(block, successor); in SplitCriticalEdge()
205 info->AddBackEdge(new_block); in SplitCriticalEdge()
931 HBasicBlock* new_block = new (GetGraph()->GetArena()) HBasicBlock(GetGraph(), GetDexPc()); in SplitAfter() local
932 new_block->instructions_.first_instruction_ = cursor->GetNext(); in SplitAfter()
933 new_block->instructions_.last_instruction_ = instructions_.last_instruction_; in SplitAfter()
938 new_block->instructions_.SetBlockOfInstructions(new_block); in SplitAfter()
941 new_block->successors_.Add(successor); in SplitAfter()
[all …]
Dnodes.h543 void ReplaceDominatedBlock(HBasicBlock* existing, HBasicBlock* new_block) { in ReplaceDominatedBlock() argument
546 dominated_blocks_.Put(i, new_block); in ReplaceDominatedBlock()
571 void ReplaceSuccessor(HBasicBlock* existing, HBasicBlock* new_block) { in ReplaceSuccessor() argument
575 new_block->predecessors_.Add(this); in ReplaceSuccessor()
576 successors_.Put(successor_index, new_block); in ReplaceSuccessor()
579 void ReplacePredecessor(HBasicBlock* existing, HBasicBlock* new_block) { in ReplacePredecessor() argument
583 new_block->successors_.Add(this); in ReplacePredecessor()
584 predecessors_.Put(predecessor_index, new_block); in ReplacePredecessor()
/art/compiler/dex/
Dmir_graph.cc686 BasicBlock* new_block = CreateNewBB(kDalvikByteCode); in ProcessCanThrow() local
687 new_block->start_offset = insn->offset; in ProcessCanThrow()
688 cur_block->fall_through = new_block->id; in ProcessCanThrow()
689 new_block->predecessors.push_back(cur_block->id); in ProcessCanThrow()
695 new_block->AppendMIR(new_insn); in ProcessCanThrow()
696 return new_block; in ProcessCanThrow()