Lines Matching refs:DstOps

790                                                  ArrayRef<DstOp> DstOps,  in buildInstr()  argument
797 assert(DstOps.size() == 1 && "Invalid select"); in buildInstr()
800 DstOps[0].getLLTTy(*getMRI()), SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
818 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
820 validateBinaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
827 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
829 validateTruncExt(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
834 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
836 validateTruncExt(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
841 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
843 assert(DstOps[0].getLLTTy(*getMRI()) == LLT() || in buildInstr()
845 DstOps[0].getLLTTy(*getMRI()) == SrcOps[0].getLLTTy(*getMRI())); in buildInstr()
849 assert(DstOps.size() == 1 && "Invalid Dst Operands"); in buildInstr()
864 LLT DstTy = DstOps[0].getLLTTy(*getMRI()); in buildInstr()
874 assert(!DstOps.empty() && "Invalid trivial sequence"); in buildInstr()
876 assert(std::all_of(DstOps.begin(), DstOps.end(), in buildInstr()
879 DstOps[0].getLLTTy(*getMRI()); in buildInstr()
882 assert(DstOps.size() * DstOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
889 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
897 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
900 return buildCast(DstOps[0], SrcOps[0]); in buildInstr()
901 if (DstOps[0].getLLTTy(*getMRI()).isVector()) in buildInstr()
902 return buildInstr(TargetOpcode::G_CONCAT_VECTORS, DstOps, SrcOps); in buildInstr()
906 assert(DstOps.size() == 1 && "Invalid Dst size"); in buildInstr()
909 assert((DstOps[0].getLLTTy(*getMRI()).isScalar() || in buildInstr()
910 DstOps[0].getLLTTy(*getMRI()).isPointer()) && in buildInstr()
914 DstOps[0].getLLTTy(*getMRI()) && in buildInstr()
919 assert(DstOps.size() == 1 && "Invalid dst size"); in buildInstr()
921 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
923 assert(DstOps[0].getLLTTy(*getMRI()).getElementType() == in buildInstr()
927 assert(DstOps[0].getLLTTy(*getMRI()).getNumElements() == in buildInstr()
935 assert(DstOps.size() == 1 && "Invalid DstOps"); in buildInstr()
936 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
945 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
952 assert(DstOps.size() == 1 && "Invalid DstOps"); in buildInstr()
953 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
962 DstOps[0].getLLTTy(*getMRI()).getElementType().getSizeInBits()) in buildInstr()
963 return buildInstr(TargetOpcode::G_BUILD_VECTOR, DstOps, SrcOps); in buildInstr()
967 assert(DstOps.size() == 1 && "Invalid DstOps"); in buildInstr()
978 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
983 assert(DstOps.size() == 2 && "Invalid no of dst operands"); in buildInstr()
985 assert(DstOps[0].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()
986 assert((DstOps[0].getLLTTy(*getMRI()) == SrcOps[0].getLLTTy(*getMRI())) && in buildInstr()
987 (DstOps[0].getLLTTy(*getMRI()) == SrcOps[1].getLLTTy(*getMRI())) && in buildInstr()
989 assert(DstOps[1].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()
990 assert(DstOps[1].getLLTTy(*getMRI()) == SrcOps[2].getLLTTy(*getMRI()) && in buildInstr()
997 for (const DstOp &Op : DstOps) in buildInstr()