Lines Matching defs:diag

521       InFlightDiagnostic diag = emitError(currentLoc)
524 diag.attachNote(otherHandle.getLoc()) << "handle to invalidated ops";
525 diag.attachNote(owner->getLoc())
530 diag.attachNote(ancestorLoc) << "ancestor payload op";
531 diag.attachNote(opLoc) << "nested payload op";
533 diag.attachNote(*throughValueLoc)
581 InFlightDiagnostic diag = emitError(currentLoc)
584 diag.attachNote(valueHandle.getLoc()) << "invalidated handle";
585 diag.attachNote(owner->getLoc())
590 diag.attachNote(ancestorLoc)
593 diag.attachNote(opLoc)
596 diag.attachNote(opLoc)
600 diag.attachNote(valueLoc) << "payload value";
619 InFlightDiagnostic diag = emitError(currentLoc)
623 diag.attachNote(owner->getLoc())
678 InFlightDiagnostic diag = emitError(currentLoc)
681 diag.attachNote(otherHandle.getLoc()) << "invalidated handle";
682 diag.attachNote(owner->getLoc())
687 diag.attachNote(valueLoc) << "payload value";
789 DiagnosedSilenceableFailure diag =
795 diag.attachNote(p->getLoc()) << "repeated target op";
797 diag.attachNote(p.getLoc()) << "repeated target value";
798 return diag;
917 DiagnosedDefiniteFailure diag =
921 diag.attachNote(operand.getLoc())
923 return diag;
1112 DiagnosedSilenceableFailure diag = dispatchMappedValues(
1124 if (!diag.succeeded())
1125 llvm::dbgs() << diag.getStatusString() << "\n";
1126 assert(diag.succeeded() && "incorrect mapping");
1128 (void)diag.silence();
1223 DiagnosedSilenceableFailure diag = emitSilenceableFailure(
1231 diag.attachNote() << "replacement values belong to different ops";
1232 return diag;
1239 diag.attachNote(defOp->getLoc())
1265 diag.attachNote(defOp->getLoc()) << "using operands provided by "
1271 diag.attachNote() << "ran out of suitable replacement values";
1272 return diag;
1278 Diagnostic diag(loc, DiagnosticSeverity::Remark);
1279 reasonCallback(diag);
1280 DBGS() << "Match Failure : " << diag.str() << "\n";
1341 DiagnosedSilenceableFailure diag =
1345 if (!diag.succeeded()) {
1346 diag.attachNote(aliveHandle.getLoc())
1348 notifyPayloadReplacementNotFound(op, newValues, std::move(diag));
1376 Operation *op, ValueRange values, DiagnosedSilenceableFailure &&diag) {
1380 diag.takeDiagnostics(diags);
1430 InFlightDiagnostic diag =
1434 diag.attachNote()
1437 diag.attachNote(parent->getLoc()) << "ancestor payload op";
1438 diag.attachNote(child->getLoc()) << "descendant payload op";
1439 return diag;
1456 auto diag = mlir::emitError(transformOpLoc);
1457 diag.attachNote(payloadOpLoc) << "when applied to this op";
1458 return diag;
1462 auto diag = emitDiag() << "application of " << transformOpName
1466 diag.attachNote(transformOpLoc)
1730 InFlightDiagnostic diag =
1735 diag.attachNote() << "argument #" << arg.getArgNumber() << " does not";
1736 return diag;
1742 InFlightDiagnostic diag =
1745 diag.attachNote(parent->getLoc())
1747 return diag;
1946 InFlightDiagnostic diag =
1949 diag.attachNote() << "no effects specified for operand #"
1951 return diag;
1954 InFlightDiagnostic diag = op->emitError()
1957 diag.attachNote() << "specified for operand #"
1959 return diag;
1969 InFlightDiagnostic diag =
1973 diag.attachNote() << "consumes operand #" << *firstConsumedOperand;
1974 return diag;
1981 InFlightDiagnostic diag =
1984 diag.attachNote() << "no 'allocate' effect specified for result #"
1986 return diag;