Searched refs:OwningOpRef (Results 1 – 5 of 5) sorted by relevance
27 class OwningOpRef {32 OwningOpRef(std::nullptr_t = nullptr) {}33 OwningOpRef(OpTy op) : op(op) {} in OwningOpRef() function34 OwningOpRef(OwningOpRef &&other) : op(other.release()) {} in OwningOpRef() function35 ~OwningOpRef() { in ~OwningOpRef()41 OwningOpRef &operator=(OwningOpRef &&other) {
37 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()
36 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 …]
22 class OwningSPIRVModuleRef : public OwningOpRef<spirv::ModuleOp> {24 using OwningOpRef<spirv::ModuleOp>::OwningOpRef;
2012 OwningOpRef<Operation *> topLevelOp(ModuleOp::create(parserLoc)); in parse()