FreeTensor
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Enumerations | Functions
metadata.h File Reference
#include <atomic>
#include <functional>
#include <iostream>
#include <string>
#include <unordered_set>
#include <vector>
#include <func_utils.h>
#include <id.h>
#include <ref.h>
Include dependency graph for metadata.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  freetensor::MetadataContent
 
class  freetensor::TransformedMetadataContent
 
class  freetensor::SourceMetadataContent
 
class  freetensor::AnonymousMetadataContent
 
struct  std::hash< freetensor::MetadataContent >
 

Namespaces

namespace  freetensor
 
namespace  std
 STL namespace.
 

Typedefs

using freetensor::Metadata = Ref< MetadataContent >
 
using freetensor::MetadataHasher = PtrInvocable< std::hash< MetadataContent > >
 
using freetensor::MetadataComparator = PtrInvocable< std::equal_to< MetadataContent > >
 
using freetensor::TransformedMetadata = Ref< TransformedMetadataContent >
 
using freetensor::SourceMetadata = Ref< SourceMetadataContent >
 
using freetensor::AnonymousMetadata = Ref< AnonymousMetadataContent >
 

Enumerations

enum class  freetensor::MetadataType { freetensor::Transformed , freetensor::Source , freetensor::Anonymous }
 

Functions

std::ostream & freetensor::manipMetadataSkipLocation (std::ostream &)
 
std::ostream & freetensor::manipMetadataWithLocation (std::ostream &)
 
std::ostream & freetensor::manipMetadataOneLine (std::ostream &)
 
std::ostream & freetensor::manipMetadataMultiLine (std::ostream &)
 
std::ostream & freetensor::manipMetadataNoId (std::ostream &os)
 
std::ostream & freetensor::manipMetadataPrintId (std::ostream &os)
 
std::ostream & freetensor::operator<< (std::ostream &os, const Metadata &md)
 
TransformedMetadata freetensor::makeMetadata (const std::string &op, const std::vector< Metadata > &sources)
 
SourceMetadata freetensor::makeMetadata (const std::vector< std::string > &labels, const std::optional< std::pair< std::string, int > > &location, const Metadata &callerMetadata)
 
AnonymousMetadata freetensor::makeMetadata (const ID &id={})
 
std::string freetensor::toString (const Metadata &md, bool shouldSkipLocation=false)