Searched refs:lastOp (Results 1 – 4 of 4) sorted by relevance
127 Operation *lastOp = matched_ops.back(); in ClusterMatchedOps() local128 OpBuilder builder(lastOp); in ClusterMatchedOps()129 auto loc = lastOp->getLoc(); in ClusterMatchedOps()131 builder.create<tf_device::ClusterOp>(loc, lastOp->getResultTypes()); in ClusterMatchedOps()139 lastOp->replaceAllUsesWith(clusterOp); in ClusterMatchedOps()143 builder.create<tf_device::ReturnOp>(loc, lastOp->getResults()); in ClusterMatchedOps()146 if (auto device = lastOp->getAttr(kDeviceAttr)) in ClusterMatchedOps()
132 Operation *lastOp = f.getBody().front().back().getPrevNode(); in test2() local133 if (p.match(lastOp)) in test2()137 if (p1.match(lastOp)) in test2()
615 lastOp = None620 if lastOp in ['hintmask', 'cntrmask']:637 lastOp = op
417 auto *lastOp = &whereOp.whereRegion().front().back(); in genIoLoop() local418 builder.setInsertionPointAfter(lastOp); in genIoLoop()419 builder.create<fir::ResultOp>(loc, lastOp->getResult(0)); // runtime result in genIoLoop()