Lines Matching refs:DstOps

995                                                  ArrayRef<DstOp> DstOps,  in buildInstr()  argument
1002 assert(DstOps.size() == 1 && "Invalid select"); in buildInstr()
1005 DstOps[0].getLLTTy(*getMRI()), SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
1012 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1014 validateUnaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1036 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1038 validateBinaryOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1048 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1050 validateShiftOp(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1058 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1060 validateTruncExt(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1065 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1067 validateTruncExt(DstOps[0].getLLTTy(*getMRI()), in buildInstr()
1072 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1074 assert(DstOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1079 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1085 assert(DstOps.size() == 1 && "Invalid Dst Operands"); in buildInstr()
1100 LLT DstTy = DstOps[0].getLLTTy(*getMRI()); in buildInstr()
1110 assert(!DstOps.empty() && "Invalid trivial sequence"); in buildInstr()
1112 assert(llvm::all_of(DstOps, in buildInstr()
1115 DstOps[0].getLLTTy(*getMRI()); in buildInstr()
1118 assert((TypeSize::ScalarTy)DstOps.size() * in buildInstr()
1119 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1126 assert(DstOps.size() == 1 && "Invalid Dst"); in buildInstr()
1135 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1138 return buildCast(DstOps[0], SrcOps[0]); in buildInstr()
1139 if (DstOps[0].getLLTTy(*getMRI()).isVector()) { in buildInstr()
1141 return buildInstr(TargetOpcode::G_CONCAT_VECTORS, DstOps, SrcOps); in buildInstr()
1142 return buildInstr(TargetOpcode::G_BUILD_VECTOR, DstOps, SrcOps); in buildInstr()
1147 assert(DstOps.size() == 1 && "Invalid Dst size"); in buildInstr()
1150 assert((DstOps[0].getLLTTy(*getMRI()).isScalar() || in buildInstr()
1151 DstOps[0].getLLTTy(*getMRI()).isPointer()) && in buildInstr()
1155 DstOps[0].getLLTTy(*getMRI()) && in buildInstr()
1160 assert(DstOps.size() == 1 && "Invalid dst size"); in buildInstr()
1162 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1164 assert(DstOps[0].getLLTTy(*getMRI()).getElementType() == in buildInstr()
1168 assert(DstOps[0].getLLTTy(*getMRI()).getNumElements() == in buildInstr()
1176 assert(DstOps.size() == 1 && "Invalid DstOps"); in buildInstr()
1177 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1187 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1194 assert(DstOps.size() == 1 && "Invalid DstOps"); in buildInstr()
1195 assert(DstOps[0].getLLTTy(*getMRI()).isVector() && in buildInstr()
1204 DstOps[0].getLLTTy(*getMRI()).getElementType().getSizeInBits()) in buildInstr()
1205 return buildInstr(TargetOpcode::G_BUILD_VECTOR, DstOps, SrcOps); in buildInstr()
1209 assert(DstOps.size() == 1 && "Invalid DstOps"); in buildInstr()
1221 DstOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1226 assert(DstOps.size() == 2 && "Invalid no of dst operands"); in buildInstr()
1228 assert(DstOps[0].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()
1229 assert((DstOps[0].getLLTTy(*getMRI()) == SrcOps[0].getLLTTy(*getMRI())) && in buildInstr()
1230 (DstOps[0].getLLTTy(*getMRI()) == SrcOps[1].getLLTTy(*getMRI())) && in buildInstr()
1232 assert(DstOps[1].getLLTTy(*getMRI()).isScalar() && "Invalid operand"); in buildInstr()
1233 assert(DstOps[1].getLLTTy(*getMRI()) == SrcOps[2].getLLTTy(*getMRI()) && in buildInstr()
1240 for (const DstOp &Op : DstOps) in buildInstr()