Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DElementwiseToLinalg.cpp61 auto *scalarOp = builder.createOperation(state); in matchAndRewrite() local
62 builder.create<linalg::YieldOp>(loc, scalarOp->getResults()); in matchAndRewrite()
DVectorization.cpp167 void vectorize(Operation &scalarOp) { in vectorize() argument
168 auto yieldOp = dyn_cast<linalg::YieldOp>(scalarOp); in vectorize()
177 Operation *vectorOp = uncachedVectorize(scalarOp); in vectorize()
178 assert(scalarOp.getNumResults() == vectorOp->getNumResults()); in vectorize()
180 llvm::zip(scalarOp.getResults(), vectorOp->getResults())) { in vectorize()
271 for (Operation &scalarOp : op.region().front()) { in vectorizeElementwise()
272 vectorizer.vectorize(scalarOp); in vectorizeElementwise()