reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
  961     assert(DstOps.size() == 1 && "Invalid select");
  964         DstOps[0].getLLTTy(*getMRI()), SrcOps[0].getLLTTy(*getMRI()),
  983     assert(DstOps.size() == 1 && "Invalid Dst");
  985     validateBinaryOp(DstOps[0].getLLTTy(*getMRI()),
  993     assert(DstOps.size() == 1 && "Invalid Dst");
  995     validateShiftOp(DstOps[0].getLLTTy(*getMRI()),
 1003     assert(DstOps.size() == 1 && "Invalid Dst");
 1005     validateTruncExt(DstOps[0].getLLTTy(*getMRI()),
 1010     assert(DstOps.size() == 1 && "Invalid Dst");
 1012     validateTruncExt(DstOps[0].getLLTTy(*getMRI()),
 1017     assert(DstOps.size() == 1 && "Invalid Dst");
 1023     assert(DstOps.size() == 1 && "Invalid Dst Operands");
 1038       LLT DstTy = DstOps[0].getLLTTy(*getMRI());
 1048     assert(!DstOps.empty() && "Invalid trivial sequence");
 1050     assert(std::all_of(DstOps.begin(), DstOps.end(),
 1050     assert(std::all_of(DstOps.begin(), DstOps.end(),
 1053                                 DstOps[0].getLLTTy(*getMRI());
 1056     assert(DstOps.size() * DstOps[0].getLLTTy(*getMRI()).getSizeInBits() ==
 1056     assert(DstOps.size() * DstOps[0].getLLTTy(*getMRI()).getSizeInBits() ==
 1063     assert(DstOps.size() == 1 && "Invalid Dst");
 1071                DstOps[0].getLLTTy(*getMRI()).getSizeInBits() &&
 1074       return buildCast(DstOps[0], SrcOps[0]);
 1075     if (DstOps[0].getLLTTy(*getMRI()).isVector()) {
 1077         return buildInstr(TargetOpcode::G_CONCAT_VECTORS, DstOps, SrcOps);
 1078       return buildInstr(TargetOpcode::G_BUILD_VECTOR, DstOps, SrcOps);
 1083     assert(DstOps.size() == 1 && "Invalid Dst size");
 1086     assert((DstOps[0].getLLTTy(*getMRI()).isScalar() ||
 1087             DstOps[0].getLLTTy(*getMRI()).isPointer()) &&
 1091                DstOps[0].getLLTTy(*getMRI()) &&
 1096     assert(DstOps.size() == 1 && "Invalid dst size");
 1098     assert(DstOps[0].getLLTTy(*getMRI()).isVector() &&
 1100     assert(DstOps[0].getLLTTy(*getMRI()).getElementType() ==
 1104     assert(DstOps[0].getLLTTy(*getMRI()).getNumElements() ==
 1112     assert(DstOps.size() == 1 && "Invalid DstOps");
 1113     assert(DstOps[0].getLLTTy(*getMRI()).isVector() &&
 1122                DstOps[0].getLLTTy(*getMRI()).getSizeInBits() &&
 1129     assert(DstOps.size() == 1 && "Invalid DstOps");
 1130     assert(DstOps[0].getLLTTy(*getMRI()).isVector() &&
 1139         DstOps[0].getLLTTy(*getMRI()).getElementType().getSizeInBits())
 1140       return buildInstr(TargetOpcode::G_BUILD_VECTOR, DstOps, SrcOps);
 1144     assert(DstOps.size() == 1 && "Invalid DstOps");
 1155                DstOps[0].getLLTTy(*getMRI()).getSizeInBits() &&
 1160     assert(DstOps.size() == 2 && "Invalid no of dst operands");
 1162     assert(DstOps[0].getLLTTy(*getMRI()).isScalar() && "Invalid operand");
 1163     assert((DstOps[0].getLLTTy(*getMRI()) == SrcOps[0].getLLTTy(*getMRI())) &&
 1164            (DstOps[0].getLLTTy(*getMRI()) == SrcOps[1].getLLTTy(*getMRI())) &&
 1166     assert(DstOps[1].getLLTTy(*getMRI()).isScalar() && "Invalid operand");
 1167     assert(DstOps[1].getLLTTy(*getMRI()) == SrcOps[2].getLLTTy(*getMRI()) &&
 1174   for (const DstOp &Op : DstOps)