Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Transforms/
DNormalizeMemRefs.cpp39 Operation *createOpResultsNormalized(FuncOp funcOp, Operation *oldOp);
481 Operation *oldOp) { in createOpResultsNormalized() argument
484 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()
/external/llvm-project/mlir/lib/Conversion/PDLToPDLInterp/
DPDLToPDLInterp.cpp425 Operation *oldOp = oldValue.getDefiningOp(); in generateRewriter() local
426 if (pdl::AttributeOp attrOp = dyn_cast<pdl::AttributeOp>(oldOp)) { in generateRewriter()
431 } else if (pdl::TypeOp typeOp = dyn_cast<pdl::TypeOp>(oldOp)) { in generateRewriter()