Changeset e15853c for src/ResolvExpr
- Timestamp:
- Feb 14, 2019, 10:26:59 AM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 70a3e16, 85d44c6
- Parents:
- e782290
- Location:
- src/ResolvExpr
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ResolvExpr/CommonType.cc
re782290 re15853c 10 10 // Created On : Sun May 17 06:59:27 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 8 09:30:15201913 // Update Count : 1712 // Last Modified On : Wed Feb 13 22:30:32 2019 13 // Update Count : 22 14 14 // 15 15 … … 227 227 #endif 228 228 229 #define BT BasicType:: 230 static const BasicType::Kind commonTypes[BasicType::NUMBER_OF_BASIC_TYPES][BasicType::NUMBER_OF_BASIC_TYPES] = { // nearest common ancestor 231 /* B C SC UC SI SUI 232 I UI LI LUI LLI LLUI 233 IB UIB _FH _FH _F _FC 234 F FC _FX _FXC FD _FDC 235 D DC F80X _FDXC F80 _FB 236 _FLDC FB LD LDC _FBX _FLDXC 237 */ 238 /* B*/ BT _Bool, BT Char, BT SignedChar, BT UnsignedChar, BT ShortSignedInt, BT ShortUnsignedInt, 239 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 240 BT SignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 241 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 242 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 243 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 244 245 /* C*/ BT Char, BT Char, BT SignedChar, BT UnsignedChar, BT ShortSignedInt, BT ShortUnsignedInt, 246 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 247 BT SignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 248 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 249 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 250 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 251 252 /* SC*/ BT SignedChar, BT SignedChar, BT SignedChar, BT UnsignedChar, BT ShortSignedInt, BT ShortUnsignedInt, 253 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 254 BT SignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 255 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 256 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 257 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 258 259 /* UC*/ BT UnsignedChar, BT UnsignedChar, BT UnsignedChar, BT UnsignedChar, BT ShortSignedInt, BT ShortUnsignedInt, 260 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 261 BT SignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 262 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 263 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 264 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 265 266 /* SI*/ BT ShortSignedInt, BT ShortSignedInt, BT ShortSignedInt, BT ShortSignedInt, BT ShortSignedInt, BT ShortUnsignedInt, 267 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 268 BT SignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 269 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 270 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 271 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 272 273 /* SUI*/ BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, 274 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 275 BT SignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 276 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 277 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 278 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 279 280 /* I*/ BT SignedInt, BT SignedInt, BT SignedInt, BT SignedInt, BT SignedInt, BT SignedInt, 281 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 282 BT SignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 283 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 284 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 285 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 286 287 /* UI*/ BT UnsignedInt, BT UnsignedInt, BT UnsignedInt, BT UnsignedInt, BT UnsignedInt, BT UnsignedInt, 288 BT UnsignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 289 BT SignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 290 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 291 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 292 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 293 294 /* LI*/ BT LongSignedInt, BT LongSignedInt, BT LongSignedInt, BT LongSignedInt, BT LongSignedInt, BT LongSignedInt, 295 BT LongSignedInt, BT LongSignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 296 BT SignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 297 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 298 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 299 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 300 301 /* LUI*/ BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, 302 BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 303 BT SignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 304 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 305 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 306 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 307 308 /* LLI*/ BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, 309 BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 310 BT SignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 311 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 312 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 313 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 314 315 /* LLUI*/ BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, 316 BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, 317 BT SignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 318 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 319 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 320 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 321 322 /* IB*/ BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, 323 BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, 324 BT SignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 325 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 326 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 327 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 328 329 /* UIB*/ BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, 330 BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, 331 BT UnsignedInt128, BT UnsignedInt128, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 332 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 333 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 334 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 335 336 /* _FH*/ BT _Float16, BT _Float16, BT _Float16, BT _Float16, BT _Float16, BT _Float16, 337 BT _Float16, BT _Float16, BT _Float16, BT _Float16, BT _Float16, BT _Float16, 338 BT _Float16, BT _Float16, BT _Float16, BT _Float16Complex, BT _Float32, BT _Float32Complex, 339 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 340 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 341 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 342 343 /* _FH*/ BT _Float16Complex, BT _Float16Complex, BT _Float16Complex, BT _Float16Complex, BT _Float16Complex, BT _Float16Complex, 344 BT _Float16Complex, BT _Float16Complex, BT _Float16Complex, BT _Float16Complex, BT _Float16Complex, BT _Float16Complex, 345 BT _Float16Complex, BT _Float16Complex, BT _Float16Complex, BT _Float16Complex, BT _Float32Complex, BT _Float32Complex, 346 BT FloatComplex, BT FloatComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float64Complex, BT _Float64Complex, 347 BT DoubleComplex, BT DoubleComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float128Complex, 348 BT _Float128Complex, BT _Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT _Float128xComplex, BT _Float128xComplex, 349 350 /* _F*/ BT _Float32, BT _Float32, BT _Float32, BT _Float32, BT _Float32, BT _Float32, 351 BT _Float32, BT _Float32, BT _Float32, BT _Float32, BT _Float32, BT _Float32, 352 BT _Float32, BT _Float32, BT _Float32, BT _Float32Complex, BT _Float32, BT _Float32Complex, 353 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 354 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 355 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 356 357 /* _FC*/ BT _Float32Complex, BT _Float32Complex, BT _Float32Complex, BT _Float32Complex, BT _Float32Complex, BT _Float32Complex, 358 BT _Float32Complex, BT _Float32Complex, BT _Float32Complex, BT _Float32Complex, BT _Float32Complex, BT _Float32Complex, 359 BT _Float32Complex, BT _Float32Complex, BT _Float32Complex, BT _Float32Complex, BT _Float32Complex, BT _Float32Complex, 360 BT FloatComplex, BT FloatComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float64Complex, BT _Float64Complex, 361 BT DoubleComplex, BT DoubleComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float128Complex, 362 BT _Float128Complex, BT _Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT _Float128xComplex, BT _Float128xComplex, 363 364 /* F*/ BT Float, BT Float, BT Float, BT Float, BT Float, BT Float, 365 BT Float, BT Float, BT Float, BT Float, BT Float, BT Float, 366 BT Float, BT Float, BT Float, BT FloatComplex, BT Float, BT FloatComplex, 367 BT Float, BT FloatComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 368 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 369 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 370 371 /* FC*/ BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, 372 BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, 373 BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, 374 BT FloatComplex, BT FloatComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float64Complex, BT _Float64Complex, 375 BT DoubleComplex, BT DoubleComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float128Complex, 376 BT _Float128Complex, BT _Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT _Float128xComplex, BT _Float128xComplex, 377 378 /* _FX*/ BT _Float32x, BT _Float32x, BT _Float32x, BT _Float32x, BT _Float32x, BT _Float32x, 379 BT _Float32x, BT _Float32x, BT _Float32x, BT _Float32x, BT _Float32x, BT _Float32x, 380 BT _Float32x, BT _Float32x, BT _Float32x, BT _Float32xComplex, BT _Float32x, BT _Float32xComplex, 381 BT _Float32x, BT _Float32xComplex, BT _Float32x, BT _Float32xComplex, BT _Float64, BT _Float64Complex, 382 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 383 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 384 385 /* _FXC*/ BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, 386 BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, 387 BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, 388 BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float32xComplex, BT _Float64Complex, BT _Float64Complex, 389 BT DoubleComplex, BT DoubleComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float128Complex, 390 BT _Float128Complex, BT _Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT _Float128xComplex, BT _Float128xComplex, 391 392 /* FD*/ BT _Float64, BT _Float64, BT _Float64, BT _Float64, BT _Float64, BT _Float64, 393 BT _Float64, BT _Float64, BT _Float64, BT _Float64, BT _Float64, BT _Float64, 394 BT _Float64, BT _Float64, BT _Float64, BT _Float64Complex, BT _Float64, BT _Float64Complex, 395 BT _Float64, BT _Float64Complex, BT _Float64, BT _Float64Complex, BT _Float64, BT _Float64Complex, 396 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 397 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 398 399 /* _FDC*/ BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, 400 BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, 401 BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, 402 BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, BT _Float64Complex, 403 BT DoubleComplex, BT DoubleComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float128Complex, 404 BT _Float128Complex, BT _Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT _Float128xComplex, BT _Float128xComplex, 405 406 /* D*/ BT Double, BT Double, BT Double, BT Double, BT Double, BT Double, 407 BT Double, BT Double, BT Double, BT Double, BT Double, BT Double, 408 BT Double, BT Double, BT Double, BT DoubleComplex, BT Double, BT DoubleComplex, 409 BT Double, BT DoubleComplex, BT Double, BT DoubleComplex, BT Double, BT DoubleComplex, 410 BT Double, BT DoubleComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 411 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 412 413 /* DC*/ BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, 414 BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, 415 BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, 416 BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, 417 BT DoubleComplex, BT DoubleComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float128Complex, 418 BT _Float128Complex, BT _Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT _Float128xComplex, BT _Float128xComplex, 419 420 /* F80X*/ BT _Float64x, BT _Float64x, BT _Float64x, BT _Float64x, BT _Float64x, BT _Float64x, 421 BT _Float64x, BT _Float64x, BT _Float64x, BT _Float64x, BT _Float64x, BT _Float64x, 422 BT _Float64x, BT _Float64x, BT _Float64x, BT _Float64xComplex, BT _Float64x, BT _Float64xComplex, 423 BT _Float64x, BT _Float64xComplex, BT _Float64x, BT _Float64xComplex, BT _Float64x, BT _Float64xComplex, 424 BT _Float64x, BT _Float64xComplex, BT _Float64x, BT _Float64xComplex, BT __float80, BT _Float128, 425 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 426 427 /* _FDXC*/ BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, 428 BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, 429 BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, 430 BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, 431 BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float64xComplex, BT _Float128Complex, 432 BT _Float128Complex, BT _Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT _Float128xComplex, BT _Float128xComplex, 433 434 /* F80*/ BT __float80, BT __float80, BT __float80, BT __float80, BT __float80, BT __float80, 435 BT __float80, BT __float80, BT __float80, BT __float80, BT __float80, BT __float80, 436 BT __float80, BT __float80, BT __float80, BT _Float64xComplex, BT __float80, BT _Float64xComplex, 437 BT __float80, BT _Float64xComplex, BT __float80, BT _Float64xComplex, BT __float80, BT _Float64xComplex, 438 BT __float80, BT _Float64xComplex, BT __float80, BT _Float64xComplex, BT __float80, BT _Float128, 439 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 440 441 /* _FB*/ BT _Float128, BT _Float128, BT _Float128, BT _Float128, BT _Float128, BT _Float128, 442 BT _Float128, BT _Float128, BT _Float128, BT _Float128, BT _Float128, BT _Float128, 443 BT _Float128, BT _Float128, BT _Float128, BT _Float128Complex, BT _Float128, BT _Float128Complex, 444 BT _Float128, BT _Float128Complex, BT _Float128, BT _Float128Complex, BT _Float128, BT _Float128Complex, 445 BT _Float128, BT _Float128Complex, BT _Float128, BT _Float128Complex, BT _Float128, BT _Float128, 446 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 447 448 /* _FLDC*/ BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, 449 BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, 450 BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, 451 BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, 452 BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, BT _Float128Complex, 453 BT _Float128Complex, BT _Float128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT _Float128xComplex, BT _Float128xComplex, 454 455 /* FB*/ BT __float128, BT __float128, BT __float128, BT __float128, BT __float128, BT __float128, 456 BT __float128, BT __float128, BT __float128, BT __float128, BT __float128, BT __float128, 457 BT __float128, BT __float128, BT __float128, BT _Float128Complex, BT __float128, BT _Float128Complex, 458 BT __float128, BT _Float128Complex, BT __float128, BT _Float128Complex, BT __float128, BT _Float128Complex, 459 BT __float128, BT _Float128Complex, BT __float128, BT _Float128Complex, BT __float128, BT __float128, 460 BT _Float128Complex, BT __float128, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 461 462 /* LD*/ BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, 463 BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, 464 BT LongDouble, BT LongDouble, BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, 465 BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, 466 BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDouble, 467 BT LongDoubleComplex, BT LongDouble, BT LongDouble, BT LongDoubleComplex, BT _Float128x, BT _Float128xComplex, 468 469 /* LDC*/ BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 470 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 471 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 472 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 473 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 474 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT _Float128xComplex, BT _Float128xComplex, 475 476 /* _FBX*/ BT _Float128x, BT _Float128x, BT _Float128x, BT _Float128x, BT _Float128x, BT _Float128x, 477 BT _Float128x, BT _Float128x, BT _Float128x, BT _Float128x, BT _Float128x, BT _Float128x, 478 BT _Float128x, BT _Float128x, BT _Float128x, BT _Float128xComplex, BT _Float128x, BT _Float128xComplex, 479 BT _Float128x, BT _Float128xComplex, BT _Float128x, BT _Float128xComplex, BT _Float128x, BT _Float128xComplex, 480 BT _Float128x, BT _Float128xComplex, BT _Float128x, BT _Float128xComplex, BT _Float128x, BT _Float128x, 481 BT _Float128xComplex, BT _Float128x, BT _Float128x, BT _Float128xComplex, BT _Float128x, BT _Float128xComplex, 482 483 /*_FLDXC*/ BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, 484 BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, 485 BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, 486 BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, 487 BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, 488 BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, BT _Float128xComplex, 489 490 }; 491 #undef BT 229 // GENERATED START, DO NOT EDIT 230 #define BT BasicType:: 231 static const BasicType::Kind commonTypes[BasicType::NUMBER_OF_BASIC_TYPES][BasicType::NUMBER_OF_BASIC_TYPES] = { // nearest common ancestor 232 /* B C SC UC SI SUI 233 I UI LI LUI LLI LLUI 234 IB UIB _FH _FH _F _FC 235 F FC _FX _FXC FD _FDC 236 D DC F80X _FDXC F80 _FB 237 _FLDC FB LD LDC _FBX _FLDXC 238 */ 239 /* B*/ BT Bool, BT Char, BT SignedChar, BT UnsignedChar, BT ShortSignedInt, BT ShortUnsignedInt, 240 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 241 BT SignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 242 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 243 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 244 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 245 246 /* C*/ BT Char, BT Char, BT SignedChar, BT UnsignedChar, BT ShortSignedInt, BT ShortUnsignedInt, 247 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 248 BT SignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 249 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 250 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 251 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 252 253 /* SC*/ BT SignedChar, BT SignedChar, BT SignedChar, BT UnsignedChar, BT ShortSignedInt, BT ShortUnsignedInt, 254 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 255 BT SignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 256 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 257 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 258 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 259 260 /* UC*/ BT UnsignedChar, BT UnsignedChar, BT UnsignedChar, BT UnsignedChar, BT ShortSignedInt, BT ShortUnsignedInt, 261 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 262 BT SignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 263 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 264 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 265 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 266 267 /* SI*/ BT ShortSignedInt, BT ShortSignedInt, BT ShortSignedInt, BT ShortSignedInt, BT ShortSignedInt, BT ShortUnsignedInt, 268 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 269 BT SignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 270 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 271 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 272 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 273 274 /* SUI*/ BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, BT ShortUnsignedInt, 275 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 276 BT SignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 277 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 278 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 279 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 280 281 /* I*/ BT SignedInt, BT SignedInt, BT SignedInt, BT SignedInt, BT SignedInt, BT SignedInt, 282 BT SignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 283 BT SignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 284 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 285 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 286 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 287 288 /* UI*/ BT UnsignedInt, BT UnsignedInt, BT UnsignedInt, BT UnsignedInt, BT UnsignedInt, BT UnsignedInt, 289 BT UnsignedInt, BT UnsignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 290 BT SignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 291 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 292 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 293 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 294 295 /* LI*/ BT LongSignedInt, BT LongSignedInt, BT LongSignedInt, BT LongSignedInt, BT LongSignedInt, BT LongSignedInt, 296 BT LongSignedInt, BT LongSignedInt, BT LongSignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 297 BT SignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 298 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 299 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 300 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 301 302 /* LUI*/ BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, 303 BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongUnsignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 304 BT SignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 305 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 306 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 307 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 308 309 /* LLI*/ BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, 310 BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongSignedInt, BT LongLongUnsignedInt, 311 BT SignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 312 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 313 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 314 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 315 316 /* LLUI*/ BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, 317 BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, BT LongLongUnsignedInt, 318 BT SignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 319 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 320 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 321 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 322 323 /* IB*/ BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, 324 BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, BT SignedInt128, 325 BT SignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 326 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 327 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 328 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 329 330 /* UIB*/ BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, 331 BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, BT UnsignedInt128, 332 BT UnsignedInt128, BT UnsignedInt128, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 333 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 334 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 335 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 336 337 /* _FH*/ BT uFloat16, BT uFloat16, BT uFloat16, BT uFloat16, BT uFloat16, BT uFloat16, 338 BT uFloat16, BT uFloat16, BT uFloat16, BT uFloat16, BT uFloat16, BT uFloat16, 339 BT uFloat16, BT uFloat16, BT uFloat16, BT uFloat16Complex, BT uFloat32, BT uFloat32Complex, 340 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 341 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 342 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 343 344 /* _FH*/ BT uFloat16Complex, BT uFloat16Complex, BT uFloat16Complex, BT uFloat16Complex, BT uFloat16Complex, BT uFloat16Complex, 345 BT uFloat16Complex, BT uFloat16Complex, BT uFloat16Complex, BT uFloat16Complex, BT uFloat16Complex, BT uFloat16Complex, 346 BT uFloat16Complex, BT uFloat16Complex, BT uFloat16Complex, BT uFloat16Complex, BT uFloat32Complex, BT uFloat32Complex, 347 BT FloatComplex, BT FloatComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat64Complex, BT uFloat64Complex, 348 BT DoubleComplex, BT DoubleComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat128Complex, 349 BT uFloat128Complex, BT uFloat128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT uFloat128xComplex, BT uFloat128xComplex, 350 351 /* _F*/ BT uFloat32, BT uFloat32, BT uFloat32, BT uFloat32, BT uFloat32, BT uFloat32, 352 BT uFloat32, BT uFloat32, BT uFloat32, BT uFloat32, BT uFloat32, BT uFloat32, 353 BT uFloat32, BT uFloat32, BT uFloat32, BT uFloat32Complex, BT uFloat32, BT uFloat32Complex, 354 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 355 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 356 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 357 358 /* _FC*/ BT uFloat32Complex, BT uFloat32Complex, BT uFloat32Complex, BT uFloat32Complex, BT uFloat32Complex, BT uFloat32Complex, 359 BT uFloat32Complex, BT uFloat32Complex, BT uFloat32Complex, BT uFloat32Complex, BT uFloat32Complex, BT uFloat32Complex, 360 BT uFloat32Complex, BT uFloat32Complex, BT uFloat32Complex, BT uFloat32Complex, BT uFloat32Complex, BT uFloat32Complex, 361 BT FloatComplex, BT FloatComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat64Complex, BT uFloat64Complex, 362 BT DoubleComplex, BT DoubleComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat128Complex, 363 BT uFloat128Complex, BT uFloat128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT uFloat128xComplex, BT uFloat128xComplex, 364 365 /* F*/ BT Float, BT Float, BT Float, BT Float, BT Float, BT Float, 366 BT Float, BT Float, BT Float, BT Float, BT Float, BT Float, 367 BT Float, BT Float, BT Float, BT FloatComplex, BT Float, BT FloatComplex, 368 BT Float, BT FloatComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 369 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 370 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 371 372 /* FC*/ BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, 373 BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, 374 BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, BT FloatComplex, 375 BT FloatComplex, BT FloatComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat64Complex, BT uFloat64Complex, 376 BT DoubleComplex, BT DoubleComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat128Complex, 377 BT uFloat128Complex, BT uFloat128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT uFloat128xComplex, BT uFloat128xComplex, 378 379 /* _FX*/ BT uFloat32x, BT uFloat32x, BT uFloat32x, BT uFloat32x, BT uFloat32x, BT uFloat32x, 380 BT uFloat32x, BT uFloat32x, BT uFloat32x, BT uFloat32x, BT uFloat32x, BT uFloat32x, 381 BT uFloat32x, BT uFloat32x, BT uFloat32x, BT uFloat32xComplex, BT uFloat32x, BT uFloat32xComplex, 382 BT uFloat32x, BT uFloat32xComplex, BT uFloat32x, BT uFloat32xComplex, BT uFloat64, BT uFloat64Complex, 383 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 384 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 385 386 /* _FXC*/ BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, 387 BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, 388 BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, 389 BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat32xComplex, BT uFloat64Complex, BT uFloat64Complex, 390 BT DoubleComplex, BT DoubleComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat128Complex, 391 BT uFloat128Complex, BT uFloat128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT uFloat128xComplex, BT uFloat128xComplex, 392 393 /* FD*/ BT uFloat64, BT uFloat64, BT uFloat64, BT uFloat64, BT uFloat64, BT uFloat64, 394 BT uFloat64, BT uFloat64, BT uFloat64, BT uFloat64, BT uFloat64, BT uFloat64, 395 BT uFloat64, BT uFloat64, BT uFloat64, BT uFloat64Complex, BT uFloat64, BT uFloat64Complex, 396 BT uFloat64, BT uFloat64Complex, BT uFloat64, BT uFloat64Complex, BT uFloat64, BT uFloat64Complex, 397 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 398 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 399 400 /* _FDC*/ BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, 401 BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, 402 BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, 403 BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, BT uFloat64Complex, 404 BT DoubleComplex, BT DoubleComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat128Complex, 405 BT uFloat128Complex, BT uFloat128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT uFloat128xComplex, BT uFloat128xComplex, 406 407 /* D*/ BT Double, BT Double, BT Double, BT Double, BT Double, BT Double, 408 BT Double, BT Double, BT Double, BT Double, BT Double, BT Double, 409 BT Double, BT Double, BT Double, BT DoubleComplex, BT Double, BT DoubleComplex, 410 BT Double, BT DoubleComplex, BT Double, BT DoubleComplex, BT Double, BT DoubleComplex, 411 BT Double, BT DoubleComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 412 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 413 414 /* DC*/ BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, 415 BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, 416 BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, 417 BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, BT DoubleComplex, 418 BT DoubleComplex, BT DoubleComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat128Complex, 419 BT uFloat128Complex, BT uFloat128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT uFloat128xComplex, BT uFloat128xComplex, 420 421 /* F80X*/ BT uFloat64x, BT uFloat64x, BT uFloat64x, BT uFloat64x, BT uFloat64x, BT uFloat64x, 422 BT uFloat64x, BT uFloat64x, BT uFloat64x, BT uFloat64x, BT uFloat64x, BT uFloat64x, 423 BT uFloat64x, BT uFloat64x, BT uFloat64x, BT uFloat64xComplex, BT uFloat64x, BT uFloat64xComplex, 424 BT uFloat64x, BT uFloat64xComplex, BT uFloat64x, BT uFloat64xComplex, BT uFloat64x, BT uFloat64xComplex, 425 BT uFloat64x, BT uFloat64xComplex, BT uFloat64x, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 426 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 427 428 /* _FDXC*/ BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, 429 BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, 430 BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, 431 BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, 432 BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat64xComplex, BT uFloat128Complex, 433 BT uFloat128Complex, BT uFloat128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT uFloat128xComplex, BT uFloat128xComplex, 434 435 /* F80*/ BT uuFloat80, BT uuFloat80, BT uuFloat80, BT uuFloat80, BT uuFloat80, BT uuFloat80, 436 BT uuFloat80, BT uuFloat80, BT uuFloat80, BT uuFloat80, BT uuFloat80, BT uuFloat80, 437 BT uuFloat80, BT uuFloat80, BT uuFloat80, BT uFloat64xComplex, BT uuFloat80, BT uFloat64xComplex, 438 BT uuFloat80, BT uFloat64xComplex, BT uuFloat80, BT uFloat64xComplex, BT uuFloat80, BT uFloat64xComplex, 439 BT uuFloat80, BT uFloat64xComplex, BT uuFloat80, BT uFloat64xComplex, BT uuFloat80, BT uFloat128, 440 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 441 442 /* _FB*/ BT uFloat128, BT uFloat128, BT uFloat128, BT uFloat128, BT uFloat128, BT uFloat128, 443 BT uFloat128, BT uFloat128, BT uFloat128, BT uFloat128, BT uFloat128, BT uFloat128, 444 BT uFloat128, BT uFloat128, BT uFloat128, BT uFloat128Complex, BT uFloat128, BT uFloat128Complex, 445 BT uFloat128, BT uFloat128Complex, BT uFloat128, BT uFloat128Complex, BT uFloat128, BT uFloat128Complex, 446 BT uFloat128, BT uFloat128Complex, BT uFloat128, BT uFloat128Complex, BT uFloat128, BT uFloat128, 447 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 448 449 /* _FLDC*/ BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, 450 BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, 451 BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, 452 BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, 453 BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, BT uFloat128Complex, 454 BT uFloat128Complex, BT uFloat128Complex, BT LongDoubleComplex, BT LongDoubleComplex, BT uFloat128xComplex, BT uFloat128xComplex, 455 456 /* FB*/ BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, 457 BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uuFloat128, 458 BT uuFloat128, BT uuFloat128, BT uuFloat128, BT uFloat128Complex, BT uuFloat128, BT uFloat128Complex, 459 BT uuFloat128, BT uFloat128Complex, BT uuFloat128, BT uFloat128Complex, BT uuFloat128, BT uFloat128Complex, 460 BT uuFloat128, BT uFloat128Complex, BT uuFloat128, BT uFloat128Complex, BT uuFloat128, BT uuFloat128, 461 BT uFloat128Complex, BT uuFloat128, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 462 463 /* LD*/ BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, 464 BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, BT LongDouble, 465 BT LongDouble, BT LongDouble, BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, 466 BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, 467 BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDoubleComplex, BT LongDouble, BT LongDouble, 468 BT LongDoubleComplex, BT LongDouble, BT LongDouble, BT LongDoubleComplex, BT uFloat128x, BT uFloat128xComplex, 469 470 /* LDC*/ BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 471 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 472 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 473 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 474 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, 475 BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT LongDoubleComplex, BT uFloat128xComplex, BT uFloat128xComplex, 476 477 /* _FBX*/ BT uFloat128x, BT uFloat128x, BT uFloat128x, BT uFloat128x, BT uFloat128x, BT uFloat128x, 478 BT uFloat128x, BT uFloat128x, BT uFloat128x, BT uFloat128x, BT uFloat128x, BT uFloat128x, 479 BT uFloat128x, BT uFloat128x, BT uFloat128x, BT uFloat128xComplex, BT uFloat128x, BT uFloat128xComplex, 480 BT uFloat128x, BT uFloat128xComplex, BT uFloat128x, BT uFloat128xComplex, BT uFloat128x, BT uFloat128xComplex, 481 BT uFloat128x, BT uFloat128xComplex, BT uFloat128x, BT uFloat128xComplex, BT uFloat128x, BT uFloat128x, 482 BT uFloat128xComplex, BT uFloat128x, BT uFloat128x, BT uFloat128xComplex, BT uFloat128x, BT uFloat128xComplex, 483 484 /*_FLDXC*/ BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, 485 BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, 486 BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, 487 BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, 488 BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, 489 BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, BT uFloat128xComplex, 490 491 }; 492 #undef BT 493 // GENERATED END 492 494 493 495 static_assert( -
src/ResolvExpr/ConversionCost.cc
re782290 re15853c 10 10 // Created On : Sun May 17 07:06:19 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 8 09:48:39201913 // Update Count : 1912 // Last Modified On : Wed Feb 13 23:04:51 2019 13 // Update Count : 22 14 14 // 15 15 … … 268 268 #endif 269 269 270 // GENERATED START, DO NOT EDIT 270 271 /* EXTENDED INTEGRAL RANK HIERARCHY (root to leaves) 271 _Bool272 Char SignedChar UnsignedChar273 ShortSignedInt ShortUnsignedInt274 SignedInt UnsignedInt275 LongSignedInt LongUnsignedInt276 LongLongSignedInt LongLongUnsignedInt277 SignedInt128 UnsignedInt128278 _Float16 _Float16Complex279 _Float32 _Float32Complex280 Float FloatComplex281 _Float32x _Float32xComplex282 _Float64 _Float64Complex283 Double DoubleComplex284 _Float64x _Float64xComplex285 __float80286 _Float128 _Float128Complex287 __float128288 LongDouble LongDoubleComplex289 _Float128x _Float128xComplex272 _Bool 273 char signed char unsigned char 274 signed short int unsigned short int 275 signed int unsigned int 276 signed long int unsigned long int 277 signed long long int unsigned long long int 278 __int128 unsigned __int128 279 _Float16 _Float16 _Complex 280 _Float32 _Float32 _Complex 281 float float _Complex 282 _Float32x _Float32x _Complex 283 _Float64 _Float64 _Complex 284 double double _Complex 285 _Float64x _Float64x _Complex 286 __float80 287 _Float128 _Float128 _Complex 288 __float128 289 long double long double _Complex 290 _Float128x _Float128x _Complex 290 291 */ 291 292 // GENERATED END 293 294 // GENERATED START, DO NOT EDIT 292 295 static const int costMatrix[BasicType::NUMBER_OF_BASIC_TYPES][BasicType::NUMBER_OF_BASIC_TYPES] = { // path length from root to node 293 296 /* B C SC UC SI SUI I UI LI LUI LLI LLUI IB UIB _FH _FH _F _FC F FC _FX _FXC FD _FDC D DC F80X _FDXC F80 _FB _FLDC FB LD LDC _FBX _FLDXC */ … … 328 331 /* _FBX*/ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1, 329 332 /*_FLDXC*/ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 330 }; 333 }; // costMatrix 334 // GENERATED END 331 335 static_assert( 332 336 sizeof(costMatrix)/sizeof(costMatrix[0][0]) == BasicType::NUMBER_OF_BASIC_TYPES*BasicType::NUMBER_OF_BASIC_TYPES, … … 334 338 ); 335 339 340 // GENERATED START, DO NOT EDIT 336 341 static const int signMatrix[BasicType::NUMBER_OF_BASIC_TYPES][BasicType::NUMBER_OF_BASIC_TYPES] = { // number of sign changes in safe conversion 337 342 /* B C SC UC SI SUI I UI LI LUI LLI LLUI IB UIB _FH _FH _F _FC F FC _FX _FXC FD _FDC D DC F80X _FDXC F80 _FB _FLDC FB LD LDC _FBX _FLDXC */ … … 372 377 /* _FBX*/ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 0, 373 378 /*_FLDXC*/ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 374 }; 379 }; // signMatrix 380 // GENERATED END 375 381 static_assert( 376 382 sizeof(signMatrix)/sizeof(signMatrix[0][0]) == BasicType::NUMBER_OF_BASIC_TYPES*BasicType::NUMBER_OF_BASIC_TYPES, -
src/ResolvExpr/Resolver.cc
re782290 re15853c 10 10 // Created On : Sun May 17 12:17:01 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Fri Feb 8 09:31:26201913 // Update Count : 21 512 // Last Modified On : Wed Feb 13 18:13:43 2019 13 // Update Count : 216 14 14 // 15 15 … … 562 562 void Resolver::previsit( CatchStmt *catchStmt ) { 563 563 if ( catchStmt->cond ) { 564 findSingleExpression( catchStmt->cond, new BasicType( noQualifiers, BasicType:: _Bool ), indexer );564 findSingleExpression( catchStmt->cond, new BasicType( noQualifiers, BasicType::Bool ), indexer ); 565 565 } 566 566 }
Note: See TracChangeset
for help on using the changeset viewer.