Lines Matching full:basicblock
131 BasicBlock* MIRGraph::SplitBlock(unsigned int code_offset,
132 BasicBlock* orig_block, BasicBlock** immed_pred_block_p) {
141 BasicBlock *bottom_block = NewMemBB(kDalvikByteCode, num_blocks_++);
180 BasicBlock *bb = successor_block_info->block;
209 BasicBlock* MIRGraph::FindBlock(unsigned int code_offset, bool split, bool create,
210 BasicBlock** immed_pred_block_p) {
211 BasicBlock* bb;
213 SafeMap<unsigned int, BasicBlock*>::iterator it;
229 BasicBlock *new_bb = SplitBlock(code_offset, bb, bb == *immed_pred_block_p ?
278 BasicBlock* MIRGraph::ProcessCanBranch(BasicBlock* cur_block, MIR* insn, int cur_offset, int width,
309 BasicBlock *taken_block = FindBlock(target, /* split */ true, /* create */ true,
316 BasicBlock *fallthrough_block = FindBlock(cur_offset + width,
344 void MIRGraph::ProcessCanSwitch(BasicBlock* cur_block, MIR* insn, int cur_offset, int width,
399 BasicBlock *case_block = FindBlock(cur_offset + target_table[i], /* split */ true,
413 BasicBlock* fallthrough_block = FindBlock(cur_offset + width, /* split */ false,
420 BasicBlock* MIRGraph::ProcessCanThrow(BasicBlock* cur_block, MIR* insn, int cur_offset, int width,
440 BasicBlock *catch_block = FindBlock(iterator.GetHandlerAddress(), false /* split*/,
454 BasicBlock *eh_block = NewMemBB(kExceptionHandling, num_blocks_++);
488 BasicBlock *new_block = NewMemBB(kDalvikByteCode, num_blocks_++);
556 BasicBlock *cur_block = NewMemBB(kDalvikByteCode, num_blocks_++);
668 BasicBlock *next_block = FindBlock(current_offset_, /* split */ false, /* create */
729 BasicBlock *bb = GetBasicBlock(block_idx);
786 BasicBlock *dest_block = successor_block_info->block;
812 BasicBlock *dest_block = successor_block_info->block;
838 void MIRGraph::AppendMIR(BasicBlock* bb, MIR* mir) {
852 void MIRGraph::PrependMIR(BasicBlock* bb, MIR* mir) {
866 void MIRGraph::InsertMIRAfter(BasicBlock* bb, MIR* current_mir, MIR* new_mir) {
1046 void MIRGraph::GetBlockName(BasicBlock* bb, char* name) {
1075 BasicBlock* bb;
1087 GrowableArray<BasicBlock*>::Iterator iterator(&block_list_);
1115 CallInfo* MIRGraph::NewMemCallInfo(BasicBlock* bb, MIR* mir, InvokeType type,
1142 BasicBlock* MIRGraph::NewMemBB(BBType block_type, int block_id) {
1143 BasicBlock* bb = static_cast<BasicBlock*>(arena_->Alloc(sizeof(BasicBlock),
1148 bb->predecessors = new (arena_) GrowableArray<BasicBlock*>(arena_,