Home
last modified time | relevance | path

Searched refs:emitErrorFn (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DStorageUniquerSupport.h170 static ConcreteT getChecked(function_ref<InFlightDiagnostic()> emitErrorFn, in getChecked() argument
173 if (failed(ConcreteT::verify(emitErrorFn, args...))) in getChecked()
/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinTypes.cpp565 function_ref<InFlightDiagnostic()> emitErrorFn, ArrayRef<int64_t> shape, in getChecked() argument
576 return Base::getChecked(emitErrorFn, elementType.getContext(), shape, in getChecked()
599 MemRefType::getChecked(function_ref<InFlightDiagnostic()> emitErrorFn, in getChecked() argument
614 return Base::getChecked(emitErrorFn, elementType.getContext(), shape, in getChecked()
638 MemRefType::getChecked(function_ref<InFlightDiagnostic()> emitErrorFn, in getChecked() argument
654 return Base::getChecked(emitErrorFn, elementType.getContext(), shape, in getChecked()
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp689 function_ref<InFlightDiagnostic(StringRef)> emitErrorFn) { in getElementType() argument
691 emitErrorFn("expected at least one index for spv.CompositeExtract"); in getElementType()
700 emitErrorFn("index ") << index << " out of bounds for " << type; in getElementType()
705 emitErrorFn("cannot extract from non-composite type ") in getElementType()
715 function_ref<InFlightDiagnostic(StringRef)> emitErrorFn) { in getElementType() argument
718 emitErrorFn("expected a 32-bit integer array attribute for 'indices'"); in getElementType()
722 emitErrorFn("expected at least one index for spv.CompositeExtract"); in getElementType()
730 emitErrorFn("expected an 32-bit integer for index, but found '") in getElementType()
736 return getElementType(type, indexVals, emitErrorFn); in getElementType()