Lib/Target/instr/Instr.cpp
/**
 * Determine if this instruction has all fields set to zero.
 *
 * This is an illegal instruction, but has popped up.
 */
Determine if this instruction has all fields set to zero.
This is an illegal instruction, but has popped up.
Determine if this instruction has all fields set to zero . This is an illegal instruction but has popped up .
bool Instr::isZero() const {
  return tag == InstrTag::LI
      && !m_set_cond.flags_set()
      && m_assign_cond == AssignCond(AssignCond::NEVER, ZS)
      && LI.imm.is_zero()
      && dest() == Reg(REG_A, 0) 
  ;
}
bool Instr :: isZero ( ) const { return tag == InstrTag :: LI && ! m_set_cond . flags_set ( ) && m_assign_cond == AssignCond ( AssignCond :: NEVER , ZS ) && LI . imm . is_zero ( ) && dest ( ) == Reg ( REG_A , 0 ) ; }
Determine if this instruction has all fields set to zero.
Determine if this instruction has all fields set to zero .