Searched refs:lbOperands (Results 1 – 8 of 8) sorted by relevance
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/ |
D | AffineLoopNormalize.cpp | 62 OperandRange lbOperands = op.getLowerBoundsOperands(); in normalizeAffineParallel() local 63 OperandRange dimOperands = lbOperands.take_front(nDims); in normalizeAffineParallel() 64 OperandRange symbolOperands = lbOperands.drop_front(nDims); in normalizeAffineParallel() 164 SmallVector<Value, 4> lbOperands(lb.getOperands().begin(), in normalizeAffineFor() local 168 lbOperands.push_back(op.getInductionVar()); in normalizeAffineFor() 171 lbOperands.push_back(lb.getOperand(origLbMap.getNumDims() + j)); in normalizeAffineFor() 177 Operation *newIV = opBuilder.create<AffineApplyOp>(loc, ivMap, lbOperands); in normalizeAffineFor()
|
/external/llvm-project/mlir/lib/Analysis/ |
D | Utils.cpp | 67 assert(!lbOperands.empty()); in getAsConstraints() 71 unsigned numSymbols = lbOperands[0].size(); in getAsConstraints() 75 values.append(lbOperands[0].begin(), lbOperands[0].end()); in getAsConstraints() 93 LogicalResult ret = cst->addSliceBounds(ivs, lbs, ubs, lbOperands[0]); in getAsConstraints() 104 lbOperands.clear(); in clearBounds() 117 for (Value lbOp : lbOperands[en.index()]) in dump() 279 operands.reserve(operands.size() + sliceState->lbOperands[0].size()); in compute() 281 for (auto extraOperand : sliceState->lbOperands[0]) { in compute() 320 for (auto operand : sliceState->lbOperands[0]) { in compute() 326 sliceState->lbOperands[0]); in compute() [all …]
|
/external/llvm-project/mlir/lib/Transforms/Utils/ |
D | LoopUtils.cpp | 171 auto lbOperands = forOp.getLowerBoundOperands(); in promoteIfSingleIteration() local 176 iv.replaceAllUsesWith(lbOperands[0]); in promoteIfSingleIteration() 179 builder.create<AffineApplyOp>(forOp.getLoc(), lbMap, lbOperands); in promoteIfSingleIteration() 254 auto lbOperands = srcForOp.getLowerBoundOperands(); in generateShiftedLoop() local 257 assert(lbMap.getNumInputs() == lbOperands.size()); in generateShiftedLoop() 260 auto loopChunk = b.create<AffineForOp>(srcForOp.getLoc(), lbOperands, lbMap, in generateShiftedLoop() 619 SmallVector<Value, 4> lbOperands, ubOperands; in setIntraTileBoundsParametric() local 622 lbOperands.reserve(lb.getNumOperands() + 2); in setIntraTileBoundsParametric() 627 lbOperands.push_back(lb.getOperand(j)); in setIntraTileBoundsParametric() 633 lbOperands.push_back(newInterTileLoop.getInductionVar()); in setIntraTileBoundsParametric() [all …]
|
D | LoopFusionUtils.cpp | 383 auto lbOperands = srcSlice.lbOperands[i]; in fuseLoops() local 384 canonicalizeMapAndOperands(&lbMap, &lbOperands); in fuseLoops() 385 forOp.setLowerBound(lbOperands, lbMap); in fuseLoops()
|
/external/llvm-project/mlir/include/mlir/Analysis/ |
D | Utils.h | 70 std::vector<SmallVector<Value, 4>> lbOperands; member
|
/external/llvm-project/mlir/lib/Dialect/Affine/IR/ |
D | AffineOps.cpp | 1211 ValueRange lbOperands, AffineMap lbMap, in build() argument 1214 assert(((!lbMap && lbOperands.empty()) || in build() 1215 lbOperands.size() == lbMap.getNumInputs()) && in build() 1231 result.addOperands(lbOperands); in build() 1598 SmallVector<Value, 4> lbOperands(forOp.getLowerBoundOperands()); in canonicalizeLoopBounds() local 1606 canonicalizeMapAndOperands(&lbMap, &lbOperands); in canonicalizeLoopBounds() 1617 forOp.setLowerBound(lbOperands, lbMap); in canonicalizeLoopBounds() 1663 void AffineForOp::setLowerBound(ValueRange lbOperands, AffineMap map) { in setLowerBound() argument 1664 assert(lbOperands.size() == map.getNumInputs()); in setLowerBound() 1667 SmallVector<Value, 4> newOperands(lbOperands.begin(), lbOperands.end()); in setLowerBound() [all …]
|
/external/llvm-project/mlir/include/mlir/Transforms/ |
D | LoopUtils.h | 292 ValueRange lbOperands,
|
/external/llvm-project/mlir/include/mlir/Dialect/Affine/IR/ |
D | AffineOps.td | 220 OpBuilderDAG<(ins "ValueRange":$lbOperands, "AffineMap":$lbMap,
|