Lines Matching refs:DstOps
975 ArrayRef<DstOp> DstOps, in buildInstr() argument
982 assert(DstOps.size() == 1 && "Invalid select"); in buildInstr()
985 DstOps[0].getLLTTy(*getMRI()), SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
992 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
994 validateUnaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1016 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1018 validateBinaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1028 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1030 validateShiftOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1038 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1040 validateTruncExt(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1045 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1047 validateTruncExt(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1052 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1054 assert(DstOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1059 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1065 assert(DstOps.size() == 1 && "Invalid Dst Operands"); in buildInstr()
1080 LLT DstTy = DstOps[0].getLLTTy(*getMRI()); in buildInstr()
1090 assert(!DstOps.empty() && "Invalid trivial sequence"); in buildInstr()
1092 assert(std::all_of(DstOps.begin(), DstOps.end(), in buildInstr()
1095 DstOps[0].getLLTTy(*getMRI()); in buildInstr()
1098 assert(DstOps.size() * DstOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1105 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1113 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1116 return buildCast(DstOps[0], SrcOps[0]); in buildInstr()
1117 if (DstOps[0].getLLTTy(*getMRI()).isVector()) { in buildInstr()
1119 return buildInstr(TargetOpcode::G_CONCAT_VECTORS, DstOps, SrcOps); in buildInstr()
1120 return buildInstr(TargetOpcode::G_BUILD_VECTOR, DstOps, SrcOps); in buildInstr()
1125 assert(DstOps.size() == 1 && "Invalid Dst size"); in buildInstr()
1128 assert((DstOps[0].getLLTTy(*getMRI()).isScalar() || in buildInstr()
1129 DstOps[0].getLLTTy(*getMRI()).isPointer()) && in buildInstr()
1133 DstOps[0].getLLTTy(*getMRI()) && in buildInstr()
1138 assert(DstOps.size() == 1 && "Invalid dst size"); in buildInstr()
1140 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1142 assert(DstOps[0].getLLTTy(*getMRI()).getElementType() == in buildInstr()
1146 assert(DstOps[0].getLLTTy(*getMRI()).getNumElements() == in buildInstr()
1154 assert(DstOps.size() == 1 && "Invalid DstOps"); in buildInstr()
1155 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1164 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1171 assert(DstOps.size() == 1 && "Invalid DstOps"); in buildInstr()
1172 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1181 DstOps[0].getLLTTy(*getMRI()).getElementType().getSizeInBits()) in buildInstr()
1182 return buildInstr(TargetOpcode::G_BUILD_VECTOR, DstOps, SrcOps); in buildInstr()
1186 assert(DstOps.size() == 1 && "Invalid DstOps"); in buildInstr()
1197 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1202 assert(DstOps.size() == 2 && "Invalid no of dst operands"); in buildInstr()
1204 assert(DstOps[0].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()
1205 assert((DstOps[0].getLLTTy(*getMRI()) == SrcOps[0].getLLTTy(*getMRI())) && in buildInstr()
1206 (DstOps[0].getLLTTy(*getMRI()) == SrcOps[1].getLLTTy(*getMRI())) && in buildInstr()
1208 assert(DstOps[1].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()
1209 assert(DstOps[1].getLLTTy(*getMRI()) == SrcOps[2].getLLTTy(*getMRI()) && in buildInstr()
1216 for (const DstOp &Op : DstOps) in buildInstr()