Home
last modified time | relevance | path

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

/external/llvm-project/mlir/lib/IR/
DAsmPrinter.cpp1828 .Case<MemRefType>([&](MemRefType memrefTy) { in printType() argument
1830 for (int64_t dim : memrefTy.getShape()) { in printType()
1837 printType(memrefTy.getElementType()); in printType()
1838 for (auto map : memrefTy.getAffineMaps()) { in printType()
1843 if (memrefTy.getMemorySpace()) in printType()
1844 os << ", " << memrefTy.getMemorySpace(); in printType()
1847 .Case<UnrankedMemRefType>([&](UnrankedMemRefType memrefTy) { in printType() argument
1849 printType(memrefTy.getElementType()); in printType()
1851 if (memrefTy.getMemorySpace()) in printType()
1852 os << ", " << memrefTy.getMemorySpace(); in printType()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp380 auto memrefTy = type.cast<MemRefType>(); in convertMemRefToBarePtr() local
381 if (!memrefTy.hasStaticShape()) in convertMemRefToBarePtr()
386 if (failed(getStridesAndOffset(memrefTy, strides, offset))) in convertMemRefToBarePtr()
425 if (auto memrefTy = type.dyn_cast<BaseMemRefType>()) in convertCallingConventionType() local
426 return convertMemRefToBarePtr(memrefTy); in convertCallingConventionType()
440 if (auto memrefTy = stdTypes[i].dyn_cast<MemRefType>()) in promoteBarePtrsToDescriptors() local
442 memrefTy, values[i]); in promoteBarePtrsToDescriptors()
1464 auto memrefTy = argTy.dyn_cast<MemRefType>(); in matchAndRewrite() local
1465 if (!memrefTy) in matchAndRewrite()
1475 auto placeholder = rewriter.create<LLVM::UndefOp>(loc, memrefTy); in matchAndRewrite()
[all …]