| 195 | } |
| 196 | |
| 197 | const char |
| 198 | *strOne(DataType dtype) |
| 199 | { |
| 200 | const char *s; |
| 201 | |
| 202 | if (isComplexType(dtype)) { |
| 203 | if (isDoubleBasedType(dtype)) { |
| 204 | s = "(double2)(1, 0)"; |
| 205 | } |
| 206 | else { |
| 207 | s = "(float2)(1, 0)"; |
| 208 | } |
| 209 | } |
| 210 | else { |
| 211 | s = "1"; |
| 212 | } |
| 213 | |
| 214 | return s; |
| 215 | } |
| 216 | |
| 217 | void |
| 218 | getVectorTypeName( |
no test coverage detected