Changeset View
Changeset View
Standalone View
Standalone View
mlir/include/mlir/IR/SymbolTable.h
Show All 9 Lines | |||||
#define MLIR_IR_SYMBOLTABLE_H | #define MLIR_IR_SYMBOLTABLE_H | ||||
#include "mlir/IR/Attributes.h" | #include "mlir/IR/Attributes.h" | ||||
#include "mlir/IR/OpDefinition.h" | #include "mlir/IR/OpDefinition.h" | ||||
#include "llvm/ADT/SetVector.h" | #include "llvm/ADT/SetVector.h" | ||||
#include "llvm/ADT/StringMap.h" | #include "llvm/ADT/StringMap.h" | ||||
namespace mlir { | namespace mlir { | ||||
class Identifier; | |||||
class Operation; | |||||
/// This class allows for representing and managing the symbol table used by | /// This class allows for representing and managing the symbol table used by | ||||
/// operations with the 'SymbolTable' trait. Inserting into and erasing from | /// operations with the 'SymbolTable' trait. Inserting into and erasing from | ||||
/// this SymbolTable will also insert and erase from the Operation given to it | /// this SymbolTable will also insert and erase from the Operation given to it | ||||
/// at construction. | /// at construction. | ||||
class SymbolTable { | class SymbolTable { | ||||
public: | public: | ||||
/// Build a symbol table with the symbols within the given operation. | /// Build a symbol table with the symbols within the given operation. | ||||
▲ Show 20 Lines • Show All 364 Lines • Show Last 20 Lines |