• Home
  • Raw
  • Download

Lines Matching refs:groupOp

753 static void printGroupNonUniformArithmeticOp(Operation *groupOp,  in printGroupNonUniformArithmeticOp()  argument
755 printer << groupOp->getName() << " \"" in printGroupNonUniformArithmeticOp()
757 groupOp->getAttrOfType<IntegerAttr>(kExecutionScopeAttrName) in printGroupNonUniformArithmeticOp()
761 groupOp->getAttrOfType<IntegerAttr>(kGroupOperationAttrName) in printGroupNonUniformArithmeticOp()
763 << "\" " << groupOp->getOperand(0); in printGroupNonUniformArithmeticOp()
765 if (groupOp->getNumOperands() > 1) in printGroupNonUniformArithmeticOp()
766 printer << " " << kClusterSize << '(' << groupOp->getOperand(1) << ')'; in printGroupNonUniformArithmeticOp()
767 printer << " : " << groupOp->getResult(0).getType(); in printGroupNonUniformArithmeticOp()
770 static LogicalResult verifyGroupNonUniformArithmeticOp(Operation *groupOp) { in verifyGroupNonUniformArithmeticOp() argument
772 groupOp->getAttrOfType<IntegerAttr>(kExecutionScopeAttrName).getInt()); in verifyGroupNonUniformArithmeticOp()
774 return groupOp->emitOpError( in verifyGroupNonUniformArithmeticOp()
778 groupOp->getAttrOfType<IntegerAttr>(kGroupOperationAttrName).getInt()); in verifyGroupNonUniformArithmeticOp()
780 groupOp->getNumOperands() == 1) in verifyGroupNonUniformArithmeticOp()
781 return groupOp->emitOpError("cluster size operand must be provided for " in verifyGroupNonUniformArithmeticOp()
783 if (groupOp->getNumOperands() > 1) { in verifyGroupNonUniformArithmeticOp()
784 Operation *sizeOp = groupOp->getOperand(1).getDefiningOp(); in verifyGroupNonUniformArithmeticOp()
789 return groupOp->emitOpError( in verifyGroupNonUniformArithmeticOp()
793 return groupOp->emitOpError( in verifyGroupNonUniformArithmeticOp()
2179 static LogicalResult verify(spirv::GroupNonUniformElectOp groupOp) { in verify() argument
2180 spirv::Scope scope = groupOp.execution_scope(); in verify()
2182 return groupOp.emitOpError( in verify()