Lines Matching defs:Block
371 Block* non_osr_block = non_osr_flow->existing_block_at(start_bci(), jsrs);
384 Block* block = block_at(non_osr_start, jsrs);
1565 void ciTypeFlow::SuccIter::set_succ(Block* succ) {
1575 // ciTypeFlow::Block
1580 // ciTypeFlow::Block::Block
1581 ciTypeFlow::Block::Block(ciTypeFlow* outer,
1611 // ciTypeFlow::Block::df_init
1612 void ciTypeFlow::Block::df_init() {
1621 // ciTypeFlow::Block::successors
1623 // Get the successors for this Block.
1624 GrowableArray<ciTypeFlow::Block*>*
1625 ciTypeFlow::Block::successors(ciBytecodeStream* str,
1637 Block* block = NULL;
1642 new (arena) GrowableArray<Block*>(arena, 1, 0, NULL);
1648 new (arena) GrowableArray<Block*>(arena, 1, 0, NULL);
1650 Block* block = analyzer->block_at(limit(), _jsrs);
1657 Block* target = NULL;
1673 new (arena) GrowableArray<Block*>(arena, 2, 0, NULL);
1683 new (arena) GrowableArray<Block*>(arena, 1, 0, NULL);
1691 new (arena) GrowableArray<Block*>(arena, 1, 0, NULL);
1699 new (arena) GrowableArray<Block*>(arena, 1, 0, NULL);
1709 new (arena) GrowableArray<Block*>(arena, len+1, 0, NULL);
1711 Block* block = analyzer->block_at(bci, jsrs);
1728 new (arena) GrowableArray<Block*>(arena, npairs+1, 0, NULL);
1730 Block* block = analyzer->block_at(bci, jsrs);
1736 Block* block = analyzer->block_at(bci, jsrs);
1748 new (arena) GrowableArray<Block*>(arena, 1, 0, NULL);
1754 new (arena) GrowableArray<Block*>(arena, 1, 0, NULL);
1776 // ciTypeFlow::Block:compute_exceptions
1778 // Compute the exceptional successors and types for this Block.
1779 void ciTypeFlow::Block::compute_exceptions() {
1796 _exceptions = new (arena) GrowableArray<Block*>(arena, exc_count, 0, NULL);
1819 // ciTypeFlow::Block::set_backedge_copy
1821 void ciTypeFlow::Block::set_backedge_copy(bool z) {
1827 // ciTypeFlow::Block::is_clonable_exit
1831 bool ciTypeFlow::Block::is_clonable_exit(ciTypeFlow::Loop* lp) {
1835 Block* succ = iter.succ();
1849 // ciTypeFlow::Block::looping_succ
1851 ciTypeFlow::Block* ciTypeFlow::Block::looping_succ(ciTypeFlow::Loop* lp) {
1854 Block* succ = iter.succ();
1864 // ciTypeFlow::Block::print_value_on
1865 void ciTypeFlow::Block::print_value_on(outputStream* st) const {
1876 // ciTypeFlow::Block::print_on
1877 void ciTypeFlow::Block::print_on(outputStream* st) const {
1903 Block* successor = _successors->at(i);
1915 Block* exc_succ = _exceptions->at(i);
1968 _idx_to_blocklist = NEW_ARENA_ARRAY(arena(), GrowableArray<Block*>*, _ciblock_count);
1981 ciTypeFlow::Block* ciTypeFlow::work_list_next() {
1983 Block* next_block = _work_list;
1995 void ciTypeFlow::add_to_work_list(ciTypeFlow::Block* block) {
2008 Block* prev = NULL;
2009 Block* current = _work_list;
2035 ciTypeFlow::Block* ciTypeFlow::block_at(int bci, ciTypeFlow::JsrSet* jsrs, CreateOption option) {
2045 Block* block = get_block_for(ciblk->index(), jsrs, option);
2095 void ciTypeFlow::flow_exceptions(GrowableArray<ciTypeFlow::Block*>* exceptions,
2101 Block* block = exceptions->at(i);
2111 // Block was modified and has PO. Add it to the work list.
2125 void ciTypeFlow::flow_successors(GrowableArray<ciTypeFlow::Block*>* successors,
2129 Block* block = successors->at(i);
2131 // Block was modified and has PO. Add it to the work list.
2183 Block* head = lp->head();
2208 Block* new_head = head->looping_succ(lp);
2209 Block* clone = clone_loop_head(lp, temp_vector, temp_set);
2248 ciTypeFlow::Block* ciTypeFlow::clone_loop_head(Loop* lp, StateVector* temp_vector, JsrSet* temp_set) {
2249 Block* head = lp->head();
2250 Block* tail = lp->tail();
2256 Block* clone = block_at(head->start(), head->jsrs(), create_backedge_copy);
2294 void ciTypeFlow::flow_block(ciTypeFlow::Block* block,
2315 GrowableArray<Block*>* exceptions = block->exceptions();
2359 // Discontinue interpretation of this Block.
2364 GrowableArray<Block*>* successors = NULL;
2483 void ciTypeFlow::build_loop_tree(Block* blk) {
2489 Block* succ = iter.succ();
2617 void ciTypeFlow::df_flow_types(Block* start,
2622 GrowableArray<Block*> stk(dft_len);
2626 Block* root_head = new (arena()) Block(this, dummy, root_set);
2627 Block* root_tail = new (arena()) Block(this, dummy, root_set);
2643 Block* blk = stk.top(); // Leave node on stack
2665 Block* succ = iter.succ();
2701 Block* start = block_at(start_bci(), temp_set);
2724 for (Block* blk = _rpo_list; blk != NULL;) {
2725 Block* next = blk->rpo_next();
2743 Block* blk = work_list_next();
2760 _block_map = NEW_ARENA_ARRAY(arena(), Block*, block_ct);
2763 Block* blk = _rpo_list;
2774 Block* block = _block_map[j];
2777 GrowableArray<Block*>* l = e? block->exceptions(): block->successors();
2779 Block* s = l->at(k);
2800 ciTypeFlow::Block* ciTypeFlow::get_block_for(int ciBlockIndex, ciTypeFlow::JsrSet* jsrs, CreateOption option) {
2802 GrowableArray<Block*>* blocks = _idx_to_blocklist[ciBlockIndex];
2808 blocks = new (a) GrowableArray<Block*>(a, 4, 0, NULL);
2815 Block* block = blocks->at(i);
2826 Block* new_block = new (a) Block(this, _methodBlocks->block(ciBlockIndex), jsrs);
2836 GrowableArray<Block*>* blocks = _idx_to_blocklist[ciBlockIndex];
2845 Block* block = blocks->at(i);
2920 GrowableArray<Block*>* blocks = _idx_to_blocklist[blk->index()];
2927 Block* block = blocks->at(i);
2945 for (Block* blk = _rpo_list; blk != NULL; blk = blk->rpo_next()) {