Lines Matching refs:IITDescriptor

1127                       SmallVectorImpl<Intrinsic::IITDescriptor> &OutputTable) {  in DecodeIITType()
1137 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Void, 0)); in DecodeIITType()
1140 OutputTable.push_back(IITDescriptor::get(IITDescriptor::VarArg, 0)); in DecodeIITType()
1143 OutputTable.push_back(IITDescriptor::get(IITDescriptor::MMX, 0)); in DecodeIITType()
1146 OutputTable.push_back(IITDescriptor::get(IITDescriptor::AMX, 0)); in DecodeIITType()
1149 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Token, 0)); in DecodeIITType()
1152 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Metadata, 0)); in DecodeIITType()
1155 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Half, 0)); in DecodeIITType()
1158 OutputTable.push_back(IITDescriptor::get(IITDescriptor::BFloat, 0)); in DecodeIITType()
1161 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Float, 0)); in DecodeIITType()
1164 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Double, 0)); in DecodeIITType()
1167 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Quad, 0)); in DecodeIITType()
1170 OutputTable.push_back(IITDescriptor::get(IITDescriptor::PPCQuad, 0)); in DecodeIITType()
1173 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 1)); in DecodeIITType()
1176 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 2)); in DecodeIITType()
1179 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 4)); in DecodeIITType()
1182 OutputTable.push_back(IITDescriptor::get(IITDescriptor::AArch64Svcount, 0)); in DecodeIITType()
1185 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 8)); in DecodeIITType()
1188 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer,16)); in DecodeIITType()
1191 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 32)); in DecodeIITType()
1194 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 64)); in DecodeIITType()
1197 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 128)); in DecodeIITType()
1200 OutputTable.push_back(IITDescriptor::getVector(1, IsScalableVector)); in DecodeIITType()
1204 OutputTable.push_back(IITDescriptor::getVector(2, IsScalableVector)); in DecodeIITType()
1208 OutputTable.push_back(IITDescriptor::getVector(3, IsScalableVector)); in DecodeIITType()
1212 OutputTable.push_back(IITDescriptor::getVector(4, IsScalableVector)); in DecodeIITType()
1216 OutputTable.push_back(IITDescriptor::getVector(6, IsScalableVector)); in DecodeIITType()
1220 OutputTable.push_back(IITDescriptor::getVector(8, IsScalableVector)); in DecodeIITType()
1224 OutputTable.push_back(IITDescriptor::getVector(10, IsScalableVector)); in DecodeIITType()
1228 OutputTable.push_back(IITDescriptor::getVector(16, IsScalableVector)); in DecodeIITType()
1232 OutputTable.push_back(IITDescriptor::getVector(32, IsScalableVector)); in DecodeIITType()
1236 OutputTable.push_back(IITDescriptor::getVector(64, IsScalableVector)); in DecodeIITType()
1240 OutputTable.push_back(IITDescriptor::getVector(128, IsScalableVector)); in DecodeIITType()
1244 OutputTable.push_back(IITDescriptor::getVector(256, IsScalableVector)); in DecodeIITType()
1248 OutputTable.push_back(IITDescriptor::getVector(512, IsScalableVector)); in DecodeIITType()
1252 OutputTable.push_back(IITDescriptor::getVector(1024, IsScalableVector)); in DecodeIITType()
1256 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, 10)); in DecodeIITType()
1259 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, 20)); in DecodeIITType()
1262 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, 0)); in DecodeIITType()
1265 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, in DecodeIITType()
1270 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Argument, ArgInfo)); in DecodeIITType()
1275 OutputTable.push_back(IITDescriptor::get(IITDescriptor::ExtendArgument, in DecodeIITType()
1281 OutputTable.push_back(IITDescriptor::get(IITDescriptor::TruncArgument, in DecodeIITType()
1287 OutputTable.push_back(IITDescriptor::get(IITDescriptor::HalfVecArgument, in DecodeIITType()
1293 OutputTable.push_back(IITDescriptor::get(IITDescriptor::SameVecWidthArgument, in DecodeIITType()
1301 IITDescriptor::get(IITDescriptor::VecOfAnyPtrsToElt, ArgNo, RefNo)); in DecodeIITType()
1305 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct, 0)); in DecodeIITType()
1315 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct,StructElts)); in DecodeIITType()
1323 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Subdivide2Argument, in DecodeIITType()
1329 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Subdivide4Argument, in DecodeIITType()
1335 OutputTable.push_back(IITDescriptor::get(IITDescriptor::VecElementArgument, in DecodeIITType()
1345 OutputTable.push_back(IITDescriptor::get(IITDescriptor::VecOfBitcastsToInt, in DecodeIITType()
1358 SmallVectorImpl<IITDescriptor> &T){ in getIntrinsicInfoTableEntries()
1390 static Type *DecodeFixedType(ArrayRef<Intrinsic::IITDescriptor> &Infos, in DecodeFixedType()
1394 IITDescriptor D = Infos.front(); in DecodeFixedType()
1398 case IITDescriptor::Void: return Type::getVoidTy(Context); in DecodeFixedType()
1399 case IITDescriptor::VarArg: return Type::getVoidTy(Context); in DecodeFixedType()
1400 case IITDescriptor::MMX: return Type::getX86_MMXTy(Context); in DecodeFixedType()
1401 case IITDescriptor::AMX: return Type::getX86_AMXTy(Context); in DecodeFixedType()
1402 case IITDescriptor::Token: return Type::getTokenTy(Context); in DecodeFixedType()
1403 case IITDescriptor::Metadata: return Type::getMetadataTy(Context); in DecodeFixedType()
1404 case IITDescriptor::Half: return Type::getHalfTy(Context); in DecodeFixedType()
1405 case IITDescriptor::BFloat: return Type::getBFloatTy(Context); in DecodeFixedType()
1406 case IITDescriptor::Float: return Type::getFloatTy(Context); in DecodeFixedType()
1407 case IITDescriptor::Double: return Type::getDoubleTy(Context); in DecodeFixedType()
1408 case IITDescriptor::Quad: return Type::getFP128Ty(Context); in DecodeFixedType()
1409 case IITDescriptor::PPCQuad: return Type::getPPC_FP128Ty(Context); in DecodeFixedType()
1410 case IITDescriptor::AArch64Svcount: in DecodeFixedType()
1413 case IITDescriptor::Integer: in DecodeFixedType()
1415 case IITDescriptor::Vector: in DecodeFixedType()
1418 case IITDescriptor::Pointer: in DecodeFixedType()
1420 case IITDescriptor::Struct: { in DecodeFixedType()
1426 case IITDescriptor::Argument: in DecodeFixedType()
1428 case IITDescriptor::ExtendArgument: { in DecodeFixedType()
1435 case IITDescriptor::TruncArgument: { in DecodeFixedType()
1444 case IITDescriptor::Subdivide2Argument: in DecodeFixedType()
1445 case IITDescriptor::Subdivide4Argument: { in DecodeFixedType()
1449 int SubDivs = D.Kind == IITDescriptor::Subdivide2Argument ? 1 : 2; in DecodeFixedType()
1452 case IITDescriptor::HalfVecArgument: in DecodeFixedType()
1455 case IITDescriptor::SameVecWidthArgument: { in DecodeFixedType()
1462 case IITDescriptor::VecElementArgument: { in DecodeFixedType()
1468 case IITDescriptor::VecOfBitcastsToInt: { in DecodeFixedType()
1474 case IITDescriptor::VecOfAnyPtrsToElt: in DecodeFixedType()
1483 SmallVector<IITDescriptor, 8> Table; in getType()
1486 ArrayRef<IITDescriptor> TableRef = Table; in getType()
1558 std::pair<Type *, ArrayRef<Intrinsic::IITDescriptor>>;
1561 Type *Ty, ArrayRef<Intrinsic::IITDescriptor> &Infos, in matchIntrinsicType()
1577 IITDescriptor D = Infos.front(); in matchIntrinsicType()
1581 case IITDescriptor::Void: return !Ty->isVoidTy(); in matchIntrinsicType()
1582 case IITDescriptor::VarArg: return true; in matchIntrinsicType()
1583 case IITDescriptor::MMX: return !Ty->isX86_MMXTy(); in matchIntrinsicType()
1584 case IITDescriptor::AMX: return !Ty->isX86_AMXTy(); in matchIntrinsicType()
1585 case IITDescriptor::Token: return !Ty->isTokenTy(); in matchIntrinsicType()
1586 case IITDescriptor::Metadata: return !Ty->isMetadataTy(); in matchIntrinsicType()
1587 case IITDescriptor::Half: return !Ty->isHalfTy(); in matchIntrinsicType()
1588 case IITDescriptor::BFloat: return !Ty->isBFloatTy(); in matchIntrinsicType()
1589 case IITDescriptor::Float: return !Ty->isFloatTy(); in matchIntrinsicType()
1590 case IITDescriptor::Double: return !Ty->isDoubleTy(); in matchIntrinsicType()
1591 case IITDescriptor::Quad: return !Ty->isFP128Ty(); in matchIntrinsicType()
1592 case IITDescriptor::PPCQuad: return !Ty->isPPC_FP128Ty(); in matchIntrinsicType()
1593 case IITDescriptor::Integer: return !Ty->isIntegerTy(D.Integer_Width); in matchIntrinsicType()
1594 case IITDescriptor::AArch64Svcount: in matchIntrinsicType()
1597 case IITDescriptor::Vector: { in matchIntrinsicType()
1603 case IITDescriptor::Pointer: { in matchIntrinsicType()
1608 case IITDescriptor::Struct: { in matchIntrinsicType()
1621 case IITDescriptor::Argument: in matchIntrinsicType()
1628 D.getArgumentKind() == IITDescriptor::AK_MatchType) in matchIntrinsicType()
1636 case IITDescriptor::AK_Any: return false; // Success in matchIntrinsicType()
1637 case IITDescriptor::AK_AnyInteger: return !Ty->isIntOrIntVectorTy(); in matchIntrinsicType()
1638 case IITDescriptor::AK_AnyFloat: return !Ty->isFPOrFPVectorTy(); in matchIntrinsicType()
1639 case IITDescriptor::AK_AnyVector: return !isa<VectorType>(Ty); in matchIntrinsicType()
1640 case IITDescriptor::AK_AnyPointer: return !isa<PointerType>(Ty); in matchIntrinsicType()
1645 case IITDescriptor::ExtendArgument: { in matchIntrinsicType()
1660 case IITDescriptor::TruncArgument: { in matchIntrinsicType()
1675 case IITDescriptor::HalfVecArgument: in matchIntrinsicType()
1682 case IITDescriptor::SameVecWidthArgument: { in matchIntrinsicType()
1703 case IITDescriptor::VecOfAnyPtrsToElt: { in matchIntrinsicType()
1730 case IITDescriptor::VecElementArgument: { in matchIntrinsicType()
1736 case IITDescriptor::Subdivide2Argument: in matchIntrinsicType()
1737 case IITDescriptor::Subdivide4Argument: { in matchIntrinsicType()
1744 int SubDivs = D.Kind == IITDescriptor::Subdivide2Argument ? 1 : 2; in matchIntrinsicType()
1750 case IITDescriptor::VecOfBitcastsToInt: { in matchIntrinsicType()
1765 ArrayRef<Intrinsic::IITDescriptor> &Infos, in matchIntrinsicSignature()
1791 ArrayRef<Intrinsic::IITDescriptor> &Infos) { in matchIntrinsicVarArg()
1801 IITDescriptor D = Infos.front(); in matchIntrinsicVarArg()
1803 if (D.Kind == IITDescriptor::VarArg) in matchIntrinsicVarArg()
1814 SmallVector<Intrinsic::IITDescriptor, 8> Table; in getIntrinsicSignature()
1816 ArrayRef<Intrinsic::IITDescriptor> TableRef = Table; in getIntrinsicSignature()