Lines Matching refs:IITDescriptor

944                       SmallVectorImpl<Intrinsic::IITDescriptor> &OutputTable) {  in DecodeIITType()
954 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Void, 0)); in DecodeIITType()
957 OutputTable.push_back(IITDescriptor::get(IITDescriptor::VarArg, 0)); in DecodeIITType()
960 OutputTable.push_back(IITDescriptor::get(IITDescriptor::MMX, 0)); in DecodeIITType()
963 OutputTable.push_back(IITDescriptor::get(IITDescriptor::AMX, 0)); in DecodeIITType()
966 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Token, 0)); in DecodeIITType()
969 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Metadata, 0)); in DecodeIITType()
972 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Half, 0)); in DecodeIITType()
975 OutputTable.push_back(IITDescriptor::get(IITDescriptor::BFloat, 0)); in DecodeIITType()
978 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Float, 0)); in DecodeIITType()
981 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Double, 0)); in DecodeIITType()
984 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Quad, 0)); in DecodeIITType()
987 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 1)); in DecodeIITType()
990 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 8)); in DecodeIITType()
993 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer,16)); in DecodeIITType()
996 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 32)); in DecodeIITType()
999 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 64)); in DecodeIITType()
1002 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 128)); in DecodeIITType()
1005 OutputTable.push_back(IITDescriptor::getVector(1, IsScalableVector)); in DecodeIITType()
1009 OutputTable.push_back(IITDescriptor::getVector(2, IsScalableVector)); in DecodeIITType()
1013 OutputTable.push_back(IITDescriptor::getVector(4, IsScalableVector)); in DecodeIITType()
1017 OutputTable.push_back(IITDescriptor::getVector(8, IsScalableVector)); in DecodeIITType()
1021 OutputTable.push_back(IITDescriptor::getVector(16, IsScalableVector)); in DecodeIITType()
1025 OutputTable.push_back(IITDescriptor::getVector(32, IsScalableVector)); in DecodeIITType()
1029 OutputTable.push_back(IITDescriptor::getVector(64, IsScalableVector)); in DecodeIITType()
1033 OutputTable.push_back(IITDescriptor::getVector(128, IsScalableVector)); in DecodeIITType()
1037 OutputTable.push_back(IITDescriptor::getVector(256, IsScalableVector)); in DecodeIITType()
1041 OutputTable.push_back(IITDescriptor::getVector(512, IsScalableVector)); in DecodeIITType()
1045 OutputTable.push_back(IITDescriptor::getVector(1024, IsScalableVector)); in DecodeIITType()
1049 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, 0)); in DecodeIITType()
1053 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, in DecodeIITType()
1060 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Argument, ArgInfo)); in DecodeIITType()
1065 OutputTable.push_back(IITDescriptor::get(IITDescriptor::ExtendArgument, in DecodeIITType()
1071 OutputTable.push_back(IITDescriptor::get(IITDescriptor::TruncArgument, in DecodeIITType()
1077 OutputTable.push_back(IITDescriptor::get(IITDescriptor::HalfVecArgument, in DecodeIITType()
1083 OutputTable.push_back(IITDescriptor::get(IITDescriptor::SameVecWidthArgument, in DecodeIITType()
1089 OutputTable.push_back(IITDescriptor::get(IITDescriptor::PtrToArgument, in DecodeIITType()
1095 OutputTable.push_back(IITDescriptor::get(IITDescriptor::PtrToElt, ArgInfo)); in DecodeIITType()
1102 IITDescriptor::get(IITDescriptor::VecOfAnyPtrsToElt, ArgNo, RefNo)); in DecodeIITType()
1106 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct, 0)); in DecodeIITType()
1116 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct,StructElts)); in DecodeIITType()
1124 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Subdivide2Argument, in DecodeIITType()
1130 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Subdivide4Argument, in DecodeIITType()
1136 OutputTable.push_back(IITDescriptor::get(IITDescriptor::VecElementArgument, in DecodeIITType()
1146 OutputTable.push_back(IITDescriptor::get(IITDescriptor::VecOfBitcastsToInt, in DecodeIITType()
1159 SmallVectorImpl<IITDescriptor> &T){ in getIntrinsicInfoTableEntries()
1191 static Type *DecodeFixedType(ArrayRef<Intrinsic::IITDescriptor> &Infos, in DecodeFixedType()
1195 IITDescriptor D = Infos.front(); in DecodeFixedType()
1199 case IITDescriptor::Void: return Type::getVoidTy(Context); in DecodeFixedType()
1200 case IITDescriptor::VarArg: return Type::getVoidTy(Context); in DecodeFixedType()
1201 case IITDescriptor::MMX: return Type::getX86_MMXTy(Context); in DecodeFixedType()
1202 case IITDescriptor::AMX: return Type::getX86_AMXTy(Context); in DecodeFixedType()
1203 case IITDescriptor::Token: return Type::getTokenTy(Context); in DecodeFixedType()
1204 case IITDescriptor::Metadata: return Type::getMetadataTy(Context); in DecodeFixedType()
1205 case IITDescriptor::Half: return Type::getHalfTy(Context); in DecodeFixedType()
1206 case IITDescriptor::BFloat: return Type::getBFloatTy(Context); in DecodeFixedType()
1207 case IITDescriptor::Float: return Type::getFloatTy(Context); in DecodeFixedType()
1208 case IITDescriptor::Double: return Type::getDoubleTy(Context); in DecodeFixedType()
1209 case IITDescriptor::Quad: return Type::getFP128Ty(Context); in DecodeFixedType()
1211 case IITDescriptor::Integer: in DecodeFixedType()
1213 case IITDescriptor::Vector: in DecodeFixedType()
1216 case IITDescriptor::Pointer: in DecodeFixedType()
1219 case IITDescriptor::Struct: { in DecodeFixedType()
1225 case IITDescriptor::Argument: in DecodeFixedType()
1227 case IITDescriptor::ExtendArgument: { in DecodeFixedType()
1234 case IITDescriptor::TruncArgument: { in DecodeFixedType()
1243 case IITDescriptor::Subdivide2Argument: in DecodeFixedType()
1244 case IITDescriptor::Subdivide4Argument: { in DecodeFixedType()
1248 int SubDivs = D.Kind == IITDescriptor::Subdivide2Argument ? 1 : 2; in DecodeFixedType()
1251 case IITDescriptor::HalfVecArgument: in DecodeFixedType()
1254 case IITDescriptor::SameVecWidthArgument: { in DecodeFixedType()
1261 case IITDescriptor::PtrToArgument: { in DecodeFixedType()
1265 case IITDescriptor::PtrToElt: { in DecodeFixedType()
1273 case IITDescriptor::VecElementArgument: { in DecodeFixedType()
1279 case IITDescriptor::VecOfBitcastsToInt: { in DecodeFixedType()
1285 case IITDescriptor::VecOfAnyPtrsToElt: in DecodeFixedType()
1294 SmallVector<IITDescriptor, 8> Table; in getType()
1297 ArrayRef<IITDescriptor> TableRef = Table; in getType()
1358 std::pair<Type *, ArrayRef<Intrinsic::IITDescriptor>>;
1361 Type *Ty, ArrayRef<Intrinsic::IITDescriptor> &Infos, in matchIntrinsicType()
1377 IITDescriptor D = Infos.front(); in matchIntrinsicType()
1381 case IITDescriptor::Void: return !Ty->isVoidTy(); in matchIntrinsicType()
1382 case IITDescriptor::VarArg: return true; in matchIntrinsicType()
1383 case IITDescriptor::MMX: return !Ty->isX86_MMXTy(); in matchIntrinsicType()
1384 case IITDescriptor::AMX: return !Ty->isX86_AMXTy(); in matchIntrinsicType()
1385 case IITDescriptor::Token: return !Ty->isTokenTy(); in matchIntrinsicType()
1386 case IITDescriptor::Metadata: return !Ty->isMetadataTy(); in matchIntrinsicType()
1387 case IITDescriptor::Half: return !Ty->isHalfTy(); in matchIntrinsicType()
1388 case IITDescriptor::BFloat: return !Ty->isBFloatTy(); in matchIntrinsicType()
1389 case IITDescriptor::Float: return !Ty->isFloatTy(); in matchIntrinsicType()
1390 case IITDescriptor::Double: return !Ty->isDoubleTy(); in matchIntrinsicType()
1391 case IITDescriptor::Quad: return !Ty->isFP128Ty(); in matchIntrinsicType()
1392 case IITDescriptor::Integer: return !Ty->isIntegerTy(D.Integer_Width); in matchIntrinsicType()
1393 case IITDescriptor::Vector: { in matchIntrinsicType()
1399 case IITDescriptor::Pointer: { in matchIntrinsicType()
1412 while (Infos.front().Kind == IITDescriptor::Pointer) in matchIntrinsicType()
1418 case IITDescriptor::Struct: { in matchIntrinsicType()
1430 case IITDescriptor::Argument: in matchIntrinsicType()
1437 D.getArgumentKind() == IITDescriptor::AK_MatchType) in matchIntrinsicType()
1445 case IITDescriptor::AK_Any: return false; // Success in matchIntrinsicType()
1446 case IITDescriptor::AK_AnyInteger: return !Ty->isIntOrIntVectorTy(); in matchIntrinsicType()
1447 case IITDescriptor::AK_AnyFloat: return !Ty->isFPOrFPVectorTy(); in matchIntrinsicType()
1448 case IITDescriptor::AK_AnyVector: return !isa<VectorType>(Ty); in matchIntrinsicType()
1449 case IITDescriptor::AK_AnyPointer: return !isa<PointerType>(Ty); in matchIntrinsicType()
1454 case IITDescriptor::ExtendArgument: { in matchIntrinsicType()
1469 case IITDescriptor::TruncArgument: { in matchIntrinsicType()
1484 case IITDescriptor::HalfVecArgument: in matchIntrinsicType()
1491 case IITDescriptor::SameVecWidthArgument: { in matchIntrinsicType()
1512 case IITDescriptor::PtrToArgument: { in matchIntrinsicType()
1519 case IITDescriptor::PtrToElt: { in matchIntrinsicType()
1534 case IITDescriptor::VecOfAnyPtrsToElt: { in matchIntrinsicType()
1566 case IITDescriptor::VecElementArgument: { in matchIntrinsicType()
1572 case IITDescriptor::Subdivide2Argument: in matchIntrinsicType()
1573 case IITDescriptor::Subdivide4Argument: { in matchIntrinsicType()
1580 int SubDivs = D.Kind == IITDescriptor::Subdivide2Argument ? 1 : 2; in matchIntrinsicType()
1586 case IITDescriptor::VecOfBitcastsToInt: { in matchIntrinsicType()
1601 ArrayRef<Intrinsic::IITDescriptor> &Infos, in matchIntrinsicSignature()
1627 ArrayRef<Intrinsic::IITDescriptor> &Infos) { in matchIntrinsicVarArg()
1637 IITDescriptor D = Infos.front(); in matchIntrinsicVarArg()
1639 if (D.Kind == IITDescriptor::VarArg) in matchIntrinsicVarArg()
1651 SmallVector<Intrinsic::IITDescriptor, 8> Table; in getIntrinsicSignature()
1653 ArrayRef<Intrinsic::IITDescriptor> TableRef = Table; in getIntrinsicSignature()