Home
last modified time | relevance | path

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

/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/IR/
H A DTosaOps.cpp761 llvm::SmallVector<int64_t> strideInt; in inferReturnTypeComponents() local
767 getI64Values(adaptor.getStride(), strideInt); in inferReturnTypeComponents()
773 bool fpMode = strideInt[0] == 0; in inferReturnTypeComponents()
792 size = ((size << shift) - offsetInt[0]) / strideInt[0]; in inferReturnTypeComponents()
798 size = ((size << shift) - offsetInt[1]) / strideInt[1]; in inferReturnTypeComponents()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DFIRBuilder.cpp1246 if (auto strideInt = getConstantValue(stride)) { in getExtentFromTriplet() local
1247 if (strideInt.value() != 0) { in getExtentFromTriplet()
1249 1 + (ubInt.value() - lbInt.value()) / strideInt.value(); in getExtentFromTriplet()