Searched refs:oldOp (Results 1 – 2 of 2) sorted by relevance
39 Operation *createOpResultsNormalized(FuncOp funcOp, Operation *oldOp);481 Operation *oldOp) { in createOpResultsNormalized() argument484 OperationState result(oldOp->getLoc(), oldOp->getName()); in createOpResultsNormalized()485 result.addOperands(oldOp->getOperands()); in createOpResultsNormalized()486 result.addAttributes(oldOp->getAttrs()); in createOpResultsNormalized()491 for (unsigned resIndex : llvm::seq<unsigned>(0, oldOp->getNumResults())) { in createOpResultsNormalized()492 auto resultType = oldOp->getResult(resIndex).getType(); in createOpResultsNormalized()515 OpBuilder bb(oldOp); in createOpResultsNormalized()518 return oldOp; in createOpResultsNormalized()
425 Operation *oldOp = oldValue.getDefiningOp(); in generateRewriter() local426 if (pdl::AttributeOp attrOp = dyn_cast<pdl::AttributeOp>(oldOp)) { in generateRewriter()431 } else if (pdl::TypeOp typeOp = dyn_cast<pdl::TypeOp>(oldOp)) { in generateRewriter()