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

#include <for_property.h>

Inheritance diagram for freetensor::ForProperty:
Inheritance graph
[legend]
Collaboration diagram for freetensor::ForProperty:
Collaboration graph
[legend]

Public Member Functions

 ForProperty ()
 
Ref< ForPropertywithParallel (const ParallelScope &parallel)
 
Ref< ForPropertywithUnroll (bool unroll=true)
 
Ref< ForPropertywithVectorize (bool vectorize=true)
 
Ref< ForPropertywithNoDeps (const std::vector< std::string > &noDeps)
 
Ref< ForPropertywithPreferLibs (bool preferLibs=true)
 
void compHash () override
 
- Public Member Functions inherited from freetensor::ASTPart
virtual ~ASTPart ()
 
 ASTPart (ASTPart &&other)
 
 ASTPart (const ASTPart &other)
 
ASTPartoperator= (ASTPart &&)
 
ASTPartoperator= (const ASTPart &)
 
bool trySetParent (const Ref< ASTPart > &parent)
 
void resetParent ()
 
Ref< ASTPartparent () const
 
bool isSubTree () const
 
int depth () const
 
virtual void modifiedHook ()
 
size_t hash ()
 
virtual bool isAST () const
 
- Public Member Functions inherited from freetensor::EnableSelf< ASTPart >
Ref< ASTPartself () const
 

Public Attributes

ParallelScope parallel_
 
bool unroll_
 
bool vectorize_
 
SubTreeList< ReductionItemreductions_ = ChildOf{this}
 
std::vector< std::string > noDeps_
 
bool preferLibs_
 

Additional Inherited Members

- Public Types inherited from freetensor::EnableSelf< ASTPart >
typedef ASTPart Self
 
- Protected Member Functions inherited from freetensor::ASTPart
void lock ()
 
void unlock ()
 
virtual void compHash ()=0
 
void resetHash ()
 
- Protected Attributes inherited from freetensor::ASTPart
size_t hash_ = ~0ull
 
std::atomic_flag lock_ = ATOMIC_FLAG_INIT
 

Constructor & Destructor Documentation

◆ ForProperty()

freetensor::ForProperty::ForProperty ( )
inline

Member Function Documentation

◆ compHash()

void freetensor::ForProperty::compHash ( )
overridevirtual

Implements freetensor::ASTPart.

◆ withNoDeps()

Ref< ForProperty > freetensor::ForProperty::withNoDeps ( const std::vector< std::string > &  noDeps)
inline

◆ withParallel()

Ref< ForProperty > freetensor::ForProperty::withParallel ( const ParallelScope parallel)
inline

◆ withPreferLibs()

Ref< ForProperty > freetensor::ForProperty::withPreferLibs ( bool  preferLibs = true)
inline

◆ withUnroll()

Ref< ForProperty > freetensor::ForProperty::withUnroll ( bool  unroll = true)
inline

◆ withVectorize()

Ref< ForProperty > freetensor::ForProperty::withVectorize ( bool  vectorize = true)
inline

Member Data Documentation

◆ noDeps_

std::vector<std::string> freetensor::ForProperty::noDeps_

◆ parallel_

ParallelScope freetensor::ForProperty::parallel_

◆ preferLibs_

bool freetensor::ForProperty::preferLibs_

◆ reductions_

SubTreeList<ReductionItem> freetensor::ForProperty::reductions_ = ChildOf{this}

◆ unroll_

bool freetensor::ForProperty::unroll_

◆ vectorize_

bool freetensor::ForProperty::vectorize_

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