MLIR  16.0.0git
Public Member Functions | List of all members
mlir::tblgen::ConstantAttr Class Reference

#include "mlir/TableGen/Attribute.h"

Public Member Functions

 ConstantAttr (const llvm::DefInit *init)
 
Attribute getAttribute () const
 
StringRef getConstantValue () const
 

Detailed Description

Definition at line 124 of file Attribute.h.

Constructor & Destructor Documentation

◆ ConstantAttr()

ConstantAttr::ConstantAttr ( const llvm::DefInit *  init)
explicit

Definition at line 137 of file Attribute.cpp.

Member Function Documentation

◆ getAttribute()

Attribute ConstantAttr::getAttribute ( ) const

Definition at line 142 of file Attribute.cpp.

◆ getConstantValue()

StringRef ConstantAttr::getConstantValue ( ) const

Definition at line 146 of file Attribute.cpp.


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