"Illegal # arguments for intrinsic function!", IF);
Assert1(FT->getReturnType() == FT->getParamType(0),
"Return type does not match source type", IF);
- Assert1(FT->getParamType(0) == Type::UByteTy
- || FT->getParamType(0) == Type::SByteTy,
- "Argument must be a byte type!", IF);
+ Assert1(FT->getParamType(0) == Type::UByteTy,
+ "Argument is not ubyte!", IF);
NumArgs = 1;
break;
"Illegal # arguments for intrinsic function!", IF);
Assert1(FT->getReturnType() == FT->getParamType(0),
"Return type does not match source type", IF);
- Assert1(FT->getParamType(0) == Type::UShortTy
- || FT->getParamType(0) == Type::ShortTy,
- "Argument must be a short type!", IF);
+ Assert1(FT->getParamType(0) == Type::UShortTy,
+ "Argument is not ushort!", IF);
NumArgs = 1;
break;
"Illegal # arguments for intrinsic function!", IF);
Assert1(FT->getReturnType() == FT->getParamType(0),
"Return type does not match source type", IF);
- Assert1(FT->getParamType(0) == Type::UIntTy
- || FT->getParamType(0) == Type::IntTy,
- "Argument must be an int type!", IF);
+ Assert1(FT->getParamType(0) == Type::UIntTy, "Argument is not uint!", IF);
NumArgs = 1;
break;
"Illegal # arguments for intrinsic function!", IF);
Assert1(FT->getReturnType() == FT->getParamType(0),
"Return type does not match source type", IF);
- Assert1(FT->getParamType(0) == Type::ULongTy
- || FT->getParamType(0) == Type::LongTy,
- "Argument must be a long type!", IF);
+ Assert1(FT->getParamType(0) == Type::ULongTy, "Argument is not ulong!", IF);
NumArgs = 1;
break;
"Illegal # arguments for intrinsic function!", IF);
Assert1(FT->getReturnType() == FT->getParamType(0),
"Return type does not match source type", IF);
- Assert1(FT->getParamType(0) == Type::UByteTy
- || FT->getParamType(0) == Type::SByteTy,
- "Argument must be a byte type!", IF);
+ Assert1(FT->getParamType(0) == Type::UByteTy, "Argument is not ubyte!", IF);
NumArgs = 1;
break;
"Illegal # arguments for intrinsic function!", IF);
Assert1(FT->getReturnType() == FT->getParamType(0),
"Return type does not match source type", IF);
- Assert1(FT->getParamType(0) == Type::UShortTy
- || FT->getParamType(0) == Type::ShortTy,
- "Argument must be a short type!", IF);
+ Assert1(FT->getParamType(0) == Type::UShortTy,
+ "Argument is not ushort!", IF);
NumArgs = 1;
break;
case Intrinsic::ctlz_i32:
"Illegal # arguments for intrinsic function!", IF);
Assert1(FT->getReturnType() == FT->getParamType(0),
"Return type does not match source type", IF);
- Assert1(FT->getParamType(0) == Type::UIntTy
- || FT->getParamType(0) == Type::IntTy,
- "Argument must be an int type!", IF);
+ Assert1(FT->getParamType(0) == Type::UIntTy, "Argument is not uint!", IF);
NumArgs = 1;
break;
case Intrinsic::ctlz_i64:
"Illegal # arguments for intrinsic function!", IF);
Assert1(FT->getReturnType() == FT->getParamType(0),
"Return type does not match source type", IF);
- Assert1(FT->getParamType(0) == Type::ULongTy
- || FT->getParamType(0) == Type::LongTy,
- "Argument must be a long type!", IF);
+ Assert1(FT->getParamType(0) == Type::ULongTy, "Argument is not ulong!", IF);
NumArgs = 1;
break;
case Intrinsic::cttz_i8:
"Illegal # arguments for intrinsic function!", IF);
Assert1(FT->getReturnType() == FT->getParamType(0),
"Return type does not match source type", IF);
- Assert1(FT->getParamType(0) == Type::UByteTy
- || FT->getParamType(0) == Type::SByteTy,
- "Argument must be a byte type!", IF);
+ Assert1(FT->getParamType(0) == Type::UByteTy, "Argument is not ubyte!", IF);
NumArgs = 1;
break;
case Intrinsic::cttz_i16:
"Illegal # arguments for intrinsic function!", IF);
Assert1(FT->getReturnType() == FT->getParamType(0),
"Return type does not match source type", IF);
- Assert1(FT->getParamType(0) == Type::UShortTy
- || FT->getParamType(0) == Type::ShortTy,
- "Argument must be a short type!", IF);
+ Assert1(FT->getParamType(0) == Type::UShortTy,
+ "Argument is not ushort!", IF);
NumArgs = 1;
break;
case Intrinsic::cttz_i32:
"Illegal # arguments for intrinsic function!", IF);
Assert1(FT->getReturnType() == FT->getParamType(0),
"Return type does not match source type", IF);
- Assert1(FT->getParamType(0) == Type::UIntTy
- || FT->getParamType(0) == Type::IntTy,
- "Argument must be an int type!", IF);
+ Assert1(FT->getParamType(0) == Type::UIntTy, "Argument is not uint!", IF);
NumArgs = 1;
break;
case Intrinsic::cttz_i64:
"Illegal # arguments for intrinsic function!", IF);
Assert1(FT->getReturnType() == FT->getParamType(0),
"Return type does not match source type", IF);
- Assert1(FT->getParamType(0) == Type::ULongTy
- || FT->getParamType(0) == Type::LongTy,
- "Argument must be a long type!", IF);
+ Assert1(FT->getParamType(0) == Type::ULongTy, "Argument Is not ulong!", IF);
NumArgs = 1;
break;