MLIR  16.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::NestedPatternContext Class Reference

RAII structure to transparently manage the bump allocator for NestedPattern and NestedMatch classes. More...

#include "mlir/Dialect/Affine/Analysis/NestedMatcher.h"

+ Collaboration diagram for mlir::NestedPatternContext:

Public Member Functions

 NestedPatternContext ()
 
 ~NestedPatternContext ()
 

Public Attributes

llvm::BumpPtrAllocator allocator
 

Detailed Description

RAII structure to transparently manage the bump allocator for NestedPattern and NestedMatch classes.

This avoids passing a context to all the API functions.

Definition at line 158 of file NestedMatcher.h.

Constructor & Destructor Documentation

◆ NestedPatternContext()

mlir::NestedPatternContext::NestedPatternContext ( )
inline

Definition at line 160 of file NestedMatcher.h.

References allocator.

◆ ~NestedPatternContext()

mlir::NestedPatternContext::~NestedPatternContext ( )
inline

Definition at line 168 of file NestedMatcher.h.

Member Data Documentation

◆ allocator

llvm::BumpPtrAllocator mlir::NestedPatternContext::allocator

Definition at line 172 of file NestedMatcher.h.

Referenced by NestedPatternContext().


The documentation for this class was generated from the following file: