• Home
  • Raw
  • Download

Lines Matching refs:SrcOps

976                                                  ArrayRef<SrcOp> SrcOps,  in buildInstr()  argument
983 assert(SrcOps.size() == 3 && "Invalid select"); in buildInstr()
985 DstOps[0].getLLTTy(*getMRI()), SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
986 SrcOps[1].getLLTTy(*getMRI()), SrcOps[2].getLLTTy(*getMRI())); in buildInstr()
993 assert(SrcOps.size() == 1 && "Invalid Srcs"); in buildInstr()
995 SrcOps[0].getLLTTy(*getMRI())); in buildInstr()
1017 assert(SrcOps.size() == 2 && "Invalid Srcs"); in buildInstr()
1019 SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
1020 SrcOps[1].getLLTTy(*getMRI())); in buildInstr()
1029 assert(SrcOps.size() == 2 && "Invalid Srcs"); in buildInstr()
1031 SrcOps[0].getLLTTy(*getMRI()), in buildInstr()
1032 SrcOps[1].getLLTTy(*getMRI())); in buildInstr()
1039 assert(SrcOps.size() == 1 && "Invalid Srcs"); in buildInstr()
1041 SrcOps[0].getLLTTy(*getMRI()), true); in buildInstr()
1046 assert(SrcOps.size() == 1 && "Invalid Srcs"); in buildInstr()
1048 SrcOps[0].getLLTTy(*getMRI()), false); in buildInstr()
1053 assert(SrcOps.size() == 1 && "Invalid Srcs"); in buildInstr()
1055 SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() && "invalid bitcast"); in buildInstr()
1066 assert(SrcOps.size() == 3 && "Invalid Src Operands"); in buildInstr()
1069 assert(SrcOps[0].getSrcOpKind() == SrcOp::SrcType::Ty_Predicate && in buildInstr()
1072 CmpInst::Predicate Pred = SrcOps[0].getPredicate(); in buildInstr()
1076 assert(SrcOps[1].getLLTTy(*getMRI()) == SrcOps[2].getLLTTy(*getMRI()) && in buildInstr()
1079 LLT Op0Ty = SrcOps[1].getLLTTy(*getMRI()); in buildInstr()
1091 assert(SrcOps.size() == 1 && "Invalid src for Unmerge"); in buildInstr()
1099 SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() && in buildInstr()
1104 assert(!SrcOps.empty() && "invalid trivial sequence"); in buildInstr()
1106 assert(std::all_of(SrcOps.begin(), SrcOps.end(), in buildInstr()
1109 SrcOps[0].getLLTTy(*getMRI()); in buildInstr()
1112 assert(SrcOps.size() * SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1115 if (SrcOps.size() == 1) in buildInstr()
1116 return buildCast(DstOps[0], SrcOps[0]); in buildInstr()
1118 if (SrcOps[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()
1126 assert(SrcOps.size() == 2 && "Invalid Src size"); in buildInstr()
1127 assert(SrcOps[0].getLLTTy(*getMRI()).isVector() && "Invalid operand type"); in buildInstr()
1131 assert(SrcOps[1].getLLTTy(*getMRI()).isScalar() && "Invalid operand type"); in buildInstr()
1132 assert(SrcOps[0].getLLTTy(*getMRI()).getElementType() == in buildInstr()
1139 assert(SrcOps.size() == 3 && "Invalid src size"); in buildInstr()
1141 SrcOps[0].getLLTTy(*getMRI()).isVector() && "Invalid operand type"); in buildInstr()
1143 SrcOps[1].getLLTTy(*getMRI()) && in buildInstr()
1145 assert(SrcOps[2].getLLTTy(*getMRI()).isScalar() && "Invalid index"); in buildInstr()
1147 SrcOps[0].getLLTTy(*getMRI()).getNumElements() && in buildInstr()
1152 assert((!SrcOps.empty() || SrcOps.size() < 2) && in buildInstr()
1157 assert(std::all_of(SrcOps.begin(), SrcOps.end(), in buildInstr()
1160 SrcOps[0].getLLTTy(*getMRI()); in buildInstr()
1163 assert(SrcOps.size() * SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1169 assert((!SrcOps.empty() || SrcOps.size() < 2) && in buildInstr()
1174 assert(std::all_of(SrcOps.begin(), SrcOps.end(), in buildInstr()
1177 SrcOps[0].getLLTTy(*getMRI()); in buildInstr()
1180 if (SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1182 return buildInstr(TargetOpcode::G_BUILD_VECTOR, DstOps, SrcOps); in buildInstr()
1187 assert((!SrcOps.empty() || SrcOps.size() < 2) && in buildInstr()
1189 assert(std::all_of(SrcOps.begin(), SrcOps.end(), in buildInstr()
1193 SrcOps[0].getLLTTy(*getMRI())); in buildInstr()
1196 assert(SrcOps.size() * SrcOps[0].getLLTTy(*getMRI()).getSizeInBits() == in buildInstr()
1203 assert(SrcOps.size() == 3 && "Invalid no of src operands"); 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()
1209 assert(DstOps[1].getLLTTy(*getMRI()) == SrcOps[2].getLLTTy(*getMRI()) && in buildInstr()
1218 for (const SrcOp &Op : SrcOps) in buildInstr()