Home
last modified time | relevance | path

Searched refs:errorFn (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DPatternMatch.h885 verifyAsArg(function_ref<LogicalResult(const Twine &)> errorFn,
891 errorFn, ProcessPDLValue<BaseT>::processAsArg(pdlValue), argIdx);
902 verifyAsArg(function_ref<LogicalResult(const Twine &)> errorFn, BaseT value,
915 verifyAsArg(function_ref<LogicalResult(const Twine &)> errorFn,
919 return errorFn("expected a non-null value for argument " + Twine(argIdx) +
937 verifyAsArg(function_ref<LogicalResult(const Twine &)> errorFn,
942 return errorFn("expected argument " + Twine(argIdx) +
1079 auto errorFn = [&](const Twine &msg) {
1087 verifyAsArg(errorFn, values[I], I)
1102 auto errorFn = [&](const Twine &msg) -> LogicalResult {
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp740 auto errorFn = [&](StringRef err) -> InFlightDiagnostic { in getElementType() local
743 return getElementType(type, indices, errorFn); in getElementType()
748 auto errorFn = [&](StringRef err) -> InFlightDiagnostic { in getElementType() local
751 return getElementType(type, indices, errorFn); in getElementType()