MLIR  20.0.0git
Classes | Public Member Functions | List of all members
mlir::tblgen::InterfaceMethod Class Reference

#include "mlir/TableGen/Interfaces.h"

Classes

struct  Argument
 

Public Member Functions

 InterfaceMethod (const llvm::Record *def)
 
StringRef getReturnType () const
 
StringRef getName () const
 
bool isStatic () const
 
std::optional< StringRef > getBody () const
 
std::optional< StringRef > getDefaultImplementation () const
 
std::optional< StringRef > getDescription () const
 
ArrayRef< ArgumentgetArguments () const
 
bool arg_empty () const
 

Detailed Description

Definition at line 27 of file Interfaces.h.

Constructor & Destructor Documentation

◆ InterfaceMethod()

InterfaceMethod::InterfaceMethod ( const llvm::Record *  def)
explicit

Definition at line 30 of file Interfaces.cpp.

Member Function Documentation

◆ arg_empty()

bool InterfaceMethod::arg_empty ( ) const

Definition at line 74 of file Interfaces.cpp.

◆ getArguments()

ArrayRef< InterfaceMethod::Argument > InterfaceMethod::getArguments ( ) const

Definition at line 70 of file Interfaces.cpp.

◆ getBody()

std::optional< StringRef > InterfaceMethod::getBody ( ) const

Definition at line 53 of file Interfaces.cpp.

◆ getDefaultImplementation()

std::optional< StringRef > InterfaceMethod::getDefaultImplementation ( ) const

Definition at line 59 of file Interfaces.cpp.

◆ getDescription()

std::optional< StringRef > InterfaceMethod::getDescription ( ) const

Definition at line 65 of file Interfaces.cpp.

◆ getName()

StringRef InterfaceMethod::getName ( ) const

Definition at line 43 of file Interfaces.cpp.

◆ getReturnType()

StringRef InterfaceMethod::getReturnType ( ) const

Definition at line 38 of file Interfaces.cpp.

◆ isStatic()

bool InterfaceMethod::isStatic ( ) const

Definition at line 48 of file Interfaces.cpp.


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