Lines Matching refs:DstOps
1023 ArrayRef<DstOp> DstOps, in buildInstr() argument
1030 assert(DstOps.size() == 1 && "Invalid select"); in buildInstr()
1033 DstOps[0].getLLTTy(*getMRI()), SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
1040 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1042 validateUnaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1064 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1066 validateBinaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1076 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1078 validateShiftOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1086 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1088 validateTruncExt(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1093 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1095 validateTruncExt(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1100 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1102 assert(DstOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1107 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1113 assert(DstOps.size() == 1 && "Invalid Dst Operands"); in buildInstr()
1128 LLT DstTy = DstOps[0].getLLTTy(*getMRI()); in buildInstr()
1138 assert(!DstOps.empty() && "Invalid trivial sequence"); in buildInstr()
1140 assert(llvm::all_of(DstOps, in buildInstr()
1143 DstOps[0].getLLTTy(*getMRI()); in buildInstr()
1146 assert((TypeSize::ScalarTy)DstOps.size() * in buildInstr()
1147 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1154 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1163 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1166 return buildCast(DstOps[0], SrcOps[0]); in buildInstr()
1167 if (DstOps[0].getLLTTy(*getMRI()).isVector()) { in buildInstr()
1169 return buildInstr(TargetOpcode::G_CONCAT_VECTORS, DstOps, SrcOps); in buildInstr()
1170 return buildInstr(TargetOpcode::G_BUILD_VECTOR, DstOps, SrcOps); in buildInstr()
1175 assert(DstOps.size() == 1 && "Invalid Dst size"); in buildInstr()
1178 assert((DstOps[0].getLLTTy(*getMRI()).isScalar() || in buildInstr()
1179 DstOps[0].getLLTTy(*getMRI()).isPointer()) && in buildInstr()
1183 DstOps[0].getLLTTy(*getMRI()) && in buildInstr()
1188 assert(DstOps.size() == 1 && "Invalid dst size"); in buildInstr()
1190 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1192 assert(DstOps[0].getLLTTy(*getMRI()).getElementType() == in buildInstr()
1196 assert(DstOps[0].getLLTTy(*getMRI()).getNumElements() == in buildInstr()
1204 assert(DstOps.size() == 1 && "Invalid DstOps"); in buildInstr()
1205 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1215 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1222 assert(DstOps.size() == 1 && "Invalid DstOps"); in buildInstr()
1223 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1232 DstOps[0].getLLTTy(*getMRI()).getElementType().getSizeInBits()) in buildInstr()
1233 return buildInstr(TargetOpcode::G_BUILD_VECTOR, DstOps, SrcOps); in buildInstr()
1237 assert(DstOps.size() == 1 && "Invalid DstOps"); in buildInstr()
1249 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1254 assert(DstOps.size() == 2 && "Invalid no of dst operands"); in buildInstr()
1256 assert(DstOps[0].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()
1257 assert((DstOps[0].getLLTTy(*getMRI()) == SrcOps[0].getLLTTy(*getMRI())) && in buildInstr()
1258 (DstOps[0].getLLTTy(*getMRI()) == SrcOps[1].getLLTTy(*getMRI())) && in buildInstr()
1260 assert(DstOps[1].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()
1261 assert(DstOps[1].getLLTTy(*getMRI()) == SrcOps[2].getLLTTy(*getMRI()) && in buildInstr()
1268 for (const DstOp &Op : DstOps) in buildInstr()