src/share/vm/adlc/formssel.cpp

Print this page
rev 5661 : 8003854: PPC64 (part 115): Introduce lateExpand that expands nodes after register allocation.

*** 37,46 **** --- 37,47 ---- _ftype = Form::INS; _matrule = NULL; _insencode = NULL; _constant = NULL; + _is_lateExpand = false; _opcode = NULL; _size = NULL; _attribs = NULL; _predicate = NULL; _exprule = NULL;
*** 69,78 **** --- 70,80 ---- _ftype = Form::INS; _matrule = rule; _insencode = instr->_insencode; _constant = instr->_constant; + _is_lateExpand = instr->_is_lateExpand; _opcode = instr->_opcode; _size = instr->_size; _attribs = instr->_attribs; _predicate = instr->_predicate; _exprule = instr->_exprule;
*** 155,164 **** --- 157,171 ---- // This instruction has an expand rule? bool InstructForm::expands() const { return ( _exprule != NULL ); } + // This instruction has a late expand rule? + bool InstructForm::lateExpands() const { + return _is_lateExpand; + } + // This instruction has a peephole rule? Peephole *InstructForm::peepholes() const { return _peephole; }