Home
last modified time | relevance | path

Searched refs:sliceUnion (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/mlir/test/lib/Transforms/
DTestLoopFusion.cpp57 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
[all …]
/external/llvm-project/mlir/lib/Analysis/
DUtils.cpp603 ComputationSliceState *sliceUnion) { in computeSliceUnion() argument
720 sliceUnion->clearBounds(); in computeSliceUnion()
721 sliceUnion->lbs.resize(numSliceLoopIVs, AffineMap()); in computeSliceUnion()
722 sliceUnion->ubs.resize(numSliceLoopIVs, AffineMap()); in computeSliceUnion()
726 opsA[0]->getContext(), &sliceUnion->lbs, in computeSliceUnion()
727 &sliceUnion->ubs); in computeSliceUnion()
736 sliceUnion->ivs.clear(); in computeSliceUnion()
737 sliceUnionCst.getIdValues(0, numSliceLoopIVs, &sliceUnion->ivs); in computeSliceUnion()
740 sliceUnion->insertPoint = in computeSliceUnion()
747 sliceUnion->lbOperands.resize(numSliceLoopIVs, sliceBoundOperands); in computeSliceUnion()
[all …]
/external/llvm-project/mlir/include/mlir/Analysis/
DUtils.h153 ComputationSliceState *sliceUnion);