Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp579 function_ref<InFlightDiagnostic(StringRef)> emitErrorFn) { in getElementType() argument
581 emitErrorFn("expected at least one index for spv.CompositeExtract"); in getElementType()
590 emitErrorFn("index ") << index << " out of bounds for " << type; in getElementType()
595 emitErrorFn("cannot extract from non-composite type ") in getElementType()
605 function_ref<InFlightDiagnostic(StringRef)> emitErrorFn) { in getElementType() argument
608 emitErrorFn("expected a 32-bit integer array attribute for 'indices'"); in getElementType()
612 emitErrorFn("expected at least one index for spv.CompositeExtract"); in getElementType()
620 emitErrorFn("expected an 32-bit integer for index, but found '") in getElementType()
626 return getElementType(type, indexVals, emitErrorFn); in getElementType()