Lines Matching refs:outputs
820 static bool areValidCastInputsAndOutputs(TypeRange inputs, TypeRange outputs) { in areValidCastInputsAndOutputs() argument
821 return inputs.size() == 1 && outputs.size() == 1 && in areValidCastInputsAndOutputs()
822 succeeded(verifyCompatibleShapes(inputs.front(), outputs.front())); in areValidCastInputsAndOutputs()
857 static bool checkWidthChangeCast(TypeRange inputs, TypeRange outputs) { in checkWidthChangeCast() argument
858 if (!areValidCastInputsAndOutputs(inputs, outputs)) in checkWidthChangeCast()
862 auto dstType = getTypeIfLike<ElementTypes...>(outputs.front()); in checkWidthChangeCast()
891 bool arith::ExtUIOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() argument
892 return checkWidthChangeCast<std::greater, IntegerType>(inputs, outputs); in areCastCompatible()
920 bool arith::ExtSIOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() argument
921 return checkWidthChangeCast<std::greater, IntegerType>(inputs, outputs); in areCastCompatible()
937 bool arith::ExtFOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() argument
938 return checkWidthChangeCast<std::greater, FloatType>(inputs, outputs); in areCastCompatible()
975 bool arith::TruncIOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() argument
976 return checkWidthChangeCast<std::less, IntegerType>(inputs, outputs); in areCastCompatible()
1008 bool arith::TruncFOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() argument
1009 return checkWidthChangeCast<std::less, FloatType>(inputs, outputs); in areCastCompatible()
1039 static bool checkIntFloatCast(TypeRange inputs, TypeRange outputs) { in checkIntFloatCast() argument
1040 if (!areValidCastInputsAndOutputs(inputs, outputs)) in checkIntFloatCast()
1044 auto dstType = getTypeIfLike<To>(outputs.back()); in checkIntFloatCast()
1053 bool arith::UIToFPOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() argument
1054 return checkIntFloatCast<IntegerType, FloatType>(inputs, outputs); in areCastCompatible()
1079 bool arith::SIToFPOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() argument
1080 return checkIntFloatCast<IntegerType, FloatType>(inputs, outputs); in areCastCompatible()
1104 bool arith::FPToUIOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() argument
1105 return checkIntFloatCast<FloatType, IntegerType>(inputs, outputs); in areCastCompatible()
1130 bool arith::FPToSIOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() argument
1131 return checkIntFloatCast<FloatType, IntegerType>(inputs, outputs); in areCastCompatible()
1157 TypeRange outputs) { in areCastCompatible() argument
1158 if (!areValidCastInputsAndOutputs(inputs, outputs)) in areCastCompatible()
1162 auto dstType = getTypeIfLikeOrMemRef<IntegerType, IndexType>(outputs.front()); in areCastCompatible()
1189 bool arith::BitcastOp::areCastCompatible(TypeRange inputs, TypeRange outputs) { in areCastCompatible() argument
1190 if (!areValidCastInputsAndOutputs(inputs, outputs)) in areCastCompatible()
1196 getTypeIfLikeOrMemRef<IntegerType, IndexType, FloatType>(outputs.front()); in areCastCompatible()