Home
last modified time | relevance | path

Searched refs:Dialect (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/external/tensorflow/tensorflow/compiler/mlir/hlo/
DBUILD38 exports_files(["include/mlir-hlo/Dialect/mhlo/IR/hlo_ops.td"])
40 exports_files(["include/mlir-hlo/Dialect/mhlo/IR/lhlo_ops.td"])
45 "include/mlir-hlo/Dialect/mhlo/IR/chlo_ops.td",
46 "include/mlir-hlo/Dialect/mhlo/IR/hlo_ops.td",
47 "include/mlir-hlo/Dialect/mhlo/IR/hlo_ops_base.td",
48 "include/mlir-hlo/Dialect/mhlo/IR/hlo_ops_base_enums.td",
49 "include/mlir-hlo/Dialect/mhlo/IR/hlo_ops_base_structs.td",
50 "include/mlir-hlo/Dialect/mhlo/IR/hlo_utils.td",
51 "include/mlir-hlo/Dialect/mhlo/IR/infer_fusibility_op_interface.td",
52 "include/mlir-hlo/Dialect/mhlo/IR/lhlo_ops.td",
[all …]
/external/tensorflow/third_party/mlir/
DBUILD25 "include/mlir/Dialect/LLVMIR/LLVMOps.td",
185 "lib/CAPI/Dialect/Standard.cpp",
203 "include/mlir-c/Dialect/Standard.h",
268 "include/mlir/Dialect/StandardOps/IR/StandardOpsBase.td",
303 "include/mlir/Dialect/Affine/IR/AffineMemoryOpInterfaces.td",
304 "include/mlir/Dialect/Affine/IR/AffineOps.td",
318 "include/mlir/Dialect/Affine/IR/AffineOps.h.inc",
322 "include/mlir/Dialect/Affine/IR/AffineOps.cpp.inc",
326 "include/mlir/Dialect/Affine/IR/AffineOpsDialect.h.inc",
330 td_file = "include/mlir/Dialect/Affine/IR/AffineOps.td",
[all …]
Dtest.BUILD24 includes = ["lib/Dialect/Test"],
38 "lib/Dialect/Test/TestInterfaces.td",
39 "lib/Dialect/Test/TestOps.td",
54 strip_include_prefix = "lib/Dialect/Test",
58 "lib/Dialect/Test/TestOps.h.inc",
62 "lib/Dialect/Test/TestOps.cpp.inc",
66 "lib/Dialect/Test/TestOpsDialect.h.inc",
70 "lib/Dialect/Test/TestOpEnums.h.inc",
74 "lib/Dialect/Test/TestOpEnums.cpp.inc",
78 "lib/Dialect/Test/TestOpStructs.h.inc",
[all …]
/external/llvm-project/mlir/lib/TableGen/
DDialect.cpp18 Dialect::Dialect(const llvm::Record *def) : def(def) { in Dialect() function in Dialect
25 StringRef Dialect::getName() const { return def->getValueAsString("name"); } in getName()
27 StringRef Dialect::getCppNamespace() const { in getCppNamespace()
31 std::string Dialect::getCppClassName() const { in getCppClassName()
47 StringRef Dialect::getSummary() const { in getSummary()
51 StringRef Dialect::getDescription() const { in getDescription()
55 ArrayRef<StringRef> Dialect::getDependentDialects() const { in getDependentDialects()
59 llvm::Optional<StringRef> Dialect::getExtraClassDeclaration() const { in getExtraClassDeclaration()
64 bool Dialect::hasConstantMaterializer() const { in hasConstantMaterializer()
68 bool Dialect::hasOperationAttrVerify() const { in hasOperationAttrVerify()
[all …]
/external/llvm-project/mlir/docs/
DPasses.md15 ## `async` Dialect Passes
19 ## `affine` Dialect Passes
23 ## `gpu` Dialect Passes
27 ## `linalg` Dialect Passes
31 ## `llvm` Dialect Passes
35 ## `quant` Dialect Passes
43 ## `scf` Dialect Passes
47 ## `shape` Dialect Passes
51 ## `spv` Dialect Passes
55 ## `standard` Dialect Passes
[all …]
DSPIRVToLLVMDialectConversion.md1 # SPIR-V Dialect to LLVM Dialect conversion manual
3 This manual describes the conversion from [SPIR-V Dialect](Dialects/SPIR-V.md)
4 to [LLVM Dialect](Dialects/LLVM.md). It assumes familiarity with both, and
6 Dialect. The conversion is an ongoing work, and is expected to grow as more
22 This section describes how SPIR-V Dialect types are mapped to LLVM Dialect.
26 SPIR-V Dialect | LLVM Dialect
37 SPIR-V Dialect | LLVM Dialect
46 SPIR-V Dialect | LLVM Dialect
61 SPIR-V Dialect | LLVM Dialect
105 This section describes how SPIR-V Dialect operations are converted to LLVM
[all …]
/external/llvm-project/mlir/lib/IR/
DDialect.cpp25 Dialect *DialectRegistry::loadByName(StringRef name, MLIRContext *context) { in loadByName()
47 Dialect::Dialect(StringRef name, MLIRContext *context, TypeID id) in Dialect() function in Dialect
52 Dialect::~Dialect() {} in ~Dialect()
58 LogicalResult Dialect::verifyRegionArgAttribute(Operation *, unsigned, unsigned, in verifyRegionArgAttribute()
67 LogicalResult Dialect::verifyRegionResultAttribute(Operation *, unsigned, in verifyRegionResultAttribute()
73 Attribute Dialect::parseAttribute(DialectAsmParser &parser, Type type) const { in parseAttribute()
81 Type Dialect::parseType(DialectAsmParser &parser) const { in parseType()
95 bool Dialect::isValidNamespace(StringRef str) { in isValidNamespace()
103 void Dialect::addInterface(std::unique_ptr<DialectInterface> interface) { in addInterface()
DMLIRContext.cpp258 DenseMap<StringRef, std::unique_ptr<Dialect>> loadedDialects;
424 std::vector<Dialect *> MLIRContext::getLoadedDialects() { in getLoadedDialects()
425 std::vector<Dialect *> result; in getLoadedDialects()
430 [](Dialect *const *lhs, Dialect *const *rhs) -> int { in getLoadedDialects()
444 Dialect *MLIRContext::getLoadedDialect(StringRef name) { in getLoadedDialect()
450 Dialect *MLIRContext::getOrLoadDialect(StringRef name) { in getOrLoadDialect()
451 Dialect *dialect = getLoadedDialect(name); in getOrLoadDialect()
460 Dialect *
462 function_ref<std::unique_ptr<Dialect>()> ctor) { in getOrLoadDialect()
465 std::unique_ptr<Dialect> &dialect = impl.loadedDialects[dialectNamespace]; in getOrLoadDialect()
[all …]
/external/llvm-project/mlir/include/mlir/IR/
DMLIRContext.h21 class Dialect; variable
46 std::vector<Dialect *> getLoadedDialects();
57 Dialect *getLoadedDialect(StringRef name);
78 template <typename Dialect>
80 getOrLoadDialect<Dialect>(); in loadDialect()
84 template <typename Dialect, typename OtherDialect, typename... MoreDialects>
86 getOrLoadDialect<Dialect>(); in loadDialect()
94 Dialect *getOrLoadDialect(StringRef name);
167 Dialect *getOrLoadDialect(StringRef dialectNamespace, TypeID dialectID,
168 function_ref<std::unique_ptr<Dialect>()> ctor);
DDialect.h28 using DialectAllocatorFunction = std::function<Dialect *(MLIRContext *)>;
37 class Dialect {
39 virtual ~Dialect();
148 Dialect(StringRef name, MLIRContext *context, TypeID id);
183 Dialect(const Dialect &) = delete;
184 void operator=(Dialect &) = delete;
261 Dialect *loadByName(StringRef name, MLIRContext *context);
289 struct isa_impl<T, ::mlir::Dialect> {
290 static inline bool doit(const ::mlir::Dialect &dialect) {
DDialectInterface.h16 class Dialect; variable
35 DialectInterfaceBase(Dialect *dialect) : BaseT(dialect, getInterfaceID()) {} in DialectInterfaceBase()
50 Dialect *getDialect() const { return dialect; } in getDialect()
56 DialectInterface(Dialect *dialect, TypeID id) in DialectInterface()
61 Dialect *dialect;
79 static unsigned getHashValue(Dialect *key) { return llvm::hash_value(key); } in getHashValue()
84 static bool isEqual(Dialect *lhs, const DialectInterface *rhs) { in isEqual()
105 const DialectInterface *getInterfaceFor(Dialect *dialect) const { in getInterfaceFor()
DTypeSupport.h21 class Dialect; variable
38 template <typename T> static AbstractType get(Dialect &dialect) { in get()
43 Dialect &getDialect() const { return const_cast<Dialect &>(dialect); } in getDialect()
56 AbstractType(Dialect &dialect, detail::InterfaceMap &&interfaceMap, in AbstractType()
62 Dialect &dialect;
DAttributeSupport.h39 template <typename T> static AbstractAttribute get(Dialect &dialect) { in get()
44 Dialect &getDialect() const { return const_cast<Dialect &>(dialect); } in getDialect()
57 AbstractAttribute(Dialect &dialect, detail::InterfaceMap &&interfaceMap, in AbstractAttribute()
63 Dialect &dialect;
/external/llvm-project/mlir/include/mlir/TableGen/
DDialect.h27 class Dialect {
29 explicit Dialect(const llvm::Record *def);
68 bool operator==(const Dialect &other) const;
70 bool operator!=(const Dialect &other) const { return !(*this == other); }
73 bool operator<(const Dialect &other) const;
/external/llvm-project/mlir/unittests/IR/
DDialectTest.cpp16 struct TestDialect : public Dialect {
19 : Dialect(getDialectNamespace(), context, TypeID::get<TestDialect>()) {} in TestDialect()
21 struct AnotherTestDialect : public Dialect {
24 : Dialect(getDialectNamespace(), context, in AnotherTestDialect()
/external/llvm-project/flang/lib/Optimizer/
DCMakeLists.txt4 Dialect/FIRAttr.cpp
5 Dialect/FIRDialect.cpp
6 Dialect/FIROps.cpp
7 Dialect/FIRType.cpp
/external/llvm-project/mlir/lib/Dialect/LLVMIR/
DCMakeLists.txt9 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/LLVMIR
35 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/LLVMIR
56 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/LLVMIR
77 ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/LLVMIR
/external/tensorflow/tensorflow/compiler/mlir/tosa/g3doc/
Dlegalization.md8 MLIR Dialects (https://www.tensorflow.org/mlir/dialects) to the TOSA Dialect
1086 | MLIR Pass Name | Input Dialect | Output Dialect | Description |
1137 ## TensorFlow MLIR Dialect Legalization (legalize_tf)
1145 **TensorFlow Dialect**
1164 **TensorFlow Dialect**
1176 **TensorFlow Dialect**
1188 **TensorFlow Dialect**
1204 **TensorFlow Dialect**
1221 **TensorFlow Dialect**
1239 **TensorFlow Dialect**
[all …]
/external/llvm-project/clang/docs/
DClangFormattedStatus.rst1582 * - flang/include/flang/Optimizer/Dialect
1637 * - flang/lib/Optimizer/Dialect
5992 * - mlir/include/mlir/Dialect
5997 * - mlir/include/mlir/Dialect/Affine
6002 * - mlir/include/mlir/Dialect/Affine/EDSC
6007 * - mlir/include/mlir/Dialect/Affine/IR
6012 * - mlir/include/mlir/Dialect/Async
6017 * - mlir/include/mlir/Dialect/Async/IR
6022 * - mlir/include/mlir/Dialect/AVX512
6027 * - mlir/include/mlir/Dialect/GPU
[all …]
/external/llvm-project/mlir/test/mlir-tblgen/
Ddialect.td7 def A_Dialect : Dialect {
14 def B_Dialect : Dialect {
22 def C_Dialect : Dialect {
30 def D_Dialect : Dialect {
/external/llvm-project/mlir/docs/Tutorials/
DCreatingADialect.md1 # Creating a Dialect
6 * mlir/include/mlir/Dialect/Foo (for public include files)
7 * mlir/lib/Dialect/Foo (for sources)
8 * mlir/lib/Dialect/Foo/IR (for operations)
9 * mlir/lib/Dialect/Foo/Transforms (for transforms)
10 * mlir/test/Dialect/Foo (for tests)
48 Dialect transformations are typically declared in a file FooTransforms.td.
62 declared with add_mlir_dialect_library(). Dialect libraries often
64 using the DEPENDS keyword). Dialect libraries may also depend on
110 # Dialect Conversions
/external/llvm-project/mlir/lib/Conversion/GPUToSPIRV/
DGPUToSPIRV.td1 //===-- GPUToSPIRV.td - GPU to SPIR-V Dialect Lowerings ----*- tablegen -*-===//
17 include "mlir/Dialect/GPU/GPUOps.td"
18 include "mlir/Dialect/SPIRV/SPIRVStructureOps.td"
/external/llvm-project/mlir/include/mlir/Transforms/
DFoldUtils.h107 Value getOrCreateConstant(OpBuilder &builder, Dialect *dialect,
116 DenseMap<std::tuple<Dialect *, Attribute, Type>, Operation *>;
127 Dialect *dialect, OpBuilder &builder,
136 DenseMap<Operation *, SmallVector<Dialect *, 2>> referencedDialects;
/external/llvm-project/mlir/include/mlir/Dialect/Linalg/IR/
DLinalgDoc.td19 include "mlir/Dialect/Linalg/IR/LinalgBase.td"
20 include "mlir/Dialect/Linalg/IR/LinalgOps.td"
21 include "mlir/Dialect/Linalg/IR/LinalgStructuredOps.td"
/external/llvm-project/mlir/tools/mlir-tblgen/
DDialectGen.cpp49 filterForDialect(ArrayRef<llvm::Record *> records, Dialect &dialect) { in filterForDialect()
145 static void emitDialectDecl(Dialect &dialect, in emitDialectDecl()
207 return Dialect(def).getName() == selectedDialect; in emitDialectDecls()
218 Dialect dialect(dialectDef); in emitDialectDecls()

12345678910>>...15