MandarinISelLowering.cpp
/// getConstraintType - Given a constraint letter, return the type of
/// constraint it is for this target.

Given a constraint letter, return the type of
constraint it is for this target.
Given a constraint letter return the type of constraint it is for this target .
MandarinTargetLowering::ConstraintType
MandarinTargetLowering::getConstraintType(const std::string &Constraint) const {
  if (Constraint.size() == 1) {
    switch (Constraint[0]) {
    default:  break;
    case 'r': return C_RegisterClass;
    }
  }
  return TargetLowering::getConstraintType(Constraint);
}
MandarinTargetLowering :: ConstraintType MandarinTargetLowering :: getConstraintType ( const std :: string & Constraint ) const { if ( Constraint . size ( ) == 1 ) { switch ( Constraint [ 0 ] ) { default : break ; case ' ' : return C_RegisterClass ; } } return TargetLowering :: getConstraintType ( Constraint ) ; }
getConstraintType - Given a constraint letter, return the type of
constraint it is for this target.
getConstraintType - Given a constraint letter return the type of constraint it is for this target .