reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/ValueTypes.cpp
  269   case MVT::isVoid:  return Type::getVoidTy(Context);
  270   case MVT::i1:      return Type::getInt1Ty(Context);
  271   case MVT::i8:      return Type::getInt8Ty(Context);
  272   case MVT::i16:     return Type::getInt16Ty(Context);
  273   case MVT::i32:     return Type::getInt32Ty(Context);
  274   case MVT::i64:     return Type::getInt64Ty(Context);
  275   case MVT::i128:    return IntegerType::get(Context, 128);
  276   case MVT::f16:     return Type::getHalfTy(Context);
  277   case MVT::f32:     return Type::getFloatTy(Context);
  278   case MVT::f64:     return Type::getDoubleTy(Context);
  279   case MVT::f80:     return Type::getX86_FP80Ty(Context);
  280   case MVT::f128:    return Type::getFP128Ty(Context);
  281   case MVT::ppcf128: return Type::getPPC_FP128Ty(Context);
  282   case MVT::x86mmx:  return Type::getX86_MMXTy(Context);
  283   case MVT::v1i1:    return VectorType::get(Type::getInt1Ty(Context), 1);
  284   case MVT::v2i1:    return VectorType::get(Type::getInt1Ty(Context), 2);
  285   case MVT::v4i1:    return VectorType::get(Type::getInt1Ty(Context), 4);
  286   case MVT::v8i1:    return VectorType::get(Type::getInt1Ty(Context), 8);
  287   case MVT::v16i1:   return VectorType::get(Type::getInt1Ty(Context), 16);
  288   case MVT::v32i1:   return VectorType::get(Type::getInt1Ty(Context), 32);
  289   case MVT::v64i1:   return VectorType::get(Type::getInt1Ty(Context), 64);
  290   case MVT::v128i1:  return VectorType::get(Type::getInt1Ty(Context), 128);
  291   case MVT::v256i1:  return VectorType::get(Type::getInt1Ty(Context), 256);
  292   case MVT::v512i1:  return VectorType::get(Type::getInt1Ty(Context), 512);
  293   case MVT::v1024i1: return VectorType::get(Type::getInt1Ty(Context), 1024);
  294   case MVT::v1i8:    return VectorType::get(Type::getInt8Ty(Context), 1);
  295   case MVT::v2i8:    return VectorType::get(Type::getInt8Ty(Context), 2);
  296   case MVT::v4i8:    return VectorType::get(Type::getInt8Ty(Context), 4);
  297   case MVT::v8i8:    return VectorType::get(Type::getInt8Ty(Context), 8);
  298   case MVT::v16i8:   return VectorType::get(Type::getInt8Ty(Context), 16);
  299   case MVT::v32i8:   return VectorType::get(Type::getInt8Ty(Context), 32);
  300   case MVT::v64i8:   return VectorType::get(Type::getInt8Ty(Context), 64);
  301   case MVT::v128i8:  return VectorType::get(Type::getInt8Ty(Context), 128);
  302   case MVT::v256i8:  return VectorType::get(Type::getInt8Ty(Context), 256);
  303   case MVT::v1i16:   return VectorType::get(Type::getInt16Ty(Context), 1);
  304   case MVT::v2i16:   return VectorType::get(Type::getInt16Ty(Context), 2);
  305   case MVT::v3i16:   return VectorType::get(Type::getInt16Ty(Context), 3);
  306   case MVT::v4i16:   return VectorType::get(Type::getInt16Ty(Context), 4);
  307   case MVT::v8i16:   return VectorType::get(Type::getInt16Ty(Context), 8);
  308   case MVT::v16i16:  return VectorType::get(Type::getInt16Ty(Context), 16);
  309   case MVT::v32i16:  return VectorType::get(Type::getInt16Ty(Context), 32);
  310   case MVT::v64i16:  return VectorType::get(Type::getInt16Ty(Context), 64);
  311   case MVT::v128i16: return VectorType::get(Type::getInt16Ty(Context), 128);
  312   case MVT::v1i32:   return VectorType::get(Type::getInt32Ty(Context), 1);
  313   case MVT::v2i32:   return VectorType::get(Type::getInt32Ty(Context), 2);
  314   case MVT::v3i32:   return VectorType::get(Type::getInt32Ty(Context), 3);
  315   case MVT::v4i32:   return VectorType::get(Type::getInt32Ty(Context), 4);
  316   case MVT::v5i32:   return VectorType::get(Type::getInt32Ty(Context), 5);
  317   case MVT::v8i32:   return VectorType::get(Type::getInt32Ty(Context), 8);
  318   case MVT::v16i32:  return VectorType::get(Type::getInt32Ty(Context), 16);
  319   case MVT::v32i32:  return VectorType::get(Type::getInt32Ty(Context), 32);
  320   case MVT::v64i32:  return VectorType::get(Type::getInt32Ty(Context), 64);
  321   case MVT::v128i32: return VectorType::get(Type::getInt32Ty(Context), 128);
  322   case MVT::v256i32: return VectorType::get(Type::getInt32Ty(Context), 256);
  323   case MVT::v512i32: return VectorType::get(Type::getInt32Ty(Context), 512);
  324   case MVT::v1024i32:return VectorType::get(Type::getInt32Ty(Context), 1024);
  325   case MVT::v2048i32:return VectorType::get(Type::getInt32Ty(Context), 2048);
  326   case MVT::v1i64:   return VectorType::get(Type::getInt64Ty(Context), 1);
  327   case MVT::v2i64:   return VectorType::get(Type::getInt64Ty(Context), 2);
  328   case MVT::v4i64:   return VectorType::get(Type::getInt64Ty(Context), 4);
  329   case MVT::v8i64:   return VectorType::get(Type::getInt64Ty(Context), 8);
  330   case MVT::v16i64:  return VectorType::get(Type::getInt64Ty(Context), 16);
  331   case MVT::v32i64:  return VectorType::get(Type::getInt64Ty(Context), 32);
  332   case MVT::v1i128:  return VectorType::get(Type::getInt128Ty(Context), 1);
  333   case MVT::v2f16:   return VectorType::get(Type::getHalfTy(Context), 2);
  334   case MVT::v3f16:   return VectorType::get(Type::getHalfTy(Context), 3);
  335   case MVT::v4f16:   return VectorType::get(Type::getHalfTy(Context), 4);
  336   case MVT::v8f16:   return VectorType::get(Type::getHalfTy(Context), 8);
  337   case MVT::v16f16:  return VectorType::get(Type::getHalfTy(Context), 16);
  338   case MVT::v32f16:  return VectorType::get(Type::getHalfTy(Context), 32);
  339   case MVT::v1f32:   return VectorType::get(Type::getFloatTy(Context), 1);
  340   case MVT::v2f32:   return VectorType::get(Type::getFloatTy(Context), 2);
  341   case MVT::v3f32:   return VectorType::get(Type::getFloatTy(Context), 3);
  342   case MVT::v4f32:   return VectorType::get(Type::getFloatTy(Context), 4);
  343   case MVT::v5f32:   return VectorType::get(Type::getFloatTy(Context), 5);
  344   case MVT::v8f32:   return VectorType::get(Type::getFloatTy(Context), 8);
  345   case MVT::v16f32:  return VectorType::get(Type::getFloatTy(Context), 16);
  346   case MVT::v32f32:  return VectorType::get(Type::getFloatTy(Context), 32);
  347   case MVT::v64f32:  return VectorType::get(Type::getFloatTy(Context), 64);
  348   case MVT::v128f32: return VectorType::get(Type::getFloatTy(Context), 128);
  349   case MVT::v256f32: return VectorType::get(Type::getFloatTy(Context), 256);
  350   case MVT::v512f32: return VectorType::get(Type::getFloatTy(Context), 512);
  351   case MVT::v1024f32:return VectorType::get(Type::getFloatTy(Context), 1024);
  352   case MVT::v2048f32:return VectorType::get(Type::getFloatTy(Context), 2048);
  353   case MVT::v1f64:   return VectorType::get(Type::getDoubleTy(Context), 1);
  354   case MVT::v2f64:   return VectorType::get(Type::getDoubleTy(Context), 2);
  355   case MVT::v4f64:   return VectorType::get(Type::getDoubleTy(Context), 4);
  356   case MVT::v8f64:   return VectorType::get(Type::getDoubleTy(Context), 8);
  358     return VectorType::get(Type::getInt1Ty(Context), 1, /*Scalable=*/ true);
  360     return VectorType::get(Type::getInt1Ty(Context), 2, /*Scalable=*/ true);
  362     return VectorType::get(Type::getInt1Ty(Context), 4, /*Scalable=*/ true);
  364     return VectorType::get(Type::getInt1Ty(Context), 8, /*Scalable=*/ true);
  366     return VectorType::get(Type::getInt1Ty(Context), 16, /*Scalable=*/ true);
  368     return VectorType::get(Type::getInt1Ty(Context), 32, /*Scalable=*/ true);
  370     return VectorType::get(Type::getInt8Ty(Context), 1, /*Scalable=*/ true);
  372     return VectorType::get(Type::getInt8Ty(Context), 2, /*Scalable=*/ true);
  374     return VectorType::get(Type::getInt8Ty(Context), 4, /*Scalable=*/ true);
  376     return VectorType::get(Type::getInt8Ty(Context), 8, /*Scalable=*/ true);
  378     return VectorType::get(Type::getInt8Ty(Context), 16, /*Scalable=*/ true);
  380     return VectorType::get(Type::getInt8Ty(Context), 32, /*Scalable=*/ true);
  382     return VectorType::get(Type::getInt16Ty(Context), 1, /*Scalable=*/ true);
  384     return VectorType::get(Type::getInt16Ty(Context), 2, /*Scalable=*/ true);
  386     return VectorType::get(Type::getInt16Ty(Context), 4, /*Scalable=*/ true);
  388     return VectorType::get(Type::getInt16Ty(Context), 8, /*Scalable=*/ true);
  390     return VectorType::get(Type::getInt16Ty(Context), 16, /*Scalable=*/ true);
  392     return VectorType::get(Type::getInt16Ty(Context), 32, /*Scalable=*/ true);
  394     return VectorType::get(Type::getInt32Ty(Context), 1, /*Scalable=*/ true);
  396     return VectorType::get(Type::getInt32Ty(Context), 2, /*Scalable=*/ true);
  398     return VectorType::get(Type::getInt32Ty(Context), 4, /*Scalable=*/ true);
  400     return VectorType::get(Type::getInt32Ty(Context), 8, /*Scalable=*/ true);
  402     return VectorType::get(Type::getInt32Ty(Context), 16,/*Scalable=*/ true);
  404     return VectorType::get(Type::getInt32Ty(Context), 32,/*Scalable=*/ true);
  406     return VectorType::get(Type::getInt64Ty(Context), 1, /*Scalable=*/ true);
  408     return VectorType::get(Type::getInt64Ty(Context), 2, /*Scalable=*/ true);
  410     return VectorType::get(Type::getInt64Ty(Context), 4, /*Scalable=*/ true);
  412     return VectorType::get(Type::getInt64Ty(Context), 8, /*Scalable=*/ true);
  414     return VectorType::get(Type::getInt64Ty(Context), 16, /*Scalable=*/ true);
  416     return VectorType::get(Type::getInt64Ty(Context), 32, /*Scalable=*/ true);
  418     return VectorType::get(Type::getHalfTy(Context), 2, /*Scalable=*/ true);
  420     return VectorType::get(Type::getHalfTy(Context), 4, /*Scalable=*/ true);
  422     return VectorType::get(Type::getHalfTy(Context), 8, /*Scalable=*/ true);
  424     return VectorType::get(Type::getFloatTy(Context), 1, /*Scalable=*/ true);
  426     return VectorType::get(Type::getFloatTy(Context), 2, /*Scalable=*/ true);
  428     return VectorType::get(Type::getFloatTy(Context), 4, /*Scalable=*/ true);
  430     return VectorType::get(Type::getFloatTy(Context), 8, /*Scalable=*/ true);
  432     return VectorType::get(Type::getFloatTy(Context), 16, /*Scalable=*/ true);
  434     return VectorType::get(Type::getDoubleTy(Context), 1, /*Scalable=*/ true);
  436     return VectorType::get(Type::getDoubleTy(Context), 2, /*Scalable=*/ true);
  438     return VectorType::get(Type::getDoubleTy(Context), 4, /*Scalable=*/ true);
  440     return VectorType::get(Type::getDoubleTy(Context), 8, /*Scalable=*/ true);
  441   case MVT::Metadata: return Type::getMetadataTy(Context);