/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#include "precompiled.hpp"
#include "opto/matcher.hpp"
#include "opto/multnode.hpp"
#include "opto/opcodes.hpp"
#include "opto/phaseX.hpp"
#include "opto/regmask.hpp"
//=============================================================================
//------------------------------MultiNode--------------------------------------
}
//------------------------------proj_out---------------------------------------
// Get a named projection
assert(Opcode() != Op_If || which_proj == (uint)true || which_proj == (uint)false, "must be 1 or 0");
if( !p->is_Proj() ) {
continue;
}
return proj;
}
}
return NULL;
}
//=============================================================================
//------------------------------ProjNode---------------------------------------
// only one input
}
uint ProjNode::cmp( const Node &n ) const { return _con == ((ProjNode&)n)._con && ((ProjNode&)n)._is_io_use == _is_io_use; }
// Test if we propagate interesting control along this projection
}
}
// in(0) might be a narrow MemBar; otherwise we will report TypePtr::BOTTOM
#ifdef ASSERT
#endif
return adr_type;
}
return NULL;
}
#ifndef PRODUCT
void ProjNode::dump_spec(outputStream *st) const { st->print("#%d",_con); if(_is_io_use) st->print(" (i_o_use)");}
#endif
//----------------------------check_con----------------------------------------
if (n == NULL) return; // should be assert, but NodeHash makes bogons
if (n->is_Mach()) return; // mach. projs. are not type-safe
if (n->is_Start()) return; // alas, starts can have mach. projs. also
const Type* t = n->bottom_type();
}
//------------------------------Value------------------------------------------
}
//------------------------------out_RegMask------------------------------------
// Pass the buck uphill
}
//------------------------------ideal_reg--------------------------------------
}