Lines Matching defs:iface

398       [](DataLayoutSpecInterface iface) { return iface != nullptr; });
481 if (auto iface = dyn_cast<DataLayoutOpInterface>(op))
482 return DataLayout(iface);
529 if (auto iface = dyn_cast_or_null<DataLayoutOpInterface>(scope))
530 return iface.getTypeSize(ty, *this, list);
541 if (auto iface = dyn_cast_or_null<DataLayoutOpInterface>(scope))
542 return iface.getTypeSizeInBits(ty, *this, list);
553 if (auto iface = dyn_cast_or_null<DataLayoutOpInterface>(scope))
554 return iface.getTypeABIAlignment(ty, *this, list);
565 if (auto iface = dyn_cast_or_null<DataLayoutOpInterface>(scope))
566 return iface.getTypePreferredAlignment(ty, *this, list);
577 if (auto iface = dyn_cast_or_null<DataLayoutOpInterface>(scope))
578 return iface.getIndexBitwidth(ty, *this, list);
592 if (auto iface = dyn_cast_or_null<DataLayoutOpInterface>(scope))
593 endianness = iface.getEndianness(entry);
608 if (auto iface = dyn_cast_or_null<DataLayoutOpInterface>(scope))
609 allocaMemorySpace = iface.getAllocaMemorySpace(entry);
624 if (auto iface = dyn_cast_or_null<DataLayoutOpInterface>(scope))
625 programMemorySpace = iface.getProgramMemorySpace(entry);
640 if (auto iface = dyn_cast_or_null<DataLayoutOpInterface>(scope))
641 globalMemorySpace = iface.getGlobalMemorySpace(entry);
656 if (auto iface = dyn_cast_or_null<DataLayoutOpInterface>(scope))
657 stackAlignment = iface.getStackAlignment(entry);
677 if (auto iface = dyn_cast_or_null<DataLayoutOpInterface>(scope))
678 return iface.getDevicePropertyValue(entry);
774 const auto *iface = dyn_cast<DataLayoutDialectInterface>(dialect);
775 if (!iface) {
780 if (failed(iface->verifyEntry(kvp.second, loc)))
832 const auto *iface = dyn_cast<DataLayoutDialectInterface>(dialect);
833 if (!iface) {
838 if (failed(iface->verifyEntry(keyVal, loc)))