| /llvm-project-15.0.7/mlir/lib/Dialect/Transform/IR/ |
| H A D | TransformOps.cpp | 190 diag.attachNote(original->getLoc()) << "scope"; in apply() 197 diag.attachNote(original->getLoc()) << "scope"; in apply() 268 diag.attachNote(terminator->getLoc()) << "terminator"; in verify() 348 diag.attachNote(target->getLoc()) << "target op"; in apply() 496 diag.attachNote(potentialConsumer->getOwner()->getLoc()) in checkDoubleConsume() 498 diag.attachNote(use.getOwner()->getLoc()) in checkDoubleConsume() 523 diag.attachNote(child.getLoc()) << "op without interface"; in verify() 658 diag.attachNote(topLevelOp->getLoc()) << "first non-pattern op"; in verify() 659 diag.attachNote(op.getLoc()) << "second non-pattern op"; in verify() 669 diag.attachNote(op.getLoc()) << "offending op"; in verify() [all …]
|
| H A D | TransformInterfaces.cpp | 61 diag.attachNote(handle.getLoc()) << "handle"; in tryEmplaceReverseMapping() 62 diag.attachNote(insertionResult.first->second.getLoc()) << "handle"; in tryEmplaceReverseMapping() 156 diag.attachNote(ancestorLoc) << "ancestor op"; in recordHandleInvalidation() 157 diag.attachNote(opLoc) << "nested op"; in recordHandleInvalidation() 158 diag.attachNote(otherHandle.getLoc()) << "other handle"; in recordHandleInvalidation() 210 diag.attachNote(op->getLoc()) << "repeated target op"; in applyTransform() 338 diag.attachNote(parent->getLoc()) in verifyPossibleTopLevelTransformOpTrait()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/PDL/IR/ |
| H A D | PDL.cpp | 225 .attachNote() in verifyResultTypesAreInferrable() 259 .attachNote() in verifyResultTypesAreInferrable() 316 .attachNote(term->getLoc()) in verifyRegions() 325 .attachNote(op->getLoc()) in verifyRegions() 373 .attachNote(op.getLoc()) in verifyRegions()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Transform/IR/ |
| H A D | TransformInterfaces.h | 151 Diagnostic &attachNote(Optional<Location> loc = llvm::None) { 154 return diagnostics.back().attachNote(loc); 809 diag.attachNote(target->getLoc()) << "when applied to this op"; in applyTransformToEach() 893 diag.attachNote(loc) in apply() 896 diag.attachNote(loc) in apply() 899 diag.attachNote(specificOp->getLoc()) << "when applied to this op"; in apply() 910 diag.attachNote(specificOp->getLoc()) << "when applied to this op"; in apply()
|
| H A D | TransformInterfaces.td | 61 diag.attachNote(target->getLoc()) << "attempted to apply to this op"; 78 diag.attachNote(target->getLoc()) << "when applied to this op";
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | BuiltinDialect.cpp | 125 diag.attachNote() << "'" << layoutSpecAttrName in verify() 127 diag.attachNote() << "'" << na.getName().getValue() in verify()
|
| H A D | Verifier.cpp | 283 Diagnostic ¬e = diag.attachNote(useOp->getLoc()); in diagnoseInvalidOperandDominance() 309 Diagnostic ¬e = diag.attachNote(loc); in diagnoseInvalidOperandDominance()
|
| H A D | Operation.cpp | 142 diag.attachNote(user->getLoc()) << "- use: " << *user << "\n"; in ~Operation() 224 diag.attachNote(getLoc()) in emitError() 236 diag.attachNote(getLoc()) << "see current operation: " << *this; in emitWarning() 245 diag.attachNote(getLoc()) << "see current operation: " << *this; in emitRemark() 1109 .attachNote(isolatedOp->getLoc()) in verifyIsIsolatedFromAbove()
|
| H A D | Diagnostics.cpp | 171 Diagnostic &Diagnostic::attachNote(Optional<Location> noteLoc) { in attachNote() function in Diagnostic 315 diag.attachNote() << "diagnostic emitted with trace:\n" << bt; in emitDiag()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/TransformOps/ |
| H A D | LinalgTransformOps.cpp | 542 diag.attachNote(target.getLoc()) << "when applied to this op"; in applyToOne() 551 diag.attachNote(target.getLoc()) << "when applied to this op"; in applyToOne() 705 diag.attachNote(op->getLoc()) << "dynamic split point"; in apply() 731 diag.attachNote(target->getLoc()) << "target op"; in apply() 738 diag.attachNote(target->getLoc()) << "target op"; in apply() 874 diag.attachNote(dynamicSizeProducerHandle.getLoc()) << "for this handle"; in apply() 885 diag.attachNote(op->getLoc()) << "size producer op"; in apply() 886 diag.attachNote(dynamicSizeProducerHandle.getLoc()) << "for this handle"; in apply() 899 diag.attachNote(en.value()->getLoc()) << "target op"; in apply() 1037 diag.attachNote(target->getLoc()) << "non-isolated target"; in applyToOne()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/TransformOps/ |
| H A D | SCFTransformOps.cpp | 49 diag.attachNote(target->getLoc()) << "target op"; in apply() 102 diag.attachNote(target->getLoc()) << "target op"; in apply()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | Diagnostics.h | 250 Diagnostic &attachNote(Optional<Location> noteLoc = llvm::None); 348 Diagnostic &attachNote(Optional<Location> noteLoc = llvm::None) { 350 return impl->attachNote(noteLoc);
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Transform/Transforms/ |
| H A D | CheckUses.cpp | 384 diag.attachNote(operand.get().getLoc()) << "allocated here"; in runOnOperation() 386 diag.attachNote(d->getLoc()) << "freed here"; in runOnOperation()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Func/IR/ |
| H A D | FuncOps.cpp | 153 diag.attachNote() << " op result types: " << getResultTypes(); in verifySymbolUses() 154 diag.attachNote() << "function result types: " << fnType.getResults(); in verifySymbolUses()
|
| /llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/ |
| H A D | Diagnostic.h | 46 Diagnostic &attachNote(const Twine &msg,
|
| /llvm-project-15.0.7/mlir/lib/Pass/ |
| H A D | PassCrashRecovery.cpp | 252 Diagnostic ¬e = diag.attachNote() << "Pipeline failed while executing ["; in finalize() 273 Diagnostic ¬e = diag.attachNote() << "Pipeline failed while executing "; in finalize()
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | Diagnostics.md | 126 emitting a diagnostic, notes can be directly attached via `attachNote`. When 132 op->emitError("...").attachNote(noteLoc) << "..."; 135 op->emitError("...").attachNote() << "...";
|
| /llvm-project-15.0.7/mlir/lib/Tools/PDLL/Parser/ |
| H A D | Lexer.cpp | 127 diagEngine.emitError(loc, msg)->attachNote(note, noteLoc); in emitErrorAndNote()
|
| H A D | Parser.cpp | 644 return emitConvertError()->attachNote( in convertExpressionTo() 657 return emitConvertError()->attachNote( in convertExpressionTo() 698 diag.attachNote(llvm::formatv("when converting element #{0} of `{1}`", in convertExpressionTo() 2699 diag.attachNote(llvm::formatv("see the definition of `{0}` here", in createCallExpr() 2900 diag->attachNote(llvm::formatv("see the definition of `{0}` here", opName), in checkOperationResultTypeInferrence() 2930 diag.attachNote(llvm::formatv("see the definition of `{0}` here", *name), in validateOperationOperandsOrResults()
|
| /llvm-project-15.0.7/mlir/lib/AsmParser/ |
| H A D | Parser.cpp | 276 .attachNote() in parseFloatFromIntegerLiteral() 855 .attachNote(getEncodedSourceLocation(entries[useInfo.number].loc)) in addDefinition() 863 .attachNote(getEncodedSourceLocation(entries[useInfo.number].loc)) in addDefinition() 958 .attachNote(getEncodedSourceLocation(entries[useInfo.number].loc)) in resolveSSAUse() 2018 .attachNote(getEncodedSourceLocation(*defLoc)) in parseRegionBody()
|
| /llvm-project-15.0.7/mlir/test/lib/Dialect/Transform/ |
| H A D | TestTransformDialectExtension.cpp | 173 diag.attachNote(payload->getLoc()) << "associated payload op"; in apply()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/GPU/IR/ |
| H A D | GPUDialect.cpp | 237 diag.attachNote(kernelFunc->getLoc()) << "see the kernel definition here"; in verifyOperationAttribute() 479 .attachNote(getLoc()) in verifyRegions() 1038 .attachNote(function.getLoc()) in verify()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/GPU/Transforms/ |
| H A D | SerializeToHsaco.cpp | 289 .attachNote() in translateToLLVMIR()
|
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | DataLayoutInterfaces.cpp | 327 diag.attachNote(loc) << "enclosing op with data layout"; in verifyDataLayoutOp()
|
| /llvm-project-15.0.7/mlir/lib/Transforms/Utils/ |
| H A D | DialectConversion.cpp | 717 diag.attachNote(liveUser->getLoc()) in materializeLiveConversions() 2804 diag.attachNote(liveUser->getLoc()) in legalizeUnresolvedMaterialization() 2845 diag.attachNote(liveUserIt->getLoc()) in legalizeErasedResult() 2893 diag.attachNote(liveUser->getLoc()) in legalizeChangedResultType()
|