# 'scope' Dialect Scope dialect to represent scoped regions. ## Operations ### `scope.return` (scope::ReturnOp) _Return operation inside of scope.scope operation_ Syntax: ```mlir operation ::= `scope.return` attr-dict ($results^ `:` type($results))? ``` The `scope.return` operation as a terminator of scope.scope region. Example: ```mlir scope.return ``` Traits: `AlwaysSpeculatableImplTrait`, `HasParent`, `ReturnLike`, `Terminator` Interfaces: `ConditionallySpeculatable`, `NoMemoryEffect (MemoryEffectOpInterface)`, `RegionBranchTerminatorOpInterface` Effects: `MemoryEffects::Effect{}` #### Operands | Operand | Description | | :-----: | ----------- | | `results` | variadic of any type ### `scope.scope` (scope::ScopeOp) _Represents scope of a region_ The "scope.scope" operation represents a scope of the operations inside the region. Example: ```mlir scope.scope : () -> () { scope.return } {tcore_type = #hivm.tcore_type, ...} scope.scope : () -> () { scope.return } ``` Traits: `NoRegionArguments`, `RecursiveMemoryEffects`, `SingleBlockImplicitTerminator`, `SingleBlock` Interfaces: `RegionBranchOpInterface` #### Attributes
AttributeMLIR TypeDescription
no_inline::mlir::UnitAttrunit attribute
#### Results | Result | Description | | :----: | ----------- | | `results` | variadic of any type