Searched refs:concreteOp (Results 1 – 5 of 5) sorted by relevance
75 ConcreteType concreteOp = cast<ConcreteType>(op); in verifyTrait() local76 auto nOperands = concreteOp.getNumInputsAndOutputBuffers(); in verifyTrait()79 if (op->getNumResults() > concreteOp.getNumOutputs()) in verifyTrait()105 ConcreteType concreteOp = cast<ConcreteType>(this->getOperation()); in getNumOutputs() local106 return concreteOp.output_buffers().size() + in getNumOutputs()107 concreteOp.result_tensors().size(); in getNumOutputs()110 ConcreteType concreteOp = cast<ConcreteType>(op); in verifyTrait() local112 concreteOp.getNumInputsAndOutputBuffers(); in verifyTrait()118 concreteOp.getReductionDims(redDims); in verifyTrait()122 if (!concreteOp.init_tensors().empty()) in verifyTrait()[all …]
165 auto concreteOp = cast<ConcreteOp>($_op);166 if (concreteOp.isOptionalSymbol()) {167 if(!concreteOp.getAttr(::mlir::SymbolTable::getSymbolAttrName()))172 if (concreteOp.isDeclaration() && concreteOp.isPublic())173 return concreteOp.emitOpError("symbol declaration cannot have public "
546 auto *concreteOp = static_cast<ConcreteType *>(this); in setType() local549 concreteOp->removeAttr(getArgAttrName(i, nameBuf)); in setType()551 concreteOp->removeAttr(getResultAttrName(i, nameBuf)); in setType()552 concreteOp->setAttr(getTypeAttrName(), TypeAttr::get(newType)); in setType()
50 void verifyOp(OpTy &&concreteOp, std::vector<Type> resultTypes, in verifyOp() argument53 ASSERT_NE(concreteOp, nullptr); in verifyOp()54 Operation *op = concreteOp.getOperation(); in verifyOp()68 concreteOp.erase(); in verifyOp()
81 auto concreteOp = cast<ConcreteOpType>($_op);83 Optional<OperandRange> operands = concreteOp.getSuccessorOperands(i);