Home
last modified time | relevance | path

Searched refs:interfaces (Results 1 – 25 of 186) sorted by relevance

12345678

/llvm-project-15.0.7/mlir/lib/Support/
H A DInterfaceSupport.cpp23 : interfaces(elements.begin(), elements.end()) { in InterfaceMap()
24 llvm::sort(interfaces, [](const auto &lhs, const auto &rhs) { in InterfaceMap()
34 auto *it = llvm::lower_bound(interfaces, id, [](const auto &it, TypeID id) { in insert()
37 if (it != interfaces.end() && it->first == id) { in insert()
42 interfaces.insert(it, element); in insert()
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Ddllexport.mm4 …{{'dllexport' attribute only applies to functions, variables, classes, and Objective-C interfaces}}
6 …{{'dllexport' attribute only applies to functions, variables, classes, and Objective-C interfaces}}
8 …{{'dllexport' attribute only applies to functions, variables, classes, and Objective-C interfaces}}
10 …{{'dllexport' attribute only applies to functions, variables, classes, and Objective-C interfaces}}
12 …{{'dllexport' attribute only applies to functions, variables, classes, and Objective-C interfaces}}
15 …{{'dllexport' attribute only applies to functions, variables, classes, and Objective-C interfaces}}
H A Ddllimport.mm4 …{{'dllimport' attribute only applies to functions, variables, classes, and Objective-C interfaces}}
6 …{{'dllimport' attribute only applies to functions, variables, classes, and Objective-C interfaces}}
8 …{{'dllimport' attribute only applies to functions, variables, classes, and Objective-C interfaces}}
10 …{{'dllimport' attribute only applies to functions, variables, classes, and Objective-C interfaces}}
12 …{{'dllimport' attribute only applies to functions, variables, classes, and Objective-C interfaces}}
15 …{{'dllimport' attribute only applies to functions, variables, classes, and Objective-C interfaces}}
/llvm-project-15.0.7/mlir/include/mlir/Support/
H A DInterfaceSupport.h178 for (auto &it : interfaces)
180 interfaces = std::move(rhs.interfaces);
184 for (auto &it : interfaces)
263 llvm::lower_bound(interfaces, id, [](const auto &it, TypeID id) {
266 return (it != interfaces.end() && it->first == id) ? it->second : nullptr;
270 SmallVector<std::pair<TypeID, void *>> interfaces;
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dattr-objc-non-lazy.m9 … int X; // expected-error {{'objc_nonlazy_class' attribute only applies to Objective-C interfaces}}
23 …class)) // expected-error {{'objc_nonlazy_class' attribute only applies to Objective-C interfaces}}
27 …class)) // expected-error {{'objc_nonlazy_class' attribute only applies to Objective-C interfaces}}
H A Dattr-objc-exception.m11 …ion__)) // expected-error {{'__objc_exception__' attribute only applies to Objective-C interfaces}}
14 …ion__)) // expected-error {{'__objc_exception__' attribute only applies to Objective-C interfaces}}
H A Dobjc-asm-attribute-neg-test.m18 …cted-error {{'objc_runtime_name' attribute only applies to Objective-C interfaces and Objective-C …
37 // expected-error@+1 {{'objc_runtime_name' attribute only applies to Objective-C interfaces and Obj…
48 // expected-error@+1 {{'objc_runtime_name' attribute only applies to Objective-C interfaces and Obj…
H A Dattr-swift_objc_members.m15 // expected-error@-3 {{'swift_objc_members' attribute only applies to Objective-C interfaces}}
19 // expected-error@-2 {{'swift_objc_members' attribute only applies to Objective-C interfaces}}
/llvm-project-15.0.7/mlir/include/mlir/Dialect/LLVMIR/
H A DLLVMOpsInterfaces.td1 //===-- LLVMOpsInterfaces.td - LLVM op interfaces ----------*- tablegen -*-===//
9 // This is the LLVM IR interfaces definition file.
32 // LLVM dialect type interfaces.
/llvm-project-15.0.7/mlir/lib/Transforms/Utils/
H A DFoldUtils.cpp25 getInsertionRegion(DialectInterfaceCollection<DialectFoldInterface> &interfaces, in getInsertionRegion() argument
37 auto *interface = interfaces.getInterfaceFor(parentOp); in getInsertionRegion()
140 Region *insertRegion = getInsertionRegion(interfaces, opBlock); in insertKnownConstant()
182 foldScopes[getInsertionRegion(interfaces, op->getBlock())]; in notifyRemoval()
207 getInsertionRegion(interfaces, builder.getInsertionBlock()); in getOrCreateConstant()
273 getInsertionRegion(interfaces, builder.getInsertionBlock()); in processFoldResults()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Tosa/IR/
H A DTosaInterfaces.td1 //===-- TosaInterfaces.td - TOSA dialect interfaces --------*- tablegen -*-===//
9 // This file defines the dialect op interfaces for the TOSA dialect.
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/
H A Dinterfaces-global-init.rst1 .. title:: clang-tidy - cppcoreguidelines-interfaces-global-init
3 cppcoreguidelines-interfaces-global-init
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DDialectInterface.h107 auto it = interfaces.find_as(dialect); in getInterfaceFor()
108 return it == interfaces.end() ? nullptr : *it; in getInterfaceFor()
140 InterfaceSetT interfaces;
H A DTensorEncoding.td1 //===- TensorEncoding.td - Tensor encoding interfaces ------*- tablegen -*-===//
9 // Defines the interfaces associated with tensor encoding attributes.
H A DRegionKindInterface.td1 //===- RegionKindInterface.td - Region kind interfaces -----*- tablegen -*-===//
9 // This file contains a set of interfaces to query the properties of regions
/llvm-project-15.0.7/mlir/python/mlir/dialects/linalg/opdsl/lang/
H A Ddsl.py158 def implements(*interfaces: OpInterfaceDef):
159 if any(not isinstance(intr, OpInterfaceDef) for intr in interfaces):
162 current_op_def().metadata.implements.extend(interfaces)
/llvm-project-15.0.7/mlir/include/mlir/Dialect/OpenMP/
H A DOpenMPOpsInterfaces.td1 //===-- OpenMPOpsInterfaces.td - OpenMP op interfaces ------*- tablegen -*-===//
9 // This is the OpenMP Dialect interfaces definition file.
/llvm-project-15.0.7/mlir/docs/
H A DInterfaces.md9 operation type. To combat this, MLIR provides a concept of `interfaces`.
14 able to express transformations/analyses in terms of these interfaces without
22 Dialect interfaces are generally useful for transformation passes or analyses
24 may be defined in different dialects. These interfaces generally involve wide
38 using dialect-specific information. The interfaces defined by a dialect are
114 Attribute/Operation/Type interfaces, as the names suggest, are those registered
115 at the level of a specific attribute/operation/type. These interfaces provide
123 These interfaces are defined by overriding the
214 that defines them, for example, to provide interfaces for built-in types.
232 /// automatically generates this class for all interfaces.
[all …]
H A DCAPI.md200 Interfaces can follow the example of IR interfaces and should be placed in the
201 appropriate library (e.g., common interfaces in `mlir-c/Interfaces` and
202 dialect-specific interfaces in their dialect library). Similarly to other type
203 hierarchies, interfaces are not expected to have objects of their own type and
208 the interfaces are registered.
210 Individual interfaces are expected provide a `mlir<InterfaceName>TypeID()`
/llvm-project-15.0.7/llvm/docs/
H A DSupportLibrary.rst16 By centralizing LLVM's use of operating system interfaces, we make it possible
21 interfaces provided in ``include/llvm/Support``.
39 variations in operating system interfaces and doing so efficiently. The
52 To obtain system-dependent functionality, existing interfaces to the system
73 them directly or obtain their inclusion through ``lib/Support`` interfaces.
82 ``lib/Support`` interfaces.
125 The Support Library interfaces can be called quite frequently by LLVM. In order
141 information about files and directories. Those interfaces may be implemented in
157 Operating system interfaces will generally provide error results for every
/llvm-project-15.0.7/mlir/docs/Tutorials/Toy/
H A DCh-4.md21 solution was designed, in the form of [interfaces](../../Interfaces.md), to make
48 do in Toy is to provide the [interfaces](../../Interfaces.md) for the inliner to
53 [dialect interface](../../Interfaces.md/#dialect-interfaces). This is essentially
133 [operation interfaces](../../Interfaces.md/#attributeoperationtype-interfaces) that can be used
134 to mark an operation as being "call-like" or "callable-like". Unlike dialect interfaces,
135 operation interfaces provide a more refined granularity of information that is specific
136 and core to a single operation. The interfaces that we will be adding here is the
326 [define operation interfaces](../../Interfaces.md/#attributeoperationtype-interfaces) using
347 [ODS documentation](../../Interfaces.md/#attributeoperationtype-interfaces) for more
/llvm-project-15.0.7/mlir/include/mlir/Transforms/
H A DFoldUtils.h34 OperationFolder(MLIRContext *ctx) : interfaces(ctx) {} in OperationFolder()
160 DialectInterfaceCollection<DialectFoldInterface> interfaces; variable
/llvm-project-15.0.7/mlir/tools/mlir-tblgen/
H A DOpDocGen.cpp95 std::set<std::string> effects, interfaces, traits; in emitOpTraitsDoc() local
126 interfaces.insert(name); in emitOpTraitsDoc()
136 if (!interfaces.empty()) { in emitOpTraitsDoc()
137 llvm::interleaveComma(interfaces, os << "\nInterfaces: "); in emitOpTraitsDoc()
/llvm-project-15.0.7/clang/test/Parser/
H A Dobjc-interfaces.m3 // Test features and error recovery for objc interfaces.
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dinterfaces.mlir1 // RUN: mlir-opt -test-type-interfaces -allow-unregistered-dialect -verify-diagnostics %s

12345678