Home
last modified time | relevance | path

Searched refs:attachNote (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/mlir/lib/Dialect/Transform/IR/
H A DTransformOps.cpp190 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 DTransformInterfaces.cpp61 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 DPDL.cpp225 .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 DTransformInterfaces.h151 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 DTransformInterfaces.td61 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 DBuiltinDialect.cpp125 diag.attachNote() << "'" << layoutSpecAttrName in verify()
127 diag.attachNote() << "'" << na.getName().getValue() in verify()
H A DVerifier.cpp283 Diagnostic &note = diag.attachNote(useOp->getLoc()); in diagnoseInvalidOperandDominance()
309 Diagnostic &note = diag.attachNote(loc); in diagnoseInvalidOperandDominance()
H A DOperation.cpp142 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 DDiagnostics.cpp171 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 DLinalgTransformOps.cpp542 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 DSCFTransformOps.cpp49 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 DDiagnostics.h250 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 DCheckUses.cpp384 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 DFuncOps.cpp153 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 DDiagnostic.h46 Diagnostic &attachNote(const Twine &msg,
/llvm-project-15.0.7/mlir/lib/Pass/
H A DPassCrashRecovery.cpp252 Diagnostic &note = diag.attachNote() << "Pipeline failed while executing ["; in finalize()
273 Diagnostic &note = diag.attachNote() << "Pipeline failed while executing "; in finalize()
/llvm-project-15.0.7/mlir/docs/
H A DDiagnostics.md126 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 DLexer.cpp127 diagEngine.emitError(loc, msg)->attachNote(note, noteLoc); in emitErrorAndNote()
H A DParser.cpp644 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 DParser.cpp276 .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 DTestTransformDialectExtension.cpp173 diag.attachNote(payload->getLoc()) << "associated payload op"; in apply()
/llvm-project-15.0.7/mlir/lib/Dialect/GPU/IR/
H A DGPUDialect.cpp237 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 DSerializeToHsaco.cpp289 .attachNote() in translateToLLVMIR()
/llvm-project-15.0.7/mlir/lib/Interfaces/
H A DDataLayoutInterfaces.cpp327 diag.attachNote(loc) << "enclosing op with data layout"; in verifyDataLayoutOp()
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DDialectConversion.cpp717 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()

12