Lines Matching refs:DstTy
649 const LLT DstTy = MRI.getType(MI.getOperand(0).getReg()); in matchDupLane() local
659 if (DstTy != SrcTy) in matchDupLane()
859 LLT DstTy = MRI.getType(LHS); in getVectorFCMP() local
860 assert(DstTy.isVector() && "Expected vector types only?"); in getVectorFCMP()
861 assert(DstTy == MRI.getType(RHS) && "Src and Dst types must match!"); in getVectorFCMP()
866 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) { in getVectorFCMP()
868 ? MIB.buildInstr(AArch64::G_FCMEQZ, {DstTy}, {LHS}) in getVectorFCMP()
869 : MIB.buildInstr(AArch64::G_FCMEQ, {DstTy}, {LHS, RHS}); in getVectorFCMP()
870 return MIB.buildNot(DstTy, FCmp).getReg(0); in getVectorFCMP()
873 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) { in getVectorFCMP()
875 ? MIB.buildInstr(AArch64::G_FCMEQZ, {DstTy}, {LHS}).getReg(0) in getVectorFCMP()
876 : MIB.buildInstr(AArch64::G_FCMEQ, {DstTy}, {LHS, RHS}) in getVectorFCMP()
880 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) { in getVectorFCMP()
882 ? MIB.buildInstr(AArch64::G_FCMGEZ, {DstTy}, {LHS}).getReg(0) in getVectorFCMP()
883 : MIB.buildInstr(AArch64::G_FCMGE, {DstTy}, {LHS, RHS}) in getVectorFCMP()
887 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) { in getVectorFCMP()
889 ? MIB.buildInstr(AArch64::G_FCMGTZ, {DstTy}, {LHS}).getReg(0) in getVectorFCMP()
890 : MIB.buildInstr(AArch64::G_FCMGT, {DstTy}, {LHS, RHS}) in getVectorFCMP()
894 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) { in getVectorFCMP()
896 ? MIB.buildInstr(AArch64::G_FCMLEZ, {DstTy}, {LHS}).getReg(0) in getVectorFCMP()
897 : MIB.buildInstr(AArch64::G_FCMGE, {DstTy}, {RHS, LHS}) in getVectorFCMP()
901 return [LHS, RHS, IsZero, DstTy](MachineIRBuilder &MIB) { in getVectorFCMP()
903 ? MIB.buildInstr(AArch64::G_FCMLTZ, {DstTy}, {LHS}).getReg(0) in getVectorFCMP()
904 : MIB.buildInstr(AArch64::G_FCMGT, {DstTy}, {RHS, LHS}) in getVectorFCMP()
916 LLT DstTy = MRI.getType(Dst); in lowerVectorFCMP() local
917 if (!DstTy.isVector() || !ST.hasNEON()) in lowerVectorFCMP()
946 CmpRes = MIB.buildOr(DstTy, Cmp1Dst, Cmp2Dst).getReg(0); in lowerVectorFCMP()
949 CmpRes = MIB.buildNot(DstTy, CmpRes).getReg(0); in lowerVectorFCMP()