Lines Matching refs:IITDescriptor
997 SmallVectorImpl<Intrinsic::IITDescriptor> &OutputTable) { in DecodeIITType()
1007 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Void, 0)); in DecodeIITType()
1010 OutputTable.push_back(IITDescriptor::get(IITDescriptor::VarArg, 0)); in DecodeIITType()
1013 OutputTable.push_back(IITDescriptor::get(IITDescriptor::MMX, 0)); in DecodeIITType()
1016 OutputTable.push_back(IITDescriptor::get(IITDescriptor::AMX, 0)); in DecodeIITType()
1019 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Token, 0)); in DecodeIITType()
1022 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Metadata, 0)); in DecodeIITType()
1025 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Half, 0)); in DecodeIITType()
1028 OutputTable.push_back(IITDescriptor::get(IITDescriptor::BFloat, 0)); in DecodeIITType()
1031 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Float, 0)); in DecodeIITType()
1034 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Double, 0)); in DecodeIITType()
1037 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Quad, 0)); in DecodeIITType()
1040 OutputTable.push_back(IITDescriptor::get(IITDescriptor::PPCQuad, 0)); in DecodeIITType()
1043 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 1)); in DecodeIITType()
1046 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 2)); in DecodeIITType()
1049 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 4)); in DecodeIITType()
1052 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 8)); in DecodeIITType()
1055 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer,16)); in DecodeIITType()
1058 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 32)); in DecodeIITType()
1061 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 64)); in DecodeIITType()
1064 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 128)); in DecodeIITType()
1067 OutputTable.push_back(IITDescriptor::getVector(1, IsScalableVector)); in DecodeIITType()
1071 OutputTable.push_back(IITDescriptor::getVector(2, IsScalableVector)); in DecodeIITType()
1075 OutputTable.push_back(IITDescriptor::getVector(3, IsScalableVector)); in DecodeIITType()
1079 OutputTable.push_back(IITDescriptor::getVector(4, IsScalableVector)); in DecodeIITType()
1083 OutputTable.push_back(IITDescriptor::getVector(8, IsScalableVector)); in DecodeIITType()
1087 OutputTable.push_back(IITDescriptor::getVector(16, IsScalableVector)); in DecodeIITType()
1091 OutputTable.push_back(IITDescriptor::getVector(32, IsScalableVector)); in DecodeIITType()
1095 OutputTable.push_back(IITDescriptor::getVector(64, IsScalableVector)); in DecodeIITType()
1099 OutputTable.push_back(IITDescriptor::getVector(128, IsScalableVector)); in DecodeIITType()
1103 OutputTable.push_back(IITDescriptor::getVector(256, IsScalableVector)); in DecodeIITType()
1107 OutputTable.push_back(IITDescriptor::getVector(512, IsScalableVector)); in DecodeIITType()
1111 OutputTable.push_back(IITDescriptor::getVector(1024, IsScalableVector)); in DecodeIITType()
1115 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, 10)); in DecodeIITType()
1116 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct, 0)); in DecodeIITType()
1119 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, 20)); in DecodeIITType()
1120 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 8)); in DecodeIITType()
1123 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, 0)); in DecodeIITType()
1127 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, in DecodeIITType()
1134 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Argument, ArgInfo)); in DecodeIITType()
1139 OutputTable.push_back(IITDescriptor::get(IITDescriptor::ExtendArgument, in DecodeIITType()
1145 OutputTable.push_back(IITDescriptor::get(IITDescriptor::TruncArgument, in DecodeIITType()
1151 OutputTable.push_back(IITDescriptor::get(IITDescriptor::HalfVecArgument, in DecodeIITType()
1157 OutputTable.push_back(IITDescriptor::get(IITDescriptor::SameVecWidthArgument, in DecodeIITType()
1163 OutputTable.push_back(IITDescriptor::get(IITDescriptor::PtrToArgument, in DecodeIITType()
1169 OutputTable.push_back(IITDescriptor::get(IITDescriptor::PtrToElt, ArgInfo)); in DecodeIITType()
1176 IITDescriptor::get(IITDescriptor::AnyPtrToElt, ArgNo, RefNo)); in DecodeIITType()
1183 IITDescriptor::get(IITDescriptor::VecOfAnyPtrsToElt, ArgNo, RefNo)); in DecodeIITType()
1187 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct, 0)); in DecodeIITType()
1197 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct,StructElts)); in DecodeIITType()
1205 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Subdivide2Argument, in DecodeIITType()
1211 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Subdivide4Argument, in DecodeIITType()
1217 OutputTable.push_back(IITDescriptor::get(IITDescriptor::VecElementArgument, in DecodeIITType()
1227 OutputTable.push_back(IITDescriptor::get(IITDescriptor::VecOfBitcastsToInt, in DecodeIITType()
1240 SmallVectorImpl<IITDescriptor> &T){ in getIntrinsicInfoTableEntries()
1272 static Type *DecodeFixedType(ArrayRef<Intrinsic::IITDescriptor> &Infos, in DecodeFixedType()
1276 IITDescriptor D = Infos.front(); in DecodeFixedType()
1280 case IITDescriptor::Void: return Type::getVoidTy(Context); in DecodeFixedType()
1281 case IITDescriptor::VarArg: return Type::getVoidTy(Context); in DecodeFixedType()
1282 case IITDescriptor::MMX: return Type::getX86_MMXTy(Context); in DecodeFixedType()
1283 case IITDescriptor::AMX: return Type::getX86_AMXTy(Context); in DecodeFixedType()
1284 case IITDescriptor::Token: return Type::getTokenTy(Context); in DecodeFixedType()
1285 case IITDescriptor::Metadata: return Type::getMetadataTy(Context); in DecodeFixedType()
1286 case IITDescriptor::Half: return Type::getHalfTy(Context); in DecodeFixedType()
1287 case IITDescriptor::BFloat: return Type::getBFloatTy(Context); in DecodeFixedType()
1288 case IITDescriptor::Float: return Type::getFloatTy(Context); in DecodeFixedType()
1289 case IITDescriptor::Double: return Type::getDoubleTy(Context); in DecodeFixedType()
1290 case IITDescriptor::Quad: return Type::getFP128Ty(Context); in DecodeFixedType()
1291 case IITDescriptor::PPCQuad: return Type::getPPC_FP128Ty(Context); in DecodeFixedType()
1293 case IITDescriptor::Integer: in DecodeFixedType()
1295 case IITDescriptor::Vector: in DecodeFixedType()
1298 case IITDescriptor::Pointer: in DecodeFixedType()
1301 case IITDescriptor::Struct: { in DecodeFixedType()
1307 case IITDescriptor::Argument: in DecodeFixedType()
1309 case IITDescriptor::ExtendArgument: { in DecodeFixedType()
1316 case IITDescriptor::TruncArgument: { in DecodeFixedType()
1325 case IITDescriptor::Subdivide2Argument: in DecodeFixedType()
1326 case IITDescriptor::Subdivide4Argument: { in DecodeFixedType()
1330 int SubDivs = D.Kind == IITDescriptor::Subdivide2Argument ? 1 : 2; in DecodeFixedType()
1333 case IITDescriptor::HalfVecArgument: in DecodeFixedType()
1336 case IITDescriptor::SameVecWidthArgument: { in DecodeFixedType()
1343 case IITDescriptor::PtrToArgument: { in DecodeFixedType()
1347 case IITDescriptor::PtrToElt: { in DecodeFixedType()
1355 case IITDescriptor::VecElementArgument: { in DecodeFixedType()
1361 case IITDescriptor::VecOfBitcastsToInt: { in DecodeFixedType()
1367 case IITDescriptor::VecOfAnyPtrsToElt: in DecodeFixedType()
1370 case IITDescriptor::AnyPtrToElt: in DecodeFixedType()
1379 SmallVector<IITDescriptor, 8> Table; in getType()
1382 ArrayRef<IITDescriptor> TableRef = Table; in getType()
1443 std::pair<Type *, ArrayRef<Intrinsic::IITDescriptor>>;
1446 Type *Ty, ArrayRef<Intrinsic::IITDescriptor> &Infos, in matchIntrinsicType()
1462 IITDescriptor D = Infos.front(); in matchIntrinsicType()
1466 case IITDescriptor::Void: return !Ty->isVoidTy(); in matchIntrinsicType()
1467 case IITDescriptor::VarArg: return true; in matchIntrinsicType()
1468 case IITDescriptor::MMX: return !Ty->isX86_MMXTy(); in matchIntrinsicType()
1469 case IITDescriptor::AMX: return !Ty->isX86_AMXTy(); in matchIntrinsicType()
1470 case IITDescriptor::Token: return !Ty->isTokenTy(); in matchIntrinsicType()
1471 case IITDescriptor::Metadata: return !Ty->isMetadataTy(); in matchIntrinsicType()
1472 case IITDescriptor::Half: return !Ty->isHalfTy(); in matchIntrinsicType()
1473 case IITDescriptor::BFloat: return !Ty->isBFloatTy(); in matchIntrinsicType()
1474 case IITDescriptor::Float: return !Ty->isFloatTy(); in matchIntrinsicType()
1475 case IITDescriptor::Double: return !Ty->isDoubleTy(); in matchIntrinsicType()
1476 case IITDescriptor::Quad: return !Ty->isFP128Ty(); in matchIntrinsicType()
1477 case IITDescriptor::PPCQuad: return !Ty->isPPC_FP128Ty(); in matchIntrinsicType()
1478 case IITDescriptor::Integer: return !Ty->isIntegerTy(D.Integer_Width); in matchIntrinsicType()
1479 case IITDescriptor::Vector: { in matchIntrinsicType()
1485 case IITDescriptor::Pointer: { in matchIntrinsicType()
1494 if (Infos.front().Kind == IITDescriptor::Struct && in matchIntrinsicType()
1506 while (Infos.front().Kind == IITDescriptor::Pointer || in matchIntrinsicType()
1507 Infos.front().Kind == IITDescriptor::Vector) in matchIntrinsicType()
1509 assert((Infos.front().Kind != IITDescriptor::Argument || in matchIntrinsicType()
1510 Infos.front().getArgumentKind() == IITDescriptor::AK_MatchType) && in matchIntrinsicType()
1516 case IITDescriptor::Struct: { in matchIntrinsicType()
1529 case IITDescriptor::Argument: in matchIntrinsicType()
1536 D.getArgumentKind() == IITDescriptor::AK_MatchType) in matchIntrinsicType()
1544 case IITDescriptor::AK_Any: return false; // Success in matchIntrinsicType()
1545 case IITDescriptor::AK_AnyInteger: return !Ty->isIntOrIntVectorTy(); in matchIntrinsicType()
1546 case IITDescriptor::AK_AnyFloat: return !Ty->isFPOrFPVectorTy(); in matchIntrinsicType()
1547 case IITDescriptor::AK_AnyVector: return !isa<VectorType>(Ty); in matchIntrinsicType()
1548 case IITDescriptor::AK_AnyPointer: return !isa<PointerType>(Ty); in matchIntrinsicType()
1553 case IITDescriptor::ExtendArgument: { in matchIntrinsicType()
1568 case IITDescriptor::TruncArgument: { in matchIntrinsicType()
1583 case IITDescriptor::HalfVecArgument: in matchIntrinsicType()
1590 case IITDescriptor::SameVecWidthArgument: { in matchIntrinsicType()
1611 case IITDescriptor::PtrToArgument: { in matchIntrinsicType()
1619 case IITDescriptor::PtrToElt: { in matchIntrinsicType()
1631 case IITDescriptor::AnyPtrToElt: { in matchIntrinsicType()
1655 case IITDescriptor::VecOfAnyPtrsToElt: { in matchIntrinsicType()
1687 case IITDescriptor::VecElementArgument: { in matchIntrinsicType()
1693 case IITDescriptor::Subdivide2Argument: in matchIntrinsicType()
1694 case IITDescriptor::Subdivide4Argument: { in matchIntrinsicType()
1701 int SubDivs = D.Kind == IITDescriptor::Subdivide2Argument ? 1 : 2; in matchIntrinsicType()
1707 case IITDescriptor::VecOfBitcastsToInt: { in matchIntrinsicType()
1722 ArrayRef<Intrinsic::IITDescriptor> &Infos, in matchIntrinsicSignature()
1748 ArrayRef<Intrinsic::IITDescriptor> &Infos) { in matchIntrinsicVarArg()
1758 IITDescriptor D = Infos.front(); in matchIntrinsicVarArg()
1760 if (D.Kind == IITDescriptor::VarArg) in matchIntrinsicVarArg()
1772 SmallVector<Intrinsic::IITDescriptor, 8> Table; in getIntrinsicSignature()
1774 ArrayRef<Intrinsic::IITDescriptor> TableRef = Table; in getIntrinsicSignature()