Home
last modified time | relevance | path

Searched refs:OwningOpRef (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/mlir/include/mlir/IR/
DOwningOpRef.h27 class OwningOpRef {
32 OwningOpRef(std::nullptr_t = nullptr) {}
33 OwningOpRef(OpTy op) : op(op) {} in OwningOpRef() function
34 OwningOpRef(OwningOpRef &&other) : op(other.release()) {} in OwningOpRef() function
35 ~OwningOpRef() { in ~OwningOpRef()
41 OwningOpRef &operator=(OwningOpRef &&other) {
DBuiltinOps.h37 class OwningModuleRef : public OwningOpRef<ModuleOp> {
39 using OwningOpRef<ModuleOp>::OwningOpRef;
41 OwningModuleRef(OwningOpRef<ModuleOp> &&other) in OwningModuleRef()
42 : OwningOpRef<ModuleOp>(std::move(other)) {} in OwningModuleRef()
/external/llvm-project/mlir/include/mlir/
DParser.h36 inline OwningOpRef<ContainerOpT> constructContainerOpForParserIfNecessary( in constructContainerOpForParserIfNecessary()
58 OwningOpRef<ContainerOpT> opRef(op); in constructContainerOpForParserIfNecessary()
69 return OwningOpRef<ContainerOpT>(); in constructContainerOpForParserIfNecessary()
128 inline OwningOpRef<ContainerOpT>
133 return OwningOpRef<ContainerOpT>(); in parseSourceFile()
147 inline OwningOpRef<ContainerOpT> parseSourceFile(llvm::StringRef filename, in parseSourceFile()
152 return OwningOpRef<ContainerOpT>(); in parseSourceFile()
166 inline OwningOpRef<ContainerOpT> parseSourceFile(llvm::StringRef filename, in parseSourceFile()
173 return OwningOpRef<ContainerOpT>(); in parseSourceFile()
187 inline OwningOpRef<ContainerOpT> parseSourceString(llvm::StringRef sourceStr, in parseSourceString()
[all …]
/external/llvm-project/mlir/include/mlir/Dialect/SPIRV/
DSPIRVModule.h22 class OwningSPIRVModuleRef : public OwningOpRef<spirv::ModuleOp> {
24 using OwningOpRef<spirv::ModuleOp>::OwningOpRef;
/external/llvm-project/mlir/lib/Parser/
DParser.cpp2012 OwningOpRef<Operation *> topLevelOp(ModuleOp::create(parserLoc)); in parse()