Searched refs:DataLayoutSpecInterface (Results 1 – 15 of 15) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/Interfaces/ |
| H A D | DataLayoutInterfaces.cpp | 237 static DataLayoutSpecInterface getSpec(Operation *operation) { in getSpec() 243 return DataLayoutSpecInterface(); in getSpec() 251 SmallVectorImpl<DataLayoutSpecInterface> &specs, in collectParentLayouts() 281 static DataLayoutSpecInterface getCombinedDataLayout(Operation *leaf) { in getCombinedDataLayout() 289 SmallVector<DataLayoutSpecInterface> specs; in getCombinedDataLayout() 300 [](DataLayoutSpecInterface iface) { return iface != nullptr; })); in getCombinedDataLayout() 303 if (DataLayoutSpecInterface current = getSpec(leaf)) in getCombinedDataLayout() 312 DataLayoutSpecInterface spec = getSpec(op); in verifyDataLayoutOp() 323 SmallVector<DataLayoutSpecInterface> specs; in verifyDataLayoutOp() 379 SmallVector<DataLayoutSpecInterface> specs; in checkValid() [all …]
|
| /llvm-project-15.0.7/mlir/include/mlir/Interfaces/ |
| H A D | DataLayoutInterfaces.h | 31 class DataLayoutSpecInterface; variable 79 LogicalResult verifyDataLayoutSpec(DataLayoutSpecInterface spec, Location loc); 164 const DataLayoutSpecInterface originalLayout; 168 SmallVector<DataLayoutSpecInterface, 2> layoutStack;
|
| H A D | DataLayoutInterfaces.td | 71 def DataLayoutSpecInterface : AttrInterface<"DataLayoutSpecInterface"> { 99 /*retTy=*/"::mlir::DataLayoutSpecInterface", 101 /*args=*/(ins "::llvm::ArrayRef<::mlir::DataLayoutSpecInterface>":$specs) 196 /*retTy=*/"::mlir::DataLayoutSpecInterface",
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | BuiltinDialect.cpp | 93 DataLayoutSpecInterface ModuleOp::getDataLayoutSpec() { in getDataLayoutSpec() 98 if (auto spec = attr.getValue().dyn_cast<DataLayoutSpecInterface>()) in getDataLayoutSpec() 119 DataLayoutSpecInterface layoutSpec; in verify() 121 if (auto spec = na.getValue().dyn_cast<DataLayoutSpecInterface>()) { in verify()
|
| /llvm-project-15.0.7/mlir/include/mlir/Target/LLVMIR/ |
| H A D | Import.h | 29 class DataLayoutSpecInterface; variable 43 DataLayoutSpecInterface translateDataLayout(const llvm::DataLayout &dataLayout,
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/DLTI/ |
| H A D | Traits.h | 20 DataLayoutSpecInterface getDataLayoutSpec(Operation *op); 37 DataLayoutSpecInterface getDataLayoutSpec() { in getDataLayoutSpec()
|
| H A D | DLTI.h | 70 DataLayoutSpecInterface::Trait> { 96 DataLayoutSpecAttr combineWith(ArrayRef<DataLayoutSpecInterface> specs) const;
|
| /llvm-project-15.0.7/mlir/unittests/Interfaces/ |
| H A D | DataLayoutInterfacesTest.cpp | 51 DataLayoutSpecInterface::Trait> { 60 combineWith(ArrayRef<DataLayoutSpecInterface> specs) const { in combineWith() 129 DataLayoutSpecInterface getDataLayoutSpec() { in getDataLayoutSpec() 130 return getOperation()->getAttrOfType<DataLayoutSpecInterface>(kAttrName); in getDataLayoutSpec() 174 DataLayoutSpecInterface getDataLayoutSpec() { in getDataLayoutSpec() 175 return getOperation()->getAttrOfType<DataLayoutSpecInterface>(kAttrName); in getDataLayoutSpec()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/DLTI/ |
| H A D | DLTI.cpp | 192 combineOneSpec(DataLayoutSpecInterface spec, in combineOneSpec() 246 DataLayoutSpecAttr::combineWith(ArrayRef<DataLayoutSpecInterface> specs) const { in combineWith() 249 if (llvm::any_of(specs, [](DataLayoutSpecInterface spec) { in combineWith() 257 for (DataLayoutSpecInterface spec : specs) in combineWith()
|
| H A D | Traits.cpp | 26 DataLayoutSpecInterface mlir::impl::getDataLayoutSpec(Operation *op) { in getDataLayoutSpec()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/GPU/Transforms/ |
| H A D | KernelOutlining.cpp | 288 dataLayoutSpec = resultAttr.dyn_cast<DataLayoutSpecInterface>(); in initialize() 380 DataLayoutSpecInterface dataLayoutSpec;
|
| /llvm-project-15.0.7/mlir/docs/ |
| H A D | DataLayout.md | 103 `DataLayoutSpecInterface`, described below. Each entry is itself an attribute 223 `DataLayoutSpecInterface`. It does not implement the entire interface for 289 `DataLayoutSpecInterface` and `DataLayoutEntryInterface`, as well as a dialect
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | BuiltinOps.td | 80 DataLayoutSpecInterface getDataLayoutSpec();
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/ |
| H A D | ModuleTranslation.cpp | 57 translateDataLayout(DataLayoutSpecInterface attribute, in translateDataLayout() 1101 if (DataLayoutSpecInterface spec = iface.getDataLayoutSpec()) { in prepareLLVMModule() 1106 if (DataLayoutSpecInterface spec = mod.getDataLayoutSpec()) { in prepareLLVMModule()
|
| H A D | ConvertFromLLVMIR.cpp | 94 DataLayoutSpecInterface 1254 DataLayoutSpecInterface dlSpec = in translateLLVMIRToModule()
|