Lines Matching refs:sliceUnion
57 mlir::ComputationSliceState sliceUnion; in testDependenceCheck() local
60 mlir::canFuseLoops(srcForOp, dstForOp, d, &sliceUnion); in testDependenceCheck()
82 static std::string getSliceStr(const mlir::ComputationSliceState &sliceUnion) { in getSliceStr() argument
86 unsigned ipd = getNestingDepth(&*sliceUnion.insertPoint); in getSliceStr()
87 unsigned ipb = getBlockIndex(*sliceUnion.insertPoint); in getSliceStr()
90 assert(sliceUnion.lbs.size() == sliceUnion.ubs.size()); in getSliceStr()
92 for (unsigned k = 0, e = sliceUnion.lbs.size(); k < e; ++k) { in getSliceStr()
94 sliceUnion.lbs[k].print(os); in getSliceStr()
96 sliceUnion.ubs[k].print(os); in getSliceStr()
110 mlir::ComputationSliceState sliceUnion; in testSliceComputation() local
111 FusionResult result = mlir::canFuseLoops(forOpA, forOpB, d, &sliceUnion); in testSliceComputation()
115 << " : " << getSliceStr(sliceUnion) << ")"; in testSliceComputation()
129 mlir::ComputationSliceState sliceUnion; in testLoopFusionTransformation() local
130 FusionResult result = mlir::canFuseLoops(forOpA, forOpB, d, &sliceUnion); in testLoopFusionTransformation()
132 mlir::fuseLoops(forOpA, forOpB, sliceUnion); in testLoopFusionTransformation()