Lines Matching refs:phi

1592       PhiNode* phi;
1594 phi = m->as_Phi();
1596 phi = NULL;
1604 assert(phi == NULL, "the merge contains phis, not vice versa");
1608 if (phi == NULL) {
1619 phi = ensure_phi(j, nophi);
1626 // - there is no phi (because TypeFlow detected a conflict), or
1628 // It is a bug if we create a phi which sees a garbage value on a live path.
1630 if (phi != NULL) {
1632 assert(phi->region() == r, "");
1633 phi->set_req(pnum, n); // Then add 'n' to the merge
1640 debug_only(const Type* bt1 = phi->bottom_type());
1642 map()->set_req(j, _gvn.transform_no_reclaim(phi));
1643 debug_only(const Type* bt2 = phi->bottom_type());
1645 record_for_igvn(phi);
1689 // The optimizer will sort it out, slicing the phi.
1701 PhiNode* phi;
1703 phi = ensure_memory_phi(mms.alias_idx(), nophi);
1706 phi = p->as_Phi();
1708 phi = NULL;
1710 // Insert q into local phi
1711 if (phi != NULL) {
1712 assert(phi->region() == r, "");
1713 p = phi;
1714 phi->set_req(pnum, q);
1716 base = phi; // delay transforming it
1718 record_for_igvn(phi);
1719 p = _gvn.transform_no_reclaim(phi);
1736 // Ensure a phi on all currently known memories.
1744 // merged into the base-memory phi that we are building here.
1746 // phi-loops for each memory slice that matters.
1789 // Ensure a phi on all currently known memories.
1791 Node* phi = mms.memory();
1792 if (phi->is_Phi() && phi->as_Phi()->region() == r) {
1793 assert(phi->req() == pnum, "must be same size as region");
1794 phi->add_req(NULL);
1825 assert(!nocreate, "Cannot build a phi for a block already parsed.");
1838 assert(false, "no type information for this phi");
1850 // A top on a non-null control flow must be an unused even after the.phi.
1856 PhiNode* phi = PhiNode::make(region, o, t);
1857 gvn().set_type(phi, t);
1858 if (C->do_escape_analysis()) record_for_igvn(phi);
1859 map->set_req(idx, phi);
1860 return phi;
1873 PhiNode* phi;
1875 phi = o->as_Phi();
1876 if (phi == mem->base_memory() && idx >= Compile::AliasIdxRaw) {
1877 // clone the shared base memory phi to make a new memory split
1878 assert(!nocreate, "Cannot build a phi for a block already parsed.");
1879 const Type* t = phi->bottom_type();
1881 phi = phi->slice_memory(adr_type);
1882 gvn().set_type(phi, t);
1884 return phi;
1888 assert(!nocreate, "Cannot build a phi for a block already parsed.");
1891 phi = PhiNode::make(region, o, t, adr_type);
1892 gvn().set_type(phi, t);
1894 mem->set_base_memory(phi);
1896 mem->set_memory_at(idx, phi);
1897 return phi;
1994 Node* phi = mms.force_memory()->as_Phi()->slice_memory(adr_type);
1995 assert(phi->as_Phi()->region() == mms.base_memory()->in(0), "");
1996 gvn().set_type_bottom(phi);
1997 phi->del_req(phi->req()-1); // prepare to re-patch
1998 mms.set_memory(phi);
2008 Node* phi = _exits.argument(0);
2009 const TypeInstPtr *tr = phi->bottom_type()->isa_instptr();
2021 phi->add_req(value);