FreeTensor
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
freetensor::NativeCodeRet Struct Reference

#include <native_code.h>

Collaboration diagram for freetensor::NativeCodeRet:
Collaboration graph
[legend]

Public Member Functions

bool isInClosure () const
 Return even if there is a closure.
 
 NativeCodeRet (const std::string &name, const DataType &dtype, const Ref< Ref< Array > > &closure, bool returnClosure)
 

Public Attributes

std::string name_
 
DataType dtype_
 
Ref< Ref< Array > > closure_
 
bool returnClosure_
 Data bound to this return value.
 

Detailed Description

Declare a return value of a NativeCode

Currently this class contains the same information with a FuncRet

Constructor & Destructor Documentation

◆ NativeCodeRet()

freetensor::NativeCodeRet::NativeCodeRet ( const std::string &  name,
const DataType dtype,
const Ref< Ref< Array > > &  closure,
bool  returnClosure 
)
inline

Member Function Documentation

◆ isInClosure()

bool freetensor::NativeCodeRet::isInClosure ( ) const
inline

Return even if there is a closure.

Member Data Documentation

◆ closure_

Ref<Ref<Array> > freetensor::NativeCodeRet::closure_

◆ dtype_

DataType freetensor::NativeCodeRet::dtype_

◆ name_

std::string freetensor::NativeCodeRet::name_

◆ returnClosure_

bool freetensor::NativeCodeRet::returnClosure_

Data bound to this return value.


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