Lines Matching refs:IITDescriptor

1066                       SmallVectorImpl<Intrinsic::IITDescriptor> &OutputTable) {  in DecodeIITType()
1076 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Void, 0)); in DecodeIITType()
1079 OutputTable.push_back(IITDescriptor::get(IITDescriptor::VarArg, 0)); in DecodeIITType()
1082 OutputTable.push_back(IITDescriptor::get(IITDescriptor::MMX, 0)); in DecodeIITType()
1085 OutputTable.push_back(IITDescriptor::get(IITDescriptor::AMX, 0)); in DecodeIITType()
1088 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Token, 0)); in DecodeIITType()
1091 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Metadata, 0)); in DecodeIITType()
1094 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Half, 0)); in DecodeIITType()
1097 OutputTable.push_back(IITDescriptor::get(IITDescriptor::BFloat, 0)); in DecodeIITType()
1100 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Float, 0)); in DecodeIITType()
1103 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Double, 0)); in DecodeIITType()
1106 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Quad, 0)); in DecodeIITType()
1109 OutputTable.push_back(IITDescriptor::get(IITDescriptor::PPCQuad, 0)); in DecodeIITType()
1112 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 1)); in DecodeIITType()
1115 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 2)); in DecodeIITType()
1118 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 4)); in DecodeIITType()
1121 OutputTable.push_back(IITDescriptor::get(IITDescriptor::AArch64Svcount, 0)); in DecodeIITType()
1124 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 8)); in DecodeIITType()
1127 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer,16)); in DecodeIITType()
1130 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 32)); in DecodeIITType()
1133 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 64)); in DecodeIITType()
1136 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Integer, 128)); in DecodeIITType()
1139 OutputTable.push_back(IITDescriptor::getVector(1, IsScalableVector)); in DecodeIITType()
1143 OutputTable.push_back(IITDescriptor::getVector(2, IsScalableVector)); in DecodeIITType()
1147 OutputTable.push_back(IITDescriptor::getVector(3, IsScalableVector)); in DecodeIITType()
1151 OutputTable.push_back(IITDescriptor::getVector(4, IsScalableVector)); in DecodeIITType()
1155 OutputTable.push_back(IITDescriptor::getVector(8, IsScalableVector)); in DecodeIITType()
1159 OutputTable.push_back(IITDescriptor::getVector(16, IsScalableVector)); in DecodeIITType()
1163 OutputTable.push_back(IITDescriptor::getVector(32, IsScalableVector)); in DecodeIITType()
1167 OutputTable.push_back(IITDescriptor::getVector(64, IsScalableVector)); in DecodeIITType()
1171 OutputTable.push_back(IITDescriptor::getVector(128, IsScalableVector)); in DecodeIITType()
1175 OutputTable.push_back(IITDescriptor::getVector(256, IsScalableVector)); in DecodeIITType()
1179 OutputTable.push_back(IITDescriptor::getVector(512, IsScalableVector)); in DecodeIITType()
1183 OutputTable.push_back(IITDescriptor::getVector(1024, IsScalableVector)); in DecodeIITType()
1187 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, 10)); in DecodeIITType()
1190 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, 20)); in DecodeIITType()
1193 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, 0)); in DecodeIITType()
1196 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Pointer, in DecodeIITType()
1201 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Argument, ArgInfo)); in DecodeIITType()
1206 OutputTable.push_back(IITDescriptor::get(IITDescriptor::ExtendArgument, in DecodeIITType()
1212 OutputTable.push_back(IITDescriptor::get(IITDescriptor::TruncArgument, in DecodeIITType()
1218 OutputTable.push_back(IITDescriptor::get(IITDescriptor::HalfVecArgument, in DecodeIITType()
1224 OutputTable.push_back(IITDescriptor::get(IITDescriptor::SameVecWidthArgument, in DecodeIITType()
1232 IITDescriptor::get(IITDescriptor::VecOfAnyPtrsToElt, ArgNo, RefNo)); in DecodeIITType()
1236 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct, 0)); in DecodeIITType()
1246 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Struct,StructElts)); in DecodeIITType()
1254 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Subdivide2Argument, in DecodeIITType()
1260 OutputTable.push_back(IITDescriptor::get(IITDescriptor::Subdivide4Argument, in DecodeIITType()
1266 OutputTable.push_back(IITDescriptor::get(IITDescriptor::VecElementArgument, in DecodeIITType()
1276 OutputTable.push_back(IITDescriptor::get(IITDescriptor::VecOfBitcastsToInt, in DecodeIITType()
1289 SmallVectorImpl<IITDescriptor> &T){ in getIntrinsicInfoTableEntries()
1321 static Type *DecodeFixedType(ArrayRef<Intrinsic::IITDescriptor> &Infos, in DecodeFixedType()
1325 IITDescriptor D = Infos.front(); in DecodeFixedType()
1329 case IITDescriptor::Void: return Type::getVoidTy(Context); in DecodeFixedType()
1330 case IITDescriptor::VarArg: return Type::getVoidTy(Context); in DecodeFixedType()
1331 case IITDescriptor::MMX: return Type::getX86_MMXTy(Context); in DecodeFixedType()
1332 case IITDescriptor::AMX: return Type::getX86_AMXTy(Context); in DecodeFixedType()
1333 case IITDescriptor::Token: return Type::getTokenTy(Context); in DecodeFixedType()
1334 case IITDescriptor::Metadata: return Type::getMetadataTy(Context); in DecodeFixedType()
1335 case IITDescriptor::Half: return Type::getHalfTy(Context); in DecodeFixedType()
1336 case IITDescriptor::BFloat: return Type::getBFloatTy(Context); in DecodeFixedType()
1337 case IITDescriptor::Float: return Type::getFloatTy(Context); in DecodeFixedType()
1338 case IITDescriptor::Double: return Type::getDoubleTy(Context); in DecodeFixedType()
1339 case IITDescriptor::Quad: return Type::getFP128Ty(Context); in DecodeFixedType()
1340 case IITDescriptor::PPCQuad: return Type::getPPC_FP128Ty(Context); in DecodeFixedType()
1341 case IITDescriptor::AArch64Svcount: in DecodeFixedType()
1344 case IITDescriptor::Integer: in DecodeFixedType()
1346 case IITDescriptor::Vector: in DecodeFixedType()
1349 case IITDescriptor::Pointer: in DecodeFixedType()
1351 case IITDescriptor::Struct: { in DecodeFixedType()
1357 case IITDescriptor::Argument: in DecodeFixedType()
1359 case IITDescriptor::ExtendArgument: { in DecodeFixedType()
1366 case IITDescriptor::TruncArgument: { in DecodeFixedType()
1375 case IITDescriptor::Subdivide2Argument: in DecodeFixedType()
1376 case IITDescriptor::Subdivide4Argument: { in DecodeFixedType()
1380 int SubDivs = D.Kind == IITDescriptor::Subdivide2Argument ? 1 : 2; in DecodeFixedType()
1383 case IITDescriptor::HalfVecArgument: in DecodeFixedType()
1386 case IITDescriptor::SameVecWidthArgument: { in DecodeFixedType()
1393 case IITDescriptor::VecElementArgument: { in DecodeFixedType()
1399 case IITDescriptor::VecOfBitcastsToInt: { in DecodeFixedType()
1405 case IITDescriptor::VecOfAnyPtrsToElt: in DecodeFixedType()
1414 SmallVector<IITDescriptor, 8> Table; in getType()
1417 ArrayRef<IITDescriptor> TableRef = Table; in getType()
1465 std::pair<Type *, ArrayRef<Intrinsic::IITDescriptor>>;
1468 Type *Ty, ArrayRef<Intrinsic::IITDescriptor> &Infos, in matchIntrinsicType()
1484 IITDescriptor D = Infos.front(); in matchIntrinsicType()
1488 case IITDescriptor::Void: return !Ty->isVoidTy(); in matchIntrinsicType()
1489 case IITDescriptor::VarArg: return true; in matchIntrinsicType()
1490 case IITDescriptor::MMX: return !Ty->isX86_MMXTy(); in matchIntrinsicType()
1491 case IITDescriptor::AMX: return !Ty->isX86_AMXTy(); in matchIntrinsicType()
1492 case IITDescriptor::Token: return !Ty->isTokenTy(); in matchIntrinsicType()
1493 case IITDescriptor::Metadata: return !Ty->isMetadataTy(); in matchIntrinsicType()
1494 case IITDescriptor::Half: return !Ty->isHalfTy(); in matchIntrinsicType()
1495 case IITDescriptor::BFloat: return !Ty->isBFloatTy(); in matchIntrinsicType()
1496 case IITDescriptor::Float: return !Ty->isFloatTy(); in matchIntrinsicType()
1497 case IITDescriptor::Double: return !Ty->isDoubleTy(); in matchIntrinsicType()
1498 case IITDescriptor::Quad: return !Ty->isFP128Ty(); in matchIntrinsicType()
1499 case IITDescriptor::PPCQuad: return !Ty->isPPC_FP128Ty(); in matchIntrinsicType()
1500 case IITDescriptor::Integer: return !Ty->isIntegerTy(D.Integer_Width); in matchIntrinsicType()
1501 case IITDescriptor::AArch64Svcount: in matchIntrinsicType()
1504 case IITDescriptor::Vector: { in matchIntrinsicType()
1510 case IITDescriptor::Pointer: { in matchIntrinsicType()
1515 case IITDescriptor::Struct: { in matchIntrinsicType()
1528 case IITDescriptor::Argument: in matchIntrinsicType()
1535 D.getArgumentKind() == IITDescriptor::AK_MatchType) in matchIntrinsicType()
1543 case IITDescriptor::AK_Any: return false; // Success in matchIntrinsicType()
1544 case IITDescriptor::AK_AnyInteger: return !Ty->isIntOrIntVectorTy(); in matchIntrinsicType()
1545 case IITDescriptor::AK_AnyFloat: return !Ty->isFPOrFPVectorTy(); in matchIntrinsicType()
1546 case IITDescriptor::AK_AnyVector: return !isa<VectorType>(Ty); in matchIntrinsicType()
1547 case IITDescriptor::AK_AnyPointer: return !isa<PointerType>(Ty); in matchIntrinsicType()
1552 case IITDescriptor::ExtendArgument: { in matchIntrinsicType()
1567 case IITDescriptor::TruncArgument: { in matchIntrinsicType()
1582 case IITDescriptor::HalfVecArgument: in matchIntrinsicType()
1589 case IITDescriptor::SameVecWidthArgument: { in matchIntrinsicType()
1610 case IITDescriptor::VecOfAnyPtrsToElt: { in matchIntrinsicType()
1637 case IITDescriptor::VecElementArgument: { in matchIntrinsicType()
1643 case IITDescriptor::Subdivide2Argument: in matchIntrinsicType()
1644 case IITDescriptor::Subdivide4Argument: { in matchIntrinsicType()
1651 int SubDivs = D.Kind == IITDescriptor::Subdivide2Argument ? 1 : 2; in matchIntrinsicType()
1657 case IITDescriptor::VecOfBitcastsToInt: { in matchIntrinsicType()
1672 ArrayRef<Intrinsic::IITDescriptor> &Infos, in matchIntrinsicSignature()
1698 ArrayRef<Intrinsic::IITDescriptor> &Infos) { in matchIntrinsicVarArg()
1708 IITDescriptor D = Infos.front(); in matchIntrinsicVarArg()
1710 if (D.Kind == IITDescriptor::VarArg) in matchIntrinsicVarArg()
1722 SmallVector<Intrinsic::IITDescriptor, 8> Table; in getIntrinsicSignature()
1724 ArrayRef<Intrinsic::IITDescriptor> TableRef = Table; in getIntrinsicSignature()