Searched refs:retOp (Results 1 – 1 of 1) sorted by relevance
1796 if (auto retOp = dyn_cast<spirv::ReturnOp>(op)) { in verifyBody() local1798 return retOp.emitOpError("cannot be used in functions returning value"); in verifyBody()1799 } else if (auto retOp = dyn_cast<spirv::ReturnValueOp>(op)) { in verifyBody() local1801 return retOp.emitOpError( in verifyBody()1805 auto retOperandType = retOp.value().getType(); in verifyBody()1808 return retOp.emitOpError(" return value's type (") in verifyBody()