FreeTensor
Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions | Variables
access_type.h File Reference
#include <array>
#include <iostream>
#include <string>
#include <container_utils.h>
#include <except.h>
#include <serialize/to_string.h>
Include dependency graph for access_type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  freetensor
 
namespace  freetensor::detail
 

Enumerations

enum class  freetensor::AccessType : size_t {
  freetensor::Input = 0 , freetensor::Bypass , freetensor::Cache , freetensor::Output ,
  freetensor::InputMutable , freetensor::InOut , freetensor::NumTypes
}
 

Functions

template<typename T , T... i>
constexpr auto freetensor::detail::createAllAccessTypes (std::integer_sequence< T, i... >)
 
std::ostream & freetensor::operator<< (std::ostream &os, AccessType atype)
 
AccessType freetensor::parseAType (const std::string &_str)
 
bool freetensor::isWritable (AccessType atype)
 
bool freetensor::isInputting (AccessType atype)
 
bool freetensor::isOutputting (AccessType atype)
 
AccessType freetensor::addOutputting (AccessType atype)
 
AccessType freetensor::removeOutputting (AccessType atype)
 

Variables

constexpr std::array freetensor::accessTypeNames
 
constexpr auto freetensor::allAccessTypes