Lines Matching defs:DiagLoc
26 std::optional<PatternType> PatternType::get(ArrayRef<SMLoc> DiagLoc,
38 PrintError(DiagLoc, DiagCtx + ": invalid operand name format '" +
55 DiagLoc,
63 PrintError(DiagLoc, DiagCtx + ": maximum number of arguments (" +
76 PrintError(DiagLoc, DiagCtx + ": unknown type '" + R->getName() + "'");
469 PrintError(DiagLoc, "conflicting types for operand '" +
493 PrintNote(DiagLoc, "'" + OpName + "' seen with type '" + Ty.str() + "' in '" +
674 ArrayRef<SMLoc> DiagLoc) const {
689 llvm::PrintError(DiagLoc, "operand '" + ArgName + "' (for parameter '" +
693 DiagLoc,
790 bool PatFragPattern::checkSemantics(ArrayRef<SMLoc> DiagLoc) {
791 if (!InstructionPattern::checkSemantics(DiagLoc))
798 PrintError(DiagLoc, "expected operand " + std::to_string(Idx) +
804 PrintError(DiagLoc, "operand " + std::to_string(Idx) + " of '" +
813 PrintError(DiagLoc, "expected operand " + std::to_string(Idx) +
828 ArrayRef<SMLoc> DiagLoc) const {
841 if (!PF.handleUnboundInParam(ParamName, ArgName, DiagLoc))