Home
last modified time | relevance | path

Searched refs:operationName (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRModule.cpp74 void PyGlobals::registerOperationImpl(const std::string &operationName, in registerOperationImpl() argument
77 py::object &found = operationClassMap[operationName]; in registerOperationImpl()
80 operationName + in registerOperationImpl()
84 rawOpViewClassMap[operationName] = std::move(rawOpViewClass); in registerOperationImpl()
105 PyGlobals::lookupRawOpViewClass(llvm::StringRef operationName) { in lookupRawOpViewClass() argument
107 auto foundIt = rawOpViewClassMapCache.find(operationName); in lookupRawOpViewClass()
117 auto split = operationName.split('.'); in lookupRawOpViewClass()
123 auto foundIt = rawOpViewClassMap.find(operationName); in lookupRawOpViewClass()
129 rawOpViewClassMapCache[operationName] = foundIt->second; in lookupRawOpViewClass()
133 rawOpViewClassMap[operationName] = py::none(); in lookupRawOpViewClass()
H A DGlobals.h70 void registerOperationImpl(const std::string &operationName,
82 lookupRawOpViewClass(llvm::StringRef operationName);
H A DMainModule.cpp69 std::string operationName = in PYBIND11_MODULE() local
72 PyGlobals::get().registerOperationImpl(operationName, opClass, in PYBIND11_MODULE()
/llvm-project-15.0.7/mlir/lib/CAPI/Interfaces/
H A DInterfaces.cpp26 bool mlirOperationImplementsInterfaceStatic(MlirStringRef operationName, in mlirOperationImplementsInterfaceStatic() argument
30 StringRef(operationName.data, operationName.length), unwrap(context)); in mlirOperationImplementsInterfaceStatic()
/llvm-project-15.0.7/mlir/lib/CAPI/IR/
H A DPass.cpp50 MlirStringRef operationName) { in mlirPassManagerGetNestedUnder() argument
51 return wrap(&unwrap(passManager)->nest(unwrap(operationName))); in mlirPassManagerGetNestedUnder()
55 MlirStringRef operationName) { in mlirOpPassManagerGetNestedUnder() argument
56 return wrap(&unwrap(passManager)->nest(unwrap(operationName))); in mlirOpPassManagerGetNestedUnder()
/llvm-project-15.0.7/mlir/include/mlir-c/
H A DPass.h87 MlirPassManager passManager, MlirStringRef operationName);
93 MlirOpPassManager passManager, MlirStringRef operationName);
H A DInterfaces.h36 mlirOperationImplementsInterfaceStatic(MlirStringRef operationName,
/llvm-project-15.0.7/mlir/include/mlir/Pass/
H A DPassManager.h218 StringRef operationName = "builtin.module");
219 PassManager(MLIRContext *ctx, StringRef operationName) in PassManager() argument
220 : PassManager(ctx, Nesting::Explicit, operationName) {} in PassManager()
/llvm-project-15.0.7/mlir/lib/Pass/
H A DPass.cpp773 StringRef operationName) in PassManager() argument
774 : OpPassManager(OperationName(operationName, ctx), nesting), context(ctx), in PassManager()
/llvm-project-15.0.7/mlir/docs/
H A DPassManagement.md404 PassManager pm(ctx, /*operationName=*/"builtin.module");