Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/SPIRV/
DSPIRVOps.cpp1437 static LogicalResult verify(spirv::CompositeInsertOp compositeInsertOp) { in verify() argument
1438 auto indicesArrayAttr = compositeInsertOp.indices().dyn_cast<ArrayAttr>(); in verify()
1440 getElementType(compositeInsertOp.composite().getType(), indicesArrayAttr, in verify()
1441 compositeInsertOp.getLoc()); in verify()
1445 if (objectType != compositeInsertOp.object().getType()) { in verify()
1446 return compositeInsertOp.emitOpError("object operand type should be ") in verify()
1448 << compositeInsertOp.object().getType(); in verify()
1451 if (compositeInsertOp.composite().getType() != compositeInsertOp.getType()) { in verify()
1452 return compositeInsertOp.emitOpError("result type should be the same as " in verify()
1454 << compositeInsertOp.composite().getType() << " vs " in verify()
[all …]