MandarinISelLowering.cpp
// IntCondCCodeToICC - Convert a DAG integer condition code to a Mandarin CC condition.

Convert a DAG integer condition code to a Mandarin CC condition.
Convert a DAG integer condition code to a Mandarin CC condition .
static MDCC::CondCodes DAGIntCCToMDCC(ISD::CondCode CC) {
  switch (CC) {
  default:
	  llvm_unreachable("Unknown integer condition code!");
  case ISD::SETEQ:  return MDCC::COND_EQ;
  case ISD::SETNE:  return MDCC::COND_NE;
  case ISD::SETLT:  return MDCC::COND_LS;
  case ISD::SETGT:  return MDCC::COND_GR;
  case ISD::SETLE:  return MDCC::COND_LE;
  case ISD::SETGE:  return MDCC::COND_GE;
  }
}
static MDCC :: CondCodes DAGIntCCToMDCC ( ISD :: CondCode CC ) { switch ( CC ) { default : llvm_unreachable ( " " ) ; case ISD :: SETEQ : return MDCC :: COND_EQ ; case ISD :: SETNE : return MDCC :: COND_NE ; case ISD :: SETLT : return MDCC :: COND_LS ; case ISD :: SETGT : return MDCC :: COND_GR ; case ISD :: SETLE : return MDCC :: COND_LE ; case ISD :: SETGE : return MDCC :: COND_GE ; } }
IntCondCCodeToICC - Convert a DAG integer condition code to a Mandarin CC condition.
IntCondCCodeToICC - Convert a DAG integer condition code to a Mandarin CC condition .
// TODO: should return signed/unsigned operation flag
