Lines Matching defs:DstTy
356 LLT DstTy = MRI.getType(Dst);
361 auto ExtInfo = getExtMask(Mask, DstTy.getNumElements());
366 !isSingletonExtMask(Mask, DstTy))
411 LLT DstTy = MRI.getType(Dst);
412 assert(DstTy.getSizeInBits() == 128 &&
416 auto Rev = MIRBuilder.buildInstr(AArch64::G_REV64, {DstTy}, {Src});
713 const LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
723 if (DstTy != SrcTy)
941 LLT DstTy = MRI.getType(LHS);
942 assert(DstTy.isVector() && "Expected vector types only?");
943 assert(DstTy == MRI.getType(RHS) && "Src and Dst types must match!");
948 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) {
950 ? MIB.buildInstr(AArch64::G_FCMEQZ, {DstTy}, {LHS})
951 : MIB.buildInstr(AArch64::G_FCMEQ, {DstTy}, {LHS, RHS});
952 return MIB.buildNot(DstTy, FCmp).getReg(0);
955 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) {
957 ? MIB.buildInstr(AArch64::G_FCMEQZ, {DstTy}, {LHS}).getReg(0)
958 : MIB.buildInstr(AArch64::G_FCMEQ, {DstTy}, {LHS, RHS})
962 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) {
964 ? MIB.buildInstr(AArch64::G_FCMGEZ, {DstTy}, {LHS}).getReg(0)
965 : MIB.buildInstr(AArch64::G_FCMGE, {DstTy}, {LHS, RHS})
969 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) {
971 ? MIB.buildInstr(AArch64::G_FCMGTZ, {DstTy}, {LHS}).getReg(0)
972 : MIB.buildInstr(AArch64::G_FCMGT, {DstTy}, {LHS, RHS})
976 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) {
978 ? MIB.buildInstr(AArch64::G_FCMLEZ, {DstTy}, {LHS}).getReg(0)
979 : MIB.buildInstr(AArch64::G_FCMGE, {DstTy}, {RHS, LHS})
983 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) {
985 ? MIB.buildInstr(AArch64::G_FCMLTZ, {DstTy}, {LHS}).getReg(0)
986 : MIB.buildInstr(AArch64::G_FCMGT, {DstTy}, {RHS, LHS})
999 LLT DstTy = MRI.getType(Dst);
1000 if (!DstTy.isVector() || !ST.hasNEON())
1025 LLT DstTy = MRI.getType(Dst);
1062 CmpRes = MIB.buildOr(DstTy, Cmp1Dst, Cmp2Dst).getReg(0);
1065 CmpRes = MIB.buildNot(DstTy, CmpRes).getReg(0);
1089 LLT DstTy = MRI.getType(GBuildVec->getReg(0));
1090 Register DstReg = B.buildUndef(DstTy).getReg(0);
1098 B.buildInsertVectorElement(DstTy, DstReg, SrcReg, IdxReg).getReg(0);
1132 LLT DstTy = MRI.getType(DstReg);
1133 return DstTy.isVector();
1154 LLT DstTy = MRI.getType(Unmerge.getReg(0));
1155 if (!DstTy.isVector())
1166 if (!LowestVal || LowestVal->Value.getZExtValue() != DstTy.getSizeInBytes())
1195 LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
1199 if (DstTy.isVector()) {
1212 else if (DstTy == LLT::fixed_vector(2, 64)) {
1225 LLT DstTy = MRI.getType(MI.getOperand(0).getReg());
1247 else if (DstTy == LLT::fixed_vector(2, 64)) {
1252 DstTy.changeElementCount(
1253 DstTy.getElementCount().divideCoefficientBy(2)));