Home
last modified time | relevance | path

Searched refs:InFlightDiagnostic (Results 1 – 21 of 21) sorted by relevance

/external/llvm-project/mlir/include/mlir/IR/
DDiagnostics.h309 class InFlightDiagnostic {
311 InFlightDiagnostic() = default;
312 InFlightDiagnostic(InFlightDiagnostic &&rhs) in InFlightDiagnostic() function
318 ~InFlightDiagnostic() { in ~InFlightDiagnostic()
324 template <typename Arg> InFlightDiagnostic &operator<<(Arg &&arg) & {
327 template <typename Arg> InFlightDiagnostic &&operator<<(Arg &&arg) && {
332 template <typename... Args> InFlightDiagnostic &append(Args &&... args) & { in append()
338 template <typename... Args> InFlightDiagnostic &&append(Args &&... args) && { in append()
359 InFlightDiagnostic &operator=(const InFlightDiagnostic &) = delete;
360 InFlightDiagnostic &operator=(InFlightDiagnostic &&) = delete;
[all …]
DVisitors.h22 class InFlightDiagnostic; variable
41 WalkResult(InFlightDiagnostic &&) : result(Interrupt) {} in WalkResult() argument
DOperation.h613 InFlightDiagnostic emitOpError(const Twine &message = {});
617 InFlightDiagnostic emitError(const Twine &message = {});
621 InFlightDiagnostic emitWarning(const Twine &message = {});
625 InFlightDiagnostic emitRemark(const Twine &message = {});
DMLIRContext.h23 class InFlightDiagnostic; variable
DOpDefinition.h44 ParseResult(const InFlightDiagnostic &) : LogicalResult(failure()) {} in ParseResult() argument
60 OptionalParseResult(const InFlightDiagnostic &) in OptionalParseResult() argument
210 InFlightDiagnostic emitOpError(const Twine &message = {});
214 InFlightDiagnostic emitError(const Twine &message = {});
218 InFlightDiagnostic emitWarning(const Twine &message = {});
222 InFlightDiagnostic emitRemark(const Twine &message = {});
DDialectImplementation.h105 virtual InFlightDiagnostic emitError(llvm::SMLoc loc,
DOpImplementation.h239 virtual InFlightDiagnostic emitError(llvm::SMLoc loc,
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtest_resource_alias_analysis.cc57 auto print_aliases = [&](InFlightDiagnostic& diag, Value value) { in runOnFunction()
88 InFlightDiagnostic diag = op->emitRemark("Region #") in runOnFunction()
96 InFlightDiagnostic diag = op->emitRemark("Result #") in runOnFunction()
/external/llvm-project/mlir/lib/Interfaces/
DControlFlowInterfaces.cpp107 auto printEdgeName = [&](InFlightDiagnostic &diag) -> InFlightDiagnostic & { in verifyTypesAlongAllEdges()
128 InFlightDiagnostic diag = op->emitOpError(" region control flow edge "); in verifyTypesAlongAllEdges()
139 InFlightDiagnostic diag = op->emitOpError(" along control flow edge "); in verifyTypesAlongAllEdges()
/external/llvm-project/mlir/lib/IR/
DDiagnostics.cpp174 InFlightDiagnostic::operator LogicalResult() const { in operator LogicalResult()
179 void InFlightDiagnostic::report() { in report()
190 void InFlightDiagnostic::abandon() { owner = nullptr; } in abandon()
278 static InFlightDiagnostic
301 InFlightDiagnostic mlir::emitError(Location loc) { return emitError(loc, {}); } in emitError()
302 InFlightDiagnostic mlir::emitError(Location loc, const Twine &message) { in emitError()
307 InFlightDiagnostic mlir::emitWarning(Location loc) { in emitWarning()
310 InFlightDiagnostic mlir::emitWarning(Location loc, const Twine &message) { in emitWarning()
315 InFlightDiagnostic mlir::emitRemark(Location loc) { in emitRemark()
318 InFlightDiagnostic mlir::emitRemark(Location loc, const Twine &message) { in emitRemark()
DOperation.cpp286 InFlightDiagnostic Operation::emitError(const Twine &message) { in emitError()
287 InFlightDiagnostic diag = mlir::emitError(getLoc(), message); in emitError()
306 InFlightDiagnostic Operation::emitWarning(const Twine &message) { in emitWarning()
307 InFlightDiagnostic diag = mlir::emitWarning(getLoc(), message); in emitWarning()
315 InFlightDiagnostic Operation::emitRemark(const Twine &message) { in emitRemark()
316 InFlightDiagnostic diag = mlir::emitRemark(getLoc(), message); in emitRemark()
596 InFlightDiagnostic Operation::emitOpError(const Twine &message) { in emitOpError()
671 InFlightDiagnostic OpState::emitError(const Twine &message) { in emitError()
677 InFlightDiagnostic OpState::emitOpError(const Twine &message) { in emitOpError()
683 InFlightDiagnostic OpState::emitWarning(const Twine &message) { in emitWarning()
[all …]
DVerifier.cpp70 InFlightDiagnostic emitError(Block &bb, const Twine &message) { in emitError()
/external/llvm-project/mlir/lib/Parser/
DParser.h58 InFlightDiagnostic emitError(const Twine &message = {}) {
61 InFlightDiagnostic emitError(llvm::SMLoc loc, const Twine &message = {});
DDialectSymbolParser.cpp38 InFlightDiagnostic emitError(llvm::SMLoc loc, const Twine &message) override { in emitError()
DParser.cpp78 InFlightDiagnostic Parser::emitError(SMLoc loc, const Twine &message) { in emitError()
904 InFlightDiagnostic emitError(llvm::SMLoc loc, const Twine &message) override { in emitError()
/external/llvm-project/mlir/docs/
DDiagnostics.md115 method returns an [InFlightDiagnostic](#inflight-diagnostic) that can be
119 InFlightDiagnostic emit(Location loc, DiagnosticSeverity severity);
128 InFlightDiagnostic emitError/Remark/Warning(Location);
131 InFlightDiagnostic Operation::emitError/Remark/Warning();
134 InFlightDiagnostic Operation::emitOpError();
189 `InFlightDiagnostic`, an RAII wrapper around a diagnostic that is set to be
196 InFlightDiagnostic diag = op->emitError() << "...";
/external/llvm-project/flang/lib/Lower/
DConvertType.cpp462 mlir::InFlightDiagnostic emitError(const llvm::Twine &message) { in emitError()
466 mlir::InFlightDiagnostic emitWarning(const llvm::Twine &message) { in emitWarning()
/external/llvm-project/mlir/lib/Transforms/Utils/
DDialectConversion.cpp407 InFlightDiagnostic diag = in materializeLiveConversions()
2273 InFlightDiagnostic diag = op->emitError("failed to legalize operation '") in legalizeErasedResult()
2313 InFlightDiagnostic diag = op->emitError() in legalizeChangedResultType()
DLoopUtils.cpp2290 static InFlightDiagnostic LLVM_ATTRIBUTE_UNUSED
/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp579 function_ref<InFlightDiagnostic(StringRef)> emitErrorFn) { in getElementType()
605 function_ref<InFlightDiagnostic(StringRef)> emitErrorFn) { in getElementType()
630 auto errorFn = [&](StringRef err) -> InFlightDiagnostic { in getElementType()
638 auto errorFn = [&](StringRef err) -> InFlightDiagnostic { in getElementType()
/external/llvm-project/mlir/lib/Dialect/SCF/
DSCF.cpp1281 InFlightDiagnostic diag = op.emitOpError("expects the same types for ") in verifyTypeRangesMatch()