Halide 19.0.0
Halide compiler and libraries
Loading...
Searching...
No Matches
Halide::Internal::ApplySplitResult Struct Reference

#include <ApplySplit.h>

Public Types

enum  Type {
  Substitution = 0 , SubstitutionInCalls , SubstitutionInProvides , LetStmt ,
  PredicateCalls , PredicateProvides , Predicate , BlendProvides
}
 

Public Member Functions

 ApplySplitResult (const std::string &n, Expr val, Type t)
 
 ApplySplitResult (Expr val, Type t=Predicate)
 
bool is_substitution () const
 
bool is_substitution_in_calls () const
 
bool is_substitution_in_provides () const
 
bool is_let () const
 
bool is_predicate () const
 
bool is_predicate_calls () const
 
bool is_predicate_provides () const
 
bool is_blend_provides () const
 

Public Attributes

std::string name
 
Expr value
 
Type type
 

Detailed Description

Definition at line 21 of file ApplySplit.h.

Member Enumeration Documentation

◆ Type

Enumerator
Substitution 
SubstitutionInCalls 
SubstitutionInProvides 
LetStmt 
PredicateCalls 
PredicateProvides 
Predicate 
BlendProvides 

Definition at line 33 of file ApplySplit.h.

Constructor & Destructor Documentation

◆ ApplySplitResult() [1/2]

Halide::Internal::ApplySplitResult::ApplySplitResult ( const std::string & n,
Expr val,
Type t )
inline

Definition at line 43 of file ApplySplit.h.

◆ ApplySplitResult() [2/2]

Halide::Internal::ApplySplitResult::ApplySplitResult ( Expr val,
Type t = Predicate )
inline

Definition at line 46 of file ApplySplit.h.

Member Function Documentation

◆ is_substitution()

bool Halide::Internal::ApplySplitResult::is_substitution ( ) const
inline

Definition at line 50 of file ApplySplit.h.

References Substitution, and type.

◆ is_substitution_in_calls()

bool Halide::Internal::ApplySplitResult::is_substitution_in_calls ( ) const
inline

Definition at line 53 of file ApplySplit.h.

References SubstitutionInCalls, and type.

◆ is_substitution_in_provides()

bool Halide::Internal::ApplySplitResult::is_substitution_in_provides ( ) const
inline

Definition at line 56 of file ApplySplit.h.

References SubstitutionInProvides, and type.

◆ is_let()

bool Halide::Internal::ApplySplitResult::is_let ( ) const
inline

Definition at line 59 of file ApplySplit.h.

References type.

◆ is_predicate()

bool Halide::Internal::ApplySplitResult::is_predicate ( ) const
inline

Definition at line 62 of file ApplySplit.h.

References Predicate, and type.

◆ is_predicate_calls()

bool Halide::Internal::ApplySplitResult::is_predicate_calls ( ) const
inline

Definition at line 65 of file ApplySplit.h.

References PredicateCalls, and type.

◆ is_predicate_provides()

bool Halide::Internal::ApplySplitResult::is_predicate_provides ( ) const
inline

Definition at line 68 of file ApplySplit.h.

References PredicateProvides, and type.

◆ is_blend_provides()

bool Halide::Internal::ApplySplitResult::is_blend_provides ( ) const
inline

Definition at line 71 of file ApplySplit.h.

References BlendProvides, and type.

Member Data Documentation

◆ name

std::string Halide::Internal::ApplySplitResult::name

Definition at line 30 of file ApplySplit.h.

◆ value

Expr Halide::Internal::ApplySplitResult::value

Definition at line 31 of file ApplySplit.h.

◆ type


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