| Index: src/IceTypes.h
|
| diff --git a/src/IceTypes.h b/src/IceTypes.h
|
| index fa917636583abde7e91cb51b725e15bd9488f901..0c67e4396c142c7b9a2ce9dcab8393ce23c98655 100644
|
| --- a/src/IceTypes.h
|
| +++ b/src/IceTypes.h
|
| @@ -47,7 +47,16 @@ size_t typeNumElements(Type Ty);
|
| Type typeElementType(Type Ty);
|
| const char *typeString(Type Ty);
|
|
|
| -inline bool isVectorType(Type Ty) { return typeNumElements(Ty) > 1; }
|
| +bool isVectorType(Type Ty);
|
| +
|
| +bool isIntegerType(Type Ty); // scalar or vector
|
| +bool isScalarIntegerType(Type Ty);
|
| +bool isVectorIntegerType(Type Ty);
|
| +bool isIntegerArithmeticType(Type Ty);
|
| +
|
| +bool isFloatingType(Type Ty); // scalar or vector
|
| +bool isScalarFloatingType(Type Ty);
|
| +bool isVectorFloatingType(Type Ty);
|
|
|
| template <typename StreamType>
|
| inline StreamType &operator<<(StreamType &Str, const Type &Ty) {
|
|
|