lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp
static bool isSupportedMemRefType(MemRefType type) {
  return type.getAffineMaps().empty() ||
         llvm::all_of(type.getAffineMaps(),
                      [](AffineMap map) { return map.isIdentity(); });
}
// Check if the MemRefType `type` is supported by the lowering. We currently
// only support memrefs with identity maps.
Check if the MemRefType `type` is supported by the lowering. We currently
only support memrefs with identity maps.
Check if the MemRefType ` type ` is supported by the lowering . We currently only support memrefs with identity maps .
static bool isSupportedMemRefType(MemRefType type) {
  return type.getAffineMaps().empty() ||
         llvm::all_of(type.getAffineMaps(),
                      [](AffineMap map) { return map.isIdentity(); });
}
static bool isSupportedMemRefType ( MemRefType type ) { return type . getAffineMaps ( ) . empty ( ) || llvm :: all_of ( type . getAffineMaps ( ) , [ ] ( AffineMap map ) { return map . isIdentity ( ) ; } ) ; }
Check if the MemRefType `type` is supported by the lowering.
Check if the MemRefType ` type ` is supported by the lowering .